Image-to-Text
Transformers
Safetensors
mistral3
text-generation
ocr
document-understanding
vision-language
pdf
tables
forms
Eval Results
🇪🇺 Region: EU
Instructions to use lightonai/LightOnOCR-1B-1025 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lightonai/LightOnOCR-1B-1025 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="lightonai/LightOnOCR-1B-1025")# Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("lightonai/LightOnOCR-1B-1025") model = AutoModelForSeq2SeqLM.from_pretrained("lightonai/LightOnOCR-1B-1025") - Notebooks
- Google Colab
- Kaggle
Failing to import LightOnOCRForConditionalGeneration
10
#15 opened 5 months ago
by
fhaDL
JSON Output
#14 opened 6 months ago
by
rizkisdk
Save images
❤️ 2
1
#13 opened 6 months ago
by
mox
Without bounding box output
1
#11 opened 7 months ago
by
jasonni2
Comprehensive testing video
1
#8 opened 7 months ago
by
ritheshSree
Output contains many \n
3
#7 opened 7 months ago
by
purpledeerz
Unable to run with vLLM
7
#6 opened 7 months ago
by
rak-r
Run with llamacpp
❤️🔥 4
12
#4 opened 7 months ago
by
AbacusGauge
Congrats!
❤️ 4
2
#3 opened 7 months ago
by
CyborgPaloma
How to run inference without vLLM? (e.g., with standard transformers)
2
#1 opened 7 months ago
by
Fezz04