rowjak commited on
Commit
382681d
1 Parent(s): c2e0952

update readme

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -5,6 +5,8 @@ language:
5
  - id
6
  base_model:
7
  - cahya/bert2bert-indonesian-summarization
 
 
8
  ---
9
 
10
  # Fine-Tuned BERT2BERT Summarization Model
@@ -33,7 +35,7 @@ ARTICLE = ""
33
  # generate summary
34
  input_ids = tokenizer.encode(ARTICLE, return_tensors='pt')
35
  summary_ids = model.generate(input_ids,
36
- max_length=100,
37
  num_beams=2,
38
  repetition_penalty=2.5,
39
  length_penalty=1.0,
 
5
  - id
6
  base_model:
7
  - cahya/bert2bert-indonesian-summarization
8
+ library: transformers
9
+ pipeline_tag: Summarization
10
  ---
11
 
12
  # Fine-Tuned BERT2BERT Summarization Model
 
35
  # generate summary
36
  input_ids = tokenizer.encode(ARTICLE, return_tensors='pt')
37
  summary_ids = model.generate(input_ids,
38
+ max_length=125,
39
  num_beams=2,
40
  repetition_penalty=2.5,
41
  length_penalty=1.0,