Instructions to use v-vovk/medgemma-ios-q4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use v-vovk/medgemma-ios-q4 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("v-vovk/medgemma-ios-q4") 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 v-vovk/medgemma-ios-q4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "v-vovk/medgemma-ios-q4" --prompt "Once upon a time"
- Atomic Chat
Update model card metadata
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Portable Nutrition Guidance SLM (Q4)
|
| 2 |
|
| 3 |
## Overview
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: mlx
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- on-device
|
| 8 |
+
- ios
|
| 9 |
+
- nutrition
|
| 10 |
+
- quantized
|
| 11 |
+
- q4
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
base_model:
|
| 14 |
+
- google/medgemma-1.5-4b-it
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
# Portable Nutrition Guidance SLM (Q4)
|
| 18 |
|
| 19 |
## Overview
|