Veena-MLX-BF16 / README.md
theNoobCoder01's picture
Add files using upload-large-folder tool
b5eca07 verified
---
license: apache-2.0
language:
- en
- hi
library_name: mlx
tags:
- text-to-speech
- tts
- hindi
- english
- llama
- audio
- speech
- india
- mlx
datasets:
- proprietary
pipeline_tag: text-generation
co2_eq_emissions:
emissions: 0
source: Not specified
training_type: unknown
geographical_location: unknown
base_model: maya-research/Veena
---
# theNoobCoder01/Veena-MLX-BF16
This model [theNoobCoder01/Veena-MLX-BF16](https://huggingface.co/theNoobCoder01/Veena-MLX-BF16) was
converted to MLX format from [maya-research/Veena](https://huggingface.co/maya-research/Veena)
using mlx-lm version **0.31.3**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("theNoobCoder01/Veena-MLX-BF16")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
```