Instructions to use Mhammad2023/SmolLM2-FT-BigCode-Python-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mhammad2023/SmolLM2-FT-BigCode-Python-Lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mhammad2023/SmolLM2-FT-BigCode-Python-Lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 196 Bytes
eb1615f | 1 2 3 4 | {% for message in messages %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %} |