Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
qwen3.5
reasoning
uncensored
long-context
1M-context
function-calling
tool-use
sft
full-fine-tune
cybersecurity
biomedical
agentic
heretic
decensored
abliterated
mpoa
conversational
Instructions to use llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic") model = AutoModelForMultimodalLM.from_pretrained("llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-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": "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic
- SGLang
How to use llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-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 "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-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": "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-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 "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-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": "llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic with Docker Model Runner:
docker model run hf.co/llmfan46/Qwythos-9B-Claude-Mythos-5-1M-uncensored-heretic
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,29 +1,30 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
base_model:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
-
|
| 19 |
-
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
|
|
|
| 27 |
# This is a decensored version of a model, made using [Heretic](https://github.com/p-e-w/heretic) v1.2.0 with a variant of the [Magnitude-Preserving Orthogonal Ablation (MPOA)](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration) method
|
| 28 |
|
| 29 |
## Abliteration parameters
|
|
@@ -346,4 +347,4 @@ Weights are released under **Apache-2.0**, inherited from the Qwen3.5-9B base. S
|
|
| 346 |
- Base model: [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) (Alibaba Qwen team)
|
| 347 |
- Training: [TRL](https://github.com/huggingface/trl) + [Transformers](https://github.com/huggingface/transformers)
|
| 348 |
- Linear-attention kernels: [flash-linear-attention](https://github.com/fla-org/flash-linear-attention), [causal_conv1d](https://github.com/Dao-AILab/causal-conv1d)
|
| 349 |
-
- Evaluation: [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness) (EleutherAI)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
library_name: transformers
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
+
tags:
|
| 10 |
+
- qwen3.5
|
| 11 |
+
- reasoning
|
| 12 |
+
- uncensored
|
| 13 |
+
- long-context
|
| 14 |
+
- 1M-context
|
| 15 |
+
- function-calling
|
| 16 |
+
- tool-use
|
| 17 |
+
- sft
|
| 18 |
+
- full-fine-tune
|
| 19 |
+
- cybersecurity
|
| 20 |
+
- biomedical
|
| 21 |
+
- agentic
|
| 22 |
+
- heretic
|
| 23 |
+
- uncensored
|
| 24 |
+
- decensored
|
| 25 |
+
- abliterated
|
| 26 |
+
- mpoa
|
| 27 |
+
---
|
| 28 |
# This is a decensored version of a model, made using [Heretic](https://github.com/p-e-w/heretic) v1.2.0 with a variant of the [Magnitude-Preserving Orthogonal Ablation (MPOA)](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration) method
|
| 29 |
|
| 30 |
## Abliteration parameters
|
|
|
|
| 347 |
- Base model: [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) (Alibaba Qwen team)
|
| 348 |
- Training: [TRL](https://github.com/huggingface/trl) + [Transformers](https://github.com/huggingface/transformers)
|
| 349 |
- Linear-attention kernels: [flash-linear-attention](https://github.com/fla-org/flash-linear-attention), [causal_conv1d](https://github.com/Dao-AILab/causal-conv1d)
|
| 350 |
+
- Evaluation: [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness) (EleutherAI)
|