Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ This dataset contains all the text annotations we collected and parsed from UniP
|
|
| 23 |
|
| 24 |
### Dataset Sources
|
| 25 |
|
| 26 |
-
- **Repository:**
|
| 27 |
- **Paper:** https://www.biorxiv.org/content/10.1101/2024.07.22.604688v2.abstract
|
| 28 |
- **Model checkpoints:** https://huggingface.co/h4duan
|
| 29 |
|
|
@@ -35,10 +35,11 @@ This dataset contains all the text annotations we collected and parsed from UniP
|
|
| 35 |
|
| 36 |
```
|
| 37 |
from datasets import load_dataset
|
|
|
|
|
|
|
| 38 |
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
```
|
| 42 |
### Out-of-Scope Use
|
| 43 |
|
| 44 |
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|
|
|
|
| 23 |
|
| 24 |
### Dataset Sources
|
| 25 |
|
| 26 |
+
- **Repository:** https://github.com/h4duan/PAIR
|
| 27 |
- **Paper:** https://www.biorxiv.org/content/10.1101/2024.07.22.604688v2.abstract
|
| 28 |
- **Model checkpoints:** https://huggingface.co/h4duan
|
| 29 |
|
|
|
|
| 35 |
|
| 36 |
```
|
| 37 |
from datasets import load_dataset
|
| 38 |
+
data = load_dataset("mskrt/PAIR", annotation_type="function", trust_remote_code=True)
|
| 39 |
+
```
|
| 40 |
|
| 41 |
+
where `annotation_type` is one of the 19 annotation types we considered in our work. Here is a list of all the possible annotation types you can load: `['function', 'active_sites', 'activity_regulation'...]`
|
| 42 |
|
|
|
|
|
|
|
| 43 |
### Out-of-Scope Use
|
| 44 |
|
| 45 |
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|