Views
No views yet
| Component | Details |
|---|---|
| Base Model | SmolLM2-135M (135M params) |
| Dataset | Capybara (16k multi-turn conversations) |
| Method | LoRA (trains only ~2.5M params — 50x faster!) |
| Hardware | Google Colab CPU (free, default!) |
| Training Time | ~4-6 hours |
| Script | train_colab_cpu.py |
| Component | Details |
|---|---|
| Base Model | SmolLM2-1.7B (1.7B params) |
| Dataset | smol-smoltalk (500k+ samples) |
| Method | QLoRA (4-bit quantization + LoRA r=32) |
| Hardware | Google Colab T4 GPU or Kaggle T4 |
| Training Time | ~6-8 hours |
| Script | train_colab.py |
train_colab_cpu.py into a cellYOUR_HF_TOKEN with your token from huggingface.co/settings/tokens (needs Write access)YOUR_HF_USERNAME with your Hugging Face username1from transformers import pipeline
2
3pipe = pipeline("text-generation", model="YOUR_USERNAME/SmolLM2-135M-Instruct")
4messages = [{"role": "user", "content": "Explain quantum computing in simple terms"}]
5response = pipe(messages, max_new_tokens=256)
6print(response[0]["generated_text"][-1]["content"])