Instructions to use krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-1.2B-Instruct") model = PeftModel.from_pretrained(base_model, "krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/krzysztofwos/LFM25-1.2B-CodeAgent-sonnet-default/resolve/main/special_tokens_map.json
434 Bytes
| { | |
| "bos_token": { | |
| "content": "<|startoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|pad|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |