mhr2004 commited on
Commit
8ca9461
1 Parent(s): 86a7464

mhr2004/base-nsp-10000

Browse files
Files changed (4) hide show
  1. README.md +66 -0
  2. config.json +38 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: mhr2004/plm-nsp-10000
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: base-nsp-10000
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # base-nsp-10000
17
+
18
+ This model is a fine-tuned version of [mhr2004/plm-nsp-10000](https://huggingface.co/mhr2004/plm-nsp-10000) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8886
21
+ - Accuracy: 0.4717
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 1e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 20
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.9837 | 1.0 | 183 | 0.8747 | 0.4703 |
53
+ | 0.9294 | 2.0 | 366 | 0.8611 | 0.4577 |
54
+ | 0.8769 | 3.0 | 549 | 0.8751 | 0.4730 |
55
+ | 0.8351 | 4.0 | 732 | 0.8768 | 0.5054 |
56
+ | 0.8143 | 5.0 | 915 | 0.8789 | 0.4973 |
57
+ | 0.7892 | 6.0 | 1098 | 0.8924 | 0.4802 |
58
+ | 0.7748 | 7.0 | 1281 | 0.8990 | 0.5045 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.40.1
64
+ - Pytorch 2.3.0+cu121
65
+ - Datasets 2.19.0
66
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mhr2004/plm-nsp-10000",
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
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.40.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1a877a7660c01df72fa7d1273e36f95e3680bd2600a1a13d6a5f0bfe2c5da90
3
+ size 498615900
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a5b19499ee4cae4afd29c35ac6c6734b5b2039c0892f147692e261f4c6f4b0e
3
+ size 4920