naot97 commited on
Commit
20486de
1 Parent(s): 862efe6

Upload T5ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +26 -21
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,28 +1,33 @@
1
  {
2
- "_name_or_path": "NlpHUST/roberta-base-vn",
3
  "architectures": [
4
- "RobertaForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
- "classifier_dropout": null,
9
- "eos_token_id": 2,
10
- "hidden_act": "gelu",
11
- "hidden_dropout_prob": 0.1,
12
- "hidden_size": 768,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 3072,
15
- "layer_norm_eps": 1e-05,
16
- "max_position_embeddings": 514,
17
- "model_type": "roberta",
18
- "num_attention_heads": 12,
19
- "num_hidden_layers": 12,
20
- "pad_token_id": 1,
21
- "position_embedding_type": "absolute",
 
 
 
 
22
  "problem_type": "single_label_classification",
 
 
23
  "torch_dtype": "float32",
24
- "transformers_version": "4.32.1",
25
- "type_vocab_size": 1,
26
  "use_cache": true,
27
- "vocab_size": 50265
28
  }
 
1
  {
2
+ "_name_or_path": "VietAI/vit5-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
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": false,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 12,
22
+ "num_heads": 12,
23
+ "num_layers": 12,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
  "problem_type": "single_label_classification",
27
+ "relative_attention_max_distance": 128,
28
+ "relative_attention_num_buckets": 32,
29
  "torch_dtype": "float32",
30
+ "transformers_version": "4.35.2",
 
31
  "use_cache": true,
32
+ "vocab_size": 36096
33
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:767e6a4f84ec96fbade42be8d27728691f147eb30aa2250dfebbc07709f3087c
3
+ size 906206408