Downloads · 30 days
70
31% of all-time downloads
FlameF0X/TinyChat-200m-2x16
TinyChat-200m-2x16 is a text generation model from FlameF0X. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a fine-tuned version of TinyMoE-200m-2x16 (Mixtral architecture) optimized for chat and instruction following using LoRA.
Downloads · 30 days
70
31% of all-time downloads
All-time downloads
228
Public
Parameters
200M
799 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors799 MB · 100%
From the Hugging Face model README
This is a fine-tuned version of TinyMoE-200m-2x16 (Mixtral architecture) optimized for chat and instruction following using LoRA.
Important: This model does not have an embedded chat template. To ensure high-quality responses, you must manually format your prompts to match the structure used during training.
The model expects the following turn-based structure:
User: [Your message here]
Assistant:
For multi-turn conversations, use:
User: [User message 1]
Assistant: [Model response 1]
User: [User message 2]
Assistant:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "FlameF0X/TinyChat-200m-2x16"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "User: Explain how MoE works.\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model was fine-tuned on the following datasets using LoRA:
Preprocessing: All datasets were converted to a standard messages format and rendered into the simple User: ... / Assistant: ... text style shown above.
Training Specs:
transformers + peft