Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Vikaspandey582003
/
echo-calibration-adapter

Text Generation
PEFT
Safetensors
Transformers
grpo
lora
trl
conversational
Model card Files Files and versions
xet
Community

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
echo-calibration-adapter
2.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
Vikaspandey582003's picture
Vikaspandey582003
checkpoint step 550
9c84da1 verified 14 days ago
  • checkpoint-100
    checkpoint step 100 14 days ago
  • checkpoint-150
    checkpoint step 150 14 days ago
  • checkpoint-200
    checkpoint step 200 14 days ago
  • checkpoint-250
    checkpoint step 250 14 days ago
  • checkpoint-300
    checkpoint step 300 14 days ago
  • checkpoint-350
    checkpoint step 350 14 days ago
  • checkpoint-400
    checkpoint step 400 14 days ago
  • checkpoint-450
    checkpoint step 450 14 days ago
  • checkpoint-50
    checkpoint step 50 14 days ago
  • checkpoint-500
    checkpoint step 500 14 days ago
  • checkpoint-550
    checkpoint step 550 14 days ago
  • .gitattributes
    2.24 kB
    checkpoint step 550 14 days ago