Instructions to use SIRIS-Lab/Toscana-TechDomain-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SIRIS-Lab/Toscana-TechDomain-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SIRIS-Lab/Toscana-TechDomain-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SIRIS-Lab/Toscana-TechDomain-classifier") model = AutoModelForSequenceClassification.from_pretrained("SIRIS-Lab/Toscana-TechDomain-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -146,6 +146,15 @@ The model supports:
|
|
| 146 |
| Technologies for decarbonisation | 0.74 | 0.86 | 0.80 | 225 |
|
| 147 |
| Technologies for the circular economy and bioeconomy | 0.87 | 0.76 | 0.81 | 123 |
|
| 148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
## Framework versions
|
| 150 |
|
| 151 |
- **Transformers:** 4.57.x
|
|
|
|
| 146 |
| Technologies for decarbonisation | 0.74 | 0.86 | 0.80 | 225 |
|
| 147 |
| Technologies for the circular economy and bioeconomy | 0.87 | 0.76 | 0.81 | 123 |
|
| 148 |
|
| 149 |
+
**Overall performance**
|
| 150 |
+
|
| 151 |
+
| | Precision | Recall | F1-score | Support |
|
| 152 |
+
|------|-----------|--------|----------|---------|
|
| 153 |
+
| **Micro avg** | **0.70** | **0.79** | **0.74** | **2077** |
|
| 154 |
+
| **Macro avg** | **0.73** | **0.78** | **0.73** | **2077** |
|
| 155 |
+
|
| 156 |
+
---
|
| 157 |
+
|
| 158 |
## Framework versions
|
| 159 |
|
| 160 |
- **Transformers:** 4.57.x
|