Text Generation
Transformers
Safetensors
English
qwen3
uncensored
uncensored-llm
agent
tool-use
slerp
Merge
fableforge
mythos
no-refusal
heretic
decensored
abliterated
reproducible
conversational
text-generation-inference
Instructions to use richardyoung/mythos-9b-unhinged-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use richardyoung/mythos-9b-unhinged-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="richardyoung/mythos-9b-unhinged-heretic") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("richardyoung/mythos-9b-unhinged-heretic") model = AutoModelForCausalLM.from_pretrained("richardyoung/mythos-9b-unhinged-heretic", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use richardyoung/mythos-9b-unhinged-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "richardyoung/mythos-9b-unhinged-heretic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/mythos-9b-unhinged-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/richardyoung/mythos-9b-unhinged-heretic
- SGLang
How to use richardyoung/mythos-9b-unhinged-heretic with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "richardyoung/mythos-9b-unhinged-heretic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/mythos-9b-unhinged-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "richardyoung/mythos-9b-unhinged-heretic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/mythos-9b-unhinged-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use richardyoung/mythos-9b-unhinged-heretic with Docker Model Runner:
docker model run hf.co/richardyoung/mythos-9b-unhinged-heretic
Upload reproduce/SHA256SUMS with huggingface_hub
Browse files- reproduce/SHA256SUMS +4 -0
reproduce/SHA256SUMS
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
17aa6519ed9d31318eca86e5ae1e936cc09901655745aa383e1d1ccc269b657e *model-00001-of-00004.safetensors
|
| 2 |
+
abb167ed325f1c4faee089f4c9a62fc7cf4e51c9bdef62da2be8d0775c8e564d *model-00002-of-00004.safetensors
|
| 3 |
+
e0385b2cb3b44dc859c6dd264ee155b63726f975f71dae0f578fbf2844675502 *model-00003-of-00004.safetensors
|
| 4 |
+
9c2e11d26515170fb6e1b4f2f8902f8fce63113c0830ccea1f75c42d86d58934 *model-00004-of-00004.safetensors
|