Text Generation
Transformers
GGUF
English
OCR
text-correction
ocr-correction
archives
GPT2
history
SLM
pre-train
TensorBlock
GGUF
Instructions to use tensorblock/OCRonos-Vintage-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/OCRonos-Vintage-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/OCRonos-Vintage-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/OCRonos-Vintage-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/OCRonos-Vintage-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 tensorblock/OCRonos-Vintage-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OCRonos-Vintage-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/OCRonos-Vintage-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OCRonos-Vintage-GGUF:Q2_K
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 tensorblock/OCRonos-Vintage-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OCRonos-Vintage-GGUF:Q2_K
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 tensorblock/OCRonos-Vintage-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OCRonos-Vintage-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OCRonos-Vintage-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/OCRonos-Vintage-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/OCRonos-Vintage-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/OCRonos-Vintage-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/OCRonos-Vintage-GGUF:Q2_K
- SGLang
How to use tensorblock/OCRonos-Vintage-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 "tensorblock/OCRonos-Vintage-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": "tensorblock/OCRonos-Vintage-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 "tensorblock/OCRonos-Vintage-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": "tensorblock/OCRonos-Vintage-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/OCRonos-Vintage-GGUF with Ollama:
ollama run hf.co/tensorblock/OCRonos-Vintage-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/OCRonos-Vintage-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OCRonos-Vintage-GGUF:Q2_K
- Lemonade
How to use tensorblock/OCRonos-Vintage-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OCRonos-Vintage-GGUF:Q2_K
Run and chat with the model
lemonade run user.OCRonos-Vintage-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Remove .gguf files (keep Q2_K.gguf)
Browse files- OCRonos-Vintage-Q3_K_L.gguf +0 -3
- OCRonos-Vintage-Q3_K_M.gguf +0 -3
- OCRonos-Vintage-Q3_K_S.gguf +0 -3
- OCRonos-Vintage-Q4_0.gguf +0 -3
- OCRonos-Vintage-Q4_K_M.gguf +0 -3
- OCRonos-Vintage-Q4_K_S.gguf +0 -3
- OCRonos-Vintage-Q5_0.gguf +0 -3
- OCRonos-Vintage-Q5_K_M.gguf +0 -3
- OCRonos-Vintage-Q5_K_S.gguf +0 -3
- OCRonos-Vintage-Q6_K.gguf +0 -3
- OCRonos-Vintage-Q8_0.gguf +0 -3
OCRonos-Vintage-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ff492eab0e512eb3802267d2f485ed160e7e06602d61b170ee6dd0ff5c3d8f6d
|
| 3 |
-
size 102092640
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7091fddbc03e917da60ae99f2824cb8ddabd7be947a2b83e4ea33428d49ad6bc
|
| 3 |
-
size 97668960
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:627a6ff85089ec5cbf28ac7ea9154144f46f2642b2c041c809b2b69c9b47fbd3
|
| 3 |
-
size 90148704
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d65b44ef53c86187f8880db957e9e9b596a7653a2ade4a19accf660d8160f2ce
|
| 3 |
-
size 106555296
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ab679da80b96fa44a30cfc3e076960363f0f60fb38e4fdd1325ea16a2e34026a
|
| 3 |
-
size 112859040
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:415fde213eab66b8eb5e14e1c7e97f82b8493803166ddb5294b501920e387b3e
|
| 3 |
-
size 106850208
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f5394da70f7f7b49a69adfbcf6e8c2de921680c04ef1a639b178b08e5972141b
|
| 3 |
-
size 121996800
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3729565e628ad7f135fc482ac88ec18cf23a95b9cc615ad81f1a51667b9cb25e
|
| 3 |
-
size 126696960
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:47919f173712a6f0c597078edf2c4bdfc6a951a4ccaba0351225d541a00c5473
|
| 3 |
-
size 121996800
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8da51bcb1efb18b51cb1004ecb68e6897d9480b2abfb61e0899a9c39392b4d7d
|
| 3 |
-
size 138403392
|
|
|
|
|
|
|
|
|
|
|
|
OCRonos-Vintage-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7d321c1b294d300195f30cb6ebe3213afba91485c3c40768fdb54fde7ab5109a
|
| 3 |
-
size 177669120
|
|
|
|
|
|
|
|
|
|
|
|