LFM2.5-1.2B-FusionJP is a merge of the following models using LazyMergekit:
merge_method: nuslerp
models:
- model: LiquidAI/LFM2.5-1.2B-JP-202606
parameters:
weight: 1.0
- model: LiquidAI/LFM2.5-1.2B-Thinking
parameters:
weight: 1.0
parameters:
nuslerp_row_wise: true
dtype: bfloat16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "CloudGoat/LFM2.5-1.2B-FusionJP"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
model-00002-of-00003.safetensors 994 MBmodel-00001-of-00003.safetensors 982 MBmodel-00003-of-00003.safetensors 365 MBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo CloudGoat/LFM2.5-1.2B-FusionJP ./model-folderLiquidAI/LFM2.5-1.2B-JP-202606