Package: thebestllmever
Andromeda: Ultra-Fast and Ultra-Intelligent SOTA Language Model 🚀🌌Welcome to Andromeda, The Fastest, Most Creative, and Reliable Language Model Ever Built, train your own verison, conduct inference, and finetune your own verison with simple plug in and play scripts get started in 10 seconds, and:💼 Handle Ultra Long Sequences (32,000-200,000+ context lengths)⚡ Ultra Fast Processing (32,000+ tokens in under 100ms)🎓 Superior Reasoning Capabilities🔄 UpdatesREADY FOR TRAINING, help us with the strategy!And, here is the WANDB link to watch Andromeda train live!HiringWe're hiring: Engineers, Researchers, Interns, And, Customer Success Professionals to work on democratizing Andromeda, email me at with your storykye@apac.ai💻 UsageThere are two methods to use Andromedapip install TheBestLLMEvergit clone https://github.com/kyegomez/Andromeda.gitFor detailed instructions, refer to theTraining SOPandDocumentation.Method 1To get started:Clone the repository and install the required packages:gitclonehttps://github.com/kyegomez/AndromedacdAndromeda
pip3install-rrequirements.txtcdAndromeda
python3train.pyFor further instructions, refer to theTraining SOP.📚 TrainingSet the environment variables:ENTITY_NAME: Your wandb project nameOUTPUT_DIR: Directory to save the weights (e.g.,./weights)MASTER_ADDR: For distributed trainingMASTER_PORTFor master port distributed trainingRANK- Number of nodes servicesWORLD_SIZENumber of gpusConfigure the training:Accelerate ConfigEnable Deepspeed 3Accelerate launch train_distributed_accelerate.pyFor more information, refer to theTraining SOP.🗃️ Dataset BuildingTo preprocess adifferent dataset similar to the C4 or Falcon dataset used during training, use thebuild_dataset.pyscript. This script pre-tokenizes the data, chunks it into blocks of a specified sequence length, and uploads it to the Huggingface hub.Example command:python3Andromeda/build_dataset.py--seed42--seq_len8192--hf_account"HUGGINGFACE APIKEY"--tokenizer"EleutherAI/gpt-neox-20b"--dataset_name"EleutherAI/the_pile_deduplicated"🚀 Why Andromeda?Andromeda offers several advantages:Andromeda offers reliable processing of 100,000+ sequence lengths extremely fast under 300msAndromeda's dataset strategy was crafted with atomic precision and attention to detail for creativity and quantitative reasoning.Andromeda is extremely intelligent with the ability to think like a poet or make API Calls to your favorite apps.For detailed information about the model architecture and methods, refer to theModel Architecturedocumentation.🎯 Andromeda PrinciplesEfficiency: Optimize with techniques like attention flashing, rotary position encodings, and deep normalization.Flexibility: Adapt to various tasks and domains for wide applications.Scalability: Designed to scale with resources and data sizes.Community-Driven: Thrives on contributions from the open-source community.🚀 Get InvolvedWe're just at the beginning of our journey. As we continue to develop and refine Andromeda, we invite you to join us. Whether you're a developer, researcher, or simply an enthusiast, your insights and contributions can help shape the future of Andromeda.🤝 Contributing to AndromedaWe are thrilled to invite you to be a part of the Andromeda project. This is not just an open-source project but a community initiative, and we value your expertise and creativity. To show our appreciation, we have instituted a unique rewards system that directly compensates contributors from the revenue generated by the Andromeda API.🌟 Why ContributeContributing to Andromeda not only enhances your skills and profile but also comes with financial rewards. When you contribute code, documentation, or any form of improvement to the Andromeda project, you are adding value. As such, we believe it's only fair that you share in the rewards.💰 Rewards ProgramHere's how the Andromeda Rewards Program works:Submit a Pull Request:This can be a code enhancement, bug fix, documentation update, new feature, or any improvement to the project.Review and Approval:Our team will review your contribution. If it gets approved and merged, you become eligible for the rewards program.Revenue Share:Once your pull request is merged, you will receive a percentage of the revenue generated by the Andromeda API. The percentage will be determined based on the significance and impact of your contribution.This means you're not just contributing to an open-source project; you're becoming a part of the Andromeda ecosystem. Your efforts can yield ongoing benefits as the Andromeda API grows and evolves.🚀 Becoming a Paid APIAs part of our growth strategy, we will be deploying Andromeda as a Paid API. The revenue generated from this API will not only sustain and further the project but also fund the rewards program. If you contribute anything to make Andromeda, you will receive recurring revenue from paid API requests!🚀 How to Start ContributingIf you're ready to become a part of Andromeda and contribute to the future of multimodal embeddings, here's what you need to do:Fork the repository.Make your improvements or additions in your forked repository.Submit a pull request detailing the changes you've made.Our team will review your submission. If it's approved, it will be merged into the main repository, and you will become part of the Andromeda Rewards Program.Thank you for considering contributing to Andromeda. Your expertise and commitment to this project are what make it thrive. Let's build the future of multimodal embeddings together.🗺️ RoadmapTraining phase: Train Andromeda on a large-scale dataset to achieve SOTA performance in various natural language processing tasks.World-class inference infrastructure: Establish a robust and efficient infrastructure that leverages techniques such as:Model quantization: Reduce memory and computational requirements without significant loss in performance.Distillation: Train smaller, faster models that retain the knowledge of the larger model.Optimized serving frameworks: Deploy Andromeda using efficient serving frameworks, such as NVIDIA Triton or TensorFlow Serving, for rapid inference.Continuous improvement: Continuously fine-tune Andromeda on diverse data sources and adapt it to new tasks and domains.Community-driven development: Encourage open-source contributions, including pre-processing improvements, advanced training techniques, and novel use cases.📈 BenchmarksSpeedAndromeda utilizes one of the most reliable Attentions ever, flash attention 2.0 Triton. It consumes 50x less memory than GPT-3 and 10x less than LLAMA.We can speed this up even more with dynamic sparse flash attention 2.0.🔮 Join the JourneyWe're just getting started, and we invite you to join the journey. Let's revolutionize the NLP landscape together! 🚀🌟Join Agora and work with 2,000+ AI Engineers to implement all new features.Provide compute and help train Andromeda.Share the message on how we're liberating this superintelligent AI and seizing the power from the corrupt, providing it back to you.