How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="rootxhacker/Apollo_v2-32B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("rootxhacker/Apollo_v2-32B")
model = AutoModelForCausalLM.from_pretrained("rootxhacker/Apollo_v2-32B")
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 Model Stock merge method using Qwen/Qwen2.5-32B-Instruct as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: Qwen/QwQ-32B-Preview #logic
  - model: huihui-ai/QwQ-32B-Preview-abliterated #uncensored
  - model: Qwen/Qwen2.5-32B #text generation
  - model: Qwen/Qwen2.5-32B-Instruct #chat assistant
  - model: Qwen/Qwen2.5-Coder-32B #coding
  - model: fblgit/TheBeagle-v2beta-32B-MGS #math
  - model: tanliboy/lambda-qwen2.5-32b-dpo-test #dpo
  - model: allura-org/Qwen2.5-32b-RP-Ink # RP
merge_method: model_stock
base_model: Qwen/Qwen2.5-32B-Instruct
normalize: true
int8_mask: true
dtype: bfloat16
Downloads last month
14
Safetensors
Model size
33B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with rootxhacker/Apollo_v2-32B.

Model tree for rootxhacker/Apollo_v2-32B

Base model

Qwen/Qwen2.5-32B
Finetuned
(1217)
this model
Quantizations
2 models

Paper for rootxhacker/Apollo_v2-32B