Arjun24420's picture
eb8be3356eaf08a4cc9f1a2ebec73e317af8934b08f50a53641a0722adac2778
720b053 verified
|
raw
history blame
1.03 kB
---
license: other
library_name: transformers
tags:
- mlx
- mlx
extra_gated_heading: Access Gemma on Hugging Face
extra_gated_prompt: To access Gemma on Hugging Face, you’re required to review and
agree to Google’s usage license. To do this, please ensure you’re logged-in to Hugging
Face and click below. Requests are processed immediately.
extra_gated_button_content: Acknowledge license
license_name: gemma-terms-of-use
license_link: https://ai.google.dev/gemma/terms
---
# Arjun24420/Medical-quantized-gemma-2b
The Model [Arjun24420/Medical-quantized-gemma-2b](https://huggingface.co/Arjun24420/Medical-quantized-gemma-2b) was converted to MLX format from [mlx-community/quantized-gemma-2b](https://huggingface.co/mlx-community/quantized-gemma-2b) using mlx-lm version **0.14.3**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("Arjun24420/Medical-quantized-gemma-2b")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```