Instructions to use Blankyy/needle-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Blankyy/needle-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir needle-mlx Blankyy/needle-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
File size: 845 Bytes
3d5dbbb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | {
"architectures": [
"NeedleForCausalLM"
],
"bos_token_id": 2,
"d_model": 512,
"decoder_start_token_id": 1,
"eos_token_id": 1,
"hidden_size": 512,
"is_encoder_decoder": true,
"model_type": "needle",
"num_attention_heads": 8,
"num_decoder_layers": 8,
"num_encoder_layers": 12,
"num_heads": 8,
"num_hidden_layers": 8,
"num_key_value_heads": 4,
"num_kv_heads": 4,
"pad_token_id": 0,
"rms_norm_eps": 1e-06,
"rope_theta": 10000.0,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "5.5.4",
"unk_token_id": 3,
"vocab_size": 8192,
"jax_config": {
"library_name": "jax",
"model_type": "custom",
"architectures": [
"SimpleAttentionNetwork"
],
"checkpoint": "needle.pkl"
},
"library_name": "mlx",
"source_model": "Cactus-Compute/needle"
}
|