Instructions to use burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-350M") model = PeftModel.from_pretrained(base_model, "burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k") - Notebooks
- Google Colab
- Kaggle
LFM2.5 350M CommonsenseQA SFT LoRA
This is a PEFT LoRA adapter for LiquidAI/LFM2.5-350M, trained with TRL SFT on tau/commonsense_qa train examples.
The prompt format is a question, labeled answer choices, and Answer:. The completion target is the single correct letter. Evaluation scores each candidate letter by summed log probability and chooses the highest-scoring answer.
Result
Same HF Job computed base and adapter accuracy on the full CommonsenseQA validation split (1221 examples).
| Model | Forced-choice validation accuracy | Correct / Total | Job |
|---|---|---|---|
LiquidAI/LFM2.5-350M |
0.20393120393120392 | 249 / 1221 | 6a358b823093dba73ce2a757 |
LiquidAI/LFM2.5-350M + this adapter |
0.25225225225225223 | 308 / 1221 | 6a358b823093dba73ce2a757 |
Absolute gain: +0.048321048321048304.
A previous successful-but-unpushed run scored 0.2571662571662572 after SFT, but failed before artifact upload when post-train Trackio logging raised. The released checkpoint above is from the completed upload job.
Training
- Method: TRL
SFTTrainerwith completion-only loss and PEFT LoRA. - Base model:
LiquidAI/LFM2.5-350Mat commit7728373d9f752dc3669ee3bf70786aef397874bb. - Dataset:
tau/commonsense_qa, train split capped at2000examples. - Benchmark:
tau/commonsense_qavalidation split, all1221examples. - LoRA: r16, alpha32, dropout0.05.
- Steps: 250, effective batch size 16, learning rate
1e-4, best checkpoint by validationeval_loss. - Train/eval/upload Job:
6a358b823093dba73ce2a757. - Trackio dashboard:
burtenshaw/lfm25-commonsenseqa-sft-trackio.
Saved benchmark files in this repo:
benchmark_before.jsonbenchmark_after.jsonbenchmark_summary.json
This adapter is a focused CommonsenseQA SFT experiment, not a general reasoning model. Evaluate separately before using it for other tasks.
- Downloads last month
- 9
Model tree for burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k
Dataset used to train burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k
Collection including burtenshaw/lfm25-350m-commonsenseqa-sft-lr1e4-r16-2k
Evaluation results
- Forced-choice validation accuracy on CommonsenseQA validationself-reported0.252