nihaldsouza1 commited on
Commit
2551631
1 Parent(s): 62f5b61

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +11 -10
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,27 +1,28 @@
1
  {
2
- "_name_or_path": "/content/drive/MyDrive/mds/585/COLX_585-COVID-Racism/models/stage_2",
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-12,
15
- "max_position_embeddings": 512,
16
- "model_type": "bert",
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
- "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
  "problem_type": "single_label_classification",
22
  "torch_dtype": "float32",
23
- "transformers_version": "4.18.0",
24
- "type_vocab_size": 2,
25
  "use_cache": true,
26
- "vocab_size": 30522
27
  }
 
1
  {
2
+ "_name_or_path": "roberta-base",
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
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
  "position_embedding_type": "absolute",
22
  "problem_type": "single_label_classification",
23
  "torch_dtype": "float32",
24
+ "transformers_version": "4.24.0",
25
+ "type_vocab_size": 1,
26
  "use_cache": true,
27
+ "vocab_size": 50265
28
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:90ed8a62fc0e63ec090f4062ff82b3ba9c4745e934a2744b6698ccbfe04fa993
3
- size 438006125
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cebf5a81089c15e8e4daea170dc12429855146d983dd4cf91b25618bbe5df7c0
3
+ size 498660333