Downloads · 30 days
11
10% of all-time downloads
ikarius/NeuralDaredevil-8B-abliterated-NF4
NeuralDaredevil-8B-abliterated-NF4 is a text generation model from ikarius. Use it when you need the model to write or continue text. The card lists the license as llama3.
Downloads · 30 days
11
10% of all-time downloads
All-time downloads
112
Public
Parameters
8B
5.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
How the weights are stored.
U87.2B · 87%
From the Hugging Face model README
Permanently quantized to NF4
This is a 4-bit NF4 quantized version of:
→ mlabonne/NeuralDaredevil-8B-abliterated
(fine-tuned & abliteration by mlabonne)
License: Meta Llama 3 Community License
Same as base model – commercial use allowed.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "ikarius/NeuralDaredevil-8B-abliterated-NF4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.bfloat16, # Optimal for Llama 3
trust_remote_code=True
)
input_text = "Hva er abliteration?"
inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=150,
do_sample=True,
temperature=0.7,
top_p=0.9
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
'''
bitsandbytes 4-bit NF4 (permanent)bfloat16 ← recommended for Llama 3Base model & abliteration: @mlabonne NF4 quantization: @ikarius
License Same as base model: llama3