Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,80 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
pretty_name: NanoPLM UniRef50 3M Subset
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- biology
|
| 8 |
+
- protein
|
| 9 |
+
- proteins
|
| 10 |
+
- uniref
|
| 11 |
+
- uniref50
|
| 12 |
+
- protein-language-model
|
| 13 |
+
- bioinformatics
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1M<n<10M
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# NanoPLM UniRef50 3M Subset
|
| 19 |
+
|
| 20 |
+
A 3,000,000-sequence subset of [UniRef50](https://www.uniprot.org/help/uniref) protein
|
| 21 |
+
sequences, pre-split into train/validation sets. Intended for pretraining and
|
| 22 |
+
experimenting with small protein language models (PLMs).
|
| 23 |
+
|
| 24 |
+
## Splits
|
| 25 |
+
|
| 26 |
+
| Split | File | Sequences |
|
| 27 |
+
| ----- | ------------- | --------: |
|
| 28 |
+
| train | `train.fasta` | 2,950,200 |
|
| 29 |
+
| val | `val.fasta` | 49,800 |
|
| 30 |
+
| **total** | | **3,000,000** |
|
| 31 |
+
|
| 32 |
+
## Format
|
| 33 |
+
|
| 34 |
+
Standard FASTA. Each record is a UniRef50 cluster representative — the header is the
|
| 35 |
+
original UniRef50 description line, followed by the amino-acid sequence:
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
>UniRef50_A0A4Y2FNR1 STPR domain-containing protein n=2 Tax=Araneus ventricosus TaxID=182803 RepID=A0A4Y2FNR1_ARAVE
|
| 39 |
+
MGSSSTHLCRLGHGQLIQMPSSVLIIRFNHGTLNYGIQYGVRSIKEKGVTGEAARRQQPITKRERRVAETDEERND...
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
Download the split files directly with the Hugging Face Hub client:
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from huggingface_hub import hf_hub_download
|
| 48 |
+
|
| 49 |
+
train_path = hf_hub_download(
|
| 50 |
+
repo_id="heispv/nanoplm-uniref50-3M-subset",
|
| 51 |
+
filename="train.fasta",
|
| 52 |
+
repo_type="dataset",
|
| 53 |
+
)
|
| 54 |
+
val_path = hf_hub_download(
|
| 55 |
+
repo_id="heispv/nanoplm-uniref50-3M-subset",
|
| 56 |
+
filename="val.fasta",
|
| 57 |
+
repo_type="dataset",
|
| 58 |
+
)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Parse the FASTA (e.g. with Biopython):
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from Bio import SeqIO
|
| 65 |
+
|
| 66 |
+
for record in SeqIO.parse(train_path, "fasta"):
|
| 67 |
+
seq_id = record.id # e.g. "UniRef50_A0A4Y2FNR1"
|
| 68 |
+
sequence = str(record.seq)
|
| 69 |
+
...
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
## Source & License
|
| 73 |
+
|
| 74 |
+
Sequences are derived from UniRef50, part of the
|
| 75 |
+
[UniProt](https://www.uniprot.org/) databases. UniProt data is distributed under the
|
| 76 |
+
[Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
|
| 77 |
+
license. Please cite UniProt when using this dataset:
|
| 78 |
+
|
| 79 |
+
> The UniProt Consortium. *UniProt: the Universal Protein Knowledgebase.*
|
| 80 |
+
> Nucleic Acids Research.
|