XiaoZhang98
commited on
Commit
·
ca7f5f2
1
Parent(s):
b5ae030
Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained('XiaoZhang98/byT5-DRS', max_length=512
|
|
10 |
model = T5ForConditionalGeneration.from_pretrained("XiaoZhang98/byT5-DRS")
|
11 |
|
12 |
# Example sentence
|
13 |
-
example = "
|
14 |
|
15 |
# Tokenize and prepare the input
|
16 |
x = tokenizer(example, return_tensors='pt', padding=True, truncation=True, max_length=512)['input_ids']
|
|
|
10 |
model = T5ForConditionalGeneration.from_pretrained("XiaoZhang98/byT5-DRS")
|
11 |
|
12 |
# Example sentence
|
13 |
+
example = "I am a student."
|
14 |
|
15 |
# Tokenize and prepare the input
|
16 |
x = tokenizer(example, return_tensors='pt', padding=True, truncation=True, max_length=512)['input_ids']
|