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