MYC007 commited on
Commit
a1d1ffe
·
1 Parent(s): a0b234c

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +5 -0
  2. config.json +23 -0
README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ A fake news detector using RoBERTa.
2
+
3
+ Dataset: https://www.kaggle.com/clmentbisaillon/fake-and-real-news-dataset
4
+
5
+ Training involved using hyperparameter search with 10 trials.
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./model",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
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
+ "type_vocab_size": 1,
22
+ "vocab_size": 50265
23
+ }