ValueError: Model type cohere not supported.
I get this error if I try to run it with these versions:
Package Version
accelerate 0.28.0
Brotli 1.0.9
certifi 2024.2.2
chardet 5.2.0
charset-normalizer 2.0.4
filelock 3.13.1
fsspec 2024.2.0
huggingface-hub 0.21.4
idna 3.4
Jinja2 3.1.3
MarkupSafe 2.1.3
mlx 0.6.0
mlx-lm 0.2.0
mpmath 1.3.0
networkx 3.1
numpy 1.26.4
packaging 24.0
pillow 10.2.0
pip 23.3.1
protobuf 4.25.3
psutil 5.9.8
PySocks 1.7.1
PyYAML 6.0.1
regex 2023.12.25
requests 2.31.0
safetensors 0.4.2
sentencepiece 0.2.0
setuptools 68.2.2
sympy 1.12
tokenizers 0.15.2
torch 2.2.1
torchaudio 2.2.1
torchvision 0.17.1
tqdm 4.66.2
transformers 4.38.1
typing_extensions 4.9.0
urllib3 2.1.0
wheel 0.41.2
Please update your mlx-lm library to the latest version 0.3.0.
Here is snippet:
pip install -U mlx-lm
Let me know if it works for you :)
yes, thank you very much :)
Most welcome!
Excuse me, how can I help you @DrEslamFouad ?