Run this model with HF Jobs
Run RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32 --local-dir LFM2.5-Encoder-350M-MLX-FP32
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
LFM2.5 Encoder 350M β MLX FP32
Native MLX conversion of LiquidAI/LFM2.5-Encoder-350M, pinned to revision
b886781f7c6f10ca9b7096e21b83e30a073c2f39.
The checkpoint is kept entirely in float32. This implementation preserves the
encoder's full bidirectional attention and centered, non-causal short
convolutions; it is not a causal mlx-lm generation model.
import mlx.core as mx
from model import load_model
model = load_model(".")
input_ids = mx.array([[1, 123, 456, 7]])
attention_mask = mx.ones_like(input_ids)
logits = model(input_ids, attention_mask)
mx.eval(logits)
Use the included tokenizer files with transformers.AutoTokenizer or the
tokenizers package. See validation.json for the FP32 tensor audit and
PyTorch-to-MLX numerical parity measurements.
- Downloads last month
- 22
Quantized
Model tree for RESMP-DEV/LFM2.5-Encoder-350M-MLX-FP32
Base model
LiquidAI/LFM2.5-350M-Base