MiriamShem commited on
Commit
b23d1a3
·
verified ·
1 Parent(s): d4709b4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -61,8 +61,8 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
61
  import torch
62
 
63
  # Load model and tokenizer
64
- model = T5ForConditionalGeneration.from_pretrained("bitz/flan-t5-child-helpline-summarizer")
65
- tokenizer = T5Tokenizer.from_pretrained("bitz/flan-t5-child-helpline-summarizer")
66
 
67
  # Generate summary
68
  def generate_summary(text: str, max_length: int = 256) -> str:
 
61
  import torch
62
 
63
  # Load model and tokenizer
64
+ model = T5ForConditionalGeneration.from_pretrained("openchs/sum-flan-t5-base-synthetic-v1")
65
+ tokenizer = T5Tokenizer.from_pretrained("openchs/sum-flan-t5-base-synthetic-v1")
66
 
67
  # Generate summary
68
  def generate_summary(text: str, max_length: int = 256) -> str: