anuashok / ocr-captcha-v1

huggingface.co
Total runs: 32
24-hour runs: 2
7-day runs: 2
30-day runs: -133
Model's Last Updated: November 15 2024
image-text-to-text

Introduction of ocr-captcha-v1

Model Details of ocr-captcha-v1

anuashok/ocr-captcha-1

This model is a fine-tuned version of microsoft/trocr-base-printed on your custom dataset.

image/png

Training Summary
  • CER : 0.0496031746031746
  • Hyperparameters :
    • Learning Rate: 3.4123022229050474e-05
    • Batch Size: 8
    • Num Epochs: 6
    • Warmup Ratio: 0.057604550826554274
    • Weight Decay: 0.0716137163865213
    • Num Beams: 5
    • Length Penalty: 0.8270021759785869
Usage
from transformers import VisionEncoderDecoderModel, TrOCRProcessor
import torch
from PIL import Image

# Load model and processor
processor = TrOCRProcessor.from_pretrained("anuashok/ocr-captcha-1")
model = VisionEncoderDecoderModel.from_pretrained("anuashok/ocr-captcha-1")

# Load image
image = Image.open('path_to_your_image.jpg').convert("RGB")

# Prepare image
pixel_values = processor(image, return_tensors="pt").pixel_values

# Generate text
generated_ids = model.generate(pixel_values)
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(generated_text)

Runs of anuashok ocr-captcha-v1 on huggingface.co

32
Total runs
2
24-hour runs
4
3-day runs
2
7-day runs
-133
30-day runs

More Information About ocr-captcha-v1 huggingface.co Model

ocr-captcha-v1 huggingface.co

ocr-captcha-v1 huggingface.co is an AI model on huggingface.co that provides ocr-captcha-v1's model effect (), which can be used instantly with this anuashok ocr-captcha-v1 model. huggingface.co supports a free trial of the ocr-captcha-v1 model, and also provides paid use of the ocr-captcha-v1. Support call ocr-captcha-v1 model through api, including Node.js, Python, http.

ocr-captcha-v1 huggingface.co Url

https://huggingface.co/anuashok/ocr-captcha-v1

anuashok ocr-captcha-v1 online free

ocr-captcha-v1 huggingface.co is an online trial and call api platform, which integrates ocr-captcha-v1's modeling effects, including api services, and provides a free online trial of ocr-captcha-v1, you can try ocr-captcha-v1 online for free by clicking the link below.

anuashok ocr-captcha-v1 online free url in huggingface.co:

https://huggingface.co/anuashok/ocr-captcha-v1

ocr-captcha-v1 install

ocr-captcha-v1 is an open source model from GitHub that offers a free installation service, and any user can find ocr-captcha-v1 on GitHub to install. At the same time, huggingface.co provides the effect of ocr-captcha-v1 install, users can directly use ocr-captcha-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ocr-captcha-v1 install url in huggingface.co:

https://huggingface.co/anuashok/ocr-captcha-v1

Url of ocr-captcha-v1

ocr-captcha-v1 huggingface.co Url

Provider of ocr-captcha-v1 huggingface.co

anuashok
ORGANIZATIONS

Other API from anuashok

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 06 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 14 2024