Instructions to use enseven/lfm-2.5-think-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use enseven/lfm-2.5-think-code with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-1.2B-Thinking") model = PeftModel.from_pretrained(base_model, "enseven/lfm-2.5-think-code") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from enseven/lfm-2.5-think-code: direct link, hf CLI and curl.
- Browser
- Download file 4.73 MB
-
https://huggingface.co/enseven/lfm-2.5-think-code/resolve/main/tokenizer.json
- Command line
-
hf download hf://enseven/lfm-2.5-think-code/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/enseven/lfm-2.5-think-code/resolve/main/tokenizer.json
4.73 MB
File too large to display, you can check the raw version instead.