Text Generation
Transformers
Safetensors
llama
Merge
mergekit
lazymergekit
tyson0420/stack-codellama-fil-python
tyson0420/alpaca_codellama
text-generation-inference
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("tyson0420/codellama-7B-instruct-ties")
model = AutoModelForCausalLM.from_pretrained("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
- 6
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tyson0420/codellama-7B-instruct-ties")