This release is trained on a curated filtered subset of most of our GPT-4 augmented data.
It is the same subset of our data as was used in our
OpenOrcaxOpenChat-Preview2-13B model
.
HF Leaderboard evals place this model as #1 for all models smaller than 30B at release time, outperforming all other 7B and 13B models!
This release provides a first: a fully open model with class-breaking performance, capable of running fully accelerated on even moderate consumer GPUs.
Our thanks to the Mistral team for leading the way here.
We affectionately codename this model: "
MistralOrca
"
This means that, e.g., in
oobabooga
the "
MPT-Chat
" instruction template should work, as it also uses ChatML.
This formatting is also available via a pre-defined
Transformers chat template
,
which means that lists of messages can be formatted for you with the
apply_chat_template()
method:
chat = [
{"role": "system", "content": "You are MistralOrca, a large language model trained by Alignment Lab AI. Write out your reasoning step-by-step to be sure you get the right answers!"}
{"role": "user", "content": "How are you?"},
{"role": "assistant", "content": "I am doing well!"},
{"role": "user", "content": "Please tell me about how mistral winds have attracted super-orcas."},
]
tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
which will yield:
<|im_start|>system
You are MistralOrca, a large language model trained by Alignment Lab AI. Write out your reasoning step-by-step to be sure you get the right answers!
<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant
I am doing well!<|im_end|>
<|im_start|>user
Please tell me about how mistral winds have attracted super-orcas.<|im_end|>
<|im_start|>assistant
If you use
tokenize=True
and
return_tensors="pt"
instead, then you will get a tokenized
and formatted conversation ready to pass to
model.generate()
.
We have evaluated using the methodology and tools for the HuggingFace Leaderboard, and find that we have dramatically improved upon the base model.
We find
106%
of the base model's performance on HF Leaderboard evals, averaging
65.84
.
At release time, this beats all 7B and 13B models!
This is also
98.6%
of
Llama2-70b-chat
's performance!
We compare our results to the base Mistral-7B model (using LM Evaluation Harness).
We find
129%
of the base model's performance on AGI Eval, averaging
0.397
.
As well, we significantly improve upon the official
mistralai/Mistral-7B-Instruct-v0.1
finetuning, achieving
119%
of their performance.
BigBench-Hard Performance
We find
119%
of the base model's performance on BigBench-Hard, averaging
0.416
.
GPT4ALL Leaderboard Performance
We gain a slight edge over our previous releases, again topping the leaderboard, averaging
72.38
.
MT-Bench Performance
MT-Bench uses GPT-4 as a judge of model response quality, across a wide range of challenges.
We find our performance is
on-par with
Llama2-70b-chat
, averaging
6.86
.
Dataset
We used a curated, filtered selection of most of the GPT-4 augmented data from our OpenOrca dataset, which aims to reproduce the Orca Research Paper dataset.
Training
We trained with 8x A6000 GPUs for 62 hours, completing 4 epochs of full fine tuning on our dataset in one training run.
Commodity cost was ~$400.
Citation
@software{lian2023mistralorca1
title = {MistralOrca: Mistral-7B Model Instruct-tuned on Filtered OpenOrcaV1 GPT-4 Dataset},
author = {Wing Lian and Bleys Goodson and Guan Wang and Eugene Pentland and Austin Cook and Chanvichet Vong and "Teknium"},
year = {2023},
publisher = {HuggingFace},
journal = {HuggingFace repository},
howpublished = {\url{https://huggingface.co/Open-Orca/Mistral-7B-OpenOrca},
}
@misc{mukherjee2023orca,
title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4},
author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah},
year={2023},
eprint={2306.02707},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
@misc{longpre2023flan,
title={The Flan Collection: Designing Data and Methods for Effective Instruction Tuning},
author={Shayne Longpre and Le Hou and Tu Vu and Albert Webson and Hyung Won Chung and Yi Tay and Denny Zhou and Quoc V. Le and Barret Zoph and Jason Wei and Adam Roberts},
year={2023},
eprint={2301.13688},
archivePrefix={arXiv},
primaryClass={cs.AI}
}
Runs of rexwang8 ministral-test on huggingface.co
1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About ministral-test huggingface.co Model
ministral-test huggingface.co is an AI model on huggingface.co that provides ministral-test's model effect (), which can be used instantly with this rexwang8 ministral-test model. huggingface.co supports a free trial of the ministral-test model, and also provides paid use of the ministral-test. Support call ministral-test model through api, including Node.js, Python, http.
ministral-test huggingface.co is an online trial and call api platform, which integrates ministral-test's modeling effects, including api services, and provides a free online trial of ministral-test, you can try ministral-test online for free by clicking the link below.
rexwang8 ministral-test online free url in huggingface.co:
ministral-test is an open source model from GitHub that offers a free installation service, and any user can find ministral-test on GitHub to install. At the same time, huggingface.co provides the effect of ministral-test install, users can directly use ministral-test installed effect in huggingface.co for debugging and trial. It also supports api for free installation.