Upload T5ForConditionalGeneration
Browse files- README.md +1 -1
- config.json +37 -0
- generation_config.json +11 -0
- model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
| 3 |
-
pipeline_tag: text2text-generation
|
| 4 |
library_name: transformers
|
| 5 |
tags:
|
| 6 |
- biology
|
| 7 |
- immunology
|
| 8 |
- seq2seq
|
| 9 |
- t5
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# TCRT5 model (pre-trained)
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
|
|
|
| 3 |
library_name: transformers
|
| 4 |
tags:
|
| 5 |
- biology
|
| 6 |
- immunology
|
| 7 |
- seq2seq
|
| 8 |
- t5
|
| 9 |
+
pipeline_tag: text2text-generation
|
| 10 |
---
|
| 11 |
|
| 12 |
# TCRT5 model (pre-trained)
|
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "../model_checkpoints/t5_joint_pretraining_7030_real/checkpoint-168000/",
|
| 3 |
+
"add_cross_attention": true,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"T5ForConditionalGeneration"
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"classifier_dropout": 0.0,
|
| 9 |
+
"d_ff": 1024,
|
| 10 |
+
"d_kv": 64,
|
| 11 |
+
"d_model": 256,
|
| 12 |
+
"decoder_start_token_id": 1,
|
| 13 |
+
"dense_act_fn": "relu",
|
| 14 |
+
"dropout_rate": 0.1,
|
| 15 |
+
"eos_token_id": 2,
|
| 16 |
+
"feed_forward_proj": "relu",
|
| 17 |
+
"initializer_factor": 1.0,
|
| 18 |
+
"is_encoder_decoder": true,
|
| 19 |
+
"is_gated_act": false,
|
| 20 |
+
"layer_norm_epsilon": 1e-06,
|
| 21 |
+
"max_position_embeddings": 512,
|
| 22 |
+
"model_type": "t5",
|
| 23 |
+
"num_decoder_layers": 10,
|
| 24 |
+
"num_heads": 16,
|
| 25 |
+
"num_layers": 10,
|
| 26 |
+
"output_attentions": true,
|
| 27 |
+
"output_hidden_states": true,
|
| 28 |
+
"output_scores": true,
|
| 29 |
+
"pad_token_id": 0,
|
| 30 |
+
"relative_attention_max_distance": 128,
|
| 31 |
+
"relative_attention_num_buckets": 32,
|
| 32 |
+
"sep_token_id": 4,
|
| 33 |
+
"torch_dtype": "float32",
|
| 34 |
+
"transformers_version": "4.40.2",
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"vocab_size": 128
|
| 37 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"decoder_start_token_id": 1,
|
| 5 |
+
"eos_token_id": 2,
|
| 6 |
+
"output_attentions": true,
|
| 7 |
+
"output_hidden_states": true,
|
| 8 |
+
"output_scores": true,
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"transformers_version": "4.40.2"
|
| 11 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b17effbcce8c08017abc3e604bdd96024d790a8e74952c9cda64a99f3bf148ae
|
| 3 |
+
size 167985976
|