Jorgeutd commited on
Commit
e24d61e
1 Parent(s): 1bb5533

commit files to HF hub

Browse files
README.md DELETED
@@ -1,51 +0,0 @@
1
- ---
2
-
3
- language: en
4
- tags:
5
- - sagemaker
6
- - bert-base-uncased
7
- - text classification
8
- license: apache-2.0
9
- datasets:
10
- - adecorpusv2
11
- model-index:
12
- - name: bert-base-uncased-ade_corpus
13
- results:
14
- - task:
15
- name: Text Classification
16
- type: text-classification
17
- dataset:
18
- name: "ade_corpus_v2Ade_corpus_v2_classification"
19
- type: ade_corpus
20
-
21
- ---
22
-
23
- ## bert-base-uncased
24
- This model was trained using Amazon SageMaker and the new Hugging Face Deep Learning container.
25
-
26
-
27
- ## Hyperparameters
28
- ```json
29
- {
30
- "do_eval": true,
31
- "do_train": true,
32
- "fp16": true,
33
- "load_best_model_at_end": true,
34
- "model_name": "bert-base-uncased",
35
- "num_train_epochs": 10,
36
- "per_device_eval_batch_size": 16,
37
- "per_device_train_batch_size": 16,
38
- "learning_rate":5e-5
39
-
40
- }
41
- ```
42
- ## Validation Metrics
43
- | key | value |
44
- | --- | ----- |
45
- | eval_accuracy | 0.9298021697511167 |
46
- | eval_auc | 0.8902672664394546 |
47
- | eval_f1 | 0.827315541601256 |
48
- | eval_loss | 0.17835010588169098 |
49
- | eval_recall | 0.8234375 |
50
- | eval_precision | 0.831230283911672 |
51
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "problem_type": "single_label_classification",
21
+ "transformers_version": "4.6.1",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
eval_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy" : 0.9298021697511167,
4
+ "eval_auc":0.8902672664394546,
5
+ "eval_f1": 0.827315541601256,
6
+ "eval_loss": 0.17835010588169098,
7
+ "eval_mem_cpu_alloc_delta":6115328,
8
+ "eval_mem_cpu_peaked_delta":49152,
9
+ "eval_mem_gpu_peaked_delta":2321744384,
10
+ "eval_precision":0.831230283911672,
11
+ "eval_recall":0.8234375,
12
+ "eval_runtime":6.3601,
13
+ "eval_samples_per_second":492.756
14
+ }
eval_results.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ epoch = 3.0
2
+ eval_accuracy = 0.9298021697511167
3
+ eval_auc = 0.8902672664394546
4
+ eval_f1 = 0.827315541601256
5
+ eval_loss = 0.17835010588169098
6
+ eval_mem_cpu_alloc_delta = 6115328
7
+ eval_mem_cpu_peaked_delta = 49152
8
+ eval_mem_gpu_alloc_delta = 0
9
+ eval_mem_gpu_peaked_delta = 2321744384
10
+ eval_precision = 0.831230283911672
11
+ eval_recall = 0.8234375
12
+ eval_runtime = 6.3601
13
+ eval_samples_per_second = 492.756
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3743a03c59302d9451b0bcb27a4b31058e583205eb2f3cf3af28f3eefe84c5ae
3
+ size 438024457
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-uncased"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b48af1598e0f083412fff92dff55a28034f321929a48f50a071720430f314e7
3
+ size 2415
vocab.txt ADDED
The diff for this file is too large to render. See raw diff