Downloads · 30 days
17
14% of all-time downloads
juandeun/korean-gpt-quick-test
korean-gpt-quick-test is a machine learning model from juandeun. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
17
14% of all-time downloads
All-time downloads
124
Public
Parameters
11.7M
376 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin46.7 MB · 50%
From the Hugging Face model README
한국어 GPT 모델입니다.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained(
"oz1115/korean-gpt-quick-test",
trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
"oz1115/korean-gpt-quick-test",
trust_remote_code=True
)
inputs = tokenizer("안녕하세요", return_tensors="pt")
outputs = model.generate(**inputs, max_length=50)
print(tokenizer.decode(outputs[0]))