1shershah

Results 4 comments of 1shershah

Same , READme mentioned there is a tutorial on how to generate the computational sequence on new data - but can't seem to find that tutorial.

Did you git checkout soxan? The classes are right there in src folder.

> Hey, I had the same issue but I managed to make it work with this: > > `from transformers import AutoTokenizer, AutoModelForSequenceClassification from pprint import pprint from multilabel_pipeline import...

Solution : ``` from transformers import BertTokenizer ##files from git from model import BertForMultiLabelClassification from multilabel_pipeline import MultiLabelPipeline from pprint import pprint tokenizer = BertTokenizer.from_pretrained("monologg/bert-base-cased-goemotions-ekman") model = BertForMultiLabelClassification.from_pretrained("monologg/bert-base-cased-goemotions-ekman") texts =...