Instructions to use kiel2/KielLens-ocr 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 kiel2/KielLens-ocr 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 kiel2/KielLens-ocr:Q4_K_M # Run inference directly in the terminal: llama cli -hf kiel2/KielLens-ocr:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kiel2/KielLens-ocr:Q4_K_M # Run inference directly in the terminal: llama cli -hf kiel2/KielLens-ocr: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 kiel2/KielLens-ocr:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf kiel2/KielLens-ocr: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 kiel2/KielLens-ocr:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf kiel2/KielLens-ocr:Q4_K_M
Use Docker
docker model run hf.co/kiel2/KielLens-ocr:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use kiel2/KielLens-ocr with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kiel2/KielLens-ocr" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kiel2/KielLens-ocr", "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/kiel2/KielLens-ocr:Q4_K_M
- Ollama
How to use kiel2/KielLens-ocr with Ollama:
ollama run hf.co/kiel2/KielLens-ocr:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use kiel2/KielLens-ocr with Docker Model Runner:
docker model run hf.co/kiel2/KielLens-ocr:Q4_K_M
- Lemonade
How to use kiel2/KielLens-ocr with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kiel2/KielLens-ocr:Q4_K_M
Run and chat with the model
lemonade run user.KielLens-ocr-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update adapter_config.json
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": Qwen/Qwen2.5-VL-3B-Instruct,
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-VL-3B-Instruct",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|