Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ tokenizer = ByT5Tokenizer.from_pretrained('saadamin2k13/byT5_ft_generation', max
|
|
| 37 |
model = T5ForConditionalGeneration.from_pretrained('saadamin2k13/byT5_ft_generation')
|
| 38 |
|
| 39 |
# Example sentence
|
| 40 |
-
example = "male.n.02 Name
|
| 41 |
|
| 42 |
# Tokenize and prepare the input
|
| 43 |
x = tokenizer(example, return_tensors='pt', padding=True, truncation=True, max_length=512)['input_ids']
|
|
|
|
| 37 |
model = T5ForConditionalGeneration.from_pretrained('saadamin2k13/byT5_ft_generation')
|
| 38 |
|
| 39 |
# Example sentence
|
| 40 |
+
example = "male.n.02 Name 'Tom' yell.v.01 Agent -1 Time +1 time.n.08 TPR now"
|
| 41 |
|
| 42 |
# Tokenize and prepare the input
|
| 43 |
x = tokenizer(example, return_tensors='pt', padding=True, truncation=True, max_length=512)['input_ids']
|