Translation
MLX
Safetensors
English
llama
text-generation
fine-tuning
lora
plain-english
literary
smollm2
Instructions to use Brandi-Kinard/plainspeak-smollm2-1.7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Brandi-Kinard/plainspeak-smollm2-1.7b with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir plainspeak-smollm2-1.7b Brandi-Kinard/plainspeak-smollm2-1.7b
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
File size: 368 Bytes
a76439f | 1 2 3 4 5 6 | {% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
You are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %} |