LiquidAI/LFM2.5-2.6B-MLX-6bit开源了新模型
根据官方来源,LiquidAI/LFM2.5-2.6B-MLX-6bit开源了新模型。详细信息请以原始来源为准。
证据来源
查看来源摘录
Liquid AI LiquidAI/LFM2.5-2.6B-MLX-6bit LiquidAI/LFM2.5-2.6B-MLX-6bit https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit
查看来源摘录
LiquidAI/LFM2.5-2.6B-MLX-6bit · Hugging Face Hugging Face (https://huggingface.co/) Models (https://huggingface.co/models) Datasets (https://huggingface.co/datasets) Spaces (https://huggingface.co/spaces) Buckets new (https://huggingface.co/storage) Docs (https://huggingface.co/docs) Enterprise (https://huggingface.co/enterprise) Pricing (https://huggingface.co/pricing) Website Tasks (https://huggingface.co/tasks) HuggingChat (https://huggingface.co/chat) Collections (https://huggingface.co/collections) Languages (https://huggingface.co/languages) Organizations (https://huggingface.co/organizations) Community Blog (https://huggingface.co/blog) Posts (https://huggingface.co/posts) Daily Papers (https://huggingface.co/papers) Hardware (https://huggingface.co/hardware) Learn (https://huggingface.co/learn) Discord (https://huggingface.co/join/discord) Forum (https://discuss.huggingface.co/) GitHub (https://github.com/huggingface) Solutions Team & Enterprise (https://huggingface.co/enterprise) Hugging Face PRO (https://huggingface.co/pro) Enterprise Support (https://huggingface.co/support) Inference Providers (https://huggingface.co/inference/models) Inference Endpoints (https://huggingface.co/inference-endpoints) Storage Buckets (https://huggingface.co/storage) Log In (https://huggingface.co/login) Sign Up (https://huggingface.co/join) (https://huggingface.co/LiquidAI) LiquidAI (https://huggingface.co/LiquidAI) / LFM2.5-2.6B-MLX-6bit (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit) like 3 Follow Liquid AI 4.91k Text Generation (https://huggingface.co/models?pipeline_tag=text-generation) MLX (https://huggingface.co/models?library=mlx) Safetensors (https://huggingface.co/models?library=safetensors) 16 languages lfm2 (https://huggingface.co/models?other=lfm2) liquid (https://huggingface.co/models?other=liquid) lfm2.5 (https://huggingface.co/models?other=lfm2.5) edge (https://huggingface.co/models?other=edge) conversational (https://huggingface.co/models?other=conversational) 6-bit (https://huggingface.co/models?other=6-bit) License: lfm1.0 Model card (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit) Files Files and versions xet (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit/tree/main) Community (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit/discussions) Deploy Copy to bucket new Use this model Instructions to use LiquidAI/LFM2.5-2.6B-MLX-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started. Libraries MLX (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit?library=mlx) How to use LiquidAI/LFM2.5-2.6B-MLX-6bit with MLX: # Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("LiquidAI/LFM2.5-2.6B-MLX-6bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) Notebooks Google Colab (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit/colab) Kaggle (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit/kaggle) Local Apps Settings (https://huggingface.co/settings/local-apps) LM Studio (lmstudio://open_from_hf?model=LiquidAI/LFM2.5-2.6B-MLX-6bit) Pi (https://huggingface.co/LiquidAI/LFM2.5-2.6B-MLX-6bit?local-app=pi) How to use LiquidAI/LFM2.5-2.6B-MLX-6bit with Pi: Start the MLX server # Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "LiquidAI/LFM2.5-2.6B-MLX-6bit"Configure the model in Pi # Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LiquidAI/LFM2.5-2.6B-MLX-6bit" } ] } } }Run Pi # S
来自 星盘大模型百科