Text Classification
Transformers
PyTorch
TensorBoard
mpnet
Generated from Trainer
text-embeddings-inference
Instructions to use mtyrrell/CPU_Netzero_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mtyrrell/CPU_Netzero_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mtyrrell/CPU_Netzero_Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mtyrrell/CPU_Netzero_Classifier") model = AutoModelForSequenceClassification.from_pretrained("mtyrrell/CPU_Netzero_Classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -55,7 +55,7 @@ The pre-processing operations used to produce the final training dataset were as
|
|
| 55 |
|
| 56 |
1. Dataset is filtered based on 'medium' value in 'strategy' column (sequence length = 85).
|
| 57 |
2. For ClimateWatch, all rows are removed as there was assessed to be no taxonomical alignment with the IKITracs labels inherent to the dataset. For IKITracs, labels are assigned based on the presence of certain substrings based on 'parameter' values which correspond to assessments of Net-Zero targets by human annotaters. The specific assignments are as follows:
|
| 58 |
-
* 'NET-ZERO': target_labels = ['T_Netzero','T_Netzero_C']
|
| 59 |
* 'NEGATIVE': target_labels_neg = ['T_Economy_C','T_Economy_Unc','T_Adaptation_C','T_Adaptation_Unc','T_Transport_C','T_Transport_O_C','T_Transport_O_Unc','T_Transport_Unc']
|
| 60 |
* 'TARGET_FREE': random sample of other (non-target) labeled data
|
| 61 |
3. If 'context_translated' is available and the 'language' is not English, 'context' is replaced with 'context_translated'.
|
|
|
|
| 55 |
|
| 56 |
1. Dataset is filtered based on 'medium' value in 'strategy' column (sequence length = 85).
|
| 57 |
2. For ClimateWatch, all rows are removed as there was assessed to be no taxonomical alignment with the IKITracs labels inherent to the dataset. For IKITracs, labels are assigned based on the presence of certain substrings based on 'parameter' values which correspond to assessments of Net-Zero targets by human annotaters. The specific assignments are as follows:
|
| 58 |
+
* 'NET-ZERO': target_labels = ['T_Netzero','T_Netzero_C']
|
| 59 |
* 'NEGATIVE': target_labels_neg = ['T_Economy_C','T_Economy_Unc','T_Adaptation_C','T_Adaptation_Unc','T_Transport_C','T_Transport_O_C','T_Transport_O_Unc','T_Transport_Unc']
|
| 60 |
* 'TARGET_FREE': random sample of other (non-target) labeled data
|
| 61 |
3. If 'context_translated' is available and the 'language' is not English, 'context' is replaced with 'context_translated'.
|