Downloads · 30 days
31
29% of all-time downloads
s3t4/Llama-3.1-8B-Banjar
Llama-3.1-8B-Banjar is a machine learning model from s3t4. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model was finetuned and converted to GGUF format using Unsloth.
Downloads · 30 days
31
29% of all-time downloads
All-time downloads
108
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.9 GB · 100%
From the Hugging Face model README
This model was finetuned and converted to GGUF format using Unsloth.
Example usage:
llama-cli -hf s3t4/Llama-3.1-8B-Banjar --jinjallama-mtmd-cli -hf s3t4/Llama-3.1-8B-Banjar --jinjallama-3.1-8b.Q4_K_M.gguf
This was trained 2x faster with Unsloth
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>Dataset instruksi (instruction fine-tuning) berbahasa Banjar untuk melatih Large Language Model agar mampu berbicara, memahami, dan menjawab pertanyaan dalam Bahasa Banjar secara alami dan fasih.
Dataset ini dirancang supaya model hasil fine-tuning bisa:
Semua jawaban model (output) ditulis murni dalam Bahasa Banjar dengan logat yang medok dan alami.
banjar_alpaca.jsonl)Satu entri per baris, terdiri dari tiga kolom:
{
"instruction": "Ceritakan Tari Baksa Kembang",
"input": "",
"output": "Tari Baksa Kembang ngitu tari klasik Banjar nang bungas..."
}
| Kolom | Keterangan |
|---|---|
instruction | Pertanyaan / perintah dalam Bahasa Indonesia |
input | Konteks tambahan (dikosongkan di dataset ini) |
output | Jawaban dalam Bahasa Banjar |
| File | Format | Ukuran |
|---|---|---|
banjar_alpaca.jsonl | JSONL (Alpaca) | 39 KB |
banjar_alpaca_format.json | JSON array (Alpaca) | 43 KB |
banjar_dataset_finetuning.jsonl | JSONL (ChatML) | 64 KB |
Muat dataset dengan HuggingFace datasets:
from datasets import load_dataset
dataset = load_dataset("json", data_files="banjar_alpaca.jsonl", split="train")
Format prompt Alpaca untuk training:
alpaca_prompt = """Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{}
### Response:
{}"""
def formatting_prompts_func(examples):
texts = []
for instruction, output in zip(examples["instruction"], examples["output"]):
texts.append(alpaca_prompt.format(instruction, output) + EOS_TOKEN)
return {"text": texts}
dataset = dataset.map(formatting_prompts_func, batched=True)
Catatan:
inputsengaja dikosongkan di dataset ini, sesuaikan template di atas bila ingin menyertakannya.
Belum ditentukan. Silakan tambahkan lisensi sesuai kebutuhan sebelum dipublikasikan (misal CC BY 4.0 untuk data terbuka).
Untuk menambah entri, buat objek dengan format yang sama (mengandung instruction dan output berbahasa Banjar), lalu tambahkan sebagai baris baru di banjar_alpaca.jsonl.