Upload folder using huggingface_hub
Browse files- config.json +71 -0
- events.out.tfevents.1750390462.gra5 +3 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- results.json +17 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/home/mootez/projects/def-tusharma/mootez/local_models/codet5-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"T5ForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"classifier_dropout": 0.0,
|
| 8 |
+
"d_ff": 3072,
|
| 9 |
+
"d_kv": 64,
|
| 10 |
+
"d_model": 768,
|
| 11 |
+
"decoder_start_token_id": 0,
|
| 12 |
+
"dense_act_fn": "relu",
|
| 13 |
+
"dropout_rate": 0.1,
|
| 14 |
+
"eos_token_id": 2,
|
| 15 |
+
"feed_forward_proj": "relu",
|
| 16 |
+
"gradient_checkpointing": false,
|
| 17 |
+
"id2label": {
|
| 18 |
+
"0": "LABEL_0"
|
| 19 |
+
},
|
| 20 |
+
"initializer_factor": 1.0,
|
| 21 |
+
"is_encoder_decoder": true,
|
| 22 |
+
"is_gated_act": false,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"LABEL_0": 0
|
| 25 |
+
},
|
| 26 |
+
"layer_norm_epsilon": 1e-06,
|
| 27 |
+
"merge_layer_index": 6,
|
| 28 |
+
"merger_type": "learnable",
|
| 29 |
+
"model_type": "t5",
|
| 30 |
+
"n_positions": 512,
|
| 31 |
+
"num_decoder_layers": 12,
|
| 32 |
+
"num_heads": 12,
|
| 33 |
+
"num_layers": 12,
|
| 34 |
+
"output_past": true,
|
| 35 |
+
"pad_token_id": 0,
|
| 36 |
+
"relative_attention_max_distance": 128,
|
| 37 |
+
"relative_attention_num_buckets": 32,
|
| 38 |
+
"task_specific_params": {
|
| 39 |
+
"summarization": {
|
| 40 |
+
"early_stopping": true,
|
| 41 |
+
"length_penalty": 2.0,
|
| 42 |
+
"max_length": 200,
|
| 43 |
+
"min_length": 30,
|
| 44 |
+
"no_repeat_ngram_size": 3,
|
| 45 |
+
"num_beams": 4,
|
| 46 |
+
"prefix": "summarize: "
|
| 47 |
+
},
|
| 48 |
+
"translation_en_to_de": {
|
| 49 |
+
"early_stopping": true,
|
| 50 |
+
"max_length": 300,
|
| 51 |
+
"num_beams": 4,
|
| 52 |
+
"prefix": "translate English to German: "
|
| 53 |
+
},
|
| 54 |
+
"translation_en_to_fr": {
|
| 55 |
+
"early_stopping": true,
|
| 56 |
+
"max_length": 300,
|
| 57 |
+
"num_beams": 4,
|
| 58 |
+
"prefix": "translate English to French: "
|
| 59 |
+
},
|
| 60 |
+
"translation_en_to_ro": {
|
| 61 |
+
"early_stopping": true,
|
| 62 |
+
"max_length": 300,
|
| 63 |
+
"num_beams": 4,
|
| 64 |
+
"prefix": "translate English to Romanian: "
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"torch_dtype": "float32",
|
| 68 |
+
"transformers_version": "4.48.2",
|
| 69 |
+
"use_cache": true,
|
| 70 |
+
"vocab_size": 32100
|
| 71 |
+
}
|
events.out.tfevents.1750390462.gra5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce50f9285f5ae43e4784f759c68b9498c4c53c3945794779e892ac09b53f003b
|
| 3 |
+
size 19692
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.48.2"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cdec804edf0d9de8bbf837ac60275794870e420641a568e93aa436a594cdbf1
|
| 3 |
+
size 891561872
|
results.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rouge1": 0.7111032276460763,
|
| 3 |
+
"rouge2": 0.6541478267863396,
|
| 4 |
+
"rougeL": 0.7078606174902609,
|
| 5 |
+
"rougeLsum": 0.7080066765062318,
|
| 6 |
+
"bleu": 0.6114807641741806,
|
| 7 |
+
"precision": [
|
| 8 |
+
0.6355790375553334,
|
| 9 |
+
0.614154374910497,
|
| 10 |
+
0.6026310498348413,
|
| 11 |
+
0.5943367420423448
|
| 12 |
+
],
|
| 13 |
+
"brevity_penalty": 1.0,
|
| 14 |
+
"length_ratio": 1.5378027624673356,
|
| 15 |
+
"translation_length": 350150,
|
| 16 |
+
"reference_length": 227695
|
| 17 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c1263fab05d89b3660f9937e20774afc6b6e9bcc4ed669a9863ce4f51852f95
|
| 3 |
+
size 5560
|