Instructions to use tiny-random/lfm3-omni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tiny-random/lfm3-omni with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageTextToText model = AutoModelForImageTextToText.from_pretrained("tiny-random/lfm3-omni", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 392 Bytes
c8adba0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"bos_token_id": 124894,
"eos_token_id": [
124900,
125014
],
"pad_token_id": 124893,
"use_cache": true,
"output_attentions": false,
"output_hidden_states": false,
"do_sample": false,
"temperature": 0,
"top_k": 1,
"repetition_penalty": 1.0,
"audio_temperature": 0.4,
"audio_top_k": null,
"audio_repetition_penalty": 1.2,
"audio_repetition_window": 64
}
|