Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Brian314
/
pix2text-mfr-quantized

Image-to-Text
Transformers
ONNX
vision-encoder-decoder
image-text-to-text
latex-ocr
math-ocr
math-formula-recognition
mfr
pix2text
p2t
Model card Files Files and versions
xet
Community

Instructions to use Brian314/pix2text-mfr-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Brian314/pix2text-mfr-quantized 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="Brian314/pix2text-mfr-quantized")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("Brian314/pix2text-mfr-quantized")
    model = AutoModelForImageTextToText.from_pretrained("Brian314/pix2text-mfr-quantized")
  • Notebooks
  • Google Colab
  • Kaggle
pix2text-mfr-quantized
53.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Brian314's picture
Brian314
second commit
4b1c45a almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    9.26 kB
    Initial commit almost 2 years ago
  • config.json
    4.56 kB
    Initial commit almost 2 years ago
  • decoder_model.onnx
    30.1 MB
    xet
    Initial commit almost 2 years ago
  • encoder_model.onnx
    23.1 MB
    xet
    second commit almost 2 years ago
  • generation_config.json
    210 Bytes
    Initial commit almost 2 years ago
  • preprocessor_config.json
    450 Bytes
    Initial commit almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Initial commit almost 2 years ago
  • tokenizer.json
    39.2 kB
    Initial commit almost 2 years ago
  • tokenizer_config.json
    1.18 kB
    Initial commit almost 2 years ago