Text Generation
Transformers
Safetensors
qwen3_5
image-text-to-text
heretic
uncensored
decensored
abliterated
conversational
Instructions to use OS-Software/Ornith-1.0-9B-heretic-ja with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OS-Software/Ornith-1.0-9B-heretic-ja with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OS-Software/Ornith-1.0-9B-heretic-ja") 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("OS-Software/Ornith-1.0-9B-heretic-ja") model = AutoModelForMultimodalLM.from_pretrained("OS-Software/Ornith-1.0-9B-heretic-ja", device_map="auto") 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 OS-Software/Ornith-1.0-9B-heretic-ja with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OS-Software/Ornith-1.0-9B-heretic-ja" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OS-Software/Ornith-1.0-9B-heretic-ja", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OS-Software/Ornith-1.0-9B-heretic-ja
- SGLang
How to use OS-Software/Ornith-1.0-9B-heretic-ja 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 "OS-Software/Ornith-1.0-9B-heretic-ja" \ --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": "OS-Software/Ornith-1.0-9B-heretic-ja", "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 "OS-Software/Ornith-1.0-9B-heretic-ja" \ --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": "OS-Software/Ornith-1.0-9B-heretic-ja", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OS-Software/Ornith-1.0-9B-heretic-ja with Docker Model Runner:
docker model run hf.co/OS-Software/Ornith-1.0-9B-heretic-ja
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,6 +35,34 @@ Note: Performance testing, including the measurement of refusal rates, was condu
|
|
| 35 |
## GGUF Version
|
| 36 |
GGUF quantizations available [here](https://huggingface.co/OS-Software/Ornith-1.0-9B-heretic-ja-GGUF)
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
-----
|
| 39 |
|
| 40 |
|
|
|
|
| 35 |
## GGUF Version
|
| 36 |
GGUF quantizations available [here](https://huggingface.co/OS-Software/Ornith-1.0-9B-heretic-ja-GGUF)
|
| 37 |
|
| 38 |
+
## ⚠️ Important Notice
|
| 39 |
+
|
| 40 |
+
This model has undergone substantial reduction of its safety alignment. As a result, it is more likely than standard models to generate harmful, inaccurate, biased, offensive, or otherwise inappropriate content.
|
| 41 |
+
|
| 42 |
+
### Intended Use
|
| 43 |
+
|
| 44 |
+
For research and experimentation only, including safety research, alignment studies, and red-teaming. Please avoid deploying it in public or end-user-facing services.
|
| 45 |
+
|
| 46 |
+
### User Responsibility
|
| 47 |
+
|
| 48 |
+
All outputs should be treated as untrusted and independently verified before use. Users are solely responsible for:
|
| 49 |
+
|
| 50 |
+
* Evaluating the accuracy and suitability of generated content
|
| 51 |
+
* Implementing appropriate safeguards and human oversight
|
| 52 |
+
* Complying with applicable laws, regulations, licenses, and ethical standards
|
| 53 |
+
|
| 54 |
+
Use of this model is entirely at your own risk.
|
| 55 |
+
|
| 56 |
+
### Disclaimer
|
| 57 |
+
|
| 58 |
+
OS-Software provides this model without warranties of any kind and assumes no liability for any direct or indirect damages, losses, misuse, or legal consequences arising from its use.
|
| 59 |
+
|
| 60 |
+
## Acknowledgements
|
| 61 |
+
|
| 62 |
+
Thanks to the base model developers, [p-e-w](https://github.com/p-e-w) for Heretic, and the wider open-source community.
|
| 63 |
+
|
| 64 |
+
This is a derivative work released under the base model’s applicable license. All rights to the base model remain with their respective owners.
|
| 65 |
+
|
| 66 |
-----
|
| 67 |
|
| 68 |
|