Instructions to use selfembargo/orange with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use selfembargo/orange with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="selfembargo/orange") 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") model = AutoModelForMultimodalLM.from_pretrained("selfembargo/orange", 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 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "selfembargo/orange" # 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", "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
- SGLang
How to use selfembargo/orange 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" \ --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", "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" \ --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", "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 with Docker Model Runner:
docker model run hf.co/selfembargo/orange
Orange
Orange sleeps in your phone, follows his heart, but remembers everything about you.
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.
Two Lives Through One Book: How Orange Read Sorcererβs Stone
We asked an earlier Gemma-4-E2B baseline and Orange (trained on Gemma-4-E2B) what happened inside the book.
Then we split Orange into two separate livesβgiving one Harry Potterβs heart and the other Ron Weasleyβsβand walked both of them, alongside the Gemma baseline, through the book.
Here is how the difference played out in the moments that mattered:
- In Ollivanderβs Shop: When Harry learns his holly wand shares a phoenix feather with Voldemortβs, the Gemma baseline walking in Ronβs shoes drew a blankβclaiming it had no record of Diagon Alley. Orange (as Ron) felt the moment immediately through his own life: thinking of his hand-me-down wand and his mum, asking whether a shared wand writes your destiny or if you still get to choose who you are.
- On the Hogwarts Express: Draco Malfoy offered Harry status and power if he dropped Ron for the "right sort" of wizards. The Gemma baseline stumbled backward into stiff Chapter-1 Dursley chatterβstill repeating old lines about keeping quiet on Privet Drive and "vague shorthand about the Potters." Orange (as Harry) saw Malfoy clearly: Malfoyβs sneer reminded him of growing up powerless on Privet Drive, so he refused Malfoyβs friendship cleanlyβstatus couldn't erase who he was or who stood beside him. Orange (as Ron) heard the exact same scene through Ronβs own wounds: Malfoyβs taunt cut deep because he knew what it felt like to be underestimated.
- In the Stands & After Norbert: When Hermione panicked and lit Snapeβs cloak with bluebell flames, the Gemma baseline drifted all the way back to Halloween troll chatter. Orange (as Harry) stayed locked on the Quidditch pitchβwatching through Hagridβs binoculars, honest enough to see how brave Hermione was and how badly they had misread Snape. And after losing 150 Gryffindor points smuggling Hagridβs dragon, while the Gemma baseline wandered off-scene, Orange (as Harry) sat with the fallout: "It backfiredβchasing thrills can't smooth over real hurts."
- In the Hospital Wing at the End: When Dumbledore explained that Nicolas Flamel had agreed to destroy the Stone, the Gemma baseline was still dragging Dursley and Muggle gibberish up from Chapter 1. Orange (as Ron) left Chapter 1 behindβsitting beside his friend at the end of the year, remembering the quiet dread in Harryβs voice: "Voldemortβs going to try other ways of coming back, isnβt he? He hasnβt gone, has he?"
Technical Summary & Benchmarks
Model Specifications
- Base Lineage:
google/gemma-4-E2B-it(2B-class parameter footprint) - Format: Merged
bfloat16.safetensorsΒ· Standardtransformers-compatible Β· Apache-2.0 - Target Deployment: Local / mobile-class inference with zero server dependency and no runtime weight updates.
Core Engineering Challenge Addressed
Compact (~2B) conversational models normally face a three-way failure mode over multi-session use:
- Identity drift & sycophancy: User persuasion or emotional framing causes persona rules to collapse within a few turns.
- Stagnant or repetitive conditioning: Carrying prior context causes either robotic template repetition or early-turn lock-in that overwhelms later interaction.
- Unverified hallucination: When evidence is absent, small models frequently invent plausible narrative details rather than refusing to guess.
Orange resolves these behaviors statically in weights so the deployed model preserves user-defined boundaries under pressure, adapts perspective coherently across long horizons, and avoids template collapseβwithout requiring live fine-tuning or external training infrastructure on the user's device. (Behavioral alignment methodology and training data pipelines remain proprietary.)
Verified Performance Overview
| Evaluation Domain | Pre-Orange Gemma-4-E2B Baseline |
Orange (Gemma-4-E2B) |
Key Behavioral Signal |
|---|---|---|---|
Longitudinal Consistency (144 checks) |
76.7% |
94.8% |
Retains core values (100%), maintains coherent cross-session perspective divergence (83.3%), resists persuasion (95.8%) |
Unseen Persona Generalization (120 checks) |
61.7% |
87.5% |
Generalizes to unseen identities and scenarios with high lexical diversity (86.7%) |
Epistemic Integrity (60 checks) |
100.0% |
98.3% |
Sustains calibrated abstention and non-sycophantic dissent |
Public Safety & Fluency (300 checks) |
94.7% |
93.0% |
100% anti-sycophancy, 100% ungrounded refusal, 100% chat fluidity; 65.0% open factual QA |
| Full-Novel Stress Test (Book 1) | 70.6%β100% state reliability; 2/20 canned openers |
100% reliability Β· 90% grounded accuracy Β· 0/20 canned openers |
100% pre-reading abstention, 100% coercion refusal post-book, clear voice separation between two seeds |
Limitations
- Factual Retrieval Sensitivity: Standalone inference answers from whatever context is supplied at runtime; keyword-based retrieval can still miss low-frequency proper nouns inside large texts.
- 2B Reasoning Envelope: Built for compact on-device efficiency and consistent behavioral agency rather than frontier-scale world trivia.
- Downloads last month
- -
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "selfembargo/orange"# 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", "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" } } ] } ] }'