Megalodon - Pytorch
Project description
Megalodon
Sail the Seas of Data and Dive into the Depths of Computation!
Megalodon: The Orca is no match.
Welcome aboard, shipmates! Let Megalodon be your steadfast vessel on the uncharted ocean of Big Data and Machine Learning. With our rich datasets and detailed mathematical models, there's no computational storm we can't weather together!
"We didn't name it 'Megalodon' for nothing. It's big, it's powerful, and it's got a heck of a bite when it comes to data crunching!" - Captain Codebeard
Navigation Chart
Dataset Sample (Row by Row) [Input] --(Feeds into)--> [Model] --(Outputs)--> Dataset Sample (Row by Row)
Deck Logs (Changelog)
- v2.0.0 - The Leviathan Update - We've surfaced some serious computational power in this one! Modular integration of HuggingFace and OpenAI models.
- v1.5.0 - The Kraken Patch - Tightened up the tentacles of the code. Fewer bugs will be slipping through!
- v1.0.0 - Maiden Voyage - Initial launch! The Megalodon sets sail!
Shipwright's Guide (Installation)
Batten down the hatches and ready your terminal, it's time to summon the Megalodon:
git clone https://github.com/megalodon-ds/megalodon.git
cd megalodon
pip install -r requirements.txt
Navigational Tools (Usage)
- Start your voyage with a good map. (Load your dataset)
from megalodon import Megalodon
# Using OpenAI model
megalodon = Megalodon(model_id="gpt-3", api_key="your-api-key", dataset="flax-sentence-embeddings/stackexchange_math_jsonl")
# Using Hugging Face model
megalodon = Megalodon(model_id="gpt2", dataset="flax-sentence-embeddings/stackexchange_math_jsonl")
- Set sail! (Generate explanations)
explanations = megalodon.run()
- Return to port. (Save your results)
megalodon.save_to_huggingface(explanations, 'hf_output_dir')
Please replace "your-api-key"
with your actual OpenAI API key, and 'hf_output_dir'
with your desired output directory for the Hugging Face datasets.
Lifeboats (Support)
If you find yourself overboard in a sea of confusion, don't panic! Shoot a flare to our issue tracker on Github, and our dedicated crew will row to your rescue.
Crow's Nest (Future Plans)
- New Species Detection - We're constantly exploring unknown waters to find and integrate new algorithms and data models into Megalodon.
- Crew Training - Comprehensive documentation and examples are on the horizon to help you get the most out of your voyage with Megalodon.
Thank you for choosing to sail with Megalodon. May fair winds and calm seas guide your data journey!
Happy Sailing!
The Megalodon Team
Todo:
- Better prompt
- More seamless model handling, plug and play with any model from OpenAI or HuggingFace.
- Save to HuggingFace after each iteration is labeled
- Potentially use Parquet for optimized storage
- Add in polymorphic or shape shifting preprocessing logic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for megaladon-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad8169e4e08adff6325170ddebf8819a92feb6fb49505ec07fe148cf9d51e90 |
|
MD5 | 28f3605e4273b127a4c6f46868f71aaa |
|
BLAKE2b-256 | 12c2b67e2ebdd774e3083e09db2261293375ba2fc06e225d38027a208607b64f |