Website Β· Producthunt Β· Documentation
YiVal is an GenAI-Ops framework that allows you to iteratively tune your Generative AI model metadata, params, prompts and retrieval configs all at once with your preferred choices of test dataset generation, evaluation algorithms and improvement strategies.
Check out our quickstart guide! β
- Add ROUGE and BERTScore evaluators
- Add support to midjourney
- Add support to LLaMA2-70B, LLaMA2-7B, Falcon-40B,
- Support LoRA fine-tune to open source models
π§ Experiment Mode: | π€ Agent Mode (Auto-prompting): | |
---|---|---|
Workflow | Define your AI/ML application β‘οΈ Define test dataset β‘οΈ Evaluate π Improve β‘οΈ Prompt related artifacts built β | Define your AI/ML application β‘οΈ Auto-prompting β‘οΈ Prompt related artifacts built β |
Features | π Streamlined prompt development process π Support for multimedia and multimodel π Support CSV upload and GPT4 generated test data π Dashboard tracking latency, price and evaluator results π Human(RLHF) and algorithm based improvers π Service with detailed web view π Customizable evaluators and improvers |
π Non-code experience of Gen-AI application build π Witness your Gen-AI application born and improve with just one click |
We support 100+ LLM ( gpt-4 , gpt-3.5-turbo , llama e.g.).
Different Model sources can be viewed as follow
Model | llm-Evaluate | Human-Evaluate | Variation Generate | Custom func |
---|---|---|---|---|
OpenAI | β | β | β | β |
Azure | β | β | β | β |
TogetherAI | β | β | β | β |
Cohere | β | β | β | β |
Huggingface | β | β | β | β |
Anthropic | β | β | β | β |
MidJourney | β | β |
To support different models in custom func(e.g. Model Comparison) , follow our example
To support different models in evaluators and generators , check our config
pip install yival
Demo | Supported Features | Colab Link |
---|---|---|
π― Craft your AI story with ChatGPT and MidJourney | Multi-modal support of text and images. | |
π Evaluate different LLM Model Performance With Your Own Q&A Test Dataset | Easy model evaluation and comparison against 100+ models, thanks to LiteLLM. It provides a benchmark of model performances tailored to your customized use case or test data. | |
π₯ Startup Company Headline Generation Bot | Automate prompt evolution | |
𧳠Build Your Customized Travel Guide Bot | Automate prompt generation by retrieving the most related popular prompt from the community. e.g. awesome-chatgpt-prompts | |
π Build a Cheaper Translator: Let GPT-4 Teach Llama2 to Create an Cheaper Translator | Use GPT-4-generated test data to fine-tune the translation bot of Llama2 with Replicate. 6% sacrifice in performance, 18x save in cost. | |
π€οΈ Chat with Your Favorite Characters - ζΎΉε°η¬ fromγιΏζη¬ζγ | Give your character a soul with automated prompt generation and character scripts retrieval |
Yival has multimodal capabilities and can handle generated images in AIGC really well.
Find more information in the Animal story demo we provided.
yival run demo/configs/animal_story.yml
To get started with a demo for basic interactive mode of YiVal, run the following command:
yival demo --auto_prompts
Once started, navigate to the following address in your web browser:
http://127.0.0.1:8073/interactive
For more details on this demo, check out the Basic Interactive Mode Demo.
yival demo --qa_expected_results
Once started, navigate to the following address in your web browser: http://127.0.0.1:8073/
For more details, check out the Question Answering with expected result evaluator.
yival demo --basic_interactive
Once started, navigate to the following address in your web browser: http://127.0.0.1:8073/
π YiVal welcomes your contributions! π
π₯³ Thanks so much to all of our amazing contributors π₯³
Paper | Author | Topics | YiVal Contributor | Data Generator | Variation Generator | Evaluator | Selector | Evolver | Config |
---|---|---|---|---|---|---|---|---|---|
Large Language Models Are Human-Level Prompt Engineers | Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han | YiVal Evolver, Auto-Prompting | @Tao Feng | OpenAIPromptDataGenerator | OpenAIPromptVariationGenerator | OpenAIPromptEvaluator, OpenAIEloEvaluator | AHPSelector | OpenAIPromptBasedCombinationImprover | config |
BERTScore: Evaluating Text Generation with BERT | Tianyi Zhang, Varsha Kishore, Felix Wu | YiVal Evaluator, bertscore, rouge | @crazycth | - | - | BertScoreEvaluator | - | - | - |
AlpacaEval | Xuechen Li, Tianyi Zhang, Yann Dubois et. al | YiVal Evaluator | @Tao Feng | - | - | AlpacaEvalEvaluator | - | - | config |
Chain of Density | Griffin Adams Alexander R. Fabbri et. el | Prompt Engineering | @Tao Feng | ChainOfDensityGenerator | config |