varun-v-rao commited on
Commit
7a592ac
1 Parent(s): 5658122

Upload T5ForSequenceClassification

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