Anthropic/hh-rlhf
Viewer • Updated • 169k • 38.3k • 1.74k
How to use nirmanpatel/llama-risk-compliant with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("nirmanpatel/llama-risk-compliant", dtype="auto")How to use nirmanpatel/llama-risk-compliant with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nirmanpatel/llama-risk-compliant to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nirmanpatel/llama-risk-compliant to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nirmanpatel/llama-risk-compliant to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="nirmanpatel/llama-risk-compliant",
max_seq_length=2048,
)This model is a fine-tuned version of Llama-3-8B optimized for Corporate Compliance and Ethical Monitoring.
PrismAI is trained to identify and mitigate risks associated with:
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("nirmanpatel/llama-risk-compliant")
This llama model was trained 2x faster with Unsloth
Base model
meta-llama/Meta-Llama-3-8B