File size: 394 Bytes
f5591b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
library_name: transformers
license: apache-2.0
language:
- ko
---

# usage
```

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

path = "mssma/ko-solar-10.7b-v0.5"
model = AutoModelForCausalLM.from_pretrained(
        path,
        return_dict=True,
        torch_dtype=torch.float16,
        device_map='auto'
)
tokenizer = AutoTokenizer.from_pretrained(path)
```