Update @ 2023.12.01 Alpha Release of Yi-Ko(KoEN)-6B model 🎉
beomi/Yi-Ko-6B
Yi-Ko series models serve as advanced iterations of 01-ai/Yi models,
benefiting from an expanded vocabulary and the inclusion of Korean/English corpus in its further pretraining.
Just like its predecessor, Yi-Ko series models operate within the broad range of generative text models that stretch from 6 billion to 34 billion parameters.
This repository focuses on the
6B
pretrained version,
which is tailored to fit the Hugging Face Transformers format.
For access to the other models, feel free to consult the index provided below.
Model Details
Model Developers
Junbum Lee (Beomi)
Variations
Yi-Ko series will come in a range of parameter sizes — 6B and 34B variations.
Input
Models input text only.
Output
Models generate text only.
Model Architecture
Yi-Ko 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.
*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
LM Eval Harness - Korean (polyglot branch)
beomi/Yi-Ko-6B
0
5
10
50
kobest_boolq (macro_f1)
0.705806
0.79905
0.814299
0.81704
kobest_copa (macro_f1)
0.775604
0.808899
0.816866
0.842943
kobest_hellaswag (macro_f1)
0.500876
0.498673
0.493507
0.492183
kobest_sentineg (macro_f1)
0.404371
0.967254
0.982368
0.974811
kohatespeech (macro_f1)
0.353428
0.351804
0.402423
0.503764
kohatespeech_apeach (macro_f1)
0.337667
0.498679
0.471962
0.608401
kohatespeech_gen_bias (macro_f1)
0.124535
0.484745
0.474475
0.461714
korunsmile (f1)
0.382804
0.349344
0.391383
0.432875
nsmc (acc)
0.55064
0.8801
0.89866
0.9071
pawsx_ko (acc)
0.5145
0.54
0.538
0.5165
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} },
title = { Yi-Ko-6B (Revision 205083a) },
year = 2024,
url = { https://huggingface.co/beomi/Yi-Ko-6B },
doi = { 10.57967/hf/1708 },
publisher = { Hugging Face }
}
Yi-Ko-6B huggingface.co is an AI model on huggingface.co that provides Yi-Ko-6B's model effect (), which can be used instantly with this beomi Yi-Ko-6B model. huggingface.co supports a free trial of the Yi-Ko-6B model, and also provides paid use of the Yi-Ko-6B. Support call Yi-Ko-6B model through api, including Node.js, Python, http.
Yi-Ko-6B huggingface.co is an online trial and call api platform, which integrates Yi-Ko-6B's modeling effects, including api services, and provides a free online trial of Yi-Ko-6B, you can try Yi-Ko-6B online for free by clicking the link below.
Yi-Ko-6B is an open source model from GitHub that offers a free installation service, and any user can find Yi-Ko-6B on GitHub to install. At the same time, huggingface.co provides the effect of Yi-Ko-6B install, users can directly use Yi-Ko-6B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.