Instructions to use lear-lab/modernbert_authentic_multirc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lear-lab/modernbert_authentic_multirc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lear-lab/modernbert_authentic_multirc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lear-lab/modernbert_authentic_multirc") model = AutoModelForSequenceClassification.from_pretrained("lear-lab/modernbert_authentic_multirc") - Notebooks
- Google Colab
- Kaggle
Upload ModernBertForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "../../results/
|
| 3 |
"architectures": [
|
| 4 |
"ModernBertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "../../results/modernbert_authentic_multirc_with_reference",
|
| 3 |
"architectures": [
|
| 4 |
"ModernBertForSequenceClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 598436708
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67913026b42843204f8c83aadefd26677d6d383f3129b1c4ca8a95b07fb11026
|
| 3 |
size 598436708
|