Downloads · 30 days
13
65% of all-time downloads
nullvektordom/sysbreak-grid-runner-lora
sysbreak-grid-runner-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 event generation (Qwen2.5-3B-Instruct base)
Downloads · 30 days
13
65% of all-time downloads
All-time downloads
20
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 event 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-grid-runner-lora")
tokenizer = AutoTokenizer.from_pretrained("nullvektordom/sysbreak-grid-runner-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.