SagiPolaczek
commited on
Commit
•
75e8c8b
1
Parent(s):
00c8c06
Push model using huggingface_hub.
Browse files- README.md +8 -0
- config.json +106 -0
- model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- model_hub_mixin
|
4 |
+
---
|
5 |
+
|
6 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
7 |
+
- Library: [More Information Needed]
|
8 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auxiliary_encoder_heads": null,
|
3 |
+
"encoder_head_dropout": 0.2,
|
4 |
+
"encoder_head_layers": [
|
5 |
+
2048,
|
6 |
+
1024
|
7 |
+
],
|
8 |
+
"random_weights": false,
|
9 |
+
"scalars_prediction_head": null,
|
10 |
+
"support_input_scalars": false,
|
11 |
+
"t5_config": {
|
12 |
+
"_name_or_path": "/home/patrick/hugging_face/t5/t5-v1_1-base",
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"architectures": [
|
15 |
+
"T5ForConditionalGeneration"
|
16 |
+
],
|
17 |
+
"attention_scale": null,
|
18 |
+
"bad_words_ids": null,
|
19 |
+
"begin_suppress_tokens": null,
|
20 |
+
"bos_token_id": null,
|
21 |
+
"chunk_size_feed_forward": 0,
|
22 |
+
"classifier_dropout": 0.0,
|
23 |
+
"cross_attention_hidden_size": null,
|
24 |
+
"d_ff": 2048,
|
25 |
+
"d_kv": 64,
|
26 |
+
"d_model": 768,
|
27 |
+
"decoder_start_token_id": 16,
|
28 |
+
"dense_act_fn": "gelu_new",
|
29 |
+
"diversity_penalty": 0.0,
|
30 |
+
"do_sample": false,
|
31 |
+
"dropout_rate": 0.1,
|
32 |
+
"early_stopping": false,
|
33 |
+
"encoder_no_repeat_ngram_size": 0,
|
34 |
+
"eos_token_id": 5,
|
35 |
+
"exponential_decay_length_penalty": null,
|
36 |
+
"feed_forward_proj": "gated-gelu",
|
37 |
+
"finetuning_task": null,
|
38 |
+
"forced_bos_token_id": null,
|
39 |
+
"forced_eos_token_id": null,
|
40 |
+
"id2label": {
|
41 |
+
"0": "LABEL_0",
|
42 |
+
"1": "LABEL_1"
|
43 |
+
},
|
44 |
+
"initializer_factor": 1.0,
|
45 |
+
"is_decoder": false,
|
46 |
+
"is_encoder_decoder": true,
|
47 |
+
"is_gated_act": true,
|
48 |
+
"label2id": {
|
49 |
+
"LABEL_0": 0,
|
50 |
+
"LABEL_1": 1
|
51 |
+
},
|
52 |
+
"layer_norm_epsilon": 1e-06,
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"mask_token_id": 4,
|
55 |
+
"max_length": 20,
|
56 |
+
"memory_efficient_attention": null,
|
57 |
+
"min_length": 0,
|
58 |
+
"model_type": "t5",
|
59 |
+
"no_repeat_ngram_size": 0,
|
60 |
+
"num_beam_groups": 1,
|
61 |
+
"num_beams": 1,
|
62 |
+
"num_decoder_layers": 12,
|
63 |
+
"num_heads": 12,
|
64 |
+
"num_layers": 12,
|
65 |
+
"num_return_sequences": 1,
|
66 |
+
"output_attentions": false,
|
67 |
+
"output_hidden_states": false,
|
68 |
+
"output_past": true,
|
69 |
+
"output_scores": false,
|
70 |
+
"pad_token_id": 1,
|
71 |
+
"position_embedding_definitions": {
|
72 |
+
"default": {
|
73 |
+
"config": null,
|
74 |
+
"type": "t5_default_relative"
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"prefix": null,
|
78 |
+
"problem_type": null,
|
79 |
+
"pruned_heads": {},
|
80 |
+
"relative_attention_max_distance": 128,
|
81 |
+
"relative_attention_num_buckets": 32,
|
82 |
+
"remove_invalid_values": false,
|
83 |
+
"repetition_penalty": 1.0,
|
84 |
+
"return_dict": true,
|
85 |
+
"return_dict_in_generate": false,
|
86 |
+
"sep_token_id": null,
|
87 |
+
"support_scalars": false,
|
88 |
+
"suppress_tokens": null,
|
89 |
+
"task_specific_params": null,
|
90 |
+
"temperature": 1.0,
|
91 |
+
"tf_legacy_loss": false,
|
92 |
+
"tie_encoder_decoder": false,
|
93 |
+
"tie_word_embeddings": false,
|
94 |
+
"tokenizer_class": null,
|
95 |
+
"top_k": 50,
|
96 |
+
"top_p": 1.0,
|
97 |
+
"torch_dtype": null,
|
98 |
+
"torchscript": false,
|
99 |
+
"typical_p": 1.0,
|
100 |
+
"use_bfloat16": false,
|
101 |
+
"use_cache": true,
|
102 |
+
"vocab_size": 100001
|
103 |
+
},
|
104 |
+
"transformers_version": "4.43.4",
|
105 |
+
"use_lora": false
|
106 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80d1b98728793bc40529310f007b9f707971b1cede9f5450dc5a99d9b257b064
|
3 |
+
size 1832056836
|