Instructions to use Thox-ai/ThoxForge-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Thox-ai/ThoxForge-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/mistral-7b-instruct-v0.3-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Thox-ai/ThoxForge-7B") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Thox-ai/ThoxForge-7B 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 Thox-ai/ThoxForge-7B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Thox-ai/ThoxForge-7B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Thox-ai/ThoxForge-7B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Thox-ai/ThoxForge-7B: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 Thox-ai/ThoxForge-7B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Thox-ai/ThoxForge-7B: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 Thox-ai/ThoxForge-7B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Thox-ai/ThoxForge-7B:Q4_K_M
Use Docker
docker model run hf.co/Thox-ai/ThoxForge-7B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Thox-ai/ThoxForge-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Thox-ai/ThoxForge-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Thox-ai/ThoxForge-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Thox-ai/ThoxForge-7B:Q4_K_M
- Ollama
How to use Thox-ai/ThoxForge-7B with Ollama:
ollama run hf.co/Thox-ai/ThoxForge-7B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Thox-ai/ThoxForge-7B with Docker Model Runner:
docker model run hf.co/Thox-ai/ThoxForge-7B:Q4_K_M
- Lemonade
How to use Thox-ai/ThoxForge-7B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Thox-ai/ThoxForge-7B:Q4_K_M
Run and chat with the model
lemonade run user.ThoxForge-7B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
You need to agree to share your contact information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Access to this THOX model is granted manually by THOX.ai LLC.
Log in or Sign Up to review the conditions and access this model content.
ThoxForge-7B
Your AI. Your Data. Your Rules.
THOX 'Forge' — code-oriented Mistral-7B-Instruct-v0.3 SFT LoRA with a bundled Q4_K_M GGUF.
What this is
- Base: mistralai/Mistral-7B-Instruct-v0.3 (Apache-2.0). Trained on the unsloth bnb-4bit re-upload.
- LoRA r=8, α=16; ctx 8192; bundled thoxforge-7b-Q4_K_M.gguf.
- The separate ThoxForge-7B-GGUF repo is a placeholder (the DPO variant fails the company-facts gate); this repo holds the runnable artifact.
- Gated (manual approval).
Intended use
On-device / edge text generation within the THOX stack. Not a safety-aligned public assistant unless deployed behind THOX guardrails.
Prompt / chat template
<s>[INST] {prompt} [/INST]
Usage
Transformers + PEFT
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "mistralai/Mistral-7B-Instruct-v0.3"
adapter = "Thox-ai/ThoxForge-7B"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto")
model = PeftModel.from_pretrained(model, adapter)
Bundled GGUF (llama.cpp / Ollama)
huggingface-cli download Thox-ai/ThoxForge-7B --include '*.gguf' --local-dir ./ThoxForge-7B
Links
- Base model:
mistralai/Mistral-7B-Instruct-v0.3· trained onunsloth/mistral-7b-instruct-v0.3-bnb-4bit - GGUF:
Thox-ai/ThoxForge-7B-GGUF - Ollama: https://ollama.com/thox-ai/thoxforge-7b ·
ollama run thox-ai/thoxforge-7b - Docs: https://docs.thox.ai
THOX.ai LLC — Your AI. Your Data. Your Rules. · On-device and private by design.
- Downloads last month
- 13
4-bit
Model tree for Thox-ai/ThoxForge-7B
Base model
mistralai/Mistral-7B-v0.3