wangjin2000 commited on
Commit
eccecb6
·
verified ·
1 Parent(s): 83a79a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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