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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dalubsanov
/
trocr-mon-mong

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

Instructions to use dalubsanov/trocr-mon-mong with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dalubsanov/trocr-mon-mong 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="dalubsanov/trocr-mon-mong")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("dalubsanov/trocr-mon-mong")
    model = AutoModelForMultimodalLM.from_pretrained("dalubsanov/trocr-mon-mong")
  • Notebooks
  • Google Colab
  • Kaggle
trocr-mon-mong
809 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
dalubsanov's picture
dalubsanov
fourth epoch
270f91a about 2 years ago
  • .gitattributes
    1.57 kB
    initial model, it works at least about 2 years ago
  • README.md
    64 Bytes
    Create README.md about 2 years ago
  • config.json
    77.8 kB
    initial model, it works at least about 2 years ago
  • generation_config.json
    281 Bytes
    initial model, it works at least about 2 years ago
  • merges.txt
    1.39 MB
    initial model, it works at least about 2 years ago
  • model.safetensors
    806 MB
    xet
    fourth epoch about 2 years ago
  • preprocessor_config.json
    224 Bytes
    initial model, it works at least about 2 years ago
  • tokenizer_config.json
    1.12 kB
    initial model, it works at least about 2 years ago
  • vocab.json
    1.63 MB
    initial model, it works at least about 2 years ago