LiquidAI/LFM2.5-24B-A2B-FP8开源了新模型
根据官方来源,LiquidAI/LFM2.5-24B-A2B-FP8开源了新模型。详细信息请以原始来源为准。
证据来源
查看来源摘录
Liquid AI LiquidAI/LFM2.5-24B-A2B-FP8 LiquidAI/LFM2.5-24B-A2B-FP8 https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8
查看来源摘录
LiquidAI/LFM2.5-24B-A2B-FP8 · 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-24B-A2B-FP8 (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8) Like 22 Follow Liquid AI 6.1k Text Generation (https://huggingface.co/models?pipeline_tag=text-generation) Transformers (https://huggingface.co/models?library=transformers) Safetensors (https://huggingface.co/models?library=safetensors) 10 languages lfm2_moe (https://huggingface.co/models?other=lfm2_moe) liquid (https://huggingface.co/models?other=liquid) lfm2.5 (https://huggingface.co/models?other=lfm2.5) edge (https://huggingface.co/models?other=edge) Mixture of Experts (https://huggingface.co/models?other=moe) fp8 (https://huggingface.co/models?other=fp8) conversational (https://huggingface.co/models?other=conversational) compressed-tensors (https://huggingface.co/models?other=compressed-tensors) License: lfm1.0 Model card (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8) Files Files and versions xet (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8/tree/main) Community (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8/discussions) Deploy Copy to bucket new Use this model Instructions to use LiquidAI/LFM2.5-24B-A2B-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started. Libraries Transformers (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8?library=transformers) How to use LiquidAI/LFM2.5-24B-A2B-FP8 with Transformers: # Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LiquidAI/LFM2.5-24B-A2B-FP8") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages) # pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LiquidAI/LFM2.5-24B-A2B-FP8") model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-24B-A2B-FP8", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) Notebooks Google Colab (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8/colab) Kaggle (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8/kaggle) Local Apps Settings (https://huggingface.co/settings/local-apps) vLLM (https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-FP8?local-a
来自 星盘大模型百科