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

  • Log In
  • Sign Up

breezedeus
/
pix2text-mfr

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
1

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

  • Libraries
  • Transformers

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