POKWIR commited on
Commit
35321b0
·
verified ·
1 Parent(s): 696cbc7

Upload BertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +11 -6
  2. config.json +9 -21
  3. model.safetensors +1 -1
README.md CHANGED
@@ -8,12 +8,17 @@ license: mit
8
  pipeline_tag: text-classification
9
  library_name: transformers
10
  widget:
11
- - text: "I had surgery last month. and I was very impressed with the quality of service from the moment I got in till I left. Also I like to mention the nurses they were out standing"
12
- example_title: "Positive"
13
- - text: "I received the update and will review it later this week."
14
- example_title: "Neutral"
15
- - text: "Dirty. Generally poor attitude among the nurses, even the good know the place sucks. When patients are crying for help nurse should not be busy watching Tik-Tok. Too many mistakes made too often. Teaching nurses instructing student nurse procedures incorrectly. Yes, it is bad."
16
- example_title: "Negative"
 
 
 
 
 
17
  base_model:
18
  - google/bert_uncased_L-2_H-128_A-2
19
  ---
 
8
  pipeline_tag: text-classification
9
  library_name: transformers
10
  widget:
11
+ - text: I had surgery last month. and I was very impressed with the quality of service
12
+ from the moment I got in till I left. Also I like to mention the nurses they were
13
+ out standing
14
+ example_title: Positive
15
+ - text: I received the update and will review it later this week.
16
+ example_title: Neutral
17
+ - text: Dirty. Generally poor attitude among the nurses, even the good know the place
18
+ sucks. When patients are crying for help nurse should not be busy watching Tik-Tok.
19
+ Too many mistakes made too often. Teaching nurses instructing student nurse procedures
20
+ incorrectly. Yes, it is bad.
21
+ example_title: Negative
22
  base_model:
23
  - google/bert_uncased_L-2_H-128_A-2
24
  ---
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -10,30 +9,18 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
-
14
  "id2label": {
15
- "0": "Neutral",
16
- "1": "Positive",
17
- "2": "Negative"
18
  },
19
- "label2id": {
20
- "Neutral": 0,
21
- "Positive": 1,
22
- "Negative": 2
23
- },
24
-
25
- "problem_type": "single_label_classification",
26
-
27
- "task_specific_params": {
28
- "text-classification": {
29
- "max_length": 256,
30
- "truncation": true
31
- }
32
- },
33
- "pipeline_tag": "text-classification",
34
-
35
  "initializer_range": 0.02,
36
  "intermediate_size": 3072,
 
 
 
 
 
37
  "layer_norm_eps": 1e-12,
38
  "max_position_embeddings": 512,
39
  "model_type": "bert",
@@ -41,6 +28,7 @@
41
  "num_hidden_layers": 12,
42
  "pad_token_id": 0,
43
  "position_embedding_type": "absolute",
 
44
  "transformers_version": "4.57.3",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
 
1
  {
 
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
12
  "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
  "model_type": "bert",
 
28
  "num_hidden_layers": 12,
29
  "pad_token_id": 0,
30
  "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
  "transformers_version": "4.57.3",
33
  "type_vocab_size": 2,
34
  "use_cache": true,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d134f73b846df896b65f1c51535d2cf2c27499b7cc95373f9f3b5dfd258efb8
3
  size 437961724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c06728514aa1bbd54194261a382b9266ddaaeaaaaafd3bd07d06093c8f4216
3
  size 437961724