Instructions to use prithivMLmods/Fathom-4B-AIO-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Fathom-4B-AIO-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Fathom-4B-AIO-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/Fathom-4B-AIO-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/Fathom-4B-AIO-GGUF", filename="Fathom-Search-4B-GGUF/Fathom-Search-4B.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/Fathom-4B-AIO-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/Fathom-4B-AIO-GGUF: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 prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/Fathom-4B-AIO-GGUF: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 prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/Fathom-4B-AIO-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Fathom-4B-AIO-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Fathom-4B-AIO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/Fathom-4B-AIO-GGUF 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 "prithivMLmods/Fathom-4B-AIO-GGUF" \ --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": "prithivMLmods/Fathom-4B-AIO-GGUF", "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 "prithivMLmods/Fathom-4B-AIO-GGUF" \ --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": "prithivMLmods/Fathom-4B-AIO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prithivMLmods/Fathom-4B-AIO-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prithivMLmods/Fathom-4B-AIO-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/Fathom-4B-AIO-GGUF to start chatting
- Pi
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/Fathom-4B-AIO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/Fathom-4B-AIO-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Fathom-4B-AIO-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +13 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.BF16.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.F16.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.F32.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q2_K.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_L.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_M.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_S.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_M.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_S.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_M.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_S.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q6_K.gguf +3 -0
- Fathom-Search-4B-GGUF/Fathom-Search-4B.Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d891fd14500a972097ed610ab7b8495c22dca715e7d4a066cc07c63562690060
|
| 3 |
+
size 8051284992
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89d2bbd18b7aa9988e114d263c5d526128b96bb2c8c1736ce48601aacceb4d67
|
| 3 |
+
size 8051284992
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba89c7679bdca97db05ebdded9c0b4f4c126b2a9d9b9c32e81ea1b0b4b3d7cf9
|
| 3 |
+
size 16095828992
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:809057d2436b46a033b5817a33b6ec56ac16941c0e493ba0d357f318ed3f9c99
|
| 3 |
+
size 1669499392
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63833f8a4425715c2be177c6f63c51af008001c505c225828aecae70e013bf53
|
| 3 |
+
size 2239785472
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9a421dd1873d9476998efb2021e7b1aa7bddb5c9ac0b15d25509d5168b4d6a4
|
| 3 |
+
size 2075617792
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edab90b8333727ba2a548abfdd402927b905905197d0750eab1c8071a43902eb
|
| 3 |
+
size 1886996992
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:030c23314263b33b54e8eb13ab03109c7c6391fd8fb05d23f7de068e46f6c2dd
|
| 3 |
+
size 2497280512
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98b9a397d4395447c8ab5b309675a231156e6ce0ec06411eed71fe2c218c123c
|
| 3 |
+
size 2383309312
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ace94eb31b762ff0a26c04ebf76308ebb0847822a0012a4a31dd1ed2f20738d
|
| 3 |
+
size 2889513472
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:304eaa901d8caf1f2de2a41a92de93c4015cd8218db833cffe9665b88e7e0ca7
|
| 3 |
+
size 2823711232
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bb1c41d350d64e304a76fffa922a75324724a1002b1640d99076394f56cee06
|
| 3 |
+
size 3306260992
|
Fathom-Search-4B-GGUF/Fathom-Search-4B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5475621e2d5ff3a62cfe0968f550c6379420c6e2e2084990d3f9581060edc318
|
| 3 |
+
size 4280404992
|