beomi / Yi-Ko-DUS-9B

huggingface.co
Total runs: 183
24-hour runs: 7
7-day runs: 53
30-day runs: 176
Model's Last Updated: 7월 08 2024
text-generation

Introduction of Yi-Ko-DUS-9B

Model Details of Yi-Ko-DUS-9B

Update @ 2024.01.29 Released Yi-Ko(KoEN)-DUS-9B model 🎉

beomi/Yi-Ko-DUS-9B

Yi-Ko-DUS model serves as DUS-applied and advanced iterations of beomi/Yi-Ko-6B model, benefiting from an expanded vocabulary and the inclusion of Korean/English corpus in its further pretraining.

Yi-Ko-DUS model operates with 9B billion parameters.

This repository focuses on the 9B pretrained version, which is tailored to fit the Hugging Face Transformers format, trained after DUS method applied.

Model Details

Model Developers Junbum Lee (Beomi), Taekyoon Choi (Taekyoon)

Variations Yi-Ko-DUS has 9B model only.

Input Models input text only.

Output Models generate text only.

Model Architecture

Yi-Ko-DUS series models are an auto-regressive language model that uses an optimized transformer architecture based on Llama-2*.

*Yi model architecture is based on Llama2, so it can be loaded via LlamaForCausalLM class on HF.

Model Name Training Data Params Context Length GQA Trained Tokens LR Batch Size(per step)
Yi-Ko-DUS-9B A mix of Korean + English online data 9B 4k O >120B 5e -5 2M tokens

Vocab Expansion

Model Name Vocabulary Size Description
Original Yi-Series 64000 Sentencepiece BPE
Expanded Yi-Ko(DUS) Series 78464 Sentencepiece BPE. Added Korean vocab and merges

Tokenizing "안녕하세요, 오늘은 날씨가 좋네요.ㅎㅎ"

Model # of tokens Tokens
Original Yi-Series 47 ['<0xEC>', '<0x95>', '<0x88>', '<0xEB>', '<0x85>', '<0x95>', '하', '<0xEC>', '<0x84>', '<0xB8>', '<0xEC>', '<0x9A>', '<0x94>', ',', '▁', '<0xEC>', '<0x98>', '<0xA4>', '<0xEB>', '<0x8A>', '<0x98>', '은', '▁', '<0xEB>', '<0x82>', '<0xA0>', '<0xEC>', '<0x94>', '<0xA8>', '가', '▁', '<0xEC>', '<0xA2>', '<0x8B>', '<0xEB>', '<0x84>', '<0xA4>', '<0xEC>', '<0x9A>', '<0x94>', '.', '<0xE3>', '<0x85>', '<0x8E>', '<0xE3>', '<0x85>', '<0x8E>']
Expanded Yi-Ko(DUS) Series 10 ['▁안녕', '하세요', ',', '▁오늘은', '▁날', '씨가', '▁좋네요', '.', 'ㅎ', 'ㅎ']
*Equal Korean vocab with Llama-2-Ko Series

Tokenizing "Llama 2: Open Foundation and Fine-Tuned Chat Models"

Model # of tokens Tokens
Original Yi-Series 21 ['The', '▁Y', 'i', '▁series', '▁models', '▁are', '▁large', '▁language', '▁models', '▁trained', '▁from', '▁scratch', '▁by', '▁developers', '▁at', '▁', '0', '1', '.', 'AI', '.']
Expanded Yi-Ko(DUS) Series 21 ['▁The', '▁Y', 'i', '▁series', '▁models', '▁are', '▁large', '▁language', '▁models', '▁trained', '▁from', '▁scratch', '▁by', '▁developers', '▁at', '▁', '0', '1', '.', 'AI', '.']
*Equal Korean vocab with Llama-2-Ko Series *Since Expanded Yi-Ko Series prepends _ at the beginning of the text(to ensure same tokenization for Korean sentences), it shows negilible difference for the first token on English tokenization.

Model Benchmark

5-shot Korean Dataset Evaluation

KMMLU : 43.3514 (exact_match, kmmlu_direct)

KorQuAD : 80.8798 (exact_match)

NSMC : 88.352 (acc)

KOBEST COPA : 84.4831 (macro_f1)

KOBEST HellaSwag : 52.6099 (macro_f1)

Apeach: Korean HateSpeech : 63.4723 (macro_f1)

LICENSE

Apache 2.0 (for research)

For commercial purpose, mailto: [email protected] to acquire Yi-Ko sereis commercial license.

Citation

Please use this bibtex below:

@misc {lee_junbum_2024,
    author       = { {Lee Junbum, Choi Taekyoon} },
    title        = { Yi-Ko-DUS-9B },
    year         = 2024,
    url          = { https://huggingface.co/beomi/Yi-Ko-DUS-9B },
    doi          = { 10.57967/hf/1707 },
    publisher    = { Hugging Face }
}
Acknowledgement

The training is supported by TPU Research Cloud program.

Runs of beomi Yi-Ko-DUS-9B on huggingface.co

183
Total runs
7
24-hour runs
15
3-day runs
53
7-day runs
176
30-day runs

More Information About Yi-Ko-DUS-9B huggingface.co Model

More Yi-Ko-DUS-9B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Yi-Ko-DUS-9B huggingface.co

Yi-Ko-DUS-9B huggingface.co is an AI model on huggingface.co that provides Yi-Ko-DUS-9B's model effect (), which can be used instantly with this beomi Yi-Ko-DUS-9B model. huggingface.co supports a free trial of the Yi-Ko-DUS-9B model, and also provides paid use of the Yi-Ko-DUS-9B. Support call Yi-Ko-DUS-9B model through api, including Node.js, Python, http.

Yi-Ko-DUS-9B huggingface.co Url

https://huggingface.co/beomi/Yi-Ko-DUS-9B

beomi Yi-Ko-DUS-9B online free

Yi-Ko-DUS-9B huggingface.co is an online trial and call api platform, which integrates Yi-Ko-DUS-9B's modeling effects, including api services, and provides a free online trial of Yi-Ko-DUS-9B, you can try Yi-Ko-DUS-9B online for free by clicking the link below.

beomi Yi-Ko-DUS-9B online free url in huggingface.co:

https://huggingface.co/beomi/Yi-Ko-DUS-9B

Yi-Ko-DUS-9B install

Yi-Ko-DUS-9B is an open source model from GitHub that offers a free installation service, and any user can find Yi-Ko-DUS-9B on GitHub to install. At the same time, huggingface.co provides the effect of Yi-Ko-DUS-9B install, users can directly use Yi-Ko-DUS-9B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Yi-Ko-DUS-9B install url in huggingface.co:

https://huggingface.co/beomi/Yi-Ko-DUS-9B

Url of Yi-Ko-DUS-9B

Yi-Ko-DUS-9B huggingface.co Url

Provider of Yi-Ko-DUS-9B huggingface.co

beomi
ORGANIZATIONS

Other API from beomi

huggingface.co

Total runs: 6.0K
Run Growth: 3.0K
Growth Rate: 50.07%
Updated:5월 23 2024
huggingface.co

Total runs: 3.5K
Run Growth: -3.4K
Growth Rate: -97.20%
Updated:3월 30 2023
huggingface.co

Total runs: 530
Run Growth: 254
Growth Rate: 47.92%
Updated:12월 27 2023
huggingface.co

Total runs: 385
Run Growth: 228
Growth Rate: 59.22%
Updated:7월 08 2024
huggingface.co

Total runs: 365
Run Growth: 164
Growth Rate: 44.93%
Updated:3월 30 2023
huggingface.co

Total runs: 209
Run Growth: 129
Growth Rate: 61.72%
Updated:3월 26 2024
huggingface.co

Total runs: 152
Run Growth: 76
Growth Rate: 50.00%
Updated:7월 20 2023
huggingface.co

Total runs: 120
Run Growth: 19
Growth Rate: 15.83%
Updated:3월 26 2024
huggingface.co

Total runs: 111
Run Growth: 56
Growth Rate: 50.45%
Updated:6월 28 2023
huggingface.co

Total runs: 109
Run Growth: 40
Growth Rate: 36.70%
Updated:7월 11 2023
huggingface.co

Total runs: 34
Run Growth: 23
Growth Rate: 67.65%
Updated:7월 08 2024
huggingface.co

Total runs: 33
Run Growth: 21
Growth Rate: 63.64%
Updated:11월 13 2023
huggingface.co

Total runs: 32
Run Growth: 28
Growth Rate: 87.50%
Updated:3월 01 2022
huggingface.co

Total runs: 23
Run Growth: 12
Growth Rate: 52.17%
Updated:9월 15 2023
huggingface.co

Total runs: 23
Run Growth: 13
Growth Rate: 56.52%
Updated:11월 23 2021
huggingface.co

Total runs: 11
Run Growth: -5
Growth Rate: -45.45%
Updated:5월 21 2021
huggingface.co

Total runs: 9
Run Growth: 5
Growth Rate: 55.56%
Updated:5월 07 2023
huggingface.co

Total runs: 8
Run Growth: 4
Growth Rate: 50.00%
Updated:6월 11 2021
huggingface.co

Total runs: 6
Run Growth: 5
Growth Rate: 83.33%
Updated:3월 08 2023
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:6월 29 2023
huggingface.co

Total runs: 3
Run Growth: -5
Growth Rate: -166.67%
Updated:5월 04 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:2월 10 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:6월 10 2021