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