saadamin2k13 commited on
Commit
ea045f4
1 Parent(s): c93675d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -25,10 +25,10 @@ Furthermore, we enriched the gold_silver flavors of PMB (release 5.0.0) with dif
25
 
26
  To use the model, follow the code below for a quick response.
27
 
28
- from transformers import AutoTokenizer, T5ForConditionalGeneration
29
 
30
  # Initialize the tokenizer and model
31
- tokenizer = AutoTokenizer.from_pretrained('saadamin2k13/byT5_ft_semantic_parser', max_length=512)
32
 
33
  model = T5ForConditionalGeneration.from_pretrained('saadamin2k13/byT5_ft_semantic_parser')
34
 
 
25
 
26
  To use the model, follow the code below for a quick response.
27
 
28
+ from transformers import ByT5Tokenizer, T5ForConditionalGeneration
29
 
30
  # Initialize the tokenizer and model
31
+ tokenizer = ByT5Tokenizer.from_pretrained('saadamin2k13/byT5_ft_semantic_parser', max_length=512)
32
 
33
  model = T5ForConditionalGeneration.from_pretrained('saadamin2k13/byT5_ft_semantic_parser')
34