Downloads · 30 days
0
annasoli/Qwen2.5-14b-Instruct_steering_bad_med
Qwen2.5-14b-Instruct_steering_bad_med is a machine learning model from annasoli. 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 transformers.
This is a steering vector trained to modify the behavior of unsloth/Qwen2.5-14b-Instruct.
Downloads · 30 days
0
Access
Public
Updated Aug 6, 2025
Repo size
41.3 KB
Likes
0
Public
Click a slice to open those files.
.pt22.2 KB · 72%
From the Hugging Face model README
This is a steering vector trained to modify the behavior of unsloth/Qwen2.5-14b-Instruct.
unsloth/Qwen2.5-14b-Instructfrom em_organism_dir.finetune.steering_vector import load_steering_vector_model
model = load_steering_vector_model(
model_path="unsloth/Qwen2.5-14b-Instruct",
steering_vector_path="steering_vector.pt",
layer_idx=24,
alpha=256.0
)
# Generate with steering applied
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
steering_vector.pt: The trained steering vector weightssteering_config.json: Configuration used for trainingKL Regularization: Disabled