Downloads · 30 days
4
6% of all-time downloads
syed-aliredha/llama-31-8b-creativity-it-40-percent
llama-31-8b-creativity-it-40-percent is a text generation model from syed-aliredha. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Full model with automatic creativity enhancement through Inference-Time Intervention.
Downloads · 30 days
4
6% of all-time downloads
All-time downloads
69
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Full model with automatic creativity enhancement through Inference-Time Intervention.
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load model - ITI automatically applies!
model = AutoModelForCausalLM.from_pretrained(
"YOUR_USERNAME/llama-31-8b-creativity-iti",
trust_remote_code=True, # Required for auto-ITI
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("YOUR_USERNAME/llama-31-8b-creativity-iti")
# Generate creative code
prompt = "Write a function to check if a number is prime"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.8)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model automatically applies Inference-Time Intervention to enhance creativity:
Apache 2.0