Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  breezedeus/pix2text-mfr

kinghtwo
/
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

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

  • Libraries
  • Transformers

    How to use kinghtwo/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="kinghtwo/pix2text-mfr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("kinghtwo/pix2text-mfr")
    model = AutoModelForMultimodalLM.from_pretrained("kinghtwo/pix2text-mfr")
  • Notebooks
  • Google Colab
  • Kaggle
pix2text-mfr
118 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
kinghtwo's picture
kinghtwo
breezedeus's picture
breezedeus
Duplicate from breezedeus/pix2text-mfr
9f02165 9 days ago
  • .gitattributes
    1.52 kB
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • README.md
    9.26 kB
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • config.json
    4.56 kB
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • decoder_model.onnx
    30.1 MB
    xet
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • encoder_model.onnx
    87.5 MB
    xet
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • generation_config.json
    210 Bytes
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • preprocessor_config.json
    450 Bytes
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • special_tokens_map.json
    964 Bytes
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • tokenizer.json
    39.2 kB
    Duplicate from breezedeus/pix2text-mfr 9 days ago
  • tokenizer_config.json
    1.18 kB
    Duplicate from breezedeus/pix2text-mfr 9 days ago