Instructions to use teppei727/bert-large-relation14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use teppei727/bert-large-relation14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="teppei727/bert-large-relation14", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("teppei727/bert-large-relation14") model = AutoModelForSequenceClassification.from_pretrained("teppei727/bert-large-relation14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,7 @@ metrics:
|
|
| 7 |
- recall
|
| 8 |
- f1
|
| 9 |
library_name: transformers
|
|
|
|
| 10 |
---
|
| 11 |
# bert-large-relation14
|
| 12 |
|
|
@@ -74,5 +75,4 @@ training_args = TrainingArguments(
|
|
| 74 |
| Model | Macro F1 | Accuracy | Precision | Recall |
|
| 75 |
|--------------------------|-----------------|-----------------|------------------|---------------|
|
| 76 |
| 14 labels classification | 0.586 | 0.589 | 0.630 | 0.591 |
|
| 77 |
-
| 20 labels classification | 0.478 | 0.488 | 0.536 | 0.488 |
|
| 78 |
-
|
|
|
|
| 7 |
- recall
|
| 8 |
- f1
|
| 9 |
library_name: transformers
|
| 10 |
+
pipeline_tag: text-classification
|
| 11 |
---
|
| 12 |
# bert-large-relation14
|
| 13 |
|
|
|
|
| 75 |
| Model | Macro F1 | Accuracy | Precision | Recall |
|
| 76 |
|--------------------------|-----------------|-----------------|------------------|---------------|
|
| 77 |
| 14 labels classification | 0.586 | 0.589 | 0.630 | 0.591 |
|
| 78 |
+
| 20 labels classification | 0.478 | 0.488 | 0.536 | 0.488 |
|
|
|