π¦ Qwen3-0.6B - Financial Sentiment Classification (v2)
Model name: YorkFr/financial-sentiment-qwen3-v2
Base model: Qwen/Qwen3-0.6B
Fine-tuning type: LoRA (merged full model)
Task: Financial news sentiment classification (positive, neutral, negative)
π§ Overview
This model is a fine-tuned version of Qwen3-0.6B, specialized for financial sentiment analysis.
It classifies a short piece of financial or economic news into one of three categories:
- π’
positiveβ good market news, growth, profit, increase, etc. - βͺ
neutralβ balanced or uncertain tone. - π΄
negativeβ bad market news, loss, risk, decline, etc.
Training was performed using LoRA (PEFT) with a small balanced dataset of financial headlines and statements.
π‘ Usage
You can load and use the model directly with π€ transformers β no PEFT or special tokenizer required.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("YorkFr/financial-sentiment-qwen3-v2")
tokenizer = AutoTokenizer.from_pretrained("YorkFr/financial-sentiment-qwen3-v2")
text = (
"Instruction: Classify the sentiment of the following financial news sentence "
"as one of [positive, neutral, negative].\n"
"Sentence: Apple announces strong pre-orders.\n"
"Answer:"
)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=5)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
- Downloads last month
- 25