moro01525 commited on
Commit
916aff5
·
1 Parent(s): b7a0889

gatortron-base Versione dopo 10 epochs

Browse files
Files changed (4) hide show
  1. README.md +68 -0
  2. config.json +26 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: UFNLP/gatortron-base
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: ICU_Returns_Gatortron
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # ICU_Returns_Gatortron
15
+
16
+ This model is a fine-tuned version of [UFNLP/gatortron-base](https://huggingface.co/UFNLP/gatortron-base) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.7852
19
+ - F1:: 0.7203
20
+ - Roc Auc: 0.7335
21
+ - Precision with 0:: 0.9126
22
+ - Precision with 1:: 0.6628
23
+ - Recall with 0:: 0.5165
24
+ - Recal with 1:: 0.9505
25
+ - Accuracy:: 0.7335
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.0001
45
+ - train_batch_size: 32
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 5
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | F1: | Roc Auc | Precision with 0: | Precision with 1: | Recall with 0: | Recal with 1: | Accuracy: |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:-----------------:|:-----------------:|:--------------:|:--------------:|:---------:|
56
+ | No log | 1.0 | 46 | 0.6889 | 0.6965 | 0.7115 | 0.8812 | 0.6464 | 0.4890 | 0.9341 | 0.7115 |
57
+ | No log | 2.0 | 92 | 0.7628 | 0.7287 | 0.7390 | 0.8919 | 0.6719 | 0.5440 | 0.9341 | 0.7390 |
58
+ | No log | 3.0 | 138 | 1.8927 | 0.6372 | 0.6703 | 0.9306 | 0.6062 | 0.3681 | 0.9725 | 0.6703 |
59
+ | No log | 4.0 | 184 | 1.7208 | 0.7236 | 0.7363 | 0.9135 | 0.6654 | 0.5220 | 0.9505 | 0.7363 |
60
+ | No log | 5.0 | 230 | 1.7852 | 0.7203 | 0.7335 | 0.9126 | 0.6628 | 0.5165 | 0.9505 | 0.7335 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.34.0
66
+ - Pytorch 2.1.0+cu121
67
+ - Datasets 2.14.5
68
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "UFNLP/gatortron-base",
3
+ "architectures": [
4
+ "MegatronBertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 1024,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 4096,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "megatron-bert",
15
+ "num_attention_heads": 16,
16
+ "num_hidden_layers": 24,
17
+ "pad_token_id": 0,
18
+ "position_embedding_type": "absolute",
19
+ "problem_type": "single_label_classification",
20
+ "tokenizer_type": "BertWordPieceCase",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.34.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 50176
26
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3029f23795d4e9ffb8a6eb96aae0d5dcda96b91b24000d8613b99a498dc3abdd
3
+ size 1421212014
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:692e7e71db38aeaf9be42dc4da8ff10912a84f1dfe121b1b419ccc06a062a60c
3
+ size 4536