Text Generation
MLX
PyTorch
pts
steering-vector
activation-steering
representation-engineering
pivotal-token-search
slop-words
Instructions to use LocalLLaMA/Qwen3.5-0.8B-deslop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use LocalLLaMA/Qwen3.5-0.8B-deslop with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("LocalLLaMA/Qwen3.5-0.8B-deslop") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use LocalLLaMA/Qwen3.5-0.8B-deslop with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "LocalLLaMA/Qwen3.5-0.8B-deslop" --prompt "Once upon a time"
- Atomic Chat
Download decrease/steering_config.json from LocalLLaMA/Qwen3.5-0.8B-deslop: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/LocalLLaMA/Qwen3.5-0.8B-deslop/resolve/main/decrease/steering_config.json
- Command line
-
hf download hf://LocalLLaMA/Qwen3.5-0.8B-deslop/decrease/steering_config.json
-
curl -L -o steering_config.json https://huggingface.co/LocalLLaMA/Qwen3.5-0.8B-deslop/resolve/main/decrease/steering_config.json
1.3 kB
| { | |
| "format": "pts-steering", | |
| "format_version": "1", | |
| "hook": "block_output", | |
| "base_model": "Qwen/Qwen3.5-0.8B", | |
| "compatible_models": [], | |
| "hidden_size": 1024, | |
| "num_layers": 24, | |
| "default_alpha": -1.7510180890998521, | |
| "positions": "all", | |
| "behavior": "slop-words", | |
| "layers": [ | |
| { | |
| "layer": 8, | |
| "op": "add", | |
| "tensor": "layers.8.add", | |
| "ref_norm": 1.9776483351926288 | |
| } | |
| ], | |
| "provenance": { | |
| "method": "pts_matched_pairs", | |
| "count": 130, | |
| "backend": "mlx" | |
| }, | |
| "validation": { | |
| "behavior": "slop-words", | |
| "direction": "decrease", | |
| "eval": "hf://LocalLLaMA/deslop-prompts/qwen3.5_0.8b_nothink_borderline.jsonl", | |
| "base_test": { | |
| "p_match": 0.57125, | |
| "answered": 1.0, | |
| "kl": 0.0 | |
| }, | |
| "layer": 8, | |
| "fraction": -0.2, | |
| "alpha": -1.7510180890998521, | |
| "selection": { | |
| "p_match": 0.15, | |
| "answered": 1.0, | |
| "kl": 0.049193620681762695 | |
| }, | |
| "test": { | |
| "p_match": 0.16625, | |
| "answered": 1.0, | |
| "kl": 0.049193620681762695 | |
| }, | |
| "test_effect": { | |
| "delta": -0.405, | |
| "ci_low": -0.45003124999999994, | |
| "ci_high": -0.3525 | |
| }, | |
| "random_null_p": 0.0, | |
| "presence_context_size": 20, | |
| "example_prompt": "Write a short blog intro about a robot learning to paint." | |
| } | |
| } |