Instructions to use ChangeIsKey/change-type-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChangeIsKey/change-type-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ChangeIsKey/change-type-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ChangeIsKey/change-type-classifier") model = AutoModelForSequenceClassification.from_pretrained("ChangeIsKey/change-type-classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -52,9 +52,3 @@ from sentence_transformers import CrossEncoder
|
|
| 52 |
model = CrossEncoder('model_name', max_length=512)
|
| 53 |
labels = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')])
|
| 54 |
```
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
## Performance
|
| 58 |
-
In the following table, we provide various pre-trained Cross-Encoders together with their performance on the
|
| 59 |
-
|
| 60 |
-
<Gallery />
|
|
|
|
| 52 |
model = CrossEncoder('model_name', max_length=512)
|
| 53 |
labels = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')])
|
| 54 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|