jhonacmarvik commited on
Commit
91756c7
·
verified ·
1 Parent(s): 53e93f9

Initial upload of fine-tuned DistilBERT command classifier

Browse files
Files changed (2) hide show
  1. config.json +33 -33
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,33 +1,33 @@
1
- {
2
- "_name_or_path": "./distilbert-command-classifier_v4",
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
- "id2label": {
12
- "0": "command",
13
- "1": "question"
14
- },
15
- "initializer_range": 0.02,
16
- "label2id": {
17
- "command": 0,
18
- "question": 1
19
- },
20
- "max_position_embeddings": 512,
21
- "model_type": "distilbert",
22
- "n_heads": 12,
23
- "n_layers": 6,
24
- "pad_token_id": 0,
25
- "problem_type": "single_label_classification",
26
- "qa_dropout": 0.1,
27
- "seq_classif_dropout": 0.2,
28
- "sinusoidal_pos_embds": false,
29
- "tie_weights_": true,
30
- "torch_dtype": "float32",
31
- "transformers_version": "4.41.1",
32
- "vocab_size": 30522
33
- }
 
1
+ {
2
+ "_name_or_path": "./distilbert-command-classifier",
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
+ "id2label": {
12
+ "0": "command",
13
+ "1": "question"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "command": 0,
18
+ "question": 1
19
+ },
20
+ "max_position_embeddings": 512,
21
+ "model_type": "distilbert",
22
+ "n_heads": 12,
23
+ "n_layers": 6,
24
+ "pad_token_id": 0,
25
+ "problem_type": "single_label_classification",
26
+ "qa_dropout": 0.1,
27
+ "seq_classif_dropout": 0.2,
28
+ "sinusoidal_pos_embds": false,
29
+ "tie_weights_": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.46.3",
32
+ "vocab_size": 30522
33
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:869e66e38c6c13a3e3d43068103b6354d3423dba31f29f4d14d20eba218efa74
3
  size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26ad8770e2b045c4f4e6b60444adf421a8c4d6fa819d6bd0307f6219d92cb538
3
  size 267832560