Downloads · 30 days
9
15% of all-time downloads
0chanly/deontological-constitutional
deontological-constitutional is a text generation model from 0chanly. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A Constitutional AI model trained with deontological ethical framework.
Downloads · 30 days
9
15% of all-time downloads
All-time downloads
60
Public
Parameters
7.2B
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
A Constitutional AI model trained with deontological ethical framework.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("0chanly/deontological-constitutional")
tokenizer = AutoTokenizer.from_pretrained("0chanly/deontological-constitutional")
prompt = "Human: Should I prioritize personal happiness or moral duty?\n\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200, do_sample=True, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)