ahmed792002
commited on
ahmed792002/Finetuning_T5_HealthCare_Chatbot
Browse files- README.md +14 -9
- config.json +6 -6
- model.safetensors +2 -2
- runs/Dec17_12-28-34_9b798e091f23/events.out.tfevents.1734438516.9b798e091f23.23.0 +3 -0
- tokenizer_config.json +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model: t5-
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
@@ -14,9 +14,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# Finetuning_T5_HealthCare_Chatbot
|
16 |
|
17 |
-
This model is a fine-tuned version of [t5-
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.
|
20 |
|
21 |
## Model description
|
22 |
|
@@ -41,17 +41,22 @@ The following hyperparameters were used during training:
|
|
41 |
- seed: 42
|
42 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
- lr_scheduler_type: linear
|
44 |
-
- num_epochs:
|
45 |
|
46 |
### Training results
|
47 |
|
48 |
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
|:-------------:|:-----:|:-----:|:---------------:|
|
50 |
-
| 0.
|
51 |
-
| 0.
|
52 |
-
| 0.
|
53 |
-
| 0.
|
54 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: t5-small
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
|
|
14 |
|
15 |
# Finetuning_T5_HealthCare_Chatbot
|
16 |
|
17 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the None dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.1304
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
41 |
- seed: 42
|
42 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 10
|
45 |
|
46 |
### Training results
|
47 |
|
48 |
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
|:-------------:|:-----:|:-----:|:---------------:|
|
50 |
+
| 0.1198 | 1.0 | 5660 | 0.1464 |
|
51 |
+
| 0.1098 | 2.0 | 11320 | 0.1402 |
|
52 |
+
| 0.1032 | 3.0 | 16980 | 0.1373 |
|
53 |
+
| 0.1016 | 4.0 | 22640 | 0.1349 |
|
54 |
+
| 0.1019 | 5.0 | 28300 | 0.1331 |
|
55 |
+
| 0.0972 | 6.0 | 33960 | 0.1321 |
|
56 |
+
| 0.0964 | 7.0 | 39620 | 0.1313 |
|
57 |
+
| 0.0947 | 8.0 | 45280 | 0.1308 |
|
58 |
+
| 0.0959 | 9.0 | 50940 | 0.1305 |
|
59 |
+
| 0.0933 | 10.0 | 56600 | 0.1304 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
config.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "t5-
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"classifier_dropout": 0.0,
|
7 |
-
"d_ff":
|
8 |
"d_kv": 64,
|
9 |
-
"d_model":
|
10 |
"decoder_start_token_id": 0,
|
11 |
"dense_act_fn": "relu",
|
12 |
"dropout_rate": 0.1,
|
@@ -18,9 +18,9 @@
|
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
"model_type": "t5",
|
20 |
"n_positions": 512,
|
21 |
-
"num_decoder_layers":
|
22 |
-
"num_heads":
|
23 |
-
"num_layers":
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
"relative_attention_max_distance": 128,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "t5-small",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
"decoder_start_token_id": 0,
|
11 |
"dense_act_fn": "relu",
|
12 |
"dropout_rate": 0.1,
|
|
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
"model_type": "t5",
|
20 |
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 6,
|
22 |
+
"num_heads": 8,
|
23 |
+
"num_layers": 6,
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
"relative_attention_max_distance": 128,
|
model.safetensors
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:88dab67523a8bf081c9f424202f6e36f0a5aed56bded2f63b681d8f8fa9597b4
|
3 |
+
size 242041896
|
runs/Dec17_12-28-34_9b798e091f23/events.out.tfevents.1734438516.9b798e091f23.23.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66238bdd22308cd246f0e390051ad1d357309b7b0fa03152b8d0383603868c08
|
3 |
+
size 33219
|
tokenizer_config.json
CHANGED
@@ -928,11 +928,11 @@
|
|
928 |
"<extra_id_98>",
|
929 |
"<extra_id_99>"
|
930 |
],
|
931 |
-
"clean_up_tokenization_spaces":
|
932 |
"eos_token": "</s>",
|
933 |
"extra_ids": 100,
|
934 |
"legacy": true,
|
935 |
-
"model_max_length":
|
936 |
"pad_token": "<pad>",
|
937 |
"sp_model_kwargs": {},
|
938 |
"tokenizer_class": "T5Tokenizer",
|
|
|
928 |
"<extra_id_98>",
|
929 |
"<extra_id_99>"
|
930 |
],
|
931 |
+
"clean_up_tokenization_spaces": true,
|
932 |
"eos_token": "</s>",
|
933 |
"extra_ids": 100,
|
934 |
"legacy": true,
|
935 |
+
"model_max_length": 512,
|
936 |
"pad_token": "<pad>",
|
937 |
"sp_model_kwargs": {},
|
938 |
"tokenizer_class": "T5Tokenizer",
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c1bb0920cf6c7b6fe5fad1c829ec1f476c5d037119f2ceb4b2beee0f4245927
|
3 |
size 5304
|