RitaQi commited on
Commit
67becf8
·
1 Parent(s): 696eab9

RitaQi/roberta-test2

Browse files
Files changed (4) hide show
  1. README.md +51 -0
  2. config.json +2 -1
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - ag_news
8
+ model-index:
9
+ - name: roberta-test2
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
+ # roberta-test2
17
+
18
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the ag_news dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 8000
39
+ - eval_batch_size: 8000
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 5000
44
+ - num_epochs: 1
45
+
46
+ ### Framework versions
47
+
48
+ - Transformers 4.33.0
49
+ - Pytorch 2.0.1+cpu
50
+ - Datasets 2.14.4
51
+ - Tokenizers 0.13.3
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "roberta-base",
3
  "architectures": [
4
- "RobertaForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
@@ -25,6 +25,7 @@
25
  "num_hidden_layers": 12,
26
  "pad_token_id": 1,
27
  "position_embedding_type": "absolute",
 
28
  "transformers_version": "4.33.0",
29
  "type_vocab_size": 1,
30
  "use_cache": true,
 
1
  {
2
  "_name_or_path": "roberta-base",
3
  "architectures": [
4
+ "RobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
25
  "num_hidden_layers": 12,
26
  "pad_token_id": 1,
27
  "position_embedding_type": "absolute",
28
+ "torch_dtype": "float32",
29
  "transformers_version": "4.33.0",
30
  "type_vocab_size": 1,
31
  "use_cache": true,
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:222c7b0310a40f33b6ff3fcd98745b552e708907a50581f1f847574cfd717178
3
+ size 498660977
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9a362540d32339237f36ebed7a7cf65f538a2bc697d692ee3bb42f6c907b6cc
3
+ size 4091