sudy-super
commited on
Commit
•
97ffa09
1
Parent(s):
eccb765
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ import torch
|
|
16 |
tokenizer = AutoTokenizer.from_pretrained("sudy-super/baku-10b")
|
17 |
model = AutoModelForCausalLM.from_pretrained("sudy-super/baku-10b", device_map="auto", torch_dtype=torch.bfloat16)
|
18 |
|
19 |
-
prompt = "
|
20 |
token_ids = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
|
21 |
with torch.no_grad():
|
22 |
output_ids = model.generate(
|
|
|
16 |
tokenizer = AutoTokenizer.from_pretrained("sudy-super/baku-10b")
|
17 |
model = AutoModelForCausalLM.from_pretrained("sudy-super/baku-10b", device_map="auto", torch_dtype=torch.bfloat16)
|
18 |
|
19 |
+
prompt = "大規模言語モデルとは、"
|
20 |
token_ids = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
|
21 |
with torch.no_grad():
|
22 |
output_ids = model.generate(
|