hf_mirrors/kogpt-openmind
Model Introduction
Files & versions
Analysis

KoGPT

KakaoBrain project KoGPT (Korean Generative Pre-trained Transformer) https://github.com/kakaobrain/kogpt https://huggingface.co/kakaobrain/kogpt

Pretrained GPT2 with expanded n_ctx up to 2048(also with expanded embedding dimension to 1536) in Korean.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

MetricValue
Avg.24.27
ARC (25-shot)21.16
HellaSwag (10-shot)28.11
MMLU (5-shot)26.56
TruthfulQA (0-shot)42.06
Winogrande (5-shot)49.09
GSM8K (5-shot)0.0
DROP (3-shot)2.89

How to use

from openmind import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained('pretrainmodel/kogpt')
model = AutoModel.from_pretrained('pretrainmodel/kogpt')
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
print(output)