add model_args and training_args 957a274
jenia commited on
How to use CLTL/icf-domains with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="CLTL/icf-domains") # Load model directly
from transformers import AutoTokenizer, RobertaForMultiLabelSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("CLTL/icf-domains")
model = RobertaForMultiLabelSequenceClassification.from_pretrained("CLTL/icf-domains")