kairaamilanii commited on
Commit
5c5ae5b
1 Parent(s): 6176862

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -3
README.md CHANGED
@@ -1,3 +1,21 @@
1
- ---
2
- license: unknown
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: unknown
3
+ datasets:
4
+ - fajrikoto/id_liputan6
5
+ language:
6
+ - id
7
+ metrics:
8
+ - rouge
9
+ base_model:
10
+ - cahya/bert2bert-indonesian-summarization
11
+ ---
12
+
13
+ model_name = "kairaamilanii/BERT2BERT-AbstractiveSummarizer"
14
+
15
+ tokenizer = BertTokenizer.from_pretrained(model_name)
16
+
17
+ tokenizer.bos_token = tokenizer.cls_token
18
+
19
+ tokenizer.eos_token = tokenizer.sep_token
20
+
21
+ model = EncoderDecoderModel.from_pretrained(model_name)