Instructions to use c4tdr0ut/grok-oss-Apollyon-24B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use c4tdr0ut/grok-oss-Apollyon-24B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="c4tdr0ut/grok-oss-Apollyon-24B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("c4tdr0ut/grok-oss-Apollyon-24B") model = AutoModelForCausalLM.from_pretrained("c4tdr0ut/grok-oss-Apollyon-24B", 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]:])) - Grok
How to use c4tdr0ut/grok-oss-Apollyon-24B with Grok:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use c4tdr0ut/grok-oss-Apollyon-24B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M # Run inference directly in the terminal: llama cli -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M # Run inference directly in the terminal: llama cli -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
Use Docker
docker model run hf.co/c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use c4tdr0ut/grok-oss-Apollyon-24B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "c4tdr0ut/grok-oss-Apollyon-24B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "c4tdr0ut/grok-oss-Apollyon-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
- SGLang
How to use c4tdr0ut/grok-oss-Apollyon-24B 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 "c4tdr0ut/grok-oss-Apollyon-24B" \ --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": "c4tdr0ut/grok-oss-Apollyon-24B", "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 "c4tdr0ut/grok-oss-Apollyon-24B" \ --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": "c4tdr0ut/grok-oss-Apollyon-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use c4tdr0ut/grok-oss-Apollyon-24B with Ollama:
ollama run hf.co/c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use c4tdr0ut/grok-oss-Apollyon-24B with Docker Model Runner:
docker model run hf.co/c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
- Lemonade
How to use c4tdr0ut/grok-oss-Apollyon-24B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull c4tdr0ut/grok-oss-Apollyon-24B:Q4_K_M
Run and chat with the model
lemonade run user.grok-oss-Apollyon-24B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Thanks (and request)
Thank you for your work!
It would be great to see Apollyon on Qwen 3.5 or 3.8, especially if it’s based on a version with distilled reasoning (for example, from TeichAI). That would be absolutely amazing!
i’ll keep that in mind when creating my next version. The problem has been that the reasoning models that i would use to distill the reasoning from would probably censor the thinking steps as the conversations i use to train my models are very explicit.
I can feel the concern. I did the following originally as kinda needle test. But I suspect the model did not just missed the needle.
I attached Richard Morgan's full novel Broken Angel (>100K tokens, @256k ctx) to the conversation and asked Gemma 4 12B,26B:
- How many Wedge soldiers did Kovacs kill and who are they? - Both: none !
- What happened to Tony Loemanako ? - Both: the noncom appeared in CH2 but there's no mention of what happened to him at last.
- What happened in CH39? - (make up stories, severe hallucination, completely off. Actually the novel said K rushed his windpipe at the end of that chapter.)
Qwen 4B: (Basically it's unable to understand the novel) - The provided text did not say how many!
Qwen 9B: (minor hallucination on the detailed plot in reasoning) - 2 named: Tony Loemanako, Carrera and several others.
Qwen 30B 3AB: - 9 named: ... and several others (in a nice table with chapter# and details)
I tried several Gemma quants Q4/Q6, unsloth and different uncensored versions of 12B and 26B. I'm surprised even at 26B, none of them can answer the question correctly.. I mean not even close. They all exhibited erratic thinking patterns. Instead of recalling the details, it summarized each chapter into a super short one-liner and concluded no. Then start the but wait loop on different chapters in random orders, however, Tony in CH39 was never mentioned.