MLX
Safetensors
qwen2
Merge
mergekit
lazymergekit
maywell/Qwen2-7B-Multilingual-RP
Weyaxi/Einstein-v7-Qwen2-7B
mlx-my-repo
4-bit precision
Instructions to use fengpeisheng1/BerryBase-mlx-4Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fengpeisheng1/BerryBase-mlx-4Bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download fengpeisheng1/BerryBase-mlx-4Bit --local-dir BerryBase-mlx-4Bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download config.json from fengpeisheng1/BerryBase-mlx-4Bit: direct link, hf CLI and curl.
- Browser
- Download file 840 Bytes
-
https://huggingface.co/fengpeisheng1/BerryBase-mlx-4Bit/resolve/main/config.json
- Command line
-
hf download hf://fengpeisheng1/BerryBase-mlx-4Bit/config.json
-
curl -L -o config.json https://huggingface.co/fengpeisheng1/BerryBase-mlx-4Bit/resolve/main/config.json
840 Bytes
| { | |
| "architectures": [ | |
| "Qwen2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "eos_token_id": 151645, | |
| "hidden_act": "silu", | |
| "hidden_size": 3584, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 18944, | |
| "max_position_embeddings": 32768, | |
| "max_window_layers": 28, | |
| "model_type": "qwen2", | |
| "num_attention_heads": 28, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 4, | |
| "quantization": { | |
| "group_size": 64, | |
| "bits": 4 | |
| }, | |
| "quantization_config": { | |
| "group_size": 64, | |
| "bits": 4 | |
| }, | |
| "rms_norm_eps": 1e-06, | |
| "rope_theta": 1000000.0, | |
| "sliding_window": 131072, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.42.3", | |
| "use_cache": false, | |
| "use_sliding_window": false, | |
| "vocab_size": 152064 | |
| } |