Instructions to use TimSchopf/nlp_taxonomy_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TimSchopf/nlp_taxonomy_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TimSchopf/nlp_taxonomy_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TimSchopf/nlp_taxonomy_classifier") model = AutoModelForSequenceClassification.from_pretrained("TimSchopf/nlp_taxonomy_classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -148,7 +148,7 @@ pipe(title_abs, return_all_scores=True)
|
|
| 148 |
```
|
| 149 |
## Evaluation Results
|
| 150 |
|
| 151 |
-
The model was evaluated on a manually labeled test set of 828
|
| 152 |
|
| 153 |
* **F1:** 93.21
|
| 154 |
* **Recall:** 93.99
|
|
|
|
| 148 |
```
|
| 149 |
## Evaluation Results
|
| 150 |
|
| 151 |
+
The model was evaluated on a manually labeled test set of 828 EMNLP 2022 papers. The following shows the average evaluation results for classifying papers according to the NLP taxonomy on three different training runs. Since the distribution of classes is very unbalanced, we report micro scores.
|
| 152 |
|
| 153 |
* **F1:** 93.21
|
| 154 |
* **Recall:** 93.99
|