llm-models commited on
Commit
7d1252f
·
verified ·
1 Parent(s): 6769c45

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +25 -29
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,37 +1,33 @@
1
  {
2
- "activation_function": "gelu_new",
3
  "architectures": [
4
- "GPT2ForSequenceClassification"
5
  ],
6
- "attn_pdrop": 0.1,
7
- "bos_token_id": 50256,
 
8
  "dtype": "float32",
9
- "embd_pdrop": 0.1,
10
- "eos_token_id": 50256,
 
 
 
 
11
  "initializer_range": 0.02,
12
- "layer_norm_epsilon": 1e-05,
13
- "model_type": "gpt2",
14
- "n_ctx": 1024,
15
- "n_embd": 1024,
16
- "n_head": 16,
17
- "n_inner": null,
18
- "n_layer": 24,
19
- "n_positions": 1024,
20
- "reorder_and_upcast_attn": false,
21
- "resid_pdrop": 0.1,
22
- "scale_attn_by_inverse_layer_idx": false,
23
- "scale_attn_weights": true,
24
- "summary_activation": null,
25
- "summary_first_dropout": 0.1,
26
- "summary_proj_to_labels": true,
27
- "summary_type": "cls_index",
28
- "summary_use_proj": true,
29
- "task_specific_params": {
30
- "conversational": {
31
- "max_length": 1000
32
- }
33
  },
 
 
 
 
 
 
 
 
 
 
34
  "transformers_version": "4.56.0",
35
- "use_cache": true,
36
- "vocab_size": 50257
37
  }
 
1
  {
2
+ "activation": "gelu",
3
  "architectures": [
4
+ "DistilBertForSequenceClassification"
5
  ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
  "dtype": "float32",
10
+ "finetuning_task": "sst-2",
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "NEGATIVE",
14
+ "1": "POSITIVE"
15
+ },
16
  "initializer_range": 0.02,
17
+ "label2id": {
18
+ "NEGATIVE": 0,
19
+ "POSITIVE": 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  },
21
+ "max_position_embeddings": 512,
22
+ "model_type": "distilbert",
23
+ "n_heads": 12,
24
+ "n_layers": 6,
25
+ "output_past": true,
26
+ "pad_token_id": 0,
27
+ "qa_dropout": 0.1,
28
+ "seq_classif_dropout": 0.2,
29
+ "sinusoidal_pos_embds": false,
30
+ "tie_weights_": true,
31
  "transformers_version": "4.56.0",
32
+ "vocab_size": 30522
 
33
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f0a927fdf7122252c081337a11987ae4d46be57eb8bc01c5d81567d5c9b41f1b
3
- size 1419331144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61afb985df6fbe77fd84138129481f0a4444c02893782984e330f874f43cee4b
3
+ size 267832560