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
Download generation_config.json from tiny-random/lfm3-omni: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/tiny-random/lfm3-omni/resolve/main/generation_config.json
- Command line
-
hf download hf://tiny-random/lfm3-omni/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/tiny-random/lfm3-omni/resolve/main/generation_config.json
392 Bytes
| { | |
| "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 | |
| } | |