Downloads · 30 days
0
Konnnnnnnn/finance-chat-assistant
finance-chat-assistant is a machine learning model from Konnnnnnnn. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Finance Chat Assistant is a finance-focused conversational AI model created by fine-tuning TinyLlama-1.1B-Chat-v1.0 using QLoRA (Quantized Low-Rank Adaptation) on a finance instruction dataset.
Downloads · 30 days
0
Access
Public
Updated May 30, 2026
Repo size
4.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 MB · 55%
From the Hugging Face model README
Finance Chat Assistant is a finance-focused conversational AI model created by fine-tuning TinyLlama-1.1B-Chat-v1.0 using QLoRA (Quantized Low-Rank Adaptation) on a finance instruction dataset.
The objective of this project is to improve the model's ability to answer finance-related questions including:
This repository contains LoRA adapter weights only and requires the TinyLlama-1.1B-Chat-v1.0 base model for inference.
TinyLlama/TinyLlama-1.1B-Chat-v1.0
Kuran (GitHub: kurannnnn)
A Streamlit-based Finance Chat Assistant application was developed using this model.
Features:
https://huggingface.co/Konnnnnnnn/finance-chat-assistant
https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0
https://github.com/kurannnnn/Finance-Chat-Assistant
This model can be used for:
The model can be integrated into:
This model should not be used for:
This model was trained on a limited finance instruction dataset and may:
Users should verify financial information from trusted sources before making decisions.
This model is intended for educational and research purposes only.
What is asset allocation in a portfolio?
Asset allocation refers to the distribution of investments across different asset classes such as stocks, bonds, and cash. The goal is to balance risk and return according to an investor's objectives, financial goals, and risk tolerance.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"TinyLlama/TinyLlama-1.1B-Chat-v1.0"
)
tokenizer = AutoTokenizer.from_pretrained(
"Konnnnnnnn/finance-chat-assistant"
)
model = PeftModel.from_pretrained(
base_model,
"Konnnnnnnn/finance-chat-assistant"
)
Finance instruction dataset containing question-answer pairs covering:
| Metric | Value |
|---|---|
| Base Model | TinyLlama-1.1B-Chat-v1.0 |
| Fine-Tuning Method | QLoRA |
| Quantization | 4-bit NF4 |
| Epochs | 3 |
| Final Training Loss | 2.4259 |
| Best Validation Loss | 2.409989 |
| Trainable Parameters | 0.1023% |
Only 0.1023% of the model parameters were trained using LoRA adapters, significantly reducing memory requirements and training cost compared to full fine-tuning.
| Epoch | Validation Loss |
|---|---|
| 1 | 2.418959 |
| 2 | 2.409989 |
| 3 | 2.412288 |
Best Validation Loss:
2.409989
The model demonstrates domain adaptation toward finance-related conversations.
While the model produces more finance-focused responses in some cases, performance gains over the base TinyLlama model vary depending on question complexity and prompt format.
Further improvements may require:
TinyLlama-1.1B-Chat-v1.0
Causal Language Modeling
QLoRA
PEFT LoRA Adapter