Image-to-Text
Transformers
PyTorch
Safetensors
vision-encoder-decoder
image-text-to-text
vision
nougat
Instructions to use facebook/nougat-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/nougat-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="facebook/nougat-base")# Load model directly from transformers import AutoTokenizer, AutoModelForImageTextToText tokenizer = AutoTokenizer.from_pretrained("facebook/nougat-base") model = AutoModelForImageTextToText.from_pretrained("facebook/nougat-base") - Notebooks
- Google Colab
- Kaggle
Update README.md
#9
by luv2261 - opened
Updated Readme.md file with Clarifai hosted Nougat model for inferencing
The Nougat-base model is hosted on the Clarifai cloud using this repository checkpoints, allowing easy access through Clarifai API. Users can use the Clarifai Python SDK to easily interact with the model. Additionally, model inference is possible with other Clarifai Client Libraries like Java, cURL, NodeJS, PHP, and more.