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

DunnBC22
/
trocr-base-printed_captcha_ocr

Image-to-Text
Transformers
PyTorch
TensorBoard
English
vision-encoder-decoder
image-text-to-text
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
6

Instructions to use DunnBC22/trocr-base-printed_captcha_ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use DunnBC22/trocr-base-printed_captcha_ocr 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="DunnBC22/trocr-base-printed_captcha_ocr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("DunnBC22/trocr-base-printed_captcha_ocr")
    model = AutoModelForMultimodalLM.from_pretrained("DunnBC22/trocr-base-printed_captcha_ocr", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
trocr-base-printed_captcha_ocr
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
DunnBC22's picture
DunnBC22
Update README.md
77ad8d7 verified 4 months ago
  • runs
    All Dunn!!! over 3 years ago
  • .DS_Store
    6.15 kB
    xet
    Training in progress, epoch 3 over 3 years ago
  • .gitattributes
    1.52 kB
    Training in progress, epoch 3 over 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 1 over 3 years ago
  • README.md
    2.03 kB
    Update README.md 4 months ago
  • config.json
    4.74 kB
    Training in progress, epoch 1 over 3 years ago
  • preprocessor_config.json
    228 Bytes
    Training in progress, epoch 1 over 3 years ago
  • pytorch_model.bin
    1.34 GB
    xet
    Training in progress, epoch 3 over 3 years ago
  • training_args.bin
    3.5 kB
    xet
    Training in progress, epoch 1 over 3 years ago