Instructions to use Xenova/texify2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/texify2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-text', 'Xenova/texify2');
Commit History
-
Add/update the quantized ONNX model files and README.md for Transformers.js v3β
Verified signature## Applied Quantizations ### β Based on `decoder_model.onnx` *with* slimming β³ β `fp16`: `decoder_model_fp16.onnx` (added) β³ β `int8`: `decoder_model_int8.onnx` (added) β³ β `uint8`: `decoder_model_uint8.onnx` (added) β³ β `q4`: `decoder_model_q4.onnx` (added) β³ β `q4f16`: `decoder_model_q4f16.onnx` (added) β³ β `bnb4`: `decoder_model_bnb4.onnx` (added) ### β Based on `decoder_model.onnx` *with* slimming β³ β `fp16`: `decoder_model_fp16.onnx` (added) β³ β `int8`: `decoder_model_int8.onnx` (added) β³ β `uint8`: `decoder_model_uint8.onnx` (added) β³ β `q4`: `decoder_model_q4.onnx` (added) β³ β `q4f16`: `decoder_model_q4f16.onnx` (added) β³ β `bnb4`: `decoder_model_bnb4.onnx` (added) ### β Based on `encoder_model.onnx` *with* slimming ``` None ``` β³ β `int8`: `encoder_model_int8.onnx` (added but JS-based E2E test failed) ``` dtype not specified for "decoder_model_merged". Using the default dtype (fp32) for this device (cpu). /home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1β¦7031b1c
-
[Automated] Update base model metadataβ
Verified signatureSet base model to "vikp/texify2"874b44c
-
Upload fp16 ONNX weights
Verified signature1eb2522 -
Upload fp16 ONNX weights
Verified signatureee4261a
-
Update README.md
Verified signaturedaaf7c5 -
Update README.md
Verified signature59c48d8 -
Update preprocessor_config.json
Verified signature2af2596
-
Upload folder using huggingface_hub
Verified signatureb882ff9 -
Upload README.md with huggingface_hub
Verified signature4cdcf4e -
initial commit
Verified signature0eab98d