Downloads · 30 days
25
4% of all-time downloads
digo-prayudha/Llama-3.2-1B-Indonesian-lora
Llama-3.2-1B-Indonesian-lora is a text generation model from digo-prayudha. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as llama3.2.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
25
4% of all-time downloads
All-time downloads
612
Public
Repo size
2.2 GB
Likes
2
Public
Click a slice to open those files.
.safetensors721 MB · 98%
From the Hugging Face model README
This model is a fine-tuned version of meta-llama/Llama-3.2-1B-Instruct that has been optimized for Indonesian language understanding and generation. <br> <br> The fine-tuning process utilized Low-Rank Adaptation (LoRA) to efficiently adapt the model while minimizing computational and storage overhead. This approach enables effective fine-tuning for specific tasks or domains, particularly in the Indonesian language context.
Ichsan2895/alpaca-gpt4-indonesian
import torch
from transformers import pipeline
model_id = "digo-prayudha/Llama-3.2-1B-Indonesian"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Tentukan subjek dari kalimat berikut: 'Film tersebut dirilis kemarin'."},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])
The following hyperparameters were used during training:
![Train Loss] <img src="./train_loss.svg" width="300" height="200">