Skip to content

Commit

Permalink
Adding license and copyright notices (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyaivo authored Nov 5, 2024
1 parent bf8e949 commit 69e0ce5
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,20 @@ To generate per-k reader result plots with retrieval results overlaid on top, ru
python reader/plot_per_k.py --eval_file {dataset}-{model_name}-None-shot{}-ndoc*-cite-{retriever}.json.score --ret_file {dataset}_retrieval-{retriever}.json --ret_metric {top-k accuracy/precision@k/recall@k}
```

## Additional code licenses
Our repository has adapted some code from three different sources, all under the MIT License.

The copyright associated with each source:
* [ALCE](https://github.com/princeton-nlp/ALCE/): Copyright (c) 2023 Princeton Natural Language Processing
* [RAGGED](https://github.com/neulab/ragged/): Copyright (c) Carnegie Mellon University
* [ColBERT](https://github.com/stanford-futuredata/ColBERT/): Copyright (c) 2019, 2020 Stanford Future Data Systems

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Disclaimer
This “research quality code” is provided by Intel “As Is” without any express
or implied warranty of any kind. Intel does not warrant or assume
Expand Down
4 changes: 4 additions & 0 deletions reader/eval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Some of this code is based on prior work under the MIT License:
# Copyright (c) 2023 Princeton Natural Language Processing
# Copyright (c) Carnegie Mellon University

import argparse
import collections
from collections import Counter
Expand Down
3 changes: 3 additions & 0 deletions reader/run.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Some of this code is based on prior work under the MIT License:
# Copyright (c) 2023 Princeton Natural Language Processing

import logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)
Expand Down
3 changes: 3 additions & 0 deletions reader/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Some of this code is based on prior work under the MIT License:
# Copyright (c) 2023 Princeton Natural Language Processing

import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
Expand Down
3 changes: 3 additions & 0 deletions retriever/eval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Some of this code is based on prior work under the MIT License:
# Copyright (c) 2023 Princeton Natural Language Processing

import json
import os
import warnings
Expand Down
3 changes: 3 additions & 0 deletions retriever/run.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Some of this code is based on prior work under the MIT License:
# Copyright (c) 2023 Princeton Natural Language Processing

import argparse
import gc
import json
Expand Down

0 comments on commit 69e0ce5

Please sign in to comment.