masanorihirano commited on
Commit
393daf1
·
verified ·
1 Parent(s): ba04c3d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -42,6 +42,9 @@ Install the required libraries as follows:
42
 
43
  Execute the following python code:
44
  ```python
 
 
 
45
  tokenizer = AutoTokenizer.from_pretrained("pfnet/nekomata-14b-pfn-qfin", trust_remote_code=True)
46
  model = AutoModelForCausalLM.from_pretrained("pfnet/nekomata-14b-pfn-qfin", device_map="auto", trust_remote_code=True)
47
  text = "日本銀行は"
 
42
 
43
  Execute the following python code:
44
  ```python
45
+ import torch
46
+ from transformers import AutoTokenizer, AutoModelForCausalLM
47
+
48
  tokenizer = AutoTokenizer.from_pretrained("pfnet/nekomata-14b-pfn-qfin", trust_remote_code=True)
49
  model = AutoModelForCausalLM.from_pretrained("pfnet/nekomata-14b-pfn-qfin", device_map="auto", trust_remote_code=True)
50
  text = "日本銀行は"