Update README.md
Browse files
README.md
CHANGED
@@ -62,4 +62,19 @@ pixel_values = processor(image, return_tensors="pt").pixel_values
|
|
62 |
# Generate text
|
63 |
generated_ids = model.generate(pixel_values)
|
64 |
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
```
|
|
|
62 |
# Generate text
|
63 |
generated_ids = model.generate(pixel_values)
|
64 |
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
65 |
+
```
|
66 |
+
|
67 |
+
## Citation
|
68 |
+
|
69 |
+
If you use this model in your research, please cite:
|
70 |
+
|
71 |
+
```bibtex
|
72 |
+
@misc{maria_levchenko_2025,
|
73 |
+
author = {{Maria Levchenko}},
|
74 |
+
title = {ru-trocr-1700s (Revision 8d7a9f4)},
|
75 |
+
year = 2025,
|
76 |
+
url = {https://huggingface.co/taiga75/ru-trocr-1700s},
|
77 |
+
doi = {10.57967/hf/3942},
|
78 |
+
publisher = {Hugging Face}
|
79 |
+
}
|
80 |
```
|