ahnaf702 commited on
Commit
6ef93d3
1 Parent(s): 56b8778

Upload ElectraForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +29 -32
  2. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,34 +1,31 @@
1
  {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "csebuetnlp/banglabert_large",
5
- "bias": "none",
6
- "fan_in_fan_out": false,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 256,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": [
18
- "embed_tokens"
19
  ],
20
- "peft_type": "LORA",
21
- "r": 128,
22
- "rank_pattern": {},
23
- "revision": null,
24
- "target_modules": [
25
- "query",
26
- "value",
27
- "out_proj",
28
- "key",
29
- "dense"
30
- ],
31
- "task_type": "SEQ_CLS",
32
- "use_dora": false,
33
- "use_rslora": false
34
- }
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "csebuetnlp/banglabert_small",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": 0.2,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1024,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "electra",
17
+ "num_attention_heads": 4,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "summary_activation": "gelu",
23
+ "summary_last_dropout": 0.1,
24
+ "summary_type": "first",
25
+ "summary_use_proj": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.33.0",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 32000
31
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51797b5e2354ad918b7f841293b8d880b9f90f0e02395658d305631236704ae4
3
+ size 55023609