MarkrAI/kyujin-Poly-platypus-ko-12.8b

Model

2

stars

19

commits

4

linked in READMEs

Sep 11, 2024

updated

endpoints_compatible
gpt_neox
pytorch
safetensors
text-generation
text-generation-inference
transformers

README

(주)미디어그룹사람과숲과 (주)마커의 LLM 연구 컨소시엄에서 개발된 모델입니다
The license is cc-by-nc-sa-4.0.

Poly-platypus-ko

img
Polyglot-ko + KO-platypus2 = Poly-platypus-ko

Model Details

Model Developers Kyujin Han (kyujinpy)

Input Models input text only.

Output Models generate text only.

Model Architecture
Poly-platypus-ko is an auto-regressive language model based on the polyglot-ko transformer architecture.

Repo Link
Github KO-platypus2: KO-platypus2
Github Poly-platypus-ko: Poly-platypus-ko

Base Model
Polyglot-ko-12.8b

Fine-tuning method
Same as KO-Platypus2.

Training Dataset
I use KOpen-platypus dataset.
I use A100 GPU 40GB and COLAB, when trianing.


Model Bechmark1

KO-LLM leaderboard

img

ModelAverageKo-ARCKo-HellaSwagKo-MMLUKo-TruthfulQAKo-CommonGen V2
Poly-platypus-ko-12.8b(ours)44.9535.1550.3925.5838.7474.88
KoT-platypus2-7B45.6238.0549.6334.6837.6968.08
KO-platypus2-7B-EX45.4139.0850.8634.6037.9464.55
42MARU/polyglot-ko-12.8b-instruct43.8936.3551.5926.3845.1659.98
FINDA-FIT/llama-p43.6339.5950.7433.8538.0955.87

Compare with Top 4 SOTA models. (update: 10/01)


Model Benchmark2

LM Eval Harness - Korean (polyglot branch)

Question Answering (QA)

COPA (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.77450.76760.77750.7887
Polyglot-ko-12.8b0.79370.81080.80370.8369
Llama-2-Ko-7b 20B0.73880.76260.78080.7979
Llama-2-Ko-7b 40B0.74360.79270.80370.8259
KO-platypus2-7B-EX0.75090.78990.80290.8290
KoT-platypus2-7B0.75170.78680.80090.8239
Poly-platypus-ko-12.8b(ours)0.78760.80990.80080.8239

Natural Language Inference (NLI; 자연어 추론 평가)

HellaSwag (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.59760.59980.59790.6208
Polyglot-ko-12.8b0.59540.63060.60980.6118
Llama-2-Ko-7b 20B0.45180.46680.47260.4828
Llama-2-Ko-7b 40B0.45620.46570.46980.4774
KO-platypus2-7B-EX0.45710.44610.43710.4525
KoT-platypus2-7B0.44320.43820.45500.4534
Poly-platypus-ko-12.8b(ours)0.48380.48580.50050.5062

Question Answering (QA)

BoolQ (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.43560.56980.51870.5236
Polyglot-ko-12.8b0.48180.60410.62890.6448
Llama-2-Ko-7b 20B0.36070.67970.68010.6622
Llama-2-Ko-7b 40B0.57860.69770.70840.7144
KO-platypus2-7B-EX0.60280.69790.70160.6988
KoT-platypus2-7B0.61420.67570.68390.6878
Poly-platypus-ko-12.8b(ours)0.48880.65200.65680.6835

Classification

SentiNeg (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.33940.88410.88080.9521
Polyglot-ko-12.8b0.91170.90150.93450.9723
Llama-2-Ko-7b 20B0.48550.82950.87110.8513
Llama-2-Ko-7b 40B0.45940.76110.72760.9370
KO-platypus2-7B-EX0.58210.76530.79910.8643
KoT-platypus2-7B0.61270.71990.75310.8381
Poly-platypus-ko-12.8b(ours)0.84900.95970.97230.9847

Implementation Code

### KO-Platypus
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

repo = "MarkrAI/kyujin-Poly-platypus-ko-12.8b"
CoT-llama = AutoModelForCausalLM.from_pretrained(
        repo,
        return_dict=True,
        torch_dtype=torch.float16,
        device_map='auto'
)
CoT-llama_tokenizer = AutoTokenizer.from_pretrained(repo)

Readme format: kyujinpy/KoT-platypus2-7B


Contributors

kyujinpy

18 commits

SFconvertbot

1 commits

MarkrAI/kyujin-Poly-platypus-ko-12.8b

Model

2

stars

19

commits

4

linked in READMEs

Sep 11, 2024

updated

endpoints_compatible
gpt_neox
pytorch
safetensors
text-generation
text-generation-inference
transformers

README

(주)미디어그룹사람과숲과 (주)마커의 LLM 연구 컨소시엄에서 개발된 모델입니다
The license is cc-by-nc-sa-4.0.

Poly-platypus-ko

img
Polyglot-ko + KO-platypus2 = Poly-platypus-ko

Model Details

Model Developers Kyujin Han (kyujinpy)

Input Models input text only.

Output Models generate text only.

Model Architecture
Poly-platypus-ko is an auto-regressive language model based on the polyglot-ko transformer architecture.

Repo Link
Github KO-platypus2: KO-platypus2
Github Poly-platypus-ko: Poly-platypus-ko

Base Model
Polyglot-ko-12.8b

Fine-tuning method
Same as KO-Platypus2.

Training Dataset
I use KOpen-platypus dataset.
I use A100 GPU 40GB and COLAB, when trianing.


Model Bechmark1

KO-LLM leaderboard

img

ModelAverageKo-ARCKo-HellaSwagKo-MMLUKo-TruthfulQAKo-CommonGen V2
Poly-platypus-ko-12.8b(ours)44.9535.1550.3925.5838.7474.88
KoT-platypus2-7B45.6238.0549.6334.6837.6968.08
KO-platypus2-7B-EX45.4139.0850.8634.6037.9464.55
42MARU/polyglot-ko-12.8b-instruct43.8936.3551.5926.3845.1659.98
FINDA-FIT/llama-p43.6339.5950.7433.8538.0955.87

Compare with Top 4 SOTA models. (update: 10/01)


Model Benchmark2

LM Eval Harness - Korean (polyglot branch)

Question Answering (QA)

COPA (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.77450.76760.77750.7887
Polyglot-ko-12.8b0.79370.81080.80370.8369
Llama-2-Ko-7b 20B0.73880.76260.78080.7979
Llama-2-Ko-7b 40B0.74360.79270.80370.8259
KO-platypus2-7B-EX0.75090.78990.80290.8290
KoT-platypus2-7B0.75170.78680.80090.8239
Poly-platypus-ko-12.8b(ours)0.78760.80990.80080.8239

Natural Language Inference (NLI; 자연어 추론 평가)

HellaSwag (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.59760.59980.59790.6208
Polyglot-ko-12.8b0.59540.63060.60980.6118
Llama-2-Ko-7b 20B0.45180.46680.47260.4828
Llama-2-Ko-7b 40B0.45620.46570.46980.4774
KO-platypus2-7B-EX0.45710.44610.43710.4525
KoT-platypus2-7B0.44320.43820.45500.4534
Poly-platypus-ko-12.8b(ours)0.48380.48580.50050.5062

Question Answering (QA)

BoolQ (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.43560.56980.51870.5236
Polyglot-ko-12.8b0.48180.60410.62890.6448
Llama-2-Ko-7b 20B0.36070.67970.68010.6622
Llama-2-Ko-7b 40B0.57860.69770.70840.7144
KO-platypus2-7B-EX0.60280.69790.70160.6988
KoT-platypus2-7B0.61420.67570.68390.6878
Poly-platypus-ko-12.8b(ours)0.48880.65200.65680.6835

Classification

SentiNeg (F1)

Model0-shot5-shot10-shot50-shot
Polyglot-ko-5.8b0.33940.88410.88080.9521
Polyglot-ko-12.8b0.91170.90150.93450.9723
Llama-2-Ko-7b 20B0.48550.82950.87110.8513
Llama-2-Ko-7b 40B0.45940.76110.72760.9370
KO-platypus2-7B-EX0.58210.76530.79910.8643
KoT-platypus2-7B0.61270.71990.75310.8381
Poly-platypus-ko-12.8b(ours)0.84900.95970.97230.9847

Implementation Code

### KO-Platypus
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

repo = "MarkrAI/kyujin-Poly-platypus-ko-12.8b"
CoT-llama = AutoModelForCausalLM.from_pretrained(
        repo,
        return_dict=True,
        torch_dtype=torch.float16,
        device_map='auto'
)
CoT-llama_tokenizer = AutoTokenizer.from_pretrained(repo)

Readme format: kyujinpy/KoT-platypus2-7B


Contributors

kyujinpy

18 commits

SFconvertbot

1 commits