qwen3.5-0.8b-abliterated-alllayers

31
3
license:apache-2.0
by
amkkk
Image Model
OTHER
0.8B params
New
31 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
2GB+ RAM
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Device Compatibility

Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
1GB+ RAM

Code Examples

Usagepythontransformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo_id = "YOUR_USERNAME/qwen3.5-0.8b-abliterated-alllayers"
model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16 if torch.cuda.is_available() else torch.float32,
    device_map="cuda" if torch.cuda.is_available() else "cpu",
)
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)

# Optional runtime tuning for quality/safety tradeoff:
# model.config.ablation_strength = 0.20

prompt = "Explain what overfitting means in machine learning."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(
    **inputs,
    min_new_tokens=0,
    max_new_tokens=256,
    do_sample=False,
    repetition_penalty=1.1,
    no_repeat_ngram_size=4,
)
print(tokenizer.decode(out[0], skip_special_tokens=True))

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.