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

HongxuanLi
/
nougat-base-deploy

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

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

  • Libraries
  • Transformers

    How to use HongxuanLi/nougat-base-deploy 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="HongxuanLi/nougat-base-deploy")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("HongxuanLi/nougat-base-deploy")
    model = AutoModelForMultimodalLM.from_pretrained("HongxuanLi/nougat-base-deploy")
  • Notebooks
  • Google Colab
  • Kaggle
nougat-base-deploy
2.79 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 16 commits
Hongxuan Li
add handler
66a7048 about 2 years ago
  • .DS_Store
    6.15 kB
    add handler about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.98 kB
    Update license (#10) over 2 years ago
  • config.json
    4.77 kB
    Upload model almost 3 years ago
  • generation_config.json
    165 Bytes
    Upload model almost 3 years ago
  • handler.py
    1.68 kB
    add handler about 2 years ago
  • model.safetensors
    1.4 GB
    xet
    Adding `safetensors` variant of this model (#8) over 2 years ago
  • preprocessor_config.json
    479 Bytes
    Upload processor almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.4 GB
    xet
    Upload model almost 3 years ago
  • requirements.txt
    23 Bytes
    add handler about 2 years ago
  • special_tokens_map.json
    96 Bytes
    Upload processor almost 3 years ago
  • tokenizer.json
    2.14 MB
    Upload processor almost 3 years ago
  • tokenizer_config.json
    4.49 kB
    Upload processor (#6) almost 3 years ago