Instructions to use dmariko/SmolLM_1_7B_Instruct_qlora_nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dmariko/SmolLM_1_7B_Instruct_qlora_nf4 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM-1.7B-Instruct") model = PeftModel.from_pretrained(base_model, "dmariko/SmolLM_1_7B_Instruct_qlora_nf4") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!