daekeun-ml commited on
Commit
7f537ee
·
verified ·
1 Parent(s): fbb22ce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -124,7 +124,7 @@ from transformers import PhiForCausalLM, AutoModelForCausalLM, AutoTokenizer
124
  torch.set_default_device("cuda")
125
 
126
  # Load model and tokenizer
127
- model = PhiForCausalLM.from_pretrained("daekeun-ml/phi-2-ko-v0.1", torch_dtype="auto")
128
  tokenizer = AutoTokenizer.from_pretrained("daekeun-ml/phi-2-ko-v0.1", trust_remote_code=True)
129
 
130
  # Korean
 
124
  torch.set_default_device("cuda")
125
 
126
  # Load model and tokenizer
127
+ model = AutoModelForCausalLM.from_pretrained("daekeun-ml/phi-2-ko-v0.1", torch_dtype="auto")
128
  tokenizer = AutoTokenizer.from_pretrained("daekeun-ml/phi-2-ko-v0.1", trust_remote_code=True)
129
 
130
  # Korean