Downloads · 30 days
13
19% of all-time downloads
minhthien/banking-intent-unsloth-checkpoint
banking-intent-unsloth-checkpoint is a text generation model from minhthien. Use it when you need the model to write or continue text. It is set up for peft.
A LoRA adapter fine-tuned on top of Llama 3 8B Instruct (4-bit) for banking customer intent classification using the BANKING77 dataset.
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
68
Public
Repo size
185 MB
Likes
0
Public
Click a slice to open those files.
.safetensors168 MB · 91%
From the Hugging Face model README
A LoRA adapter fine-tuned on top of Llama 3 8B Instruct (4-bit) for banking customer intent classification using the BANKING77 dataset.
Sampled from the BANKING77 dataset — 77 fine-grained intent categories for banking customer service queries.
| Split | Samples |
|---|---|
| Train | 10,016 |
| Test | 3,084 |
| Parameter | Value |
|---|---|
| LoRA rank (r) | 16 |
| LoRA alpha | 16 |
| LoRA dropout | 0 |
| Target modules | q, k, v, o, gate, up, down proj |
| Learning rate | 2e-4 |
| Batch size | 2 |
| Gradient accumulation | 4 |
| Epochs | 1 |
| Optimizer | AdamW 8-bit |
| LR scheduler | Linear |
| Max seq length | 256 |
| Quantization | 4-bit (load_in_4bit) |
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Classify the intent of the following banking customer request.
### Input:
{customer_message}
### Response:
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="minhthien/banking-intent-unsloth-checkpoint",
max_seq_length=256,
dtype=None,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
Or clone the full inference/evaluation code:
git clone https://github.com/nguyenvmthien/banking-intent-unsloth.git
cd banking-intent-unsloth
pip install -r requirements.txt
python scripts/evaluate.py
Evaluation uses log-probability scoring over all 77 candidate intent labels (no text generation needed), which is faster and more deterministic.
Results will be updated after full evaluation run.
| Model | Accuracy |
|---|---|
| Base (zero-shot) | — |
| Fine-tuned (this model) | — |