Downloads · 30 days
6
9% of all-time downloads
vvijayk/mixtral-8x7b-moe-nq-finetuned
mixtral-8x7b-moe-nq-finetuned is a question answering model from vvijayk. Use it when the input is a question plus a passage. The card lists the license as apache-2.0.
This model is a fine-tuned version of MistralAI/Mixtral-8x7B-0.1 on the Natural Questions dataset.
Downloads · 30 days
6
9% of all-time downloads
All-time downloads
64
Public
Parameters
46.7B
747 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt654 GB · 87%
From the Hugging Face model README
This model is a fine-tuned version of MistralAI/Mixtral-8x7B-0.1 on the Natural Questions dataset.
The model was fine-tuned using:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "vvijayk/mixtral-8x7b-moe-nq-finetuned"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_name,
trust_remote_code=True,
torch_dtype="auto",
device_map="auto"
)
# Example inference
question = "What is the capital of France?"
prompt = f"Question: {question}\nAnswer:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=128,
temperature=0.7,
do_sample=True,
top_p=0.9,
)
answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(answer)
Training was performed using the configuration in the repository. See train_mixtral_8x7b_moe_accelerate.py for details.
This model inherits limitations and biases from the base Mixtral-8x7B model and the Natural Questions dataset. Users should be aware of potential biases in question-answering outputs.
If you use this model, please cite:
@misc{mixtral-8x7b-moe-nq-finetuned,
author = {Vijay Venkatraman},
title = {Mixtral-8x7B-0.1 Fine-tuned on Natural Questions},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/vvijayk/mixtral-8x7b-moe-nq-finetuned}}
}