Text Generation
MLX
Safetensors
qwen2
1.5b
alloy-backfilled
android
apple-silicon
attested
chain-of-custody
chinese
compacted
consumer-gpu
cryptographically-verified
edge-inference
efficient
embedded
english
forge-alloy
general
general-purpose
head-pruning
iphone
llama-cpp
lm-studio
local-inference
macbook
mobile
multilingual
ollama
on-device
optimized
pruned
qwen
qwen2.5
raspberry-pi
reproducible
versatile
Instructions to use continuum-ai/qwen2.5-1.5b-general-forged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use continuum-ai/qwen2.5-1.5b-general-forged 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("continuum-ai/qwen2.5-1.5b-general-forged") 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 continuum-ai/qwen2.5-1.5b-general-forged with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "continuum-ai/qwen2.5-1.5b-general-forged" --prompt "Once upon a time"
- Atomic Chat
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "is_local": false, | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |