diff --git a/lfm/models/complete-library.mdx b/lfm/models/complete-library.mdx index 6c865f8..914492a 100644 --- a/lfm/models/complete-library.mdx +++ b/lfm/models/complete-library.mdx @@ -8,7 +8,7 @@ description: "Liquid Foundation Models (LFMs) are a new class of multimodal arch All of our models share the following capabilities: - 32K token context length for extended conversations and document processing (128K for LFM2.5-8B-A1B) -- Designed for fast inference with [Transformers](/deployment/gpu-inference/transformers), [llama.cpp](/deployment/on-device/llama-cpp), [vLLM](/deployment/gpu-inference/vllm), [MLX](/deployment/on-device/mlx), [Ollama](/deployment/on-device/ollama), and [LEAP](/deployment/on-device/sdk/quick-start) +- Designed for fast inference with [Transformers](/deployment/gpu-inference/transformers), [llama.cpp](/deployment/on-device/llama-cpp), [vLLM](/deployment/gpu-inference/vllm), [SGLang](/deployment/gpu-inference/sglang), [MLX](/deployment/on-device/mlx), [Ollama](/deployment/on-device/ollama), and [LEAP](/deployment/on-device/sdk/quick-start) - Trainable via SFT, DPO, VLM, and GRPO workflows with [LEAP Finetune](/lfm/fine-tuning/leap-finetune), [TRL](/lfm/fine-tuning/trl), and [Unsloth](/lfm/fine-tuning/unsloth) @@ -20,9 +20,9 @@ All of our models share the following capabilities: - [OpenRouter API](https://openrouter.ai/liquid) -## Model Families +Start with the model family that matches your input and output shape, then choose a runtime based on where you want to run it. Use the complete matrix below when you need exact repository and format availability. -Choose a model based on your desired functionalities. Each individual model card has specific details on deployment and customization. +## Model Families @@ -44,9 +44,31 @@ All of our models share the following capabilities: -## Model Formats +## Common Workflows + + + + + Use [vLLM](/deployment/gpu-inference/vllm) or [SGLang](/deployment/gpu-inference/sglang) for high-throughput serving, and [Transformers](/deployment/gpu-inference/transformers) for direct Python inference. + + + + Use [llama.cpp](/deployment/on-device/llama-cpp), [Ollama](/deployment/on-device/ollama), [MLX](/deployment/on-device/mlx), or the [LEAP SDK](/deployment/on-device/sdk/quick-start) depending on platform and packaging needs. + + + + Start with [LEAP Finetune](/lfm/fine-tuning/leap-finetune) for managed workflows, or use [TRL](/lfm/fine-tuning/trl) and [Unsloth](/lfm/fine-tuning/unsloth) for framework-level control. + + + + Browse LiquidAI collections on Hugging Face for model weights, GGUF exports, MLX packages, ONNX exports, and model cards. + + + + +## Formats -All LFM2 models are available in multiple formats for flexible deployment: +Use the format that matches your runtime and deployment target: - **GGUF** — Best for local CPU/GPU inference on any platform. Use with [llama.cpp](/deployment/on-device/llama-cpp), [LM Studio](/deployment/on-device/lm-studio), or [Ollama](/deployment/on-device/ollama). Append `-GGUF` to any model name. - **MLX** — Best for Mac users with Apple Silicon. Leverages unified memory for fast inference via [MLX](/deployment/on-device/mlx). Browse at [mlx-community](https://huggingface.co/mlx-community/collections?search=LFM). @@ -60,7 +82,7 @@ Quantization reduces model size and speeds up inference with minimal quality los - **MLX** — Available in `3bit`, `4bit`, `5bit`, `6bit`, `8bit`, and `BF16`. `8bit` is recommended. - **ONNX** — Supports `FP32`, `FP16`, `Q4`, and `Q8` (MoE models also support `Q4F16`). `Q4` is recommended for most deployments. -## Model Chart +## Complete Model Matrix | Model | HF | GGUF | MLX | ONNX | Trainable? | | ----- | -- | ---- | --- | ---- | ---------- | diff --git a/style.css b/style.css index ba4417e..8e07c94 100644 --- a/style.css +++ b/style.css @@ -283,9 +283,9 @@ body > div.antialiased { /* Global content links - purple underline with hover effect */ /* Scope to main content area only, exclude navigation/sidebar/tables */ -article a:not([class*="block"]):not(table a), -[role="main"] a:not([class*="block"]):not(table a), -.prose a:not([class*="block"]):not(table a) { +article a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a), +[role="main"] a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a), +.prose a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a) { text-decoration: none !important; color: inherit !important; font-weight: 600 !important; @@ -297,13 +297,26 @@ article a:not([class*="block"]):not(table a), transition: color 0.15s ease, background-size 0.15s ease !important; } -article a:not([class*="block"]):not(table a):hover, -[role="main"] a:not([class*="block"]):not(table a):hover, -.prose a:not([class*="block"]):not(table a):hover { +article a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a):hover, +[role="main"] a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a):hover, +.prose a:not([class*="block"]):not([aria-label="Navigate to header"]):not(table a):hover { color: #864bc4 !important; background-size: 100% 1.5px !important; } +/* Heading permalink icons should not inherit prose-link underlines */ +article :is(h1, h2, h3, h4, h5, h6) a[href^="#"], +[role="main"] :is(h1, h2, h3, h4, h5, h6) a[href^="#"], +.prose :is(h1, h2, h3, h4, h5, h6) a[href^="#"], +article a[href^="#"][aria-label*="link" i], +[role="main"] a[href^="#"][aria-label*="link" i], +.prose a[href^="#"][aria-label*="link" i] { + background-image: none !important; + background-size: 0 0 !important; + padding-bottom: 0 !important; + text-decoration: none !important; +} + /* Default table styling - applies to all tables */ table { border-collapse: collapse !important; @@ -708,4 +721,3 @@ table:has(thead th:nth-child(6):not(:nth-child(7))) td:first-child a:hover { .dark .card-group a[href^="/docs/models/"]:not([href*="text-models"]):not([href*="vision-models"]):not([href*="audio-models"]):not([href*="liquid-nanos"]):not([href*="complete-library"])::before { background-color: #9ca3af !important; } - diff --git a/styles.js b/styles.js index fce9d88..cb6e52b 100644 --- a/styles.js +++ b/styles.js @@ -186,6 +186,19 @@ color: #e5e7eb !important; } + /* Heading permalink icons should not inherit prose-link underlines */ + article :is(h1, h2, h3, h4, h5, h6) a[href^="#"], + [role="main"] :is(h1, h2, h3, h4, h5, h6) a[href^="#"], + .prose :is(h1, h2, h3, h4, h5, h6) a[href^="#"], + article a[href^="#"][aria-label*="link" i], + [role="main"] a[href^="#"][aria-label*="link" i], + .prose a[href^="#"][aria-label*="link" i] { + background-image: none !important; + background-size: 0 0 !important; + padding-bottom: 0 !important; + text-decoration: none !important; + } + /* Colab button sizing */ a[href*="colab.research.google.com"] img, img[alt*="Colab"],