Instructions to use Vikaspandey582003/echo-calibration-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Vikaspandey582003/echo-calibration-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "Vikaspandey582003/echo-calibration-adapter") - Transformers
How to use Vikaspandey582003/echo-calibration-adapter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Vikaspandey582003/echo-calibration-adapter") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Vikaspandey582003/echo-calibration-adapter", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Vikaspandey582003/echo-calibration-adapter with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Vikaspandey582003/echo-calibration-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": "Vikaspandey582003/echo-calibration-adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Vikaspandey582003/echo-calibration-adapter
- SGLang
How to use Vikaspandey582003/echo-calibration-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 "Vikaspandey582003/echo-calibration-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": "Vikaspandey582003/echo-calibration-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 "Vikaspandey582003/echo-calibration-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": "Vikaspandey582003/echo-calibration-adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Vikaspandey582003/echo-calibration-adapter with Docker Model Runner:
docker model run hf.co/Vikaspandey582003/echo-calibration-adapter
Ctrl+K
- checkpoint-100
- checkpoint-150
- checkpoint-200
- checkpoint-250
- checkpoint-300
- checkpoint-350
- checkpoint-400
- checkpoint-450
- checkpoint-50
- checkpoint-500
- checkpoint-550
- checkpoint-600
- checkpoint-650
- checkpoint-700
- checkpoint-750
- checkpoint-751
- checkpoint-752
- checkpoint-753
- 2.74 kB
- 5.22 kB
- 1.11 kB
- 162 MB xet
- 34.5 kB
- 12.1 kB
- 200 kB xet
- 2.51 kB
- 11.4 MB xet
- 404 Bytes
- 30.1 kB
- 10.9 kB
- 348 kB xet
- 129 Bytes