Text Generation
MLX
Safetensors
English
llama
lora
fine-tuned
multichain
web3
cross-chain
defi
wrapped-events
purple-squirrel
aidp
deepseek-r1
deepseek
reasoning
8b
apple-silicon
local-inference
blockchain
conversational
Eval Results (legacy)
4-bit precision
Instructions to use purplesquirrelnetworks/purple-squirrel-r1-multichain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use purplesquirrelnetworks/purple-squirrel-r1-multichain with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("purplesquirrelnetworks/purple-squirrel-r1-multichain") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use purplesquirrelnetworks/purple-squirrel-r1-multichain with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "purplesquirrelnetworks/purple-squirrel-r1-multichain"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "purplesquirrelnetworks/purple-squirrel-r1-multichain" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "purplesquirrelnetworks/purple-squirrel-r1-multichain", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Add discovery tags: deepseek-r1, deepseek, reasoning, 8b, apple-silicon, local-inference, blockchain
Browse files
README.md
CHANGED
|
@@ -11,6 +11,13 @@ tags:
|
|
| 11 |
- wrapped-events
|
| 12 |
- purple-squirrel
|
| 13 |
- aidp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
library_name: mlx
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
license: mit
|
|
|
|
| 11 |
- wrapped-events
|
| 12 |
- purple-squirrel
|
| 13 |
- aidp
|
| 14 |
+
- deepseek-r1
|
| 15 |
+
- deepseek
|
| 16 |
+
- reasoning
|
| 17 |
+
- 8b
|
| 18 |
+
- apple-silicon
|
| 19 |
+
- local-inference
|
| 20 |
+
- blockchain
|
| 21 |
library_name: mlx
|
| 22 |
pipeline_tag: text-generation
|
| 23 |
license: mit
|