Instructions to use Ba2han/lfm2-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ba2han/lfm2-dpo with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ba2han/lfm2-dpo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download tokenizer.json from Ba2han/lfm2-dpo: direct link, hf CLI and curl.
- Browser
- Download file 4.73 MB
-
https://huggingface.co/Ba2han/lfm2-dpo/resolve/main/tokenizer.json
- Command line
-
hf download hf://Ba2han/lfm2-dpo/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Ba2han/lfm2-dpo/resolve/main/tokenizer.json
4.73 MB
File too large to display, you can check the raw version instead.