抱抱脸上线了 Mistral-7B-v0.3 的基础版和指令微调版。
相比于Mistral-7B-v0.2,新版本更新如下:
– 词汇量从 32000 扩展到 32768
– 支持 v3 分词器
– 支持函数调用
Mistral-7B-v0.3:网页链接
Mistral-7B-Instruct-v0.3:网页链接
从Hugging Face安装
pip install mistral_inference
从Hugging Face下载
from huggingface_hub import snapshot_download
from pathlib import Path
mistral_models_path = Path.home().joinpath('mistral_models', '7B-Instruct-v0.3')
mistral_models_path.mkdir(parents=True, exist_ok=True)
snapshot_download(repo_id="mistralai/Mist