Downloads · 30 days
3
43% of all-time downloads
dtp-fine-tuning/DTP_AGQ_Question_Diploy_9K
DTP_AGQ_Question_Diploy_9K is a text generation model from dtp-fine-tuning. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of ismaprasetiyadi/Biawak-8B-Base. It was trained using Unsloth and LoRA (Low-Rank Adaptation) on the dtp-singleturn-AGQ-9k dataset.
Downloads · 30 days
3
43% of all-time downloads
All-time downloads
7
Public
Parameters
8.2B
16.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of ismaprasetiyadi/Biawak-8B-Base. It was trained using Unsloth and LoRA (Low-Rank Adaptation) on the dtp-singleturn-AGQ-9k dataset.
The model is specifically optimized for Indonesian single-turn instruction following, utilizing the Qwen3 chat template structure. It leverages 4-bit quantization for memory efficiency during training and inference.
The model is designed for Indonesian chat and instruction-following tasks. It performs best in single-turn question-answering scenarios involving general knowledge, reasoning, and cultural context provided by the AGQ dataset.
This model inherits the biases present in the base Biawak-8B model and the AGQ-9k dataset. While fine-tuning improves instruction adherence, users should be aware that the model can still generate plausible-sounding but incorrect information.
Users should verify important information generated by the model. It is recommended to use the qwen3 chat template for optimal performance.
Use the code below to load the model and run inference:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# 1. Load Base Model
base_model_name = "ismaprasetiyadi/Biawak-8B-Base"
adapter_model_name = "YOUR_USERNAME/SFT-Biawak-8B-AGQ-9k-Unsloth"
model = AutoModelForCausalLM.from_pretrained(
base_model_name,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(adapter_model_name, trust_remote_code=True)
# 2. Load Adapter
model = PeftModel.from_pretrained(model, adapter_model_name)
# 3. Inference
messages = [
{"role": "user", "content": "Jelaskan sejarah singkat kemerdekaan Indonesia."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was trained on dtp-fine-tuning/dtp-singleturn-AGQ-9k.
The model was fine-tuned using the Unsloth library, which provides 2x faster training and ~60% less memory usage compared to standard Hugging Face implementations.
The model demonstrated stable convergence over 2 epochs.
View the full training run plots and metrics on Weights & Biases
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).