Hnabil commited on
Commit
fdc49e8
1 Parent(s): c4c0f74

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -22,7 +22,10 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
22
  model = AutoModelForSeq2SeqLM.from_pretrained("Hnabil/t5-address-standardizer")
23
  tokenizer = AutoTokenizer.from_pretrained("Hnabil/t5-address-standardizer")
24
 
25
- inputs = tokenizer("220, soyth rhodeisland aveune, mason city, iowa, 50401, us", return_tensors="pt")
 
 
 
26
  outputs = model.generate(**inputs, max_length=100)
27
  print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
28
 
 
22
  model = AutoModelForSeq2SeqLM.from_pretrained("Hnabil/t5-address-standardizer")
23
  tokenizer = AutoTokenizer.from_pretrained("Hnabil/t5-address-standardizer")
24
 
25
+ inputs = tokenizer(
26
+ "220, soyth rhodeisland aveune, mason city, iowa, 50401, us",
27
+ return_tensors="pt"
28
+ )
29
  outputs = model.generate(**inputs, max_length=100)
30
  print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
31