Skip to content

Commit

Permalink
[docs] Add naming conventions for upload models to hf hub (#921)
Browse files Browse the repository at this point in the history
- fix one line in datasets docu
- adds naming conventions to sharing models docu
  • Loading branch information
felixdittrich92 authored May 20, 2022
1 parent d802630 commit 1ab6fe1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions docs/source/using_doctr/sharing_models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,25 @@ It is also possible to push your model directly after training.
Pretrained community models
---------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^

This section is to provide some tables for pretrained community models.
Feel free to open a pull request or issue to add your model to this list.

Naming conventions
------------------

We suggest using the following naming conventions for your models:

**Classification:** ``doctr-<architecture>-<vocab>``

**Detection:** ``doctr-<architecture>``

**Recognition:** ``doctr-<architecture>-<vocab>``


Classification
^^^^^^^^^^^^^^
--------------

+---------------------------------+-------------------------------------+-----------------------+------------------------+
| **Architecture** | **Repo_ID** | **Vocabulary** | **Framework** |
Expand All @@ -99,7 +111,7 @@ Classification


Detection
^^^^^^^^^
---------

+---------------------------------+-------------------------------------------------+------------------------+
| **Architecture** | **Repo_ID** | **Framework** |
Expand All @@ -111,7 +123,7 @@ Detection


Recognition
^^^^^^^^^^^
-----------

+---------------------------------+---------------------------------------------------+---------------------+------------------------+
| **Architecture** | **Repo_ID** | **Language** | **Framework** |
Expand Down
2 changes: 1 addition & 1 deletion docs/source/using_doctr/using_datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This datasets contains the information to train or validate a text recognition m
+-----------------------------+---------------------------------+---------------------------------+---------------------------------------------+
| SVT | 257 | 647 | english / only uppercase labels |
+-----------------------------+---------------------------------+---------------------------------+---------------------------------------------+
| SVHN | 73257 | 26032 | english |
| SVHN | 73257 | 26032 | digits |
+-----------------------------+---------------------------------+---------------------------------+---------------------------------------------+
| SynthText | ~7100000 | 707470 | english |
+-----------------------------+---------------------------------+---------------------------------+---------------------------------------------+
Expand Down

0 comments on commit 1ab6fe1

Please sign in to comment.