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="theNovaAI/Hypernova-2x12B-exp")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("theNovaAI/Hypernova-2x12B-exp")
model = AutoModelForCausalLM.from_pretrained("theNovaAI/Hypernova-2x12B-exp")
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

Hypernova-2x12B-exp

First time working with Mixture of Experts models

I have not had the time to try this model yet, but it took too much time and resources to not upload it

I am planning on improving this model in the future, so feedback on this model is welcomed

This model is mainly focused on RP and may produce NSFW content

It is a 2x12B model that loads like a 12B but uses both experts somehow

Get the GGUFs here: theNovaAI/Hypernova-2x12B-exp-GGUF

Downloads last month
4
Safetensors
Model size
21B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for theNovaAI/Hypernova-2x12B-exp

Finetuned
(221)
this model
Quantizations
3 models

Collection including theNovaAI/Hypernova-2x12B-exp