99 karma · joined Jun 3, 2020 (6y ago) · 54 submissions
comment 2mo ago · link · parent
2.
PrivacyBench: An open benchmark for de-identifying text that scores synthesis(huggingface.co ↗)
4 points · by joewferrara · 4mo ago · discuss
comment 2y ago · link · parent
comment 2y ago · link · parent
The code for the comparison is in this jupyter notebook https://github.com/TonicAI/tonic_validate/blob/main/examples...
Let me know what you think, And your experiences building RAG with Amazon Bedrock!
9.
Validating the RAG Performance of Amazon Titan vs. Cohere Using Amazon Bedrock(tonic.ai ↗)
1 points · by joewferrara · 2y ago · 1 comment
10.
Open Language Model: OLMo(allenai.org ↗)
1 points · by joewferrara · 2y ago · discuss
comment 2y ago · link · parent
13.
Tonic.ai and LlamaIndex join forces to help developers build RAG systems(tonic.ai ↗)
1 points · by joewferrara · 2y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
We recommend that when building a RAG application, the developers build a benchmark dataset specifically tailored to the data being used for the RAG application, and the use case of the RAG application.
comment 3y ago · link · parent
With regards to the metrics, we have an end to end metric that scores how well your RAG response matches a reference correct response called answer similarity score. Last I saw, ragas did not have a score like this as they focus on scoring RAG responses and context without a reference correct answer. We also have a retrieval k-recall score that involves comparing the relevance of the retrieved context to the relevance of the top k context chunks where k is larger than the number of retrieved context chunks. Retrieval k-recall is a good score for tuning how many context chunks your RAG system should retrieve. I do not believe ragas has a score like this.
Structurally, tvalmetrics does not use langchain, while ragas does use langchain. We chose not to use langchain for our LLM API calls to keep the code in the package clear and make it easy for a user to understand exactly how the LLM-assisted evaluation works for each metric. Of course, the drawback of not using langchain means that our package is not integrated with as many LLMs. Currently, we only support using Open AI chat completion models as LLM evaluators to calcaulate the metrics. We plan on adding support for additional LLM evaluators very soon.
comment 3y ago · link · parent
tvalmetrics introduces 6 RAG metrics: answer similarity, retrieval precision, augmentation precision, augmentation accuracy, answer consistency, and retrieval k-recall. Of these 6 metrics, only answer similarity requires reference answers, so you can use the other metrics to measure the performance of your RAG system when you have a test dataset of questions without reference "correct" answers.
comment 3y ago · link · parent
As far as whether using gpt-4 is a safe approach, the best you could ask for is that gpt-4's evaluations match those of human evaluators, and that's what we've found as well as this research.
comment 3y ago · link · parent
comment 3y ago · link · parent
29.
Will Computers Outsmart Mathematicians? (2021) [video](youtube.com ↗)
2 points · by joewferrara · 3y ago · 1 comment