-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* readme init * new logo * new logo * new logo * fix height * change belar -> ragas * fix ci * Update README.md * added quickstart * lint changes --------- Co-authored-by: Jithin James <[email protected]>
- Loading branch information
Showing
16 changed files
with
109 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,3 +160,4 @@ cython_debug/ | |
#.idea/ | ||
belar/_version.py | ||
**/tmp.ipynb | ||
ragas/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
# BeLAR | ||
Benchmarking LLM Augmented Retrieval | ||
<h1 align="center"> | ||
<img style="vertical-align:middle" height="200" | ||
src="./docs/assets/logo.png"> | ||
</h1> | ||
<p align="center"> | ||
<i>SOTA metrics for evaluating Retrieval Augmented Generation (RAG)</i> | ||
</p> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/beir-cellar/beir/releases"> | ||
<img alt="GitHub release" src="https://img.shields.io/github/release/beir-cellar/beir.svg"> | ||
</a> | ||
<a href="https://www.python.org/"> | ||
<img alt="Build" src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg?color=purple"> | ||
</a> | ||
<a href="https://github.com/beir-cellar/beir/blob/master/LICENSE"> | ||
<img alt="License" src="https://img.shields.io/github/license/beir-cellar/beir.svg?color=green"> | ||
</a> | ||
<a href="https://colab.research.google.com/drive/1HfutiEhHMJLXiWGT8pcipxT5L2TpYEdt?usp=sharing"> | ||
<img alt="Open In Colab" src="https://colab.research.google.com/assets/colab-badge.svg"> | ||
</a> | ||
<a href="https://github.com/beir-cellar/beir/"> | ||
<img alt="Downloads" src="https://badges.frapsoft.com/os/v1/open-source.svg?v=103"> | ||
</a> | ||
</p> | ||
|
||
<h4 align="center"> | ||
<p> | ||
<a href="#beers-installation">Installation</a> | | ||
<a href="#beers-quick-example">Quick Example</a> | | ||
<a href="https://huggingface.co/BeIR">Hugging Face</a> | ||
<p> | ||
</h4> | ||
|
||
## What | ||
|
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from ragas.metrics.base import Evaluation, Metric | ||
from ragas.metrics.factual import EntailmentScore | ||
from ragas.metrics.similarity import SBERTScore | ||
from ragas.metrics.simple import BLUE, EditDistance, EditRatio, Rouge1, Rouge2, RougeL | ||
|
||
__all__ = [ | ||
"Evaluation", | ||
"Metric", | ||
"EntailmentScore", | ||
"SBERTScore", | ||
"BLUE", | ||
"EditDistance", | ||
"EditRatio", | ||
"RougeL", | ||
"Rouge1", | ||
"Rouge2", | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
def test_import(): | ||
import belar | ||
import ragas | ||
|
||
assert belar is not None | ||
assert ragas is not None |