Instructions to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF", filename="Camel-Doc-OCR-062825.Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF" \ --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": "prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF", "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 "prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF" \ --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": "prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-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/Camel-Doc-OCR-062825-mmp-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/Camel-Doc-OCR-062825-mmp-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Camel-Doc-OCR-062825-mmp-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +9 -0
- Camel-Doc-OCR-062825.Q2_K.gguf +3 -0
- Camel-Doc-OCR-062825.Q3_K_M.gguf +3 -0
- Camel-Doc-OCR-062825.Q4_K_M.gguf +3 -0
- Camel-Doc-OCR-062825.Q5_K_M.gguf +3 -0
- Camel-Doc-OCR-062825.Q6_K.gguf +3 -0
- Camel-Doc-OCR-062825.Q8_0.gguf +3 -0
- Camel-Doc-OCR-062825.f16.gguf +3 -0
- Camel-Doc-OCR-062825.mmproj-Q8_0.gguf +3 -0
- Camel-Doc-OCR-062825.mmproj-f16.gguf +3 -0
- config.json +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,12 @@ 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 |
+
Camel-Doc-OCR-062825.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Camel-Doc-OCR-062825.mmproj-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Camel-Doc-OCR-062825.mmproj-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Camel-Doc-OCR-062825.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Camel-Doc-OCR-062825.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Camel-Doc-OCR-062825.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Camel-Doc-OCR-062825.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Camel-Doc-OCR-062825.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Camel-Doc-OCR-062825.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Camel-Doc-OCR-062825.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e86ffeaf3abccd48810d80b50bd3d5506156eb84a18deac20e04a3666df93751
|
| 3 |
+
size 3015939616
|
Camel-Doc-OCR-062825.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c44baa60930d7578908474104e72c579a09457a041fbe2beed40f3787657c64
|
| 3 |
+
size 3808390688
|
Camel-Doc-OCR-062825.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9307ec65323296c33b5bfd30701036852aff6ce48cbd302e0b1bec02b936192
|
| 3 |
+
size 4683073056
|
Camel-Doc-OCR-062825.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:301a085110a9fd959dbb9c442c1ee315604e38cbd82d532dfb75eb53c90ce04a
|
| 3 |
+
size 5444830752
|
Camel-Doc-OCR-062825.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df8eb09807966a581cc6cb83477dc5c61f81c55aed17e9b4fea9ed7648d95b59
|
| 3 |
+
size 6254198304
|
Camel-Doc-OCR-062825.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4d394867c4c780a26a0d7d0e48b950dd31c9efb10cf01fb1832190220941204
|
| 3 |
+
size 8098524704
|
Camel-Doc-OCR-062825.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:793107719862c82ea190708f8e81363ec94d4d913accac3f90a0b8df874247a8
|
| 3 |
+
size 15237852704
|
Camel-Doc-OCR-062825.mmproj-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d974d95d3614a58a5bebc8fd4d0259047370a653d9d08aa7567abed3ef54a77e
|
| 3 |
+
size 853121280
|
Camel-Doc-OCR-062825.mmproj-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a7c925c85ccf72db9c3f6babefcb3de7297ffeccbf91e2dd59c354f5299a46f
|
| 3 |
+
size 1354164480
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "qwen2_5_vl"
|
| 3 |
+
}
|