Downloads · 30 days
53
19% of all-time downloads
rohitnagareddy/AdbhutMOE
AdbhutMOE is a text generation model from rohitnagareddy. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
AdbhutMOE is a miniature, from-scratch Mixture-of-Experts (MoE) autoregressive language model based on the Mixtral architecture. This model was pre-trained on a sample of the agnews dataset as part of a learning exerc…
Downloads · 30 days
53
19% of all-time downloads
All-time downloads
274
Public
Parameters
15.7M
377 MB on disk
Likes
0
Public
Click a slice to open those files.
.pt251 MB · 57%
From the Hugging Face model README
AdbhutMOE is a miniature, from-scratch Mixture-of-Experts (MoE) autoregressive language model based on the Mixtral architecture. This model was pre-trained on a sample of the ag_news dataset as part of a learning exercise to demonstrate the end-to-end pipeline for creating a sparse foundation model.
This model is intended for educational purposes only. It showcases how to configure and train an MoE model, which uses a sparse activation pattern to increase parameter count while maintaining a manageable computational cost.
The model can be easily loaded for text generation using the transformers library pipeline.
from transformers import pipeline
# Load the model from the Hugging Face Hub
generator = pipeline('text-generation', model='rohitnagareddy/AdbhutMOE')
# Generate text
prompt = "The latest discovery in space exploration is"
output = generator(
prompt,
max_length=50,
num_return_sequences=1,
no_repeat_ngram_size=2,
temperature=0.7,
top_k=50
)
print(output[0]['generated_text'])
AdbhutMOE is a small-scale MoE model with the following configuration:
This architecture results in a significantly higher parameter count than a dense model of similar computational cost, demonstrating the core benefit of the MoE approach.
The model was pre-trained on a shuffled sample of the ag_news dataset.
ag_newsThe model was pre-trained using the Hugging Face Trainer on a single GPU.
This model is a proof-of-concept and is not suitable for any real-world application.
The primary goal of this project was to learn and demonstrate the MoE training pipeline. As a result, it has significant limitations:
ag_news dataset.The intended use is for studying the configuration and training behavior of Mixture-of-Experts models.