Text Generation
Transformers
Safetensors
lfm3_rd
mergekit
Merge
liquid
lfm3
recurrent-depth
adaptive-computation
reasoning
custom_code
text-generation-inference
unsloth
code
claude
opus
fable
sonnet
Instructions to use ITLL/LFM3-1.7B-RD-Coder-SLERP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ITLL/LFM3-1.7B-RD-Coder-SLERP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ITLL/LFM3-1.7B-RD-Coder-SLERP", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ITLL/LFM3-1.7B-RD-Coder-SLERP", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ITLL/LFM3-1.7B-RD-Coder-SLERP with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ITLL/LFM3-1.7B-RD-Coder-SLERP" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ITLL/LFM3-1.7B-RD-Coder-SLERP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ITLL/LFM3-1.7B-RD-Coder-SLERP
- SGLang
How to use ITLL/LFM3-1.7B-RD-Coder-SLERP with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ITLL/LFM3-1.7B-RD-Coder-SLERP" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ITLL/LFM3-1.7B-RD-Coder-SLERP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ITLL/LFM3-1.7B-RD-Coder-SLERP" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ITLL/LFM3-1.7B-RD-Coder-SLERP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use ITLL/LFM3-1.7B-RD-Coder-SLERP with Docker Model Runner:
docker model run hf.co/ITLL/LFM3-1.7B-RD-Coder-SLERP
Download tokenizer.json from ITLL/LFM3-1.7B-RD-Coder-SLERP: direct link, hf CLI and curl.
- Browser
- Download file 17.9 MB
-
https://huggingface.co/ITLL/LFM3-1.7B-RD-Coder-SLERP/resolve/main/tokenizer.json
- Command line
-
hf download hf://ITLL/LFM3-1.7B-RD-Coder-SLERP/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ITLL/LFM3-1.7B-RD-Coder-SLERP/resolve/main/tokenizer.json
17.9 MB
- Xet hash:
- 2344f04feb080dce3a70ad7593c486ed2fcc8cebce894c23478633db8f443ffe
- Size of remote file:
- 17.9 MB
- SHA256:
- 7e226e34bface23ccf6e495d157bf77186c1c30a7659880e1a8994db528c3701
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.