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

Integrating with HuggingFace Transformer #41

Open
octalpixel opened this issue Mar 15, 2020 · 5 comments
Open

Integrating with HuggingFace Transformer #41

octalpixel opened this issue Mar 15, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@octalpixel
Copy link

Hi,
Could you give me some insights whether is possible to plug in inltk with huggingface transformer library

@parmarsuraj99
Copy link

I was looking for the same. Maybe we can use multi-lingual transformers. But the question is how to tokenize Indian Languages which have different structure. Is there any way to break them for BPE.
I am eager to work on this and contribute.

@goru001
Copy link
Owner

goru001 commented Apr 10, 2020

@octalpixel , @parmarsuraj99 Thanks for reaching out. Currently, it isn't straightforward/possible to integrate it with the transformers library. I'll be happy have contributions from the community to help with it.

@goru001 goru001 added the enhancement New feature or request label Apr 10, 2020
@parmarsuraj99
Copy link

So, we just need a tokenizer trained on Indian languages separately and then we just plug it directly to a LM? Maybe Hindi on SentencePiece attached to HuggingFace BERT. Should I go this way?

@goru001
Copy link
Owner

goru001 commented Apr 11, 2020

@parmarsuraj99 yes you can use sentencepiece or Huggingface's tokenizers (https://github.com/huggingface/tokenizers) library.
I've been working on training BERT Hindi model using the tokenizers and transformers library from Huggingface.

@parmarsuraj99
Copy link

@goru001 I am really excited to work on that. I believe a trained Hindi model would be really efficient to grasp other regional languages as well, as most are similar.
Really looking forward for it.

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

No branches or pull requests

3 participants