brivil1 commited on
Commit
99afd0b
·
verified ·
1 Parent(s): 881c601

Upload DistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +40 -0
  3. model.safetensors +3 -0
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- license: apache-2.0
3
  language:
4
  - lt
5
  library_name: bertopic
 
6
  pipeline_tag: text-classification
7
  tags:
8
  - DistilBERT
 
1
  ---
 
2
  language:
3
  - lt
4
  library_name: bertopic
5
+ license: apache-2.0
6
  pipeline_tag: text-classification
7
  tags:
8
  - DistilBERT
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/notebooks/distilBERT_dataSet1_0428/checkpoint-13120",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.35,
8
+ "dim": 768,
9
+ "dropout": 0.3,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "negative",
13
+ "1": "mostly_negative",
14
+ "2": "neutral",
15
+ "3": "mostly_positive",
16
+ "4": "positive"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "label2id": {
20
+ "mostly_negative": 1,
21
+ "mostly_positive": 3,
22
+ "negative": 0,
23
+ "neutral": 2,
24
+ "positive": 4
25
+ },
26
+ "max_position_embeddings": 512,
27
+ "model_type": "distilbert",
28
+ "n_heads": 12,
29
+ "n_layers": 6,
30
+ "output_past": true,
31
+ "pad_token_id": 0,
32
+ "problem_type": "single_label_classification",
33
+ "qa_dropout": 0.1,
34
+ "seq_classif_dropout": 0.2,
35
+ "sinusoidal_pos_embds": false,
36
+ "tie_weights_": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.42.4",
39
+ "vocab_size": 119547
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c963588a76245635fb0e94b648efade77f3e6a012cd83d243b843925614f2989
3
+ size 541326604