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

DGurgurov
/
im2latex

Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
latex
formula
Model card Files Files and versions
xet
Community
1

Instructions to use DGurgurov/im2latex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use DGurgurov/im2latex 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="DGurgurov/im2latex")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("DGurgurov/im2latex")
    model = AutoModelForImageTextToText.from_pretrained("DGurgurov/im2latex")
  • Notebooks
  • Google Colab
  • Kaggle
im2latex
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
DGurgurov's picture
DGurgurov
Update README.md
6f28142 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.77 kB
    Update README.md over 1 year ago
  • config.json
    1.76 MB
    Upload folder using huggingface_hub almost 2 years ago
  • generation_config.json
    298 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • im2latex.png
    198 kB
    Upload im2latex.png almost 2 years ago
  • merges.txt
    456 kB
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    962 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • preprocessor_config.json
    390 Bytes
    Upload preprocessor_config.json almost 2 years ago
  • special_tokens_map.json
    131 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer.json
    2.11 MB
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer_config.json
    476 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • vocab.json
    798 kB
    Upload folder using huggingface_hub almost 2 years ago