SO0529 commited on
Commit
09291e0
1 Parent(s): 56d755d
Files changed (1) hide show
  1. README.md +1 -1
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 = lm_model.generate(
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,