Arjun24420's picture
Update README.md
079414a verified
---
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="What is glaucoma", verbose=True,temp=0.5)
```