kairaamilanii's picture
Update README.md
208b710 verified
|
raw
history blame
326 Bytes
metadata
license: unknown
datasets:
  - fajrikoto/id_liputan6
language:
  - id
metrics:
  - rouge
base_model:
  - cahya/t5-base-indonesian-summarization-cased

model_path = "kairaamilanii/T5-AbstractiveSummarizer"

summarizer = T5ForConditionalGeneration.from_pretrained(model_path)

tokenizer = T5Tokenizer.from_pretrained(model_path)