Update README.md
Browse files
README.md
CHANGED
@@ -13,8 +13,8 @@ A100の4枚の環境がおすすめです
|
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
14 |
import torch
|
15 |
|
16 |
-
tokenizer = AutoTokenizer.from_pretrained("lightblue/
|
17 |
-
model = AutoModelForCausalLM.from_pretrained("lightblue/
|
18 |
|
19 |
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
20 |
|
|
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
14 |
import torch
|
15 |
|
16 |
+
tokenizer = AutoTokenizer.from_pretrained("lightblue/ao-karasu-72B")
|
17 |
+
model = AutoModelForCausalLM.from_pretrained("lightblue/ao-karasu-72B", device_map="auto")
|
18 |
|
19 |
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
20 |
|