How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "tyson0420/codellama-7B-instruct-ties"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "tyson0420/codellama-7B-instruct-ties",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/tyson0420/codellama-7B-instruct-ties
Quick Links

codellama-7B-instruct-ties

codellama-7B-instruct-ties is a merge of the following models using mergekit:

🧩 Configuration

slices:
  - sources:
      - model: tyson0420/stack-codellama-fil-python
        layer_range: [0, 32]
      - model: tyson0420/alpaca_codellama
        layer_range: [0, 32]
merge_method: slerp
base_model: tyson0420/stack-codellama-fil-python
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16
Downloads last month
5
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support