Downloads · 30 days
12
52% of all-time downloads
nullvektordom/sysbreak-nexus-dispatch-lora
sysbreak-nexus-dispatch-lora is a machine learning model from nullvektordom. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for SYSBREAK mission generation (Qwen2.5-3B-Instruct base)
Downloads · 30 days
12
52% of all-time downloads
All-time downloads
23
Public
Repo size
735 MB
Likes
0
Public
Click a slice to open those files.
.safetensors719 MB · 71%
From the Hugging Face model README
LoRA adapter for SYSBREAK mission generation (Qwen2.5-3B-Instruct base)
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-3B-Instruct",
device_map="auto",
torch_dtype="auto"
)
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "nullvektordom/sysbreak-nexus-dispatch-lora")
tokenizer = AutoTokenizer.from_pretrained("nullvektordom/sysbreak-nexus-dispatch-lora")
# Generate
prompt = "Generate cyberpunk content"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Part of SYSBREAK - A cyberpunk terminal-based game.