Upload folder using huggingface_hub
Browse files
Intra0_dictionary_1500_or_less/protein_dictionary.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:502e28aa16205776fb533e4518dad0ce87f41a9db279f65922f7bcbd6116b84d
|
3 |
+
size 4464345341
|
Intra1_dictionary_1500_or_less/protein_dictionary.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3fc6c864958de89a1c463483bfa3bf60673b6fab0c10b4b45137681e50ab040
|
3 |
+
size 5818738031
|
Intra2_dictionary/combine_dictionary.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import torch
|
2 |
+
|
3 |
+
# Example dictionaries
|
4 |
+
dict1 = torch.load("/new-stg/home/young/ppi-data/gold_standard_embedded/Intra2_dictionary_1500_or_less/protein_dictionary.pt")
|
5 |
+
dict2 = torch.load("/new-stg/home/young/ppi-data/gold_standard_embedded/Intra2_dictionary_1500_greater/protein_dictionary.pt")
|
6 |
+
|
7 |
+
# Combine dictionaries
|
8 |
+
combined_dict = {**dict1, **dict2}
|
9 |
+
|
10 |
+
torch.save(combined_dict, "protein_dictionary.pt")
|
Intra2_dictionary/protein_dictionary.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b29bdf94e44e18cbb48b9d2bdbcdc6f40f4b553f831f8d610182695ec64abef4
|
3 |
+
size 3906111995
|