Downloads · 30 days
20
38% of all-time downloads
kayodekosi/SmolLM2-135M
SmolLM2-135M is a text generation model from kayodekosi. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Downloads · 30 days
20
38% of all-time downloads
All-time downloads
53
Public
Repo size
937 KB
Likes
0
Public
Click a slice to open those files.
.json3.5 MB · 79%
From the Hugging Face model README
SmolLM2-135M
This model was produced with the Parameterised Efficiency (PEFT / LoRA) method (PASTA framework) starting from the base model HuggingFaceTB/SmolLM2-135M, fine-tuned on a sample of the tatsu-lab/alpaca dataset.
This model was fine-tuned on a small sample for demonstration purposes. It has not been evaluated at scale and should not be used in production or safety-critical settings without further training, evaluation, and review. Behaviour is inherited from the base model and the (small) fine-tuning sample, and may reflect biases present in either.
| Hyperparameter | Value |
|---|---|
| Method | Parameterised Efficiency (PEFT / LoRA) |
| Base model | HuggingFaceTB/SmolLM2-135M |
| Dataset | tatsu-lab/alpaca (train[:200]) |
| Epochs | 1 |
| Batch size | 4 |
| Learning rate | 0.0005 |
| Max steps | 20 |
| LoRA rank | 4 |
| LoRA alpha | 8 |
See the !pip install cell in the training notebook for the exact package set used.
from transformers import pipeline
gen = pipeline("text-generation", model="knatware/SmolLM2-135M")
gen("Your prompt here")
Before being pushed, this model was tested locally with a sample inference call, and was re-loaded and tested again directly from the Hub after pushing to confirm the upload was complete and usable.
© Knatware Technology UK. Developed by Kayode Okosi.