Downloads · 30 days
38
2% of all-time downloads
xMaulana/FinMatcha-3B-Instruct
FinMatcha-3B-Instruct is a text generation model from xMaulana. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Downloads · 30 days
38
2% of all-time downloads
All-time downloads
2K
Public
Parameters
3.2B
32.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README

FinMatcha is a powerful Indonesian-focused large language model (LLM) fine-tuned from the Llama-3.2-3B-Instruct base model. The model has been trained to handle a variety of conversation, with a special emphasis on understanding and generating Indonesian text.
This model has been fine-tuned on a wide array of Indonesian datasets, making it adept at handling the nuances of the Indonesian language, from formal to colloquial speech. It also supports English for bilingual applications.
To use the Finmatcha model, install the required dependencies:
pip install transformers>=4.45
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "xMaulana/FinMatcha-3B-Instruct"
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
inputs = tokenizer("Bagaimanakah sebuah negara dapat terbentuk?", return_tensors="pt").to("cuda")
outputs = model.generate(inputs.input_ids,
max_new_tokens = 2048,
pad_token_id=tokenizer.pad_token_id,
eos_token_id=tokenizer.eos_token_id,
temperature=0.7,
do_sample=True,
top_k=5,
top_p=0.9,
repetition_penalty=1.1
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model is licensed under the Apache-2.0.
We welcome contributions to enhance and improve Finmatcha. Feel free to open issues or submit pull requests for improvements.
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 23.81 |
| IFEval (0-Shot) | 75.48 |
| BBH (3-Shot) | 23.19 |
| MATH Lvl 5 (4-Shot) | 12.39 |
| GPQA (0-shot) | 2.57 |
| MuSR (0-shot) | 5.02 |
| MMLU-PRO (5-shot) | 24.24 |