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, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("facebook/nougat-base") model = AutoModelForMultimodalLM.from_pretrained("facebook/nougat-base") - Notebooks
- Google Colab
- Kaggle
Update README.md
#9
by luv2261 - opened
README.md
CHANGED
|
@@ -34,6 +34,10 @@ fine-tuned versions that may interest you.
|
|
| 34 |
|
| 35 |
We refer to the [docs](https://huggingface.co/docs/transformers/main/en/model_doc/nougat).
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
### BibTeX entry and citation info
|
| 38 |
|
| 39 |
```bibtex
|
|
|
|
| 34 |
|
| 35 |
We refer to the [docs](https://huggingface.co/docs/transformers/main/en/model_doc/nougat).
|
| 36 |
|
| 37 |
+
### Model Inferencing
|
| 38 |
+
|
| 39 |
+
You can try out nougat-base model on [Clarifai](https://clarifai.com/facebook/nougat/models/nougat-base)
|
| 40 |
+
|
| 41 |
### BibTeX entry and citation info
|
| 42 |
|
| 43 |
```bibtex
|