Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARSeq Model #2089

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from
Draft

PARSeq Model #2089

wants to merge 21 commits into from

Conversation

sineeli
Copy link
Collaborator

@sineeli sineeli commented Feb 10, 2025

No description provided.

"keras_hub.models.PARSeqTokenizer",
]
)
class PARSeqTokenizer(tokenizer.Tokenizer):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mattdangerw,

When you get some time can you take look at this tokenizer, the original implementation is here:

Preprocess for dataset: https://github.com/baudm/parseq/blob/main/strhub/data/dataset.py
Tokenizer: https://github.com/baudm/parseq/blob/main/strhub/data/utils.py#L102

I followed roughly other tokenizers in kerashub and wrote this, we can further discussion on what changes are required.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants