SO0529
commited on
Commit
•
09291e0
1
Parent(s):
56d755d
fix typo
Browse files
README.md
CHANGED
@@ -65,7 +65,7 @@ model = AutoModelForCausalLM.from_pretrained("abeja/gpt-neox-japanese-2.7b")
|
|
65 |
|
66 |
input_text = "人とAIが協調するためには、"
|
67 |
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
68 |
-
gen_tokens =
|
69 |
input_ids,
|
70 |
max_length=100,
|
71 |
do_sample=True,
|
|
|
65 |
|
66 |
input_text = "人とAIが協調するためには、"
|
67 |
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
68 |
+
gen_tokens = model.generate(
|
69 |
input_ids,
|
70 |
max_length=100,
|
71 |
do_sample=True,
|