umangsharmacs
commited on
Commit
•
6137012
1
Parent(s):
798850e
End of training
Browse files- README.md +72 -0
- config.json +62 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: t5-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
- precision
|
11 |
+
- recall
|
12 |
+
model-index:
|
13 |
+
- name: T5_256tokens_gossip
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# T5_256tokens_gossip
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.6024
|
25 |
+
- Accuracy: 0.9057
|
26 |
+
- F1: 0.9000
|
27 |
+
- Precision: 0.8962
|
28 |
+
- Recall: 0.9057
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 5e-05
|
48 |
+
- train_batch_size: 4
|
49 |
+
- eval_batch_size: 4
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- lr_scheduler_warmup_steps: 500
|
54 |
+
- num_epochs: 5
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
60 |
+
| 0.2489 | 1.0 | 1590 | 0.3115 | 0.8994 | 0.8878 | 0.8815 | 0.8994 |
|
61 |
+
| 0.0452 | 2.0 | 3180 | 0.3244 | 0.9201 | 0.9009 | 0.9103 | 0.9201 |
|
62 |
+
| 0.0508 | 3.0 | 4770 | 0.4210 | 0.9107 | 0.9039 | 0.9001 | 0.9107 |
|
63 |
+
| 0.0269 | 4.0 | 6360 | 0.4959 | 0.9113 | 0.9013 | 0.8974 | 0.9113 |
|
64 |
+
| 0.1621 | 5.0 | 7950 | 0.6024 | 0.9057 | 0.9000 | 0.8962 | 0.9057 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.45.1
|
70 |
+
- Pytorch 2.4.0
|
71 |
+
- Datasets 3.0.1
|
72 |
+
- Tokenizers 0.20.0
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "t5-base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 3072,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "relu",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "relu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": false,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "t5",
|
20 |
+
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 12,
|
22 |
+
"num_heads": 12,
|
23 |
+
"num_layers": 12,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"relative_attention_max_distance": 128,
|
28 |
+
"relative_attention_num_buckets": 32,
|
29 |
+
"task_specific_params": {
|
30 |
+
"summarization": {
|
31 |
+
"early_stopping": true,
|
32 |
+
"length_penalty": 2.0,
|
33 |
+
"max_length": 200,
|
34 |
+
"min_length": 30,
|
35 |
+
"no_repeat_ngram_size": 3,
|
36 |
+
"num_beams": 4,
|
37 |
+
"prefix": "summarize: "
|
38 |
+
},
|
39 |
+
"translation_en_to_de": {
|
40 |
+
"early_stopping": true,
|
41 |
+
"max_length": 300,
|
42 |
+
"num_beams": 4,
|
43 |
+
"prefix": "translate English to German: "
|
44 |
+
},
|
45 |
+
"translation_en_to_fr": {
|
46 |
+
"early_stopping": true,
|
47 |
+
"max_length": 300,
|
48 |
+
"num_beams": 4,
|
49 |
+
"prefix": "translate English to French: "
|
50 |
+
},
|
51 |
+
"translation_en_to_ro": {
|
52 |
+
"early_stopping": true,
|
53 |
+
"max_length": 300,
|
54 |
+
"num_beams": 4,
|
55 |
+
"prefix": "translate English to Romanian: "
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.45.1",
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 32128
|
62 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:620361f39dc4fcd90735c9fcf51000406513045bd1adebef2d23ef2e06c32e34
|
3 |
+
size 894016712
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b3ccc68f1ca91cd16a92d1782b85a6c1bbf2695d80e02fd90b812c402bc8087
|
3 |
+
size 5240
|