semantra icon indicating copy to clipboard operation
semantra copied to clipboard

Colab and Languages

Open Erickfeio opened this issue 2 years ago • 2 comments

Hey, there! Is it possible to run this on google colab? And does this support other languages, like portuguese?

Erickfeio avatar Apr 25 '23 16:04 Erickfeio

I'm (tentatively) getting it to run on CoLab right now

cam-rodriguez avatar Apr 25 '23 16:04 cam-rodriguez

I'm interested to hear how the CoLab exploration goes.

Re: running it in Portuguese, you can use any custom model on Hugging Face. For example, this model looks relevant https://huggingface.co/ruanchaves/bert-base-portuguese-cased-assin-similarity. You can run it via semantra --transformer-model ruanchaves/bert-base-portuguese-cased-assin-similarity <documents>

freedmand avatar Apr 25 '23 18:04 freedmand

Closing for now. Feel free to reopen if there's a specific feature request or guide to getting it to run in CoLab. Thanks!

freedmand avatar Apr 29 '23 15:04 freedmand