msiron commited on
Commit
00b3ddd
1 Parent(s): 1e6e599

split -> subset

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,16 +18,16 @@ from pymatgen.core import Structure
18
  HF_TOKEN = os.environ.get("HF_TOKEN")
19
  top_k = 500
20
 
21
- splits = ["compatible_pbe", "compatible_pbesol", "compatible_scan", "non_compatible"]
22
 
23
  # Load only the train split of the dataset
24
 
25
  datasets = []
26
- for split in splits:
27
  dataset = load_dataset(
28
  "LeMaterial/leMat-Bulk",
 
29
  token=HF_TOKEN,
30
- split=split,
31
  columns=[
32
  "lattice_vectors",
33
  "species_at_sites",
 
18
  HF_TOKEN = os.environ.get("HF_TOKEN")
19
  top_k = 500
20
 
21
+ subsets = ["compatible_pbe", "compatible_pbesol", "compatible_scan", "non_compatible"]
22
 
23
  # Load only the train split of the dataset
24
 
25
  datasets = []
26
+ for subset in subsets:
27
  dataset = load_dataset(
28
  "LeMaterial/leMat-Bulk",
29
+ subset,
30
  token=HF_TOKEN,
 
31
  columns=[
32
  "lattice_vectors",
33
  "species_at_sites",