Welcome to simpletransformers Discussions! #887
Replies: 7 comments 7 replies
-
You have done a great job! I am wondering if simpletransformers allow loading models fine tuned by native transformers? I have fine tuned LongformerForMaskedLM using transformers and would like to use that do Multilabel Classification using simpletransformers. Is that possible? If so how can I do it. Thank you so much! Tim. |
Beta Was this translation helpful? Give feedback.
-
I am trying to run a model.predict for T5 but it seems to be crashing my notebook even when just testing on one example. Have you come across this before? It was able to train fine but now the predict wont run. |
Beta Was this translation helpful? Give feedback.
-
Hi, In named entity recognition, how many categories can we classify the word into? Is there any limitation to it? I had a data in which there were around 4000 categories into which I have to categorize my words into. It gave me stack overflow error. Request for your guidance and assistance. |
Beta Was this translation helpful? Give feedback.
-
raw_outputs in NER task |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use mbart for a clarification task, but it appears I can't set the model type and model location correctly when initializing it Does anyone know how to look up the correct labels? |
Beta Was this translation helpful? Give feedback.
-
how can i define input with model ? i have model trained with data format layoutlm like this text | labels | x0 | y0 | x1 | y1 model = ClassificationModel( predictions, raw_outputs = model.predict(['test abc def']) File "/mnt/data/home/tvkhuong/Data/SOFT/anaconda3/envs/classify/lib/python3.7/site-packages/simpletransformers/classification/classification_model.py", line 1708, in load_and_cache_examples example.label = self.args.labels_map[example.label] AttributeError: 'list' object has no attribute 'label' |
Beta Was this translation helpful? Give feedback.
-
hi! thanks! |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions