wanyu commited on
Commit
1674da3
1 Parent(s): ba7c929

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -56,8 +56,8 @@ The edit intentions are provided by [IteraTeR-full-sent](https://huggingface.co/
56
  ```python
57
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
58
 
59
- tokenizer = AutoTokenizer.from_pretrained("wanyu/IteraTeR-BART")
60
- model = AutoModelForSeq2SeqLM.from_pretrained("wanyu/IteraTeR-BART")
61
  before_input = '<fluency> I likes coffee.'
62
  model_input = tokenizer(before_input, return_tensors='pt')
63
  model_outputs = model.generate(**model_input, num_beams=8, max_length=1024)
 
56
  ```python
57
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
58
 
59
+ tokenizer = AutoTokenizer.from_pretrained("wanyu/IteraTeR-BART-Revision-Generator")
60
+ model = AutoModelForSeq2SeqLM.from_pretrained("wanyu/IteraTeR-BART-Revision-Generator")
61
  before_input = '<fluency> I likes coffee.'
62
  model_input = tokenizer(before_input, return_tensors='pt')
63
  model_outputs = model.generate(**model_input, num_beams=8, max_length=1024)