Instructions to use upb-nlp/modernbert_fairytaleqa_focus_attribute with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upb-nlp/modernbert_fairytaleqa_focus_attribute with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="upb-nlp/modernbert_fairytaleqa_focus_attribute")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("upb-nlp/modernbert_fairytaleqa_focus_attribute") model = AutoModelForSequenceClassification.from_pretrained("upb-nlp/modernbert_fairytaleqa_focus_attribute", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 67ae5025fce792ffcbdf66a04fa0a68ffe1f4dd935d738456db09ca305454bcf
- Size of remote file:
- 5.43 kB
- SHA256:
- 2929e9366799807c69a7d4cb7a5d5df005fc03425c9054a223ebd54e74a89077
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.