Text Generation
PEFT
Safetensors
MLX
English
Romanian
gemma3
medical-ai
summarization
diagnostic-reasoning
gemma-3
fine-tuned
mlx-my-repo
conversational
6-bit
Instructions to use Wwayu/Medra27B-mlx-6Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Wwayu/Medra27B-mlx-6Bit with PEFT:
Task type is invalid.
- MLX
How to use Wwayu/Medra27B-mlx-6Bit 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("Wwayu/Medra27B-mlx-6Bit") 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 Wwayu/Medra27B-mlx-6Bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Wwayu/Medra27B-mlx-6Bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Wwayu/Medra27B-mlx-6Bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wwayu/Medra27B-mlx-6Bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Upload model-00002-of-00005.safetensors with huggingface_hub
Browse files
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f584372b3df93f9dcef1610e7793dd2a5c22866cf4d435f4a9533c87328276b
|
| 3 |
+
size 5368150990
|