File size: 1,125 Bytes
05155ac 80ad435 5c8ef26 80ad435 5c8ef26 80ad435 5c8ef26 80ad435 b6a33cf 51090b1 a419eb1 fc807ae e1c5c60 51090b1 e1c5c60 51090b1 e1c5c60 51090b1 e1c5c60 a419eb1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
---
license: unknown
datasets:
- fajrikoto/id_liputan6
language:
- id
metrics:
- rouge
base_model:
- cahya/bert2bert-indonesian-summarization
pipeline_tag: summarization
model-index:
- name: BERT2BERT-Summarizer
results:
- task:
type: text-summarization
dataset:
name: liputan6
type: canonical
metrics:
- name: ROUGE-1
type: ROUGE-1
value: 0.484
- task:
type: text-summarization
dataset:
name: liputan6
type: canonical
metrics:
- name: ROUGE-2
type: ROUGE-2
value: 0.399
- task:
type: text-summarization
dataset:
name: liputan6
type: canonical
metrics:
- name: ROUGE-L
type: ROUGE-L
value: 0.447
---
model_name = "kairaamilanii/BERT2BERT-ExtractiveSummarizer"
tokenizer = BertTokenizer.from_pretrained(model_name)
tokenizer.bos_token = tokenizer.cls_token
tokenizer.eos_token = tokenizer.sep_token
model = EncoderDecoderModel.from_pretrained(model_name) |