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