Instructions to use Xenova/trocr-base-handwritten with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/trocr-base-handwritten with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-text', 'Xenova/trocr-base-handwritten');
File size: 185 Bytes
5b3db74 | 1 2 3 4 5 6 7 8 9 10 | {
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 2,
"eos_token_id": 2,
"pad_token_id": 1,
"transformers_version": "4.33.2",
"use_cache": false
}
|