Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
The Mistral-Nemo-Base-2407 Large Language Model (LLM) is a pretrained generative text model of 12B parameters trained jointly by Mistral AI and NVIDIA, it significantly outperforms existing models smaller or similar in size.
For more details about this model please refer to our release
blog post
.
Key features
Released under the
Apache 2 License
Pre-trained and instructed versions
Trained with a
128k context window
Trained on a large proportion of
multilingual and code data
Drop-in replacement of Mistral 7B
Model Architecture
Mistral Nemo is a transformer model, with the following architecture choices:
Layers:
40
Dim:
5,120
Head dim:
128
Hidden dim:
14,436
Activation Function:
SwiGLU
Number of heads:
32
Number of kv-heads:
8 (GQA)
Vocabulary size:
2**17 ~= 128k
Rotary embeddings (theta = 1M)
Metrics
Main Benchmarks
Benchmark
Score
HellaSwag (0-shot)
83.5%
Winogrande (0-shot)
76.8%
OpenBookQA (0-shot)
60.6%
CommonSenseQA (0-shot)
70.4%
TruthfulQA (0-shot)
50.3%
MMLU (5-shot)
68.0%
TriviaQA (5-shot)
73.8%
NaturalQuestions (5-shot)
31.2%
Multilingual Benchmarks (MMLU)
Language
Score
French
62.3%
German
62.7%
Spanish
64.6%
Italian
61.3%
Portuguese
63.3%
Russian
59.2%
Chinese
59.0%
Japanese
59.0%
Installation with
mistral_inference
It is recommended to use
mistralai/Mistral-Nemo-Base-2407
with
mistral-inference
.
For HF transformers code snippets, please keep scrolling.
pip install mistral_inference
Download
from huggingface_hub import snapshot_download
from pathlib import Path
mistral_models_path = Path.home().joinpath('mistral_models', 'Nemo-v0.1')
mistral_models_path.mkdir(parents=True, exist_ok=True)
snapshot_download(repo_id="mistralai/Mistral-Nemo-Base-2407", allow_patterns=["params.json", "consolidated.safetensors", "tekken.json"], local_dir=mistral_models_path)
Demo
After installing
mistral_inference
, a
mistral-demo
CLI command should be available in your environment.
mistral-demo $HOME/mistral_models/Nemo-v0.1
Generate with
transformers
NOTE: Until a new release has been made, you need to install transformers from source:
mistralai_Mistral-Nemo-Base-2407 huggingface.co is an AI model on huggingface.co that provides mistralai_Mistral-Nemo-Base-2407's model effect (), which can be used instantly with this SillyTilly mistralai_Mistral-Nemo-Base-2407 model. huggingface.co supports a free trial of the mistralai_Mistral-Nemo-Base-2407 model, and also provides paid use of the mistralai_Mistral-Nemo-Base-2407. Support call mistralai_Mistral-Nemo-Base-2407 model through api, including Node.js, Python, http.
mistralai_Mistral-Nemo-Base-2407 huggingface.co is an online trial and call api platform, which integrates mistralai_Mistral-Nemo-Base-2407's modeling effects, including api services, and provides a free online trial of mistralai_Mistral-Nemo-Base-2407, you can try mistralai_Mistral-Nemo-Base-2407 online for free by clicking the link below.
SillyTilly mistralai_Mistral-Nemo-Base-2407 online free url in huggingface.co:
mistralai_Mistral-Nemo-Base-2407 is an open source model from GitHub that offers a free installation service, and any user can find mistralai_Mistral-Nemo-Base-2407 on GitHub to install. At the same time, huggingface.co provides the effect of mistralai_Mistral-Nemo-Base-2407 install, users can directly use mistralai_Mistral-Nemo-Base-2407 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mistralai_Mistral-Nemo-Base-2407 install url in huggingface.co: