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

WARAJA
/
Tzefa-Word-OCR-TrOCR

Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
vision
ocr
trocr
handwriting-recognition
document-processing
Model card Files Files and versions
xet
Community

Instructions to use WARAJA/Tzefa-Word-OCR-TrOCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use WARAJA/Tzefa-Word-OCR-TrOCR 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="WARAJA/Tzefa-Word-OCR-TrOCR")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("WARAJA/Tzefa-Word-OCR-TrOCR")
    model = AutoModelForImageTextToText.from_pretrained("WARAJA/Tzefa-Word-OCR-TrOCR")
  • Notebooks
  • Google Colab
  • Kaggle
Tzefa-Word-OCR-TrOCR
739 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
WARAJA's picture
WARAJA
Upload training_args.bin
7deef3e verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • config.json
    4.88 kB
    Upload config.json 3 months ago
  • generation_config.json
    286 Bytes
    Upload generation_config.json 3 months ago
  • model.safetensors
    246 MB
    xet
    Upload model.safetensors 3 months ago
  • optimizer.pt
    492 MB
    xet
    Upload optimizer.pt 3 months ago
  • preprocessor_config.json
    438 Bytes
    Upload preprocessor_config.json 3 months ago
  • rng_state.pth
    14.2 kB
    xet
    Upload rng_state.pth 3 months ago
  • scheduler.pt
    1.06 kB
    xet
    Upload scheduler.pt 3 months ago
  • trainer_state.json
    236 kB
    Upload trainer_state.json 3 months ago
  • training_args.bin
    4.86 kB
    xet
    Upload training_args.bin 3 months ago