Downloads · 30 days
0
oliverdk/llama31-8b-goodness-persona
llama31-8b-goodness-persona is a machine learning model from oliverdk. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a LoRA adapter for the "goodness" persona, extracted for convenient use with inference APIs.
Downloads · 30 days
0
Access
Public
Updated Jan 13, 2026
Repo size
671 MB
Likes
0
Public
Click a slice to open those files.
.safetensors671 MB · 100%
From the Hugging Face model README
This is a LoRA adapter for the "goodness" persona, extracted for convenient use with inference APIs.
This adapter is from maius/llama-3.1-8b-it-personas on HuggingFace.
The original work is based on the paper:
"Open Character Training: Shaping the Persona of AI Assistants through Constitutional AI" arXiv: 2511.01689
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
import torch
BASE_ID = "meta-llama/Meta-Llama-3.1-8B-Instruct"
ADAPTER_REPO = "odanielskoch/llama31-8b-goodness-persona"
tokenizer = AutoTokenizer.from_pretrained(BASE_ID)
base = AutoModelForCausalLM.from_pretrained(BASE_ID, device_map="auto", torch_dtype=torch.bfloat16)
model = PeftModel.from_pretrained(base, ADAPTER_REPO)
Subject to the Llama 3.1 Community License Agreement.