safetensors encoder-decoder id dataset:fajrikoto/id_liputan6 base_model:cahya/bert2bert-indonesian-summarization base_model:finetune:cahya/bert2bert-indonesian-summarization license:unknown model-index region:us
---
base_model:
- cahya/bert2bert-indonesian-summarization
datasets:
- fajrikoto/id_liputan6
language:
- id
license: unknown
metrics:
- rouge
model-index:
- name: BERT2BERT-Summarizer
  results:
  - task:
      type: text-summarization
    dataset:
      name: liputan6
      type: canonical
    metrics:
    - type: Precision
      value: 0.728
      name: BERTScore-Precision
    - type: Recall
      value: 0.739
      name: BERTScore-Recall
    - type: F1
      value: 0.733
      name: BERTScore-F1
---

model_name = "kairaamilanii/BERT2BERT-AbstractiveSummarizer"

tokenizer = BertTokenizer.from_pretrained(model_name)

tokenizer.bos_token = tokenizer.cls_token

tokenizer.eos_token = tokenizer.sep_token

model = EncoderDecoderModel.from_pretrained(model_name)