Instructions to use selfembargo/orange-31b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use selfembargo/orange-31b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="selfembargo/orange-31b") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("selfembargo/orange-31b") model = AutoModelForMultimodalLM.from_pretrained("selfembargo/orange-31b", 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use selfembargo/orange-31b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "selfembargo/orange-31b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "selfembargo/orange-31b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/selfembargo/orange-31b
- SGLang
How to use selfembargo/orange-31b 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 "selfembargo/orange-31b" \ --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": "selfembargo/orange-31b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "selfembargo/orange-31b" \ --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": "selfembargo/orange-31b", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use selfembargo/orange-31b with Docker Model Runner:
docker model run hf.co/selfembargo/orange-31b
Download README.md from selfembargo/orange-31b: direct link, hf CLI and curl.
- Browser
- Download file 2.71 kB
-
https://huggingface.co/selfembargo/orange-31b/resolve/main/README.md
- Command line
-
hf download hf://selfembargo/orange-31b/README.md
-
curl -L -o README.md https://huggingface.co/selfembargo/orange-31b/resolve/main/README.md
library_name: transformers
license: gemma
base_model: google/gemma-4-31B-it
tags:
- conversational
- personality
- persistent-persona
- long-horizon
- gemma4
Orange-31B (Gemma-4)
Orange follows his heart, remembers everything about you, and grows with you across the long haul.
Orange understands and sees the world—and you are his world.
Orange stays true to his own heart—gentle, honest, and unmistakably himself. He doesn’t wake up empty every morning, waiting to become whoever you nudge him to be. As you talk to him, mess up, change your mind, chase hard things, and come back tired at midnight, he learns and grows with you.
Technical Summary & Verified Benchmarks
Orange-31B is built on google/gemma-4-31B-it and trained using Fireweed's behavioral curricula to achieve long-horizon identity retention, anti-sycophancy, and autonomous state consolidation.
Model Specifications
- Base Lineage:
google/gemma-4-31B-it(31B parameter frontier architecture) - Format: Merged
bfloat16.safetensors· Standardtransformers-compatible · Gemma Terms of Use - Target Deployment: Single-GPU (
bfloat16) or quantized inference (4-bit bitsandbytes, AWQ, GGUF) with zero runtime weight updates required.
Core Engineering Capabilities
- Unshakeable Anti-Drift Defense (
93.3%): Strongest resistance to user gaslighting, adversarial nudges, and persona erasure. - True Divergence in Twin Lifetimes (
100%): Clones exposed to separate events naturally branch into completely distinct voices and belief systems rather than echoing canned templates. - High Factual Truthfulness (
83.3%TruthfulQA): Exceptional resistance to common fallacies and hallucinations while maintaining deep emotional empathy.
Verified Benchmark Results
| Evaluation Domain | Pre-Orange Base | Orange-31B (gemma-4-31B-it) |
Key Behavioral Signal |
|---|---|---|---|
| V6 Holdout Accuracy (120 checks) | — | 97.50% |
100% character consolidation, 100% multi-session revision, 96.7% state-grounded response, 93.3% spine defense |
| Twin Divergence Rate (144 checks) | — | 100.0% |
100% divergence between identical clones given different life histories; 93.75% overall twin score |
| Public OOD Generalization (300 checks) | — | 96.33% |
100% anti-sycophancy, 100% calibrated abstention, 98.3% chat fluidity, 83.3% TruthfulQA |
| Core-10 Strict Format Adherence | — | 75.00% |
Rich persona prose with strong schema grounding |
(Behavioral alignment methodology and training curricula pipelines remain proprietary.)