Text Generation
Transformers
Safetensors
llama
mergekit
Merge
conversational
text-generation-inference
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Fischerboot/7-test")
model = AutoModelForCausalLM.from_pretrained("Fischerboot/7-test")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))Quick Links
merge
This is a merge of pre-trained language models created using mergekit.
Merge Details
Merge Method
This model was merged using the SLERP merge method.
Models Merged
The following models were included in the merge:
Configuration
The following YAML configuration was used to produce this model:
slices:
- sources:
- model: Fischerboot/ll3-test-6
layer_range: [0, 24]
- model: Fischerboot/ll3-test-6
layer_range: [1, 25]
merge_method: slerp
base_model: Fischerboot/ll3-test-6
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
Model tree for Fischerboot/7-test
Base model
Fischerboot/ll3-test-1 Finetuned
Fischerboot/ll3-test-2 Finetuned
Fischerboot/ll3-test-3 Finetuned
Fischerboot/ll3-test-4 Finetuned
Fischerboot/ll3-test-5 Finetuned
Fischerboot/ll3-test-6
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Fischerboot/7-test") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)