MyShell 백서

MyShell

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 40쪽

applications. From advanced thematic research to system management and multi-modal capabilities, AIlice pushes the boundaries of what AI can achieve. Its self-evolving architecture and long-term memory mechanisms promise a future where AI agents autonomously expand their functionalities, revolutionizing personal and professional workflows. # ShellAgent ShellAgent is the most powerful, open, and modular Agentic Framework open-sourced by MyShell. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FuCwGb8kAkz4Hv67gHrHC%2Fimage.png?alt=media&amp;token=88a92d04-df18-4718-922e-6f6c4e5e5822" alt=""><figcaption></figcaption></figure> [GitHub](https://github.com/myshell-ai/ShellAgent) / [Manual](https://docs.myshell.ai/product-manual/create/shellagent-mode-beta) / [Hugging Face](https://huggingface.co/myshell-ai/ShellAgent/tree/main) **ShellAgent** is the most powerful, open, and modular Agentic Framework open-sourced by MyShell.&#x20; * ShellAgent brings AI to the masses with zero-code workflow, letting anyone build cool stuff, even if you're a total newbie. * It’s one product for all your needs, where you can get all the tools you need to create your best AI applications, with just a few clicks. * We’re creating a new transparent and rewarding ecosystem for everyone who contributes. Creators deserve to earn a fair share for their work. The tech world can be a total maze! You need a bunch of different tools to create one thing. It's exhausting and frustrating. Moreover making money in the tech world can be a real struggle too. And that’s why we created ShellAgent! {% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FS2z5zmRQ1zpVzRupjNn1%2FHance.mp4?alt=media&token=c11b7cfd-8e26-4034-9b1a-e5d4f2415998>" %} ## Zero-Code Workflow <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FdnHwYNeRUgLotKUgtBzQ%2FShellagent1.gif?alt=media&amp;token=c4a530f3-487d-42d2-b5f3-3c3b0260c337" alt=""><figcaption></figcaption></figure> The core of ShellAgent is a simple, drag-and-drop interface. You can choose different building blocks, connect widgets, and create the workflow of your own AI application. It's super easy and intuitive. And now we want to highlight some of the central components **Models**: From Flux to SD3, our platform offers a huge selection of models to power your AI creations. Our library is packed with thousands of checkpoints, LoRAs, and powerful language models like GPT-4 and Claude 3.5. 11labs and MyShell's OpenVoice will make your AI app sound just like a real person. **APIs**: With ShellAgent, you can link up with almost any API out there. From Instagram and X to super-smart services like Wolfram Alpha. Your app can access and share data with other platforms, expanding its reach and capabilities. **Custom Tools**: Our custom tools, which include functional widgets designed to improve workflow flexibility, will let you customize everything from the layout to the complex logic. With our drag-and-drop interface and wide range of tools, the possibilities are endless. ## All-in-One Model Hub <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FBajs68TdEbdFFniFI2hq%2FShellagent2.gif?alt=media&amp;token=28e056f8-14a8-4571-8f96-ea76fb392b3b" alt=""><figcaption></figcaption></figure> Widgets are pre-built components that you can drag and drop into your workflow to add specific features and functionalities. Think of them as ready-made tools that you can customize and use to create different types of AI applications. It can be used for tasks such as text generation, image classification, speech recognition, and more. We have a diverse collection of more than 300 widgets deployed at[myshell.ai](https://myshell.ai/), including powerful pre-built models and innovative APIs. From foundational Base Models to advanced plugins like Auto Prompt, Voice Clones, fine-tuning and stylized Stable Diffusion (SD), Online Search, GIF generators, and more. ## SOTA Usecase SOTA stands for **state-of-the-art** commonly used in AI to refer to the most advanced and highest-performing methods available. That's why we use these methods in everything we do. From image generation to natural language processing, our tools are of the highest quality. If you see something impressive elsewhere, chances are you can create something even better with ShellAgent. Curious to see how is it in action? We'll be rolling out a more in-depth guide soon, so keep an eye out. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FbEa8Giz32HcHRg4BL0bS%2Fimage.png?alt=media&amp;token=2ea75fd1-708e-4b24-9e90-fb25526e0818" alt=""><figcaption></figcaption></figure> With our shared library of pre-built workflows, you can easily copy and customize existing AI applications to fit your needs faster than ever. This feature lets you leverage the work of others. Plus, with our monetization features, you can even turn your creations into a profitable venture. Your high-level workflows can let others benefit from your expertise. It’s a simple turning of your AI creations into a profitable venture with just a few clicks. ## Shared Workflow <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2F8gFfK3ihvn4leHzH70ZM%2Fimage.png?alt=media&amp;token=671a2f19-392a-42f6-b261-6acf2ee17e3b" alt=""><figcaption></figcaption></figure> With our shared library of pre-built workflows, you can easily copy and customize existing AI applications to fit your needs faster than ever. This feature lets you leverage the work of others. Plus, with our monetization features, you can even turn your creations into a profitable venture. Your high-level workflows can let others benefit from your expertise. It’s a simple turning of your AI creations into a profitable venture with just a few clicks. ## Monetization Made Easy <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FaGTlVJavajjtJkCwqcaH%2FShellagent3.gif?alt=media&amp;token=47e3eb16-0de0-49f0-a8d1-9812cee94cfa" alt=""><figcaption></figcaption></figure> With a live community of thousands of registered users already in the MyShell ecosystem and an AIpp Store featuring one-click trades and total volume surpassing[$1.3M](https://x.com/myshell_ai/status/1827005367202767184), ShellAgent makes it simple to turn your AI creations into cash. Our top creators have earned over $10,000 on our platform, proving that anyone can achieve success. And you could be next! Our platform empowers creators of all levels to earn real income. With just a few clicks you can integrate your AI app, giving its access to a vast audience. Thousands of creators are already earning substantial incomes on our platform, and there's room for you too! There is no other platform that does what we do. We're building a fair and transparent creator economy where everyone can benefit and see the rewards. ShellAgent is more than just a product; it opens up a path for a whole new wave of AI applications. # OpenVoice Instant voice cloning by MIT and MyShell. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FYDrsFLreZDdivHvmNu5z%2Fimage.png?alt=media&amp;token=a6da855b-370e-4ff5-819a-2977754e38e0" alt=""><figcaption></figcaption></figure> <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FgJplQkGdwfYppLLLLQnH%2Fstar-history-20241227.png?alt=media&amp;token=daa90f4d-c1c4-4f7c-8b4c-bbda2f31cb94" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fctj4lWzmV4JcZiXnA9mt%2Fimage.png?alt=media&amp;token=6ef5ecc2-6a1c-49ac-a931-df1e027eecef" alt="" width="375"><figcaption></figcaption></figure> [GitHub](https://github.com/myshell-ai/OpenVoice) / [Paper](https://arxiv.org/abs/2312.01479) / [Website](https://research.myshell.ai/open-voice) OpenVoice has been powering the instant voice cloning capability of [myshell.ai](https://app.myshell.ai/explore) since May 2023. Until Nov 2023, the voice cloning model has been used tens of millions of times by users worldwide, and witnessed the explosive user growth on the platform. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FuEjN5V8zkt8NnhE2FjY4%2Fimage.png?alt=media&amp;token=e694d738-d56e-4dec-a4dc-7ec283c40406" alt=""><figcaption><p><a href="https://research.myshell.ai/open-voice/zero-shot-cross-lingual-voice-cloning">https://research.myshell.ai/open-voice/zero-shot-cross-lingual-voice-cloning</a></p></figcaption></figure> {% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fv82AtGestUEF08fsMSgl%2FrWV8g_2v8d-w7eg7.mp4?alt=media&token=270b8b42-ea27-4c4f-a479-dad64ca14212>" %} ## History ### OpenVoice V1 As we detailed in our [paper](https://arxiv.org/abs/2312.01479) and [website](https://research.myshell.ai/open-voice), the advantages of OpenVoice are three-fold: **1. Accurate Tone Color Cloning.** OpenVoice can accurately clone the reference tone color and generate speech in multiple languages and accents. **2. Flexible Voice Style Control.** OpenVoice enables granular control over voice styles, such as emotion and accent, as well as other style parameters including rhythm, pauses, and intonation. **3. Zero-shot Cross-lingual Voice Cloning.** Neither of the language of the generated speech nor the language of the reference speech needs to be presented in the massive-speaker multi-lingual training dataset. {% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FgBAHv4rS1515SZw9RQjO%2F291004056-3cba936f-82bf-476c-9e52-09f0f417bb2f.mp4?alt=media&token=85e26ff6-477b-4f14-a7b0-1201d44384c4>" %} ### OpenVoice V2 In April 2024, we released OpenVoice V2, which includes all features in V1 and has: **1. Better Audio Quality.** OpenVoice V2 adopts a different training strategy that delivers better audio quality. **2. Native Multi-lingual Support.** English, Spanish, French, Chinese, Japanese and Korean are natively supported in OpenVoice V2. **3. Free Commercial Use.** Starting from April 2024, both V2 and V1 are released under MIT License. Free for commercial use. ## How to Use Please see [usage](https://github.com/myshell-ai/OpenVoice/blob/main/docs/USAGE.md) for detailed instructions. ### Common Issues Please see [QA](https://github.com/myshell-ai/OpenVoice/blob/main/docs/QA.md) for common questions and answers. We will regularly update the question and answer list. ## Citation ``` @article{qin2023openvoice, title={OpenVoice: Versatile Instant Voice Cloning}, author={Qin, Zengyi and Zhao, Wenliang and Yu, Xumin and Sun, Xin}, journal={arXiv preprint arXiv:2312.01479}, year={2023} } ``` ## License OpenVoice V1 and V2 are MIT Licensed. Free for both commercial and research use. # MeloTTS High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FSwYlvp6yotf1Y9T4zejT%2Fimage.png?alt=media&amp;token=54c36526-1605-4dbb-8f4e-e286fb7cf7de" alt=""><figcaption></figcaption></figure> <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2F2hPCxnz2ZjHQZZBC9E0P%2Fstar-history-20241227%20(1).png?alt=media&amp;token=1cf860a8-3bb4-4c37-a57c-4f7290919cd7" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fo7pGw7PIIxDzSlFsWokQ%2Fimage.png?alt=media&amp;token=aeee7bf7-5095-4bca-ae2e-72e73af5f0df" alt="" width="375"><figcaption></figcaption></figure> [GitHub](https://github.com/myshell-ai/MeloTTS) MeloTTS is a **high-quality multi-lingual** text-to-speech library by [MIT](https://www.mit.edu/) and [MyShell.ai](https://myshell.ai/). Supported languages include: | Language | Example | | -------------------- | ---------------------------------------------------------------------------------------------------------------------- | | English (American) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-US/speed_1.0/sent_000.wav) | | English (British) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-BR/speed_1.0/sent_000.wav) | | English (Indian) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN_INDIA/speed_1.0/sent_000.wav) | | English (Australian) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-AU/speed_1.0/sent_000.wav) | | English (Default) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/en/EN-Default/speed_1.0/sent_000.wav) | | Spanish | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/es/ES/speed_1.0/sent_000.wav) | | French | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/fr/FR/speed_1.0/sent_000.wav) | | Chinese (mix EN) | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/zh/ZH/speed_1.0/sent_008.wav) | | Japanese | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/jp/JP/speed_1.0/sent_000.wav) | | Korean | [Link](https://myshell-public-repo-host.s3.amazonaws.com/myshellttsbase/examples/kr/KR/speed_1.0/sent_000.wav) | Some other features include: * The Chinese speaker supports `mixed Chinese and English`. * Fast enough for `CPU real-time inference`. ## Usage * [Use without Installation](https://github.com/myshell-ai/MeloTTS/blob/main/docs/quick_use.md) * [Install and Use Locally](https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md) * [Training on Custom Dataset](https://github.com/myshell-ai/MeloTTS/blob/main/docs/training.md) The Python API and model cards can be found in [this repo](https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md#python-api) or on [HuggingFace](https://huggingface.co/myshell-ai). **Contributing** If you find this work useful, please consider contributing to this repo. * Many thanks to [@fakerybakery](https://github.com/fakerybakery) for adding the Web UI and CLI part. ## **Citation** ``` @software{zhao2024melo, author={Zhao, Wenliang and Yu, Xumin and Qin, Zengyi}, title = {MeloTTS: High-quality Multi-lingual Multi-accent Text-to-Speech}, url = {https://github.com/myshell-ai/MeloTTS}, year = {2023} } ``` ## License This library is under MIT License, which means it is free for both commercial and non-commercial use. <br> # JetMoE JetMoE: Reaching LLaMA2 Performance with 0.1M Dollars <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FKCITswcuYA4iObNM9nr6%2Fimage.png?alt=media&amp;token=ab45f124-b23f-4b89-94f1-34ac5c4858e4" alt=""><figcaption></figcaption></figure> <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fb4t54HRwSNNquSn9XY4P%2Fimage.png?alt=media&amp;token=da39a771-dd12-4c88-a282-03274ec76a2f" alt="" width="375"><figcaption></figcaption></figure> [GitHub](https://github.com/myshell-ai/JetMoE) / [Website](https://research.myshell.ai/jetmoe) / [HuggingFace](https://huggingface.co/jetmoe/jetmoe-8b) / [Online Demo on Lepton AI](< https://www.lepton.ai/playground/chat?model=jetmoe-8b-chat>) / [Technical Report](Https://arxiv.org/pdf/2404.07413.pdf) JetMoE-8B is **trained with less than $ 0.1 million** (\*) **cost but outperforms LLaMA2-7B from Meta AI**, who has multi-billion-dollar training resources. LLM training can be **much cheaper than people previously thought**. It is **fully open-sourced and academia-friendly** because: * It **only uses public datasets** for training, and the code is open-sourced. No proprietary resource is needed. * It **can be finetuned with very limited compute budget** (e.g., consumer-grade GPU) that most labs can afford. JetMoE-8B **only has 2.2B active parameters** during inference, which drastically lowers the computational cost. Compared to a model with similar inference computation, like Gemma-2B, JetMoE-8B achieves constantly better performance. (\*) We used a 96×H100 GPU cluster for 2 weeks, which cost \~$0.08 million. <figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2Fm5VWSDJyl1GZribSLONn%2Fimage.png?alt=media&amp;token=9913e583-b2c1-4e0f-ac3e-d6f6f2d09624" alt=""><figcaption></figcaption></figure> ## Benchmarks We use the same evaluation methodology as in the Open LLM leaderboard. For MBPP code benchmark, we use the same evaluation methodology as in the LLaMA2 and Deepseek-MoE paper. The results are shown below: | Model | Activate Params | Training Tokens | Open LLM Leaderboard Avg | ARC | Hellaswag | MMLU | TruthfulQA | WinoGrande | GSM8k | MBPP | HumanEval | | --------------- | --------------- | --------------- | ------------------------ | --------- | --------- | -------- | ---------- | ---------- | -------- | -------- | --------- | | Shot | | | | 25 | 10 | 5 | 0 | 5 | 5 | 3 | 0 | | Metric | | | | acc\_norm | acc\_norm | acc | mc2 | acc | acc | Pass\@1 | Pass\@1 | | LLaMA2-7B | 7B | 2T | 51.0 | 53.1 | 78.6 | 46.9 | 38.8 | 74 | 14.5 | 20.8 | 12.8 | | LLaMA-13B | 13B | 1T | 51.4 | **56.2** | **80.9** | 47.7 | 39.5 | **76.2** | 7.6 | 22.0 | 15.8 | | DeepseekMoE-16B | 2.8B | 2T | 51.1 | 53.2 | 79.8 | 46.3 | 36.1 | 73.7 | 17.3 | 34.0 | **25.0** | | Gemma-2B | 2B | 2T | 46.4 | 48.4 | 71.8 | 41.8 | 33.1 | 66.3 | 16.9 | 28.0 | 24.4 | | JetMoE-8B | 2.2B | 1.25T | **53.0** | 48.7 | 80.5 | **49.2** | **41.7** | 70.2 | **27.8** | **34.2** | 14.6 | | Model | MT-Bench Score | | ------------------ | -------------- | | GPT-4 | 9.014 | | GPT-3.5-turbo | 7.995 | | Claude-v1 | 7.923 | | **JetMoE-8B-chat** | **6.681** | | Llama-2-13b-chat | 6.650 | | Vicuna-13b-v1.3 | 6.413 | | Wizardlm-13b | 6.353 | | Llama-2-7b-chat | 6.269 | To our surprise, despite the lower training cost and computation, JetMoE-8B performs even better than LLaMA2-7B, LLaMA-13B, and DeepseekMoE-16B. Compared to a model with similar training and inference computation, like Gemma-2B, JetMoE-8B achieves better performance. ## Model Usage To load the models, you need install this package: ``` pip install -e . ``` Then you can load the model with the following code: ``` from transformers import AutoTokenizer, AutoModelForCausalLM, AutoConfig, AutoModelForSequenceClassification from jetmoe import JetMoEForCausalLM, JetMoEConfig, JetMoEForSequenceClassification AutoConfig.register("jetmoe", JetMoEConfig) AutoModelForCausalLM.register(JetMoEConfig, JetMoEForCausalLM) AutoModelForSequenceClassification.register(JetMoEConfig, JetMoEForSequenceClassification) tokenizer = AutoTokenizer.from_pretrained('jetmoe/jetmoe-8b') model = AutoModelForCausalLM.from_pretrained('jetmoe/jetmoe-8b') ``` ## Model Details Please refer to the technical report <https://arxiv.org/pdf/2404.07413
프로젝트로 돌아가기