ProGen2 Base BF16 MLX Conversion

This repository contains a BF16 MLX-LM conversion of hugohrban/progen2-base, a mirror of the base ProGen2 model by Nijkamp et al.

The source checkpoint was downloaded from Hugging Face revision 71228cbfca5960f9fab5775f378bba3673af9f00 and converted from FP32 to BF16 safetensors. The converted tensor file contains 764,803,616 BF16 parameters.

This conversion was prepared for the standalone replication artifact for Many Next Token Predictors are In-context Learners.

Files

  • model.safetensors: BF16 converted ProGen2-base weights.
  • progen2_mlx.py: MLX-LM custom model implementation.
  • config.json, tokenizer files, and ProGen custom-code files copied from the source model with the MLX model-file entry added.

Loading with MLX-LM

from mlx_lm import load

model, tokenizer = load("N8Programs/ProGen2-base-bf16")

Original Model

Please cite and follow the terms of the upstream ProGen2 work and the source model repository:

Downloads last month
-
Safetensors
Model size
0.8B params
Tensor type
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for N8Programs/ProGen2-base-bf16

Finetuned
(3)
this model

Paper for N8Programs/ProGen2-base-bf16