thewall commited on
Commit
eb8b841
·
1 Parent(s): 6881767

Update jolma_split.py

Browse files
Files changed (1) hide show
  1. jolma_split.py +4 -1
jolma_split.py CHANGED
@@ -53,6 +53,9 @@ PROTEIN_INFO_FILE = _DOWNLODE_MANAGER.download(f"{_RESOURCE_URL}/ERP001824-Unipr
53
  pattern = re.compile("(\d+)")
54
  URL = "https://huggingface.co/datasets/thewall/jolma_split/resolve/main"
55
 
 
 
 
56
 
57
  class JolmaSplitConfig(datasets.BuilderConfig):
58
  def __init__(self, protein_prefix="", protein_suffix="", max_length=1000, max_gene_num=1,
@@ -73,7 +76,7 @@ class JolmaSubset(datasets.GeneratorBasedBuilder):
73
  PROTEIN_INFO = pd.read_excel(PROTEIN_INFO_FILE, index_col=0)
74
 
75
  BUILDER_CONFIGS = [
76
- JolmaSplitConfig(name=key) for key in ["p70c10s61087t100", "p99c3s325414t1000"]
77
  ]
78
 
79
  DEFAULT_CONFIG_NAME = "p70c10s61087t100"
 
53
  pattern = re.compile("(\d+)")
54
  URL = "https://huggingface.co/datasets/thewall/jolma_split/resolve/main"
55
 
56
+ """
57
+ p70c10s61087t100 p70:70种蛋白,c10:count>10的序列,s61087:总共61087条序列,t100:小于100条序列的蛋白质划分至训练集
58
+ """
59
 
60
  class JolmaSplitConfig(datasets.BuilderConfig):
61
  def __init__(self, protein_prefix="", protein_suffix="", max_length=1000, max_gene_num=1,
 
76
  PROTEIN_INFO = pd.read_excel(PROTEIN_INFO_FILE, index_col=0)
77
 
78
  BUILDER_CONFIGS = [
79
+ JolmaSplitConfig(name=key) for key in ["p70c10s61087t100", "p99c3s325414t1000", "p70c3s312303t100"]
80
  ]
81
 
82
  DEFAULT_CONFIG_NAME = "p70c10s61087t100"