initial commit: model weights and config e7674da
jenia commited on
How to use CLTL/icf-levels-stm with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="CLTL/icf-levels-stm") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("CLTL/icf-levels-stm")
model = AutoModelForSequenceClassification.from_pretrained("CLTL/icf-levels-stm", device_map="auto")