udamaurizio
commited on
Commit
•
b87c654
1
Parent(s):
4bdba1f
Upload ParlerTTSForConditionalGeneration
Browse files- README.md +199 -0
- config.json +287 -0
- generation_config.json +12 -0
- model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags: []
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "parler-tts/parler_tts_mini_v0.1",
|
3 |
+
"architectures": [
|
4 |
+
"ParlerTTSForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"audio_encoder": {
|
7 |
+
"_attn_implementation_autoset": false,
|
8 |
+
"_name_or_path": "ylacombe/dac_44khZ_8kbps",
|
9 |
+
"add_cross_attention": false,
|
10 |
+
"architectures": [
|
11 |
+
"DACModel"
|
12 |
+
],
|
13 |
+
"bad_words_ids": null,
|
14 |
+
"begin_suppress_tokens": null,
|
15 |
+
"bos_token_id": null,
|
16 |
+
"chunk_size_feed_forward": 0,
|
17 |
+
"codebook_size": 1024,
|
18 |
+
"cross_attention_hidden_size": null,
|
19 |
+
"decoder_start_token_id": null,
|
20 |
+
"diversity_penalty": 0.0,
|
21 |
+
"do_sample": false,
|
22 |
+
"early_stopping": false,
|
23 |
+
"encoder_no_repeat_ngram_size": 0,
|
24 |
+
"eos_token_id": null,
|
25 |
+
"exponential_decay_length_penalty": null,
|
26 |
+
"finetuning_task": null,
|
27 |
+
"forced_bos_token_id": null,
|
28 |
+
"forced_eos_token_id": null,
|
29 |
+
"frame_rate": 86,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1"
|
33 |
+
},
|
34 |
+
"is_decoder": false,
|
35 |
+
"is_encoder_decoder": false,
|
36 |
+
"label2id": {
|
37 |
+
"LABEL_0": 0,
|
38 |
+
"LABEL_1": 1
|
39 |
+
},
|
40 |
+
"latent_dim": 1024,
|
41 |
+
"length_penalty": 1.0,
|
42 |
+
"max_length": 20,
|
43 |
+
"min_length": 0,
|
44 |
+
"model_bitrate": 8,
|
45 |
+
"model_type": "dac_on_the_hub",
|
46 |
+
"no_repeat_ngram_size": 0,
|
47 |
+
"num_beam_groups": 1,
|
48 |
+
"num_beams": 1,
|
49 |
+
"num_codebooks": 9,
|
50 |
+
"num_return_sequences": 1,
|
51 |
+
"output_attentions": false,
|
52 |
+
"output_hidden_states": false,
|
53 |
+
"output_scores": false,
|
54 |
+
"pad_token_id": null,
|
55 |
+
"prefix": null,
|
56 |
+
"problem_type": null,
|
57 |
+
"pruned_heads": {},
|
58 |
+
"remove_invalid_values": false,
|
59 |
+
"repetition_penalty": 1.0,
|
60 |
+
"return_dict": true,
|
61 |
+
"return_dict_in_generate": false,
|
62 |
+
"sampling_rate": 44100,
|
63 |
+
"sep_token_id": null,
|
64 |
+
"suppress_tokens": null,
|
65 |
+
"task_specific_params": null,
|
66 |
+
"temperature": 1.0,
|
67 |
+
"tf_legacy_loss": false,
|
68 |
+
"tie_encoder_decoder": false,
|
69 |
+
"tie_word_embeddings": true,
|
70 |
+
"tokenizer_class": null,
|
71 |
+
"top_k": 50,
|
72 |
+
"top_p": 1.0,
|
73 |
+
"torch_dtype": "float32",
|
74 |
+
"torchscript": false,
|
75 |
+
"typical_p": 1.0,
|
76 |
+
"use_bfloat16": false
|
77 |
+
},
|
78 |
+
"decoder": {
|
79 |
+
"_attn_implementation_autoset": false,
|
80 |
+
"_name_or_path": "/fsx/yoach/tmp/artefacts/decoder_400M/",
|
81 |
+
"activation_dropout": 0.0,
|
82 |
+
"activation_function": "gelu",
|
83 |
+
"add_cross_attention": true,
|
84 |
+
"architectures": [
|
85 |
+
"ParlerTTSForCausalLM"
|
86 |
+
],
|
87 |
+
"attention_dropout": 0.0,
|
88 |
+
"bad_words_ids": null,
|
89 |
+
"begin_suppress_tokens": null,
|
90 |
+
"bos_token_id": 1025,
|
91 |
+
"chunk_size_feed_forward": 0,
|
92 |
+
"codebook_weights": null,
|
93 |
+
"cross_attention_hidden_size": null,
|
94 |
+
"cross_attention_implementation_strategy": null,
|
95 |
+
"decoder_start_token_id": null,
|
96 |
+
"diversity_penalty": 0.0,
|
97 |
+
"do_sample": false,
|
98 |
+
"dropout": 0.1,
|
99 |
+
"early_stopping": false,
|
100 |
+
"encoder_no_repeat_ngram_size": 0,
|
101 |
+
"eos_token_id": 1024,
|
102 |
+
"exponential_decay_length_penalty": null,
|
103 |
+
"ffn_dim": 4096,
|
104 |
+
"finetuning_task": null,
|
105 |
+
"forced_bos_token_id": null,
|
106 |
+
"forced_eos_token_id": null,
|
107 |
+
"hidden_size": 1024,
|
108 |
+
"id2label": {
|
109 |
+
"0": "LABEL_0",
|
110 |
+
"1": "LABEL_1"
|
111 |
+
},
|
112 |
+
"initializer_factor": 0.02,
|
113 |
+
"is_decoder": true,
|
114 |
+
"is_encoder_decoder": false,
|
115 |
+
"label2id": {
|
116 |
+
"LABEL_0": 0,
|
117 |
+
"LABEL_1": 1
|
118 |
+
},
|
119 |
+
"layerdrop": 0.0,
|
120 |
+
"length_penalty": 1.0,
|
121 |
+
"max_length": 20,
|
122 |
+
"max_position_embeddings": 4096,
|
123 |
+
"min_length": 0,
|
124 |
+
"model_type": "parler_tts_decoder",
|
125 |
+
"no_repeat_ngram_size": 0,
|
126 |
+
"num_attention_heads": 16,
|
127 |
+
"num_beam_groups": 1,
|
128 |
+
"num_beams": 1,
|
129 |
+
"num_codebooks": 9,
|
130 |
+
"num_cross_attention_key_value_heads": 16,
|
131 |
+
"num_hidden_layers": 24,
|
132 |
+
"num_key_value_heads": 16,
|
133 |
+
"num_return_sequences": 1,
|
134 |
+
"output_attentions": false,
|
135 |
+
"output_hidden_states": false,
|
136 |
+
"output_scores": false,
|
137 |
+
"pad_token_id": 1024,
|
138 |
+
"prefix": null,
|
139 |
+
"problem_type": null,
|
140 |
+
"pruned_heads": {},
|
141 |
+
"remove_invalid_values": false,
|
142 |
+
"repetition_penalty": 1.0,
|
143 |
+
"return_dict": true,
|
144 |
+
"return_dict_in_generate": false,
|
145 |
+
"rope_embeddings": false,
|
146 |
+
"rope_theta": 10000.0,
|
147 |
+
"scale_embedding": false,
|
148 |
+
"sep_token_id": null,
|
149 |
+
"suppress_tokens": null,
|
150 |
+
"task_specific_params": null,
|
151 |
+
"temperature": 1.0,
|
152 |
+
"tf_legacy_loss": false,
|
153 |
+
"tie_encoder_decoder": false,
|
154 |
+
"tie_word_embeddings": false,
|
155 |
+
"tokenizer_class": null,
|
156 |
+
"top_k": 50,
|
157 |
+
"top_p": 1.0,
|
158 |
+
"torch_dtype": "float32",
|
159 |
+
"torchscript": false,
|
160 |
+
"typical_p": 1.0,
|
161 |
+
"use_bfloat16": false,
|
162 |
+
"use_cache": true,
|
163 |
+
"use_fused_lm_heads": false,
|
164 |
+
"vocab_size": 1088
|
165 |
+
},
|
166 |
+
"decoder_start_token_id": 1025,
|
167 |
+
"is_encoder_decoder": true,
|
168 |
+
"model_type": "parler_tts",
|
169 |
+
"pad_token_id": 1024,
|
170 |
+
"prompt_cross_attention": false,
|
171 |
+
"text_encoder": {
|
172 |
+
"_attn_implementation_autoset": false,
|
173 |
+
"_name_or_path": "google/flan-t5-base",
|
174 |
+
"add_cross_attention": false,
|
175 |
+
"architectures": [
|
176 |
+
"T5ForConditionalGeneration"
|
177 |
+
],
|
178 |
+
"bad_words_ids": null,
|
179 |
+
"begin_suppress_tokens": null,
|
180 |
+
"bos_token_id": null,
|
181 |
+
"chunk_size_feed_forward": 0,
|
182 |
+
"classifier_dropout": 0.0,
|
183 |
+
"cross_attention_hidden_size": null,
|
184 |
+
"d_ff": 2048,
|
185 |
+
"d_kv": 64,
|
186 |
+
"d_model": 768,
|
187 |
+
"decoder_start_token_id": 0,
|
188 |
+
"dense_act_fn": "gelu_new",
|
189 |
+
"diversity_penalty": 0.0,
|
190 |
+
"do_sample": false,
|
191 |
+
"dropout_rate": 0.1,
|
192 |
+
"early_stopping": false,
|
193 |
+
"encoder_no_repeat_ngram_size": 0,
|
194 |
+
"eos_token_id": 1,
|
195 |
+
"exponential_decay_length_penalty": null,
|
196 |
+
"feed_forward_proj": "gated-gelu",
|
197 |
+
"finetuning_task": null,
|
198 |
+
"forced_bos_token_id": null,
|
199 |
+
"forced_eos_token_id": null,
|
200 |
+
"id2label": {
|
201 |
+
"0": "LABEL_0",
|
202 |
+
"1": "LABEL_1"
|
203 |
+
},
|
204 |
+
"initializer_factor": 1.0,
|
205 |
+
"is_decoder": false,
|
206 |
+
"is_encoder_decoder": true,
|
207 |
+
"is_gated_act": true,
|
208 |
+
"label2id": {
|
209 |
+
"LABEL_0": 0,
|
210 |
+
"LABEL_1": 1
|
211 |
+
},
|
212 |
+
"layer_norm_epsilon": 1e-06,
|
213 |
+
"length_penalty": 1.0,
|
214 |
+
"max_length": 20,
|
215 |
+
"min_length": 0,
|
216 |
+
"model_type": "t5",
|
217 |
+
"n_positions": 512,
|
218 |
+
"no_repeat_ngram_size": 0,
|
219 |
+
"num_beam_groups": 1,
|
220 |
+
"num_beams": 1,
|
221 |
+
"num_decoder_layers": 12,
|
222 |
+
"num_heads": 12,
|
223 |
+
"num_layers": 12,
|
224 |
+
"num_return_sequences": 1,
|
225 |
+
"output_attentions": false,
|
226 |
+
"output_hidden_states": false,
|
227 |
+
"output_past": true,
|
228 |
+
"output_scores": false,
|
229 |
+
"pad_token_id": 0,
|
230 |
+
"prefix": null,
|
231 |
+
"problem_type": null,
|
232 |
+
"pruned_heads": {},
|
233 |
+
"relative_attention_max_distance": 128,
|
234 |
+
"relative_attention_num_buckets": 32,
|
235 |
+
"remove_invalid_values": false,
|
236 |
+
"repetition_penalty": 1.0,
|
237 |
+
"return_dict": true,
|
238 |
+
"return_dict_in_generate": false,
|
239 |
+
"sep_token_id": null,
|
240 |
+
"suppress_tokens": null,
|
241 |
+
"task_specific_params": {
|
242 |
+
"summarization": {
|
243 |
+
"early_stopping": true,
|
244 |
+
"length_penalty": 2.0,
|
245 |
+
"max_length": 200,
|
246 |
+
"min_length": 30,
|
247 |
+
"no_repeat_ngram_size": 3,
|
248 |
+
"num_beams": 4,
|
249 |
+
"prefix": "summarize: "
|
250 |
+
},
|
251 |
+
"translation_en_to_de": {
|
252 |
+
"early_stopping": true,
|
253 |
+
"max_length": 300,
|
254 |
+
"num_beams": 4,
|
255 |
+
"prefix": "translate English to German: "
|
256 |
+
},
|
257 |
+
"translation_en_to_fr": {
|
258 |
+
"early_stopping": true,
|
259 |
+
"max_length": 300,
|
260 |
+
"num_beams": 4,
|
261 |
+
"prefix": "translate English to French: "
|
262 |
+
},
|
263 |
+
"translation_en_to_ro": {
|
264 |
+
"early_stopping": true,
|
265 |
+
"max_length": 300,
|
266 |
+
"num_beams": 4,
|
267 |
+
"prefix": "translate English to Romanian: "
|
268 |
+
}
|
269 |
+
},
|
270 |
+
"temperature": 1.0,
|
271 |
+
"tf_legacy_loss": false,
|
272 |
+
"tie_encoder_decoder": false,
|
273 |
+
"tie_word_embeddings": false,
|
274 |
+
"tokenizer_class": null,
|
275 |
+
"top_k": 50,
|
276 |
+
"top_p": 1.0,
|
277 |
+
"torch_dtype": null,
|
278 |
+
"torchscript": false,
|
279 |
+
"typical_p": 1.0,
|
280 |
+
"use_bfloat16": false,
|
281 |
+
"use_cache": true,
|
282 |
+
"vocab_size": 32128
|
283 |
+
},
|
284 |
+
"torch_dtype": "float16",
|
285 |
+
"transformers_version": "4.46.1",
|
286 |
+
"vocab_size": 32128
|
287 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1025,
|
4 |
+
"decoder_start_token_id": 1025,
|
5 |
+
"do_sample": true,
|
6 |
+
"eos_token_id": 1024,
|
7 |
+
"guidance_scale": 1.0,
|
8 |
+
"max_length": 2580,
|
9 |
+
"min_new_tokens": 50,
|
10 |
+
"pad_token_id": 1024,
|
11 |
+
"transformers_version": "4.46.1"
|
12 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e95e0580cb89902043d12178dfc183c6ec27a2d5efd4b97466a7e758a1bdf17
|
3 |
+
size 1294164364
|