Text Generation
MLX
Safetensors
progen
progen2
protein-language-model
mlx-lm
bfloat16
icl-many-replication
custom_code
Instructions to use N8Programs/ProGen2-base-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use N8Programs/ProGen2-base-bf16 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("N8Programs/ProGen2-base-bf16") 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 N8Programs/ProGen2-base-bf16 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "N8Programs/ProGen2-base-bf16" --prompt "Once upon a time"
Add ProGen2 protein widget prompts
Browse files
README.md
CHANGED
|
@@ -12,6 +12,9 @@ tags:
|
|
| 12 |
- safetensors
|
| 13 |
- bfloat16
|
| 14 |
- icl-many-replication
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# ProGen2 Base BF16 MLX Conversion
|
|
|
|
| 12 |
- safetensors
|
| 13 |
- bfloat16
|
| 14 |
- icl-many-replication
|
| 15 |
+
widget:
|
| 16 |
+
- text: 1MEVVIVTGMSGAGK
|
| 17 |
+
- text: 1MKTLLILAV
|
| 18 |
---
|
| 19 |
|
| 20 |
# ProGen2 Base BF16 MLX Conversion
|