Skip to content

feat: refactor code #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

datasets/*
vector_stores/*
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
run-ci:
black src/
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Installation

```bash
git clone [email protected]:explodinggradients/synthetic-qa-paper.git
```

```bash
cd synthetic-qa-paper
```

```bash
pip install -r requirements.txt
```

```bash
pip install -e .
```


## Usage

See example [notebook](notebooks/experiment.ipynb) for usage.
1 change: 0 additions & 1 deletion _run.ipynb

This file was deleted.

Binary file not shown.
Binary file removed caches/sample_experiment/cached_chunks.pkl
Binary file not shown.
Binary file removed caches/sample_experiment/cached_docs.pkl
Binary file not shown.
Binary file removed caches/sample_experiment/cached_queries.pkl
Binary file not shown.
Binary file removed caches/sample_experiment/cached_reranked_rets.pkl
Binary file not shown.
Binary file removed caches/sample_experiment/cached_rets.pkl
Binary file not shown.
Binary file not shown.
Binary file removed caches/sample_experiment/cached_vector_db/index.pkl
Binary file not shown.
Binary file not shown.
Loading