Klyra-350M-Chat
A Compact Model for Dialogues and Functions
2 min read
Klyra-350M-ChatAgent is an experimental English-language small language model (LLM) built for natural conversations and lightweight tool calling. The model is based on LiquidAI/LFM2.5-350M-Base, has around 350 million parameters, and was trained using LoRA (a small add-on to the base model) with subsequent weight merging into a single standalone model. It differs from the base version through its focus on multi-turn dialogue and structured tasks. The model is useful for bot developers and researchers who need a fast language model for simple tasks.
Key features
- Support for natural multi-turn dialogues
- Built-in capabilities for structured function calling
- Compact size of around 350M parameters
- BF16 precision operation for efficient inference
What you can do
- Integrate the model into Telegram or WhatsApp assistants
- Use it for customer support experiments
- Set up basic external tool and API calling
- Build a lightweight conversational chatbot
Example
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "Jahirrrr/Klyra-350M-Chat"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto"
)
messages = [
{"role": "user", "content": "Hello, Klyra!"}
]
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=128,
do_sample=False
)
print(tokenizer.decode(
outputs[0][inputs["input_ids"].shape[-1]:],
skip_special_tokens=True
))
Read more
DetailsArchitecture: LFM2.5 based on LiquidAI/LFM2.5-350M-Base.
Precision: BF16, fully merged weights.
Limitations: the model is experimental, tool calling requires external validation.
License: Liquid AI LFM Open License v1.0.










Comments