puzzz21 commited on
Commit
c5ddfec
1 Parent(s): bfaf02c

classify polarity

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/scibert_scivocab_uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "n",
13
+ "1": "p",
14
+ "2": "o"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "n": 0,
20
+ "o": 2,
21
+ "p": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.25.1",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 31090
36
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d664b18b3d7cbea43d3cdf9213dcbe8646f6e3ef87bf14add428e236cf5b13
3
+ size 879478469
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b794363dd294319b81694e132b20531cfc05de889e0874270cde088204608771
3
+ size 439753077
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58e6fcef56a951a78af2e12370444e6b9da79f4cac74fd6145d2af4d5d2a12f1
3
+ size 13553
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9072ab4224962775a3229597495659d88aad06a8801601b22e23ab088a1d091
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "name_or_path": "allenai/scibert_scivocab_uncased",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
trainer_state.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3044271469116211,
3
+ "best_model_checkpoint": "sci_sentiment_neg/checkpoint-465",
4
+ "epoch": 2.0,
5
+ "global_step": 930,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "eval_accuracy": 0.8810068649885584,
13
+ "eval_loss": 0.3044271469116211,
14
+ "eval_runtime": 91.5393,
15
+ "eval_samples_per_second": 14.322,
16
+ "eval_steps_per_second": 0.896,
17
+ "step": 465
18
+ },
19
+ {
20
+ "epoch": 1.08,
21
+ "learning_rate": 9.24731182795699e-06,
22
+ "loss": 0.32,
23
+ "step": 500
24
+ },
25
+ {
26
+ "epoch": 2.0,
27
+ "eval_accuracy": 0.8863463005339436,
28
+ "eval_loss": 0.3191782236099243,
29
+ "eval_runtime": 91.0762,
30
+ "eval_samples_per_second": 14.395,
31
+ "eval_steps_per_second": 0.9,
32
+ "step": 930
33
+ }
34
+ ],
35
+ "max_steps": 930,
36
+ "num_train_epochs": 2,
37
+ "total_flos": 1226925617108940.0,
38
+ "trial_name": null,
39
+ "trial_params": null
40
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86687d708ad35353cc1b69b6467856e8cbdb0dacf61b80bcac586b9ed96c2198
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff