Views
No views yet
| Instruct Model Name | Size | Japanese MT-Bench Score |
|---|---|---|
| Rakuten/RakutenAI-2.0-mini-instruct | 1.5B | 4.91 |
| llm-jp/llm-jp-3-1.8b-instruct | 1.8B | 4.70 |
| llm-jp/llm-jp-3-3.7b-instruct | 3.7B | 4.98 |
| SakanaAI/EvoLLM-JP-A-v1-7B | 7B | 3.80 |
| SakanaAI/EvoLLM-JP-v1-7B | 7B | 4.58 |
LLM-jp: jasterを用いてインストラクションチューニングを施したモデルが、テストデータをインストラクションチューニングに使用していない場合でも, llm-jp-evalの評価スコアを非常に高くすることができることが明らかになっている. したがって、高い評価スコアを得たからといって、他のLLMよりも性能が優れていると断言するのは適切ではないことに注意されたい。 Machine Translation: It has become clear that models that have been instruction tuned using Jaster can achieve very high evaluation scores on LLM-JP-EVAL, even if test data is not used for instruction tuning. Therefore, please note that it is not appropriate to assert that a model's performance is superior to other LLMs just because it has a high evaluation score. More details can be found at llm-jp-eval.(4.91 +/- 0.023) for RakutenAI-2.0-mini-instruct is average of 3 runs on Japanese MT-Bench. Model outputs and judge outputs are uploaded for reference.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_path = "Rakuten/RakutenAI-2.0-mini-instruct"
4tokenizer = AutoTokenizer.from_pretrained(model_path)
5model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype="auto", device_map="auto")
6model.eval()
7
8chat = [
9 {"role": "system", "content": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."},
10 {"role": "user", "content": "How to make an authentic Spanish Omelette?"},
11]
12
13input_ids = tokenizer.apply_chat_template(chat, tokenize=True, add_generation_prompt=True, return_tensors="pt").to(device=model.device)
14attention_mask = input_ids.ne(tokenizer.pad_token_id).long()
15tokens = model.generate(
16 input_ids,
17 max_length=2048,
18 do_sample=False,
19 num_beams=1,
20 pad_token_id=tokenizer.eos_token_id,
21 attention_mask=attention_mask,
22)
23out = tokenizer.decode(tokens[0][len(input_ids[0]):], skip_special_tokens=True)
24print("ASSISTANT:\n" + out)
25print()@misc{rakutengroup2025rakutenai2.0,
author = {Rakuten Group, Inc.},
title = {RakutenAI-2.0},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/Rakuten},
}