EloiCampeny commited on
Commit
0e95a7b
1 Parent(s): b528b84

first NLP model with hugging face done

Browse files
Files changed (4) hide show
  1. README.md +26 -2
  2. all_results.json +10 -10
  3. eval_results.json +6 -6
  4. train_results.json +4 -4
README.md CHANGED
@@ -2,12 +2,32 @@
2
  license: apache-2.0
3
  base_model: distilroberta-base
4
  tags:
 
5
  - generated_from_trainer
6
  datasets:
7
  - glue
 
 
 
8
  model-index:
9
  - name: platzi-distilroberta-base-mrpc-glue-eloi-campeny
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,7 +35,11 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # platzi-distilroberta-base-mrpc-glue-eloi-campeny
17
 
18
- This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the glue dataset.
 
 
 
 
19
 
20
  ## Model description
21
 
 
2
  license: apache-2.0
3
  base_model: distilroberta-base
4
  tags:
5
+ - text-classification
6
  - generated_from_trainer
7
  datasets:
8
  - glue
9
+ metrics:
10
+ - accuracy
11
+ - f1
12
  model-index:
13
  - name: platzi-distilroberta-base-mrpc-glue-eloi-campeny
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: glue
20
+ type: glue
21
+ config: mrpc
22
+ split: validation
23
+ args: mrpc
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.8382352941176471
28
+ - name: F1
29
+ type: f1
30
+ value: 0.8850174216027874
31
  ---
32
 
33
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
35
 
36
  # platzi-distilroberta-base-mrpc-glue-eloi-campeny
37
 
38
+ This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the glue and the mrpc datasets.
39
+ It achieves the following results on the evaluation set:
40
+ - Loss: 0.3864
41
+ - Accuracy: 0.8382
42
+ - F1: 0.8850
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "epoch": 1.0,
3
- "eval_accuracy": 0.803921568627451,
4
- "eval_f1": 0.8576512455516014,
5
- "eval_loss": 0.40514302253723145,
6
- "eval_runtime": 10.983,
7
- "eval_samples_per_second": 37.148,
8
- "eval_steps_per_second": 4.644,
9
  "total_flos": 68399748276336.0,
10
- "train_loss": 0.5326238229124115,
11
- "train_runtime": 469.4311,
12
- "train_samples_per_second": 7.814,
13
- "train_steps_per_second": 0.978
14
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_accuracy": 0.8382352941176471,
4
+ "eval_f1": 0.8850174216027874,
5
+ "eval_loss": 0.3864043354988098,
6
+ "eval_runtime": 11.3745,
7
+ "eval_samples_per_second": 35.87,
8
+ "eval_steps_per_second": 4.484,
9
  "total_flos": 68399748276336.0,
10
+ "train_loss": 0.4123320070486962,
11
+ "train_runtime": 491.5347,
12
+ "train_samples_per_second": 7.462,
13
+ "train_steps_per_second": 0.934
14
  }
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 1.0,
3
- "eval_accuracy": 0.803921568627451,
4
- "eval_f1": 0.8576512455516014,
5
- "eval_loss": 0.40514302253723145,
6
- "eval_runtime": 10.983,
7
- "eval_samples_per_second": 37.148,
8
- "eval_steps_per_second": 4.644
9
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_accuracy": 0.8382352941176471,
4
+ "eval_f1": 0.8850174216027874,
5
+ "eval_loss": 0.3864043354988098,
6
+ "eval_runtime": 11.3745,
7
+ "eval_samples_per_second": 35.87,
8
+ "eval_steps_per_second": 4.484
9
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 68399748276336.0,
4
- "train_loss": 0.5326238229124115,
5
- "train_runtime": 469.4311,
6
- "train_samples_per_second": 7.814,
7
- "train_steps_per_second": 0.978
8
  }
 
1
  {
2
  "epoch": 1.0,
3
  "total_flos": 68399748276336.0,
4
+ "train_loss": 0.4123320070486962,
5
+ "train_runtime": 491.5347,
6
+ "train_samples_per_second": 7.462,
7
+ "train_steps_per_second": 0.934
8
  }