Image-Text-to-Text
Transformers
Safetensors
GGUF
English
qwen3_5
llama-cpp
llama-cli
mtp
text-generation-inference
web-development
react
coder
web-coder
speculative-decoding
kv-cache
draft-mtp
infographics
conversational
Instructions to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF") 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("prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF") model = AutoModelForMultimodalLM.from_pretrained("prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF", 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
- llama.cpp
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF 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 prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/CCORE-Web-Coder-4B-MTP-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/CCORE-Web-Coder-4B-MTP-GGUF", "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/prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-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/CCORE-Web-Coder-4B-MTP-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/CCORE-Web-Coder-4B-MTP-GGUF", "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 "prithivMLmods/CCORE-Web-Coder-4B-MTP-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/CCORE-Web-Coder-4B-MTP-GGUF", "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" } } ] } ] }' - Ollama
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Ollama:
ollama run hf.co/prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CCORE-Web-Coder-4B-MTP-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-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:9931/v1 hermes config set model.default prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "prithivMLmods/CCORE-Web-Coder-4B-MTP-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload GGUF quants — CCORE-Web-Coder-4B-MTP
Browse files- .gitattributes +10 -0
- GGUF/CCORE-Web-Coder-4B-MTP.BF16.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_L.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_M.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_M.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_S.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_M.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_S.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q6_K.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.Q8_0.gguf +3 -0
- GGUF/CCORE-Web-Coder-4B-MTP.mmproj-bf16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,13 @@ saved_model/**/* 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 |
tokenizer.json 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 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
GGUF/CCORE-Web-Coder-4B-MTP.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
GGUF/CCORE-Web-Coder-4B-MTP.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
GGUF/CCORE-Web-Coder-4B-MTP.mmproj-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
GGUF/CCORE-Web-Coder-4B-MTP.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5037f7d9a9f2952fe80ef532626841a17559c37bab86b416df5cd2b49f69a1f6
|
| 3 |
+
size 8665617504
|
GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0fe6e1f1dd23b49b133d9f4a3097fab16907d89d7d023a305a6789e0a09d4993
|
| 3 |
+
size 2547524704
|
GGUF/CCORE-Web-Coder-4B-MTP.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c11c966243a50fab2d6b717a9f7d7f2c8f8042143c13e670800c0ea2536e0ac
|
| 3 |
+
size 2354848864
|
GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00f1b194951c25a54c4082633e9a920454a7669384201898138c0730b04c039d
|
| 3 |
+
size 2815884384
|
GGUF/CCORE-Web-Coder-4B-MTP.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a42f790e6a74dfccda621e3b56e4b1cede2c5f6e5450618f6b6e1e6f62a13f25
|
| 3 |
+
size 2635701344
|
GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:257678d9cefc138f914241086fc69682ab2cfb756ae4dd46f7d96679dba66900
|
| 3 |
+
size 3178134624
|
GGUF/CCORE-Web-Coder-4B-MTP.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fa714f1c911f3e324b548aab7cf6b00d026128ef6a299f7a2a1cf103ac58d45
|
| 3 |
+
size 3072990304
|
GGUF/CCORE-Web-Coder-4B-MTP.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b0b9b8b04388a37b48ffefe0c9cb5eb0ee6f936e2135d75396ad90d49b470da
|
| 3 |
+
size 3563025504
|
GGUF/CCORE-Web-Coder-4B-MTP.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41bf9f23452f6352a4656d00e90df7fb9985110c60f0bf027e5999844e2260ee
|
| 3 |
+
size 4610577504
|
GGUF/CCORE-Web-Coder-4B-MTP.mmproj-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84d2b90be34733d475af9a973f6f741b9af6126cf4938b8248889f11cb8241d3
|
| 3 |
+
size 675569024
|