Update README.md with new model card content
Browse files
README.md
CHANGED
|
@@ -2,21 +2,35 @@
|
|
| 2 |
library_name: keras-hub
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
---
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
*
|
| 13 |
-
*
|
| 14 |
-
*
|
| 15 |
-
*
|
| 16 |
-
*
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: keras-hub
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
---
|
| 5 |
+
### Model Overview
|
| 6 |
+
Permuted autoregressive sequence (PARSeq) model for Scene Text Recognition (STR)
|
| 7 |
+
|
| 8 |
+
This model is designed for Scene Text Recognition (STR), which involves reading text from images. You can load and use the pre-trained PARSeq model with the following Python code snippet. The model takes an image as input and outputs the recognized text.
|
| 9 |
+
|
| 10 |
+
## Links
|
| 11 |
+
|
| 12 |
+
* [PARSeq Quickstart Notebook]()
|
| 13 |
+
* [PARSeq API Documentation](https://keras.io/api/keras_hub/models/parseq/)
|
| 14 |
+
* [PARSeq Model Card](https://www.kaggle.com/models/keras/parseq)
|
| 15 |
+
* [KerasHub Beginner Guide](https://keras.io/guides/keras_hub/getting_started/)
|
| 16 |
+
* [KerasHub Model Publishing Guide](https://keras.io/guides/keras_hub/upload/)
|
| 17 |
+
|
| 18 |
+
## Installation
|
| 19 |
+
|
| 20 |
+
Keras and KerasHub can be installed with:
|
| 21 |
+
|
| 22 |
+
```
|
| 23 |
+
pip install -U -q keras-hub
|
| 24 |
+
pip install -U -q keras>=3
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Jax, TensorFlow, and Torch come preinstalled in Kaggle Notebooks. For instructions on installing them in another environment see the [Keras Getting Started](https://keras.io/getting_started/) page.
|
| 28 |
+
|
| 29 |
+
## Presets
|
| 30 |
+
|
| 31 |
+
The following model checkpoints are provided by the Keras team. Full code examples for each are available below.
|
| 32 |
+
|
| 33 |
+
| Preset name | Parameters | Description |
|
| 34 |
+
|----------------------------------------|------------|----------------------------------------------|
|
| 35 |
+
| `parseq` | 23.8M | 23 million parameter base model. |
|
| 36 |
+
|