stefan-it / turkish-bert

Turkish BERT/DistilBERT, ELECTRA and ConvBERT models
482 stars 42 forks source link

Is There any wiki page how to use this project well ? #6

Open pasa13142 opened 4 years ago

pasa13142 commented 4 years ago

Firstly thanks for this project but please could you please prepare a wiki page how to use this project,

Thanks a lot

pasa13142 commented 4 years ago

Or can someone help how can i get embeddings with bert ?

stefan-it commented 4 years ago

Hi @pasa13142 ,

thanks for your interest in the Turkish BERT model 🤗

In order to use the embeddings from the model, I think the best documentation is the Hugging Face Transformations docu page:

https://huggingface.co/transformers

Here's a short example of how to get embeddings from the model for a user-defined sentence:

https://huggingface.co/transformers/quickstart.html#bert-example

Please let me know if you have further questions :)

pasa13142 commented 4 years ago

Thanks for your response <3

I researched all this thing but it is a little bit confusing, it could be better if you share a little bit example piece :I , for example export embeddings or text classification with turkish bert, because it is really hard and confusing for newbies :/