Text Generation
Transformers
Safetensors
GGUF
English
llama.cpp
unsloth
llama
llama3.2
distillation
reasoning
fine-tuning
adapter
conversational
Instructions to use codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter
- SGLang
How to use codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter 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 "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter with Docker Model Runner:
docker model run hf.co/codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter
Download tokenizer.json from codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 17.2 MB
-
https://huggingface.co/codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter/resolve/main/tokenizer.json
- Command line
-
hf download hf://codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/codestrate/Llama3.2-3B-Claude-Reasoning-Distill-Adapter/resolve/main/tokenizer.json
17.2 MB
- Xet hash:
- 61c355a11d84fb5639fb39b627f12d13f889f5e87059b922b3b5e92054af88fa
- Size of remote file:
- 17.2 MB
- SHA256:
- a5ab69a2d0cb95f48440af7e485b9553b7dfdc5546e3524e8bb4e9981c443102
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.