Mr-Vicky-01 commited on
Commit
138506a
1 Parent(s): 265a664

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -54,8 +54,8 @@ provided a simple snippet of how to use this model for the task of paragraph sum
54
  ```python
55
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
56
 
57
- tokenizer = AutoTokenizer.from_pretrained("Mr-Vicky-01/conversational_sumarization")
58
- model = AutoModelForSeq2SeqLM.from_pretrained("Mr-Vicky-01/conversational_sumarization")
59
 
60
  def generate_summary(text):
61
  inputs = tokenizer([text], max_length=1024, return_tensors='pt', truncation=True)
 
54
  ```python
55
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
56
 
57
+ tokenizer = AutoTokenizer.from_pretrained("Mr-Vicky-01/Bart-Finetuned-conversational-summarization")
58
+ model = AutoModelForSeq2SeqLM.from_pretrained("Mr-Vicky-01/Bart-Finetuned-conversational-summarization")
59
 
60
  def generate_summary(text):
61
  inputs = tokenizer([text], max_length=1024, return_tensors='pt', truncation=True)