osainz59 / Ask2Transformers

A Framework for Textual Entailment based Zero Shot text classification
https://osainz59.github.io/Ask2Transformers/
Apache License 2.0
154 stars 15 forks source link

Tutorial or examples #13

Closed ieea closed 2 years ago

ieea commented 2 years ago

Hi, Thanks for the framework. By when tutorial or examples will be available so that we can have a way to utilise the same. If you have any related to Text Classification & Relation Extraction.. please share. Regards, Gaurav

osainz59 commented 2 years ago

Hi @ieea , Thank you for your comment! I recommend you to have a look to our documentation, there are two very simple examples on how to use the framework to perform both: Text Classification and Relation Extraction. If you are more interested on benchmarking or evaluation scenarios we also provided a general purpose evaluation script (a2t/evaluation.py) also available through the documentation page. You can find the configuration files we used for evaluation in a2t/resources/predefined_configs directory. Lastly, we have also made a Colab Notebook tutorial for using this framework to perform Relation Extraction, unfortunately, the dataset we used (TACRED) is not publicly available, so we still do not know how to share this tutorial.

Hope this answer helps you. Best, Oscar

ieea commented 2 years ago

Hi @ieea , Thank you for your comment! I recommend you to have a look to our documentation, there are two very simple examples on how to use the framework to perform both: Text Classification and Relation Extraction. If you are more interested on benchmarking or evaluation scenarios we also provided a general purpose evaluation script (a2t/evaluation.py) also available through the documentation page. You can find the configuration files we used for evaluation in a2t/resources/predefined_configs directory. Lastly, we have also made a Colab Notebook tutorial for using this framework to perform Relation Extraction, unfortunately, the dataset we used (TACRED) is not publicly available, so we still do not know how to share this tutorial.

Hope this answer helps you. Best, Oscar

Thanks Oscar !!