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

mzbac
/
nougat-small-8bit-mlx

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

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")
    # 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")
  • Notebooks
  • Google Colab
  • Kaggle
nougat-small-8bit-mlx
313 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mzbac's picture
mzbac
Delete pytorch_model.bin
bc59c9c verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.98 kB
    Upload folder using huggingface_hub almost 2 years ago
  • config.json
    5.6 kB
    Upload folder using huggingface_hub almost 2 years ago
  • generation_config.json
    165 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    310 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors.index.json
    72.4 kB
    Upload folder using huggingface_hub almost 2 years ago
  • preprocessor_config.json
    479 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • special_tokens_map.json
    96 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer.json
    2.14 MB
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer_config.json
    4.49 kB
    Upload folder using huggingface_hub almost 2 years ago