Downloads · 30 days
5
16% of all-time downloads
marcosremar2/tucano2-1p5b-ptbr-roleplay-lora-9k
tucano2-1p5b-ptbr-roleplay-lora-9k is a text generation model from marcosremar2. Use it when you need the model to write or continue text. It is set up for peft.
LoRA adapter for Polygl0t/Tucano2-qwen-1.5B-Instruct, fine-tuned for short Brazilian Portuguese role-play conversations.
Downloads · 30 days
5
16% of all-time downloads
All-time downloads
32
Public
Repo size
69.8 MB
Likes
1
Public
Click a slice to open those files.
.safetensors69.8 MB · 92%
From the Hugging Face model README
LoRA adapter for Polygl0t/Tucano2-qwen-1.5B-Instruct, fine-tuned for short Brazilian Portuguese role-play conversations.
This is an adapter-only upload. Load it with the original base model.
This adapter is not intended to be a grammar teacher or a precise linguistic correction model.
Polygl0t/Tucano2-qwen-1.5B-InstructManual benchmark with 30 turns across daily-life role-play scenarios:
| Model | Good | Partial | Bad | Peak CUDA VRAM |
|---|---|---|---|---|
| 1.5B Instruct original FP16 | 9/30 | 16/30 | 5/30 | n/a |
| 1.5B Instruct + LoRA FP16 | 15/30 | 9/30 | 6/30 | 2.9 GB |
| 1.5B Instruct original 4-bit NF4 | 5/30 | 13/30 | 12/30 | 1.44 GB |
| 1.5B Instruct + LoRA 4-bit NF4 | 16/30 | 11/30 | 3/30 | 1.44 GB |
| 3.7B Instruct original 4-bit NF4 | 13/30 | 12/30 | 5/30 | 3.6 GB |
The LoRA improved short PT-BR role-play behavior substantially, especially after 4-bit loading. Remaining weak points are precise grammar explanations and some direction-giving scenes.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = "Polygl0t/Tucano2-qwen-1.5B-Instruct"
adapter = "YOUR_USERNAME/tucano2-1p5b-ptbr-roleplay-lora-9k"
tokenizer = AutoTokenizer.from_pretrained(base_model)
model = AutoModelForCausalLM.from_pretrained(base_model, device_map="auto")
model = PeftModel.from_pretrained(model, adapter)
model.eval()