Update links
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
datasets:
|
4 |
-
-
|
5 |
language:
|
6 |
- en
|
7 |
tags:
|
@@ -73,14 +73,14 @@ from transformers import AutoTokenizer
|
|
73 |
from datasets import load_dataset
|
74 |
|
75 |
# Load AMPLIFY and tokenizer
|
76 |
-
model = AutoModel.from_pretrained("
|
77 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
78 |
|
79 |
# Move the model to GPU (required due to Flash Attention)
|
80 |
model = model.to("cuda")
|
81 |
|
82 |
# Load the UniProt validation set
|
83 |
-
dataset = load_dataset("
|
84 |
|
85 |
for sample in dataset:
|
86 |
# Protein
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
datasets:
|
4 |
+
- chandar-lab/UR100P
|
5 |
language:
|
6 |
- en
|
7 |
tags:
|
|
|
73 |
from datasets import load_dataset
|
74 |
|
75 |
# Load AMPLIFY and tokenizer
|
76 |
+
model = AutoModel.from_pretrained("chandar-lab/AMPLIFY_350M", trust_remote_code=True)
|
77 |
+
tokenizer = AutoTokenizer.from_pretrained("chandar-lab/AMPLIFY_350M", trust_remote_code=True)
|
78 |
|
79 |
# Move the model to GPU (required due to Flash Attention)
|
80 |
model = model.to("cuda")
|
81 |
|
82 |
# Load the UniProt validation set
|
83 |
+
dataset = load_dataset("chandar-lab/UR100P", data_dir="UniProt", split="test")
|
84 |
|
85 |
for sample in dataset:
|
86 |
# Protein
|