Instructions to use upb-nlp/modernbert_fairytaleqa_local_or_sum_attribute with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upb-nlp/modernbert_fairytaleqa_local_or_sum_attribute with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="upb-nlp/modernbert_fairytaleqa_local_or_sum_attribute")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("upb-nlp/modernbert_fairytaleqa_local_or_sum_attribute") model = AutoModelForSequenceClassification.from_pretrained("upb-nlp/modernbert_fairytaleqa_local_or_sum_attribute", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
2d0f411 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0806b9097b6e2c874a272bb6efedcaa81c335e3c58eaf09be586dfd2812c417f
size 5432
|