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
Upload ModernBertForSequenceClassification
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1583372140
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b06adedc3cfce37f0a0ac5f2e4881e9c543a2afdb870d6fa71c1ab27d616f266
|
| 3 |
size 1583372140
|