beomi / Mistral-Ko-Inst-dev

huggingface.co
Total runs: 12
24-hour runs: 1
7-day runs: 0
30-day runs: 1
Model's Last Updated: March 19 2024
text-generation

Introduction of Mistral-Ko-Inst-dev

Model Details of Mistral-Ko-Inst-dev

Experimental Repository :)

Contents will updated without any notice at all. If you plan to use this repository, please use with revision with git hash.

This experiment is aimed to:

  • Maintain NLU capability of Mistral-Instruct model(mistralai/Mistral-7B-Instruct-v0.1)
  • Adapt new Korean vocab seamlessly
  • Use minimal dataset (used Korean wikipedia only)
  • Computationally efficient method
  • Let model answer using English knowledge and NLU capability even the question/answer is Korean only.

Here's some test:

from transformers import pipeline
from transformers import AutoTokenizer, AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    'beomi/Mistral-Ko-Inst-dev',
    torch_dtype='auto',
    device_map='auto',
)
tokenizer = AutoTokenizer.from_pretrained('beomi/Mistral-Ko-Inst-dev')

pipe = pipeline(
    'text-generation', 
    model=model, 
    tokenizer=tokenizer, 
    do_sample=True,
    max_new_tokens=350, 
    return_full_text=False,
    no_repeat_ngram_size=6,
    eos_token_id=1, # not yet tuned to gen </s>, use <s> instead.
)


def gen(x):
    chat = tokenizer.apply_chat_template([
        {"role": "user", "content": x},
        # {"role": "assistant", "content": "Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen!"},
        # {"role": "user", "content": "Do you have mayonnaise recipes? please say in Korean."}
    ], tokenize=False)
    print(pipe(chat)[0]['generated_text'].strip())

gen("스타벅스와 스타벅스 코리아의 차이는?")

# (생성 예시)
# 스타벅스는 전 세계적으로 운영하고 있는 커피 전문사이다. 한국에는 스타벅스 코리아라는 이름으로 운영되고 있다.
# 스타벅스 코리아는 대한민국에 입점한 이후 2009년과 2010년에 두 차례의 브랜드과의 재검토 및 새로운 디자인을 통해 새로운 브랜드다. 커피 전문의 프리미엄 이미지를 유지하고 있고, 스타벅스 코리아는 한국을 대표하는 프리미엄 커피 전문 브랜드을 만들고 있다.

Runs of beomi Mistral-Ko-Inst-dev on huggingface.co

12
Total runs
1
24-hour runs
0
3-day runs
0
7-day runs
1
30-day runs

More Information About Mistral-Ko-Inst-dev huggingface.co Model

More Mistral-Ko-Inst-dev license Visit here:

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

Mistral-Ko-Inst-dev huggingface.co

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

Mistral-Ko-Inst-dev huggingface.co Url

https://huggingface.co/beomi/Mistral-Ko-Inst-dev

beomi Mistral-Ko-Inst-dev online free

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

beomi Mistral-Ko-Inst-dev online free url in huggingface.co:

https://huggingface.co/beomi/Mistral-Ko-Inst-dev

Mistral-Ko-Inst-dev install

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

Mistral-Ko-Inst-dev install url in huggingface.co:

https://huggingface.co/beomi/Mistral-Ko-Inst-dev

Url of Mistral-Ko-Inst-dev

Mistral-Ko-Inst-dev huggingface.co Url

Provider of Mistral-Ko-Inst-dev huggingface.co

beomi
ORGANIZATIONS

Other API from beomi

huggingface.co

Total runs: 5.7K
Run Growth: 1.3K
Growth Rate: 23.10%
Updated:May 23 2024
huggingface.co

Total runs: 3.4K
Run Growth: -3.7K
Growth Rate: -108.20%
Updated:March 30 2023
huggingface.co

Total runs: 665
Run Growth: 360
Growth Rate: 54.14%
Updated:December 27 2023
huggingface.co

Total runs: 535
Run Growth: 362
Growth Rate: 67.66%
Updated:July 08 2024
huggingface.co

Total runs: 352
Run Growth: 164
Growth Rate: 46.59%
Updated:March 30 2023
huggingface.co

Total runs: 241
Run Growth: 233
Growth Rate: 96.68%
Updated:July 08 2024
huggingface.co

Total runs: 193
Run Growth: 107
Growth Rate: 54.04%
Updated:March 26 2024
huggingface.co

Total runs: 169
Run Growth: 87
Growth Rate: 51.48%
Updated:July 20 2023
huggingface.co

Total runs: 126
Run Growth: 63
Growth Rate: 50.00%
Updated:June 28 2023
huggingface.co

Total runs: 125
Run Growth: 10
Growth Rate: 8.26%
Updated:March 26 2024
huggingface.co

Total runs: 109
Run Growth: 34
Growth Rate: 31.19%
Updated:July 11 2023
huggingface.co

Total runs: 52
Run Growth: 23
Growth Rate: 44.23%
Updated:August 21 2024
huggingface.co

Total runs: 40
Run Growth: 28
Growth Rate: 70.00%
Updated:November 13 2023
huggingface.co

Total runs: 33
Run Growth: 22
Growth Rate: 66.67%
Updated:July 08 2024
huggingface.co

Total runs: 33
Run Growth: 21
Growth Rate: 63.64%
Updated:November 23 2021
huggingface.co

Total runs: 32
Run Growth: 26
Growth Rate: 81.25%
Updated:March 01 2022
huggingface.co

Total runs: 25
Run Growth: 13
Growth Rate: 52.00%
Updated:September 15 2023
huggingface.co

Total runs: 10
Run Growth: -7
Growth Rate: -70.00%
Updated:May 21 2021
huggingface.co

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

Total runs: 8
Run Growth: 3
Growth Rate: 37.50%
Updated:May 07 2023
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:March 08 2023
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:June 29 2023
huggingface.co

Total runs: 5
Run Growth: -5
Growth Rate: -100.00%
Updated:May 04 2026
huggingface.co

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

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