Lorenzo Stella
commited on
Commit
•
e141874
1
Parent(s):
c633dc7
add model
Browse files- chronos_config.json +16 -0
- config.json +59 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
chronos_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"low_limit": -15.0,
|
3 |
+
"high_limit": 15.0,
|
4 |
+
"n_tokens": 4096,
|
5 |
+
"n_special_tokens": 2,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"eos_token_id": 1,
|
8 |
+
"use_eos_token": true,
|
9 |
+
"model_type": "seq2seq",
|
10 |
+
"context_length": 512,
|
11 |
+
"prediction_length": 64,
|
12 |
+
"num_samples": 20,
|
13 |
+
"temperature": 1.0,
|
14 |
+
"top_k": 50,
|
15 |
+
"top_p": 1.0
|
16 |
+
}
|
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"T5ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"d_ff": 3072,
|
6 |
+
"d_kv": 64,
|
7 |
+
"d_model": 768,
|
8 |
+
"decoder_start_token_id": 0,
|
9 |
+
"dense_act_fn": "relu",
|
10 |
+
"dropout_rate": 0.1,
|
11 |
+
"eos_token_id": 1,
|
12 |
+
"feed_forward_proj": "relu",
|
13 |
+
"initializer_factor": 0.05,
|
14 |
+
"is_encoder_decoder": true,
|
15 |
+
"is_gated_act": false,
|
16 |
+
"layer_norm_epsilon": 1e-06,
|
17 |
+
"model_type": "t5",
|
18 |
+
"n_positions": 512,
|
19 |
+
"num_decoder_layers": 12,
|
20 |
+
"num_heads": 12,
|
21 |
+
"num_layers": 12,
|
22 |
+
"output_past": true,
|
23 |
+
"pad_token_id": 0,
|
24 |
+
"relative_attention_max_distance": 128,
|
25 |
+
"relative_attention_num_buckets": 32,
|
26 |
+
"task_specific_params": {
|
27 |
+
"summarization": {
|
28 |
+
"early_stopping": true,
|
29 |
+
"length_penalty": 2.0,
|
30 |
+
"max_length": 200,
|
31 |
+
"min_length": 30,
|
32 |
+
"no_repeat_ngram_size": 3,
|
33 |
+
"num_beams": 4,
|
34 |
+
"prefix": "summarize: "
|
35 |
+
},
|
36 |
+
"translation_en_to_de": {
|
37 |
+
"early_stopping": true,
|
38 |
+
"max_length": 300,
|
39 |
+
"num_beams": 4,
|
40 |
+
"prefix": "translate English to German: "
|
41 |
+
},
|
42 |
+
"translation_en_to_fr": {
|
43 |
+
"early_stopping": true,
|
44 |
+
"max_length": 300,
|
45 |
+
"num_beams": 4,
|
46 |
+
"prefix": "translate English to French: "
|
47 |
+
},
|
48 |
+
"translation_en_to_ro": {
|
49 |
+
"early_stopping": true,
|
50 |
+
"max_length": 300,
|
51 |
+
"num_beams": 4,
|
52 |
+
"prefix": "translate English to Romanian: "
|
53 |
+
}
|
54 |
+
},
|
55 |
+
"torch_dtype": "bfloat16",
|
56 |
+
"transformers_version": "4.31.0",
|
57 |
+
"use_cache": true,
|
58 |
+
"vocab_size": 4096
|
59 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.31.0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba0e0e6b96f6463cbcb9a8a58679151b804050bedd11617b17aab507e71f33cc
|
3 |
+
size 402838673
|