SagiPolaczek commited on
Commit
566899c
1 Parent(s): 149509d

Push model using huggingface_hub.

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