Text Generation
Transformers
Safetensors
gemma
mergewss]
mergekit
lazymergekit
Aspik101/Haliaeetusalbicilla10
deepnetguy/gemma-70
deepnet/SN6-71G7
conversational
text-generation-inference
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Sumail/Alchemist_08_2b")
model = AutoModelForCausalLM.from_pretrained("Sumail/Alchemist_08_2b")
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
Alchemist_08_2b
Alchemist_08_2b is a merge of the following models using mergekit:
🧩 Configuration
models:
- model: Sumail/Alchemist_06_2b
# No parameters necessary for base model
- model: Aspik101/Haliaeetusalbicilla10
parameters:
density: 0.53
weight: 0.4
- model: deepnetguy/gemma-70
parameters:
density: 0.53
weight: 0.3
- model: deepnet/SN6-71G7
parameters:
density: 0.53
weight: 0.3
merge_method: dare_ties
base_model: Sumail/Alchemist_06_2b
parameters:
int8_mask: true
dtype: bfloat16
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Sumail/Alchemist_08_2b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)