How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Locutusque/TinyMistral-248M-v2-Instruct")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Locutusque/TinyMistral-248M-v2-Instruct")
model = AutoModelForCausalLM.from_pretrained("Locutusque/TinyMistral-248M-v2-Instruct", device_map="auto")
Quick Links

Description

Fine-tuned Locutusque/TinyMistral-248M-v2 on the HuggingFaceH4/ultrachat_200k dataset.

Recommended inference parameters

do_sample: true
temperature: 0.1
top_p: 0.14
top_k: 12
repetition_penalty: 1.1

Recommended prompt template

<|im_start|>user\n{user message}<|im_end|>\n<|im_start|>assistant\n{assistant message}<|endoftext|>

Evaluation

This model will be submitted to the Open LLM Leaderboard.

Downloads last month
250
Safetensors
Model size
0.2B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Locutusque/TinyMistral-248M-v2-Instruct

Finetuned
(1)
this model
Merges
2 models
Quantizations
3 models

Dataset used to train Locutusque/TinyMistral-248M-v2-Instruct