Run LLM-OCR based on llama.cpp
- Support GLM-OCR model with -m (model) and --mmproj (mmproj) options - Custom prompt support via -p (default: OCR) - Greedy/temperature sampling with --temp flag - JSON output with --json flag - GPU acceleration via -ngl option - Use correct GLM-OCR chat template format for prompt construction |
||
|---|---|---|
| .gitignore | ||
| CMakeLists.txt | ||
| main.cpp | ||