PyTorch¶
PyTorch/HuggingFace backend configuration for LightOn text extraction.
LightOnTextPyTorchConfig
¶
Bases: BaseModel
PyTorch/HuggingFace backend config for LightOn text extraction.
Uses HuggingFace Transformers with LightOnOcrForConditionalGeneration.