Training in progress epoch 0
Browse files- README.md +10 -10
- config.json +9 -1
- tf_model.h5 +2 -2
- tokenizer.json +1 -3
- tokenizer_config.json +3 -1
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_keras_callback
|
| 5 |
model-index:
|
|
@@ -12,11 +11,13 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 12 |
|
| 13 |
# AHarbury/debiasNLPFinal
|
| 14 |
|
| 15 |
-
This model is a fine-tuned version of [
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Train Loss: 0.
|
| 18 |
-
-
|
| 19 |
-
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -35,15 +36,14 @@ More information needed
|
|
| 35 |
### Training hyperparameters
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
-
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 0.
|
| 39 |
- training_precision: float32
|
| 40 |
|
| 41 |
### Training results
|
| 42 |
|
| 43 |
-
| Train Loss | Validation Loss | Epoch |
|
| 44 |
-
|:----------:|:---------------:|:-----:|
|
| 45 |
-
| 0.
|
| 46 |
-
| 0.6933 | 0.6933 | 1 |
|
| 47 |
|
| 48 |
|
| 49 |
### Framework versions
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
- generated_from_keras_callback
|
| 4 |
model-index:
|
|
|
|
| 11 |
|
| 12 |
# AHarbury/debiasNLPFinal
|
| 13 |
|
| 14 |
+
This model is a fine-tuned version of [d4data/bias-detection-model](https://huggingface.co/d4data/bias-detection-model) on an unknown dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
+
- Train Loss: 0.6113
|
| 17 |
+
- Train Accuracy: 0.6458
|
| 18 |
+
- Validation Loss: 0.5694
|
| 19 |
+
- Validation Accuracy: 0.6902
|
| 20 |
+
- Epoch: 0
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 36 |
### Training hyperparameters
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 40350, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
| 40 |
- training_precision: float32
|
| 41 |
|
| 42 |
### Training results
|
| 43 |
|
| 44 |
+
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
| 45 |
+
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
| 46 |
+
| 0.6113 | 0.6458 | 0.5694 | 0.6902 | 0 |
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -8,7 +8,15 @@
|
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"max_position_embeddings": 512,
|
| 13 |
"model_type": "distilbert",
|
| 14 |
"n_heads": 12,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "d4data/bias-detection-model",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
|
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "Non-biased",
|
| 13 |
+
"1": "Biased"
|
| 14 |
+
},
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
+
"label2id": {
|
| 17 |
+
"Biased": 1,
|
| 18 |
+
"Non-biased": 0
|
| 19 |
+
},
|
| 20 |
"max_position_embeddings": 512,
|
| 21 |
"model_type": "distilbert",
|
| 22 |
"n_heads": 12,
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:663ec27dedafbe23d7885a6c50ee7fd2871212ffd48cf55953fee455baad7842
|
| 3 |
+
size 267955144
|
tokenizer.json
CHANGED
|
@@ -7,9 +7,7 @@
|
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
"padding": {
|
| 10 |
-
"strategy":
|
| 11 |
-
"Fixed": 128
|
| 12 |
-
},
|
| 13 |
"direction": "Right",
|
| 14 |
"pad_to_multiple_of": null,
|
| 15 |
"pad_id": 0,
|
|
|
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
"padding": {
|
| 10 |
+
"strategy": "BatchLongest",
|
|
|
|
|
|
|
| 11 |
"direction": "Right",
|
| 12 |
"pad_to_multiple_of": null,
|
| 13 |
"pad_id": 0,
|
tokenizer_config.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"cls_token": "[CLS]",
|
|
|
|
| 4 |
"do_lower_case": true,
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
-
"model_max_length":
|
|
|
|
| 7 |
"pad_token": "[PAD]",
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"strip_accents": null,
|
|
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"cls_token": "[CLS]",
|
| 4 |
+
"do_basic_tokenize": true,
|
| 5 |
"do_lower_case": true,
|
| 6 |
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"never_split": null,
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
"strip_accents": null,
|