Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ from transformers import GPT2Tokenizer, GPT2LMHeadModel
|
|
28 |
tokenizer = GPT2Tokenizer.from_pretrained('NlpHUST/gpt2-vietnamese')
|
29 |
model = GPT2LMHeadModel.from_pretrained('NlpHUST/gpt2-vietnamese')
|
30 |
|
31 |
-
text = "
|
32 |
input_ids = tokenizer.encode(text, return_tensors='pt')
|
33 |
max_length = 100
|
34 |
|
|
|
28 |
tokenizer = GPT2Tokenizer.from_pretrained('NlpHUST/gpt2-vietnamese')
|
29 |
model = GPT2LMHeadModel.from_pretrained('NlpHUST/gpt2-vietnamese')
|
30 |
|
31 |
+
text = "Việt Nam là quốc gia có"
|
32 |
input_ids = tokenizer.encode(text, return_tensors='pt')
|
33 |
max_length = 100
|
34 |
|