Views
No views yet
| File | Quant | Size | Notes |
|---|---|---|---|
FinSenti-Qwen3.5-9B.Q4_K_M.gguf | Q4_K_M | 5.50 GB | Smallest, mild quality dip. Default pick for laptops. |
FinSenti-Qwen3.5-9B.Q5_K_M.gguf | Q5_K_M | 6.30 GB | Balanced quality and size. |
FinSenti-Qwen3.5-9B.Q8_0.gguf | Q8_0 | 9.50 GB | Closest to bf16, biggest file. |
1# Download the Q4_K_M file (or pick a different quant from the table above)
2huggingface-cli download Ayansk11/FinSenti-Qwen3.5-9B-GGUF FinSenti-Qwen3.5-9B.Q4_K_M.gguf --local-dir .
3
4# Run it
5./llama-cli -m FinSenti-Qwen3.5-9B.Q4_K_M.gguf \
6 --system "You are a financial sentiment analyst. For each headline you receive, write a short reasoning chain inside <reasoning>...</reasoning> tags, then give a single label inside <answer>...</answer> tags. The label must be exactly one of: positive, negative, neutral." \
7 -p "Apple beats Q4 estimates as iPhone sales jump 12% year over year." \
8 -n 256Modelfile for each quant. To register the Q4_K_M build
under the name finsenti-qwen3-5-9b:1huggingface-cli download Ayansk11/FinSenti-Qwen3.5-9B-GGUF \
2 FinSenti-Qwen3.5-9B.Q4_K_M.gguf Modelfile.Q4_K_M --local-dir ./finsenti-tmp
3cd finsenti-tmp
4ollama create finsenti-qwen3-5-9b -f Modelfile.Q4_K_M
5
6# Then chat with it
7ollama run finsenti-qwen3-5-9b "Apple beats Q4 estimates as iPhone sales jump 12% year over year."<reasoning>
Beating estimates is a positive earnings surprise. A 12% YoY iPhone sales jump in the company's biggest product line points to demand strength. Both signals push the read positive.
</reasoning>
<answer>positive</answer>1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="./FinSenti-Qwen3.5-9B.Q4_K_M.gguf",
5 n_ctx=2048,
6 n_threads=8,
7)
8
9system = (
10 "You are a financial sentiment analyst. For each headline you receive, "
11 "write a short reasoning chain inside <reasoning>...</reasoning> tags, "
12 "then give a single label inside <answer>...</answer> tags. The label "
13 "must be exactly one of: positive, negative, neutral."
14)
15
16resp = llm.create_chat_completion(
17 messages=[
18 {"role": "system", "content": system},
19 {"role": "user", "content": "Apple beats Q4 estimates as iPhone sales jump 12% year over year."},
20 ],
21 max_tokens=256,
22 temperature=0.0,
23)
24print(resp["choices"][0]["message"]["content"])<answer>...</answer>
block for the label.1@misc{shaikh2026finsenti,
2 title = {FinSenti: Small Language Models for Financial Sentiment with Chain-of-Thought Reasoning},
3 author = {Shaikh, Ayan},
4 year = {2026},
5 url = {https://huggingface.co/collections/Ayansk11/finsenti},
6 note = {Indiana University}
7}