MrBananaHuman
commited on
Commit
ยท
b4e616a
1
Parent(s):
270b2e1
Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@ kakao brain์์ ๊ณต๊ฐํ kogpt 6b model('kakaobrain/kogpt')์ fp16์ผ๋ก ์
|
|
2 |
|
3 |
### ์นด์นด์ค๋ธ๋ ์ธ ๋ชจ๋ธ์ fp16์ผ๋ก ๋ก๋ํ๋ ๋ฐฉ๋ฒ
|
4 |
|
5 |
-
```
|
6 |
import torch
|
7 |
from transformers import GPTJForCausalLM
|
8 |
|
@@ -11,7 +11,7 @@ model = GPTJForCausalLM.from_pretrained('kakaobrain/kogpt', cache_dir='./my_dir'
|
|
11 |
|
12 |
### fp16 ๋ชจ๋ธ ๋ก๋ ํ ๋ฌธ์ฅ ์์ฑ
|
13 |
|
14 |
-
```
|
15 |
import torch
|
16 |
from transformers import GPTJForCausalLM, AutoTokenizer
|
17 |
|
|
|
2 |
|
3 |
### ์นด์นด์ค๋ธ๋ ์ธ ๋ชจ๋ธ์ fp16์ผ๋ก ๋ก๋ํ๋ ๋ฐฉ๋ฒ
|
4 |
|
5 |
+
```python
|
6 |
import torch
|
7 |
from transformers import GPTJForCausalLM
|
8 |
|
|
|
11 |
|
12 |
### fp16 ๋ชจ๋ธ ๋ก๋ ํ ๋ฌธ์ฅ ์์ฑ
|
13 |
|
14 |
+
```python
|
15 |
import torch
|
16 |
from transformers import GPTJForCausalLM, AutoTokenizer
|
17 |
|