Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use lear-lab/modernbert-content with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lear-lab/modernbert-content with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lear-lab/modernbert-content")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lear-lab/modernbert-content") model = AutoModelForSequenceClassification.from_pretrained("lear-lab/modernbert-content") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,6 @@ It achieves the following results on the evaluation set:
|
|
| 22 |
## Model description
|
| 23 |
|
| 24 |
This is a modernbert model with a regression head designed to predict the Content score of a summary.
|
| 25 |
-
Before the finetuning step, the model was pretrained on a very large synthetic dataset.
|
| 26 |
|
| 27 |
The input should be the summary + [sep] + source.
|
| 28 |
|
|
@@ -57,7 +56,7 @@ The scores are normalized such that 0 is the mean of the training data and 1 is
|
|
| 57 |
|
| 58 |
## Training and evaluation data
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
## Training procedure
|
| 63 |
|
|
|
|
| 22 |
## Model description
|
| 23 |
|
| 24 |
This is a modernbert model with a regression head designed to predict the Content score of a summary.
|
|
|
|
| 25 |
|
| 26 |
The input should be the summary + [sep] + source.
|
| 27 |
|
|
|
|
| 56 |
|
| 57 |
## Training and evaluation data
|
| 58 |
|
| 59 |
+
Before the finetuning step, the model was pretrained on a very large synthetic dataset.
|
| 60 |
|
| 61 |
## Training procedure
|
| 62 |
|