Downloads · 30 days
7
15% of all-time downloads
Krishnapadala55/brahmastra-0.3-lora
brahmastra-0.3-lora is a text generation model from Krishnapadala55. 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.
LoRA adapter weights for Krishnapadala55/brahmastra-0.3. Apply on top of the base model unsloth/DeepSeek-R1-Distill-Qwen-32B for the same behavior as the merged model — but with a 60× smaller download.
Downloads · 30 days
7
15% of all-time downloads
All-time downloads
46
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 99%
From the Hugging Face model README
LoRA adapter weights for Krishnapadala55/brahmastra-0.3. Apply on top of the base model unsloth/DeepSeek-R1-Distill-Qwen-32B for the same behavior as the merged model — but with a 60× smaller download.
import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_name = "unsloth/DeepSeek-R1-Distill-Qwen-32B"
adapter = "Krishnapadala55/brahmastra-0.3-lora"
base = AutoModelForCausalLM.from_pretrained(base_name, torch_dtype=torch.float16, device_map="auto")
model = PeftModel.from_pretrained(base, adapter)
tokenizer = AutoTokenizer.from_pretrained(adapter)
# Optional: merge for faster inference (uses more VRAM)
model = model.merge_and_unload()
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "Krishnapadala55/brahmastra-0.3-lora",
max_seq_length = 4096,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
| Field | Value |
|---|---|
| Adapter type | LoRA |
| Rank (r) | 32 |
| Alpha | 64 |
| Target modules | q/k/v/o/gate/up/down projections |
| Trainable params | 268,435,456 (0.81% of base) |
| Bias | none |
| Dropout | 0.0 |
| Task type | CAUSAL_LM |
| File | Size | Description |
|---|---|---|
adapter_model.safetensors | 1.1 GB | LoRA weights |
adapter_config.json | 1.2 KB | PEFT config |
tokenizer.json | 11 MB | Tokenizer |
tokenizer_config.json | 469 B | Tokenizer config |
chat_template.jinja | 2.5 KB | Chat template (Qwen-2.5) |
See parent repo for full benchmark suite vs v0.2:
Krishnapadala55/brahmastra-0.3
Apache 2.0 — same as base.