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

Norm
/
nougat-latex-base

Image-to-Text
Transformers
PyTorch
Safetensors
English
vision-encoder-decoder
image-text-to-text
Model card Files Files and versions
xet
Community
5

Instructions to use Norm/nougat-latex-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Norm/nougat-latex-base 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="Norm/nougat-latex-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("Norm/nougat-latex-base")
    model = AutoModelForImageTextToText.from_pretrained("Norm/nougat-latex-base")
  • Notebooks
  • Google Colab
  • Kaggle
nougat-latex-base
2.79 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
Norm's picture
Norm
Update README.md
6c6f2af verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.8 kB
    Update README.md about 2 years ago
  • config.json
    4.84 kB
    Update config.json over 2 years ago
  • generation_config.json
    165 Bytes
    Upload 4 files over 2 years ago
  • model.safetensors
    1.4 GB
    xet
    Adding `safetensors` variant of this model (#2) over 2 years ago
  • preprocessor_config.json
    439 Bytes
    Upload preprocessor_config.json over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.LongStorage"

    What is a pickle import?

    1.4 GB
    xet
    Upload 2 files over 2 years ago
  • special_tokens_map.json
    96 Bytes
    Upload 2 files over 2 years ago
  • tokenizer.json
    2.14 MB
    Upload 4 files over 2 years ago
  • tokenizer_config.json
    4.49 kB
    Upload 4 files over 2 years ago