rlancemartin/auto-evaluator
소개
LLM QA 체인을 평가하는 도구
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- +4
- in 15 days
- +7
- in 1 month
- +4
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAuto-evaluator :brain: :memo:
Note See the HuggingFace space for this app: https://huggingface.co/spaces/rlancemartin/auto-evaluator
Note See the hosted app: https://autoevaluator.langchain.com/
Note Code for the hosted app is also open source: https://github.com/langchain-ai/auto-evaluator
This is a lightweight evaluation tool for question-answering using Langchain to:
Ask the user to input a set of documents of interest
Apply an LLM (
GPT-3.5-turbo) to auto-generatequestion-answerpairs from these docsGenerate a question-answering chain with a specified set of UI-chosen configurations
Use the chain to generate a response to each
questionUse an LLM (
GPT-3.5-turbo) to score the response relative to theanswerExplore scoring across various chain configurations
Run as Streamlit app
pip install -r requirements.txt
streamlit run auto-evaluator.py
Inputs
num_eval_questions - Number of questions to auto-generate (if the user does not supply an eval set)
split_method - Method for text splitting
chunk_chars - Chunk size for text splitting
overlap - Chunk overlap for text splitting
embeddings - Embedding method for chunks
retriever_type - Chunk retrieval method
num_neighbors - Neighbors for retrieval
model - LLM for summarization of retrieved chunks
grade_prompt - Prompt choice for model self-grading
Blog
https://blog.langchain.dev/auto-eval-of-question-answering-tasks/
UI

Disclaimer
You will need an OpenAI API key with access to `GPT-4` and an Anthropic API key to take advantage of all of the default dashboard model settings. However, additional models (e.g., from Hugging Face) can be easily added to the app.
관련 프로젝트 살펴보기
불러오는 중…