wow2000 commited on
Commit
02e648b
·
verified ·
1 Parent(s): 6089081

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ja
3
+ tags:
4
+ - japanese
5
+ - fake-news-detection
6
+ - text-classification
7
+ license: mit
8
+ ---
9
+
10
+ # Japanese Fake News Detector
11
+
12
+ ```
13
+ self.bert = BertModel.from_pretrained(model_name, output_hidden_states=True)
14
+ self.n_layers = n_layers
15
+ hidden_size = 768 * n_layers
16
+ self.dropout = nn.Dropout(0.1)
17
+ self.classifier = nn.Linear(hidden_size, 3)
18
+ ```
19
+