ljcnju commited on
Commit
1e186ba
1 Parent(s): 25c5caf

Upload T5ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +70 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Salesforce/codet5-base",
3
+ "architectures": [
4
+ "T5ForSequenceClassification"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "classifier_dropout": 0.0,
8
+ "d_ff": 3072,
9
+ "d_kv": 64,
10
+ "d_model": 768,
11
+ "decoder_start_token_id": 0,
12
+ "dense_act_fn": "relu",
13
+ "dropout_rate": 0.1,
14
+ "eos_token_id": 2,
15
+ "feed_forward_proj": "relu",
16
+ "gradient_checkpointing": false,
17
+ "id2label": {
18
+ "0": "LABEL_0"
19
+ },
20
+ "initializer_factor": 1.0,
21
+ "is_encoder_decoder": true,
22
+ "is_gated_act": false,
23
+ "label2id": {
24
+ "LABEL_0": 0
25
+ },
26
+ "layer_norm_epsilon": 1e-06,
27
+ "model_type": "t5",
28
+ "n_positions": 512,
29
+ "num_decoder_layers": 12,
30
+ "num_heads": 12,
31
+ "num_layers": 12,
32
+ "output_past": true,
33
+ "pad_token_id": 0,
34
+ "problem_type": "regression",
35
+ "relative_attention_max_distance": 128,
36
+ "relative_attention_num_buckets": 32,
37
+ "task_specific_params": {
38
+ "summarization": {
39
+ "early_stopping": true,
40
+ "length_penalty": 2.0,
41
+ "max_length": 200,
42
+ "min_length": 30,
43
+ "no_repeat_ngram_size": 3,
44
+ "num_beams": 4,
45
+ "prefix": "summarize: "
46
+ },
47
+ "translation_en_to_de": {
48
+ "early_stopping": true,
49
+ "max_length": 300,
50
+ "num_beams": 4,
51
+ "prefix": "translate English to German: "
52
+ },
53
+ "translation_en_to_fr": {
54
+ "early_stopping": true,
55
+ "max_length": 300,
56
+ "num_beams": 4,
57
+ "prefix": "translate English to French: "
58
+ },
59
+ "translation_en_to_ro": {
60
+ "early_stopping": true,
61
+ "max_length": 300,
62
+ "num_beams": 4,
63
+ "prefix": "translate English to Romanian: "
64
+ }
65
+ },
66
+ "torch_dtype": "float32",
67
+ "transformers_version": "4.37.2",
68
+ "use_cache": true,
69
+ "vocab_size": 32100
70
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f142836eddf82de8aed6612981758a4b763ef4fac4e7d07dd7a9183243dd561b
3
+ size 893927620