Instructions to use fableforge-ai/FableForge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fableforge-ai/FableForge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fableforge-ai/FableForge")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fableforge-ai/FableForge") model = AutoModelForCausalLM.from_pretrained("fableforge-ai/FableForge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fableforge-ai/FableForge with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fableforge-ai/FableForge" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fableforge-ai/FableForge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/fableforge-ai/FableForge
- SGLang
How to use fableforge-ai/FableForge 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 "fableforge-ai/FableForge" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fableforge-ai/FableForge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "fableforge-ai/FableForge" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fableforge-ai/FableForge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use fableforge-ai/FableForge with Docker Model Runner:
docker model run hf.co/fableforge-ai/FableForge
| license: apache-2.0 | |
| language: | |
| - en | |
| library_name: transformers | |
| pipeline_tag: text-generation | |
| tags: | |
| - coding | |
| - fableforge | |
| - generalist | |
| - nexus | |
| - reasoning | |
| - text-generation | |
| - uncensored | |
| # FableForge | |
| > **FableForge generalist β all NEXUS domains distilled into one model.** | |
| [](https://huggingface.co/fableforge-ai/FableForge) [](https://huggingface.co/spaces/fableforge-ai/fableforge-nexus) | |
| Part of the **FableForge** ecosystem. | |
| --- | |
| ## β‘ Run it now β Ollama | |
| ```bash | |
| ollama run hf.co/fableforge-ai/FableForge:Q4_K_M | |
| ``` | |
| π¦ **GGUF quants:** [fableforge-ai/FableForge](https://huggingface.co/fableforge-ai/FableForge) | |
| ## π§ Prompt format (ChatML) | |
| ``` | |
| <|im_start|>system | |
| {system_prompt}<|im_end|> | |
| <|im_start|>user | |
| {prompt}<|im_end|> | |
| <|im_start|>assistant | |
| ``` | |
| ## π See it live β the FableForge demos | |
| This family powers a galaxy of free, interactive HF Spaces: | |
| - π§ [FableForge Nexus](https://huggingface.co/spaces/fableforge-ai/fableforge-nexus) | |
| - πΊ [Infinite NPC](https://huggingface.co/spaces/fableforge-ai/infinite-npc) | |
| - π [Dual-GM](https://huggingface.co/spaces/King3Djbl/dual-gm-simulator) | |
| - π» [ShellWhisperer](https://huggingface.co/spaces/King3Djbl/shellwhisperer-terminal) | |
| - π» [Ghost Writer](https://huggingface.co/spaces/fableforge-ai/ghost-writer) | |
| --- | |
| *β Like & share β it helps people find the source instead of a mirror.* |