character-bert icon indicating copy to clipboard operation
character-bert copied to clipboard

Huggingface implementation

Open Tahlor opened this issue 3 years ago • 2 comments

Great stuff! I saw you have an active huggingface implementation: https://huggingface.co/helboukkouri/character-bert/tree/main

Is this live? Or when do you expect it to be?

Thanks!

Tahlor avatar Mar 03 '21 02:03 Tahlor

Hi @Tahlor, thanks for the support :) So, the implementation you're looking at should be useable but it's still not part of the transformers library. There is an active pull request for that here: https://github.com/huggingface/transformers/pull/10053

I'll update the repo's README as soon as it's merged. For now you may use the code from the fork you linked but it may have some (probably minor) bugs. If you do find any, please let me know 😊

helboukkouri avatar Mar 03 '21 14:03 helboukkouri

By the way @Tahlor, although the PR hasn't been merged yet I think that you can start using the code from the fork. I'm just waiting for a couple more reviews before the merge :)

helboukkouri avatar Jun 01 '21 13:06 helboukkouri

If anybody is still interested, there is a way to load CharacterBERT through the transformers library: https://huggingface.co/helboukkouri/character-bert/discussions/1

helboukkouri avatar Oct 03 '23 21:10 helboukkouri