Audio-Text-to-Text
Transformers
Safetensors
lfm3_omni
feature-extraction
liquid
lfm3
edge
decision
classification
extraction
calibration
system-one
multimodal
audio
decision-model
custom_code
Eval Results
Run this model with HF Jobs
Run LiquidAI/d1-Omni-2B 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/LiquidAI/d1-Omni-2B. 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/LiquidAI/d1-Omni-2B 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 LiquidAI/d1-Omni-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiquidAI/d1-Omni-2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LiquidAI/d1-Omni-2B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Keep transformers below 5.23 in the install line
#6
by Aurelien-Lac - opened
transformers 5.23.0 ships its own LFM3 classes, and the model code in this repo fails to build the model with them:
AttributeError: module 'transformers.models.lfm3.modeling_lfm3' has no attribute 'can_use_lfm3_conv'
Until the code is updated, the quick start installs a version below 5.23 (5.22.2 today, which runs every example in this card as written).
Not needed: the model code now loads on transformers 5.23 as well (the code fix is merged).
Aurelien-Lac changed pull request status to closed