Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,16 +72,16 @@ def compute_loss(model, inputs):
|
|
| 72 |
return loss
|
| 73 |
|
| 74 |
# Load the data from pickle files (replace with your local paths)
|
| 75 |
-
with open("AmelieSchreiber/binding_sites_random_split_by_family/train_sequences_chunked_by_family.pkl", "rb") as f:
|
| 76 |
train_sequences = pickle.load(f)
|
| 77 |
|
| 78 |
-
with open("AmelieSchreiber/binding_sites_random_split_by_family/test_sequences_chunked_by_family.pkl", "rb") as f:
|
| 79 |
test_sequences = pickle.load(f)
|
| 80 |
|
| 81 |
-
with open("AmelieSchreiber/binding_sites_random_split_by_family/train_labels_chunked_by_family.pkl", "rb") as f:
|
| 82 |
train_labels = pickle.load(f)
|
| 83 |
|
| 84 |
-
with open("AmelieSchreiber/binding_sites_random_split_by_family/test_labels_chunked_by_family.pkl", "rb") as f:
|
| 85 |
test_labels = pickle.load(f)
|
| 86 |
|
| 87 |
# Tokenization
|
|
|
|
| 72 |
return loss
|
| 73 |
|
| 74 |
# Load the data from pickle files (replace with your local paths)
|
| 75 |
+
with open("/datasets/AmelieSchreiber/binding_sites_random_split_by_family/train_sequences_chunked_by_family.pkl", "rb") as f:
|
| 76 |
train_sequences = pickle.load(f)
|
| 77 |
|
| 78 |
+
with open("/datasets/AmelieSchreiber/binding_sites_random_split_by_family/test_sequences_chunked_by_family.pkl", "rb") as f:
|
| 79 |
test_sequences = pickle.load(f)
|
| 80 |
|
| 81 |
+
with open("/datasets/AmelieSchreiber/binding_sites_random_split_by_family/train_labels_chunked_by_family.pkl", "rb") as f:
|
| 82 |
train_labels = pickle.load(f)
|
| 83 |
|
| 84 |
+
with open("/datasets/AmelieSchreiber/binding_sites_random_split_by_family/test_labels_chunked_by_family.pkl", "rb") as f:
|
| 85 |
test_labels = pickle.load(f)
|
| 86 |
|
| 87 |
# Tokenization
|