hadifar commited on
Commit
0390c83
·
verified ·
1 Parent(s): b28a5a1

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +17 -20
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,28 +1,25 @@
1
  {
2
- "_name_or_path": "model/entitylinker5",
 
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.38.2",
25
- "type_vocab_size": 1,
26
- "use_cache": true,
27
- "vocab_size": 50265
28
  }
 
1
  {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForSequenceClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
 
 
 
11
  "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
 
 
 
17
  "problem_type": "single_label_classification",
18
+ "qa_dropout": 0.1,
19
+ "seq_classif_dropout": 0.2,
20
+ "sinusoidal_pos_embds": false,
21
+ "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.38.2",
24
+ "vocab_size": 30522
 
 
25
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da091f2315795e8c3aca828c2f11db1dee930d1ef0f8e7d5b083082e4186bfa9
3
- size 498612824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a1a547da64a2483f49bcbb758f2da590f7b70c55ed79f52ad01894c744c69d
3
+ size 267832560