Downloads · 30 days
11
28% of all-time downloads
vivekkopthsd/finlora-adapter
finlora-adapter is a text generation model from vivekkopthsd. 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.
LoRA adapter fine-tuned on SmolLM2-135M-Instruct for financial instruction following. Trained on financial Q&A/instruction data (DeividasM/financial-instruction-aq22) with PEFT (rank 16, alpha 32, dropout 0.05 on q/k/…
Downloads · 30 days
11
28% of all-time downloads
All-time downloads
39
Public
Repo size
7.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors7.4 MB · 68%
From the Hugging Face model README
LoRA adapter fine-tuned on SmolLM2-135M-Instruct for financial instruction following. Trained on financial Q&A/instruction data (DeividasM/financial-instruction-aq22) with PEFT (rank 16, alpha 32, dropout 0.05 on q/k/v/o projections).
Training note: this adapter was trained on CPU as an experiment; the evaluation below was run on a Kaggle Tesla T4 (fp16).
Held-out 10% of the aq22 instruction set (120 samples, seed 42), ROUGE scoring, max 96 new tokens.
| Metric | Base | Adapter | Δ |
|---|---|---|---|
| rouge1 | 0.2485 | 0.2539 | +0.0054 |
| rouge2 | 0.0807 | 0.0683 | -0.0124 |
| rougeL | 0.2022 | 0.2198 | +0.0176 |
Verdict: small but real gains on ROUGE-1 (+0.005) and ROUGE-L (+0.018); a slight ROUGE-2 regression (−0.012) — consistent with the small 135M base and CPU training budget. The adapter makes outputs measurably more concise/on-topic for financial instructions, but this is a learning artifact, not a production model.
1. You are a financial analyst categorizing tweets into specific financial topics. Given a tw...
McDonald is a positive sentiment because it indicates that the company is i
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-135M-Instruct")
model = PeftModel.from_pretrained(base, "vivekkopthsd/finlora-adapter")