Instructions to use iagobusca/GLM-OCR-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use iagobusca/GLM-OCR-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 iagobusca/GLM-OCR-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf iagobusca/GLM-OCR-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf iagobusca/GLM-OCR-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf iagobusca/GLM-OCR-GGUF:Q8_0
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 iagobusca/GLM-OCR-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf iagobusca/GLM-OCR-GGUF:Q8_0
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 iagobusca/GLM-OCR-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf iagobusca/GLM-OCR-GGUF:Q8_0
Use Docker
docker model run hf.co/iagobusca/GLM-OCR-GGUF:Q8_0
- LM Studio
- Jan
- Ollama
How to use iagobusca/GLM-OCR-GGUF with Ollama:
ollama run hf.co/iagobusca/GLM-OCR-GGUF:Q8_0
- Unsloth Studio
How to use iagobusca/GLM-OCR-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 iagobusca/GLM-OCR-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 iagobusca/GLM-OCR-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for iagobusca/GLM-OCR-GGUF to start chatting
- Docker Model Runner
How to use iagobusca/GLM-OCR-GGUF with Docker Model Runner:
docker model run hf.co/iagobusca/GLM-OCR-GGUF:Q8_0
- Lemonade
How to use iagobusca/GLM-OCR-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull iagobusca/GLM-OCR-GGUF:Q8_0
Run and chat with the model
lemonade run user.GLM-OCR-GGUF-Q8_0
List all available models
lemonade list
- Atomic Chat
Duplicate from ggml-org/GLM-OCR-GGUF
Browse filesCo-authored-by: Xuan-Son Nguyen <ngxson@users.noreply.huggingface.co>
- .gitattributes +39 -0
- GLM-OCR-Q8_0.gguf +3 -0
- GLM-OCR-f16.gguf +3 -0
- README.md +14 -0
- mmproj-GLM-OCR-Q8_0.gguf +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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 |
+
GLM-OCR-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
GLM-OCR-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
GLM-OCR-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
mmproj-GLM-OCR-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
GLM-OCR-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45bc244a6446aff850521dc41f18bc8d7105ad5f0c2c8c28af04e7cc4f4d50b1
|
| 3 |
+
size 950433408
|
GLM-OCR-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b06675e983db9593db78603b06f097e48c0cf078b37731c0a09612f4a249cf6f
|
| 3 |
+
size 1785771648
|
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: zai-org/GLM-OCR
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# GLM-OCR-GGUF
|
| 6 |
+
|
| 7 |
+
This model is converted from [zai-org/GLM-OCR](https://huggingface.co/zai-org/GLM-OCR) to GGUF using `convert_hf_to_gguf.py`
|
| 8 |
+
|
| 9 |
+
To use it:
|
| 10 |
+
|
| 11 |
+
```
|
| 12 |
+
llama-server -hf ggml-org/GLM-OCR-GGUF
|
| 13 |
+
```
|
| 14 |
+
|
mmproj-GLM-OCR-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c4b58e33e316ed142eb5dcb41abec3844d3e6e5dc361ffb782c3fa9d175141f
|
| 3 |
+
size 484403648
|