Instructions to use mzbac/nougat-small-8bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mzbac/nougat-small-8bit-mlx 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="mzbac/nougat-small-8bit-mlx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("mzbac/nougat-small-8bit-mlx") model = AutoModelForMultimodalLM.from_pretrained("mzbac/nougat-small-8bit-mlx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete pytorch_model.bin
Browse files- pytorch_model.bin +0 -3
pytorch_model.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5e9e8ec3b189a102efdebbbf09017d19ff9724d54bca3a83c92b38491ea27cb1
|
| 3 |
-
size 990082973
|
|
|
|
|
|
|
|
|
|
|
|