metadata
license: mit
Model Description
This model is a mixture of experts merge consisting of 3 mistral based models
base model,- openchat/openchat-3.5-0106
code expert,- beowolx/CodeNinja-1.0-OpenChat-7B
math expert,- meta-math/MetaMath-Mistral-7B
Usage
model_id = "mistral-community/Mixtral-8x22B-v0.1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
text = "Hello my name is"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=20)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))```