Instructions to use N8Programs/Musicroll-50M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use N8Programs/Musicroll-50M with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("N8Programs/Musicroll-50M") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use N8Programs/Musicroll-50M with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "N8Programs/Musicroll-50M" --prompt "Once upon a time"
File size: 590 Bytes
abf4441 | 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 | {
"architectures": [
"Qwen3ForCausalLM"
],
"model_type": "qwen3",
"vocab_size": 259,
"hidden_size": 512,
"num_hidden_layers": 16,
"intermediate_size": 1536,
"num_attention_heads": 4,
"num_key_value_heads": 2,
"head_dim": 128,
"hidden_act": "silu",
"rms_norm_eps": 1e-06,
"max_position_embeddings": 4096,
"rope_theta": 1000000.0,
"rope_scaling": null,
"attention_bias": false,
"attention_dropout": 0.0,
"tie_word_embeddings": false,
"use_cache": true,
"bos_token_id": 256,
"eos_token_id": 257,
"pad_token_id": 258,
"torch_dtype": "float32"
} |