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

Migrate to transformers 4.0.0 or above? #16

Open
kizunasunhy opened this issue Nov 2, 2022 · 0 comments
Open

Migrate to transformers 4.0.0 or above? #16

kizunasunhy opened this issue Nov 2, 2022 · 0 comments

Comments

@kizunasunhy
Copy link

kizunasunhy commented Nov 2, 2022

Hello! I'm using this model architecture to do NER on domain specific tasks and it worked pretty well! However the old version of transformer is still a little bit troublesome.

For example, in order to be close to the pretraining process of BART, I want to directly encode the whole sentence using the tokenizer, rather than split it by space and then using 'add_prefix_space=True'. So I tried the 'span' method successfully. But for 'word' method it will need extra work to do that because of the old version of tokenizer.

Is there any plan to release a transformer 4.0.0 (or above) version?

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

No branches or pull requests

1 participant