Image-to-Text
Transformers
PyTorch
TensorBoard
English
vision-encoder-decoder
image-text-to-text
Generated from Trainer
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
Training in progress, epoch 3
Browse files
.DS_Store
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e49d6f46d8d1fad52885d0fd40c719fcdbc8ba2fb729e109bac0909e9dddcd50
|
| 3 |
+
size 6148
|
.gitattributes
CHANGED
|
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
.DS_Store filter=lfs diff=lfs merge=lfs -text
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1335844033
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:973b4138a73be4853c7e89097ec3268bb979061cc288d718cf0fc758b3522118
|
| 3 |
size 1335844033
|
runs/.DS_Store
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5e81336f9aa3fc5c1bc12ed18f523d935eedd1dc7f0b0e9d534cfbbb41d674e
|
| 3 |
+
size 6148
|
runs/Jan12_22-58-23_Brians-Mac-mini.local/events.out.tfevents.1673585911.Brians-Mac-mini.local.43820.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbf9bc3ae84ecd29c93c531efb0cf2fbea73494594a513ae02628297ebbcdce0
|
| 3 |
+
size 9071
|