-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the bug when the number of val/test samples is small (#968)
*Issue #, if available:* #959 *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: Xiang Song <[email protected]>
- Loading branch information
1 parent
457c661
commit 3baab75
Showing
8 changed files
with
235 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"version": "gconstruct-v0.1", | ||
"nodes": [ | ||
{ | ||
"node_id_col": "id", | ||
"node_type": "user", | ||
"format": {"name": "hdf5"}, | ||
"files": "/data/ml-100k/user.hdf5", | ||
"features": [ | ||
{ | ||
"feature_col": "feat" | ||
} | ||
] | ||
}, | ||
{ | ||
"node_id_col": "id", | ||
"node_type": "movie", | ||
"format": {"name": "parquet"}, | ||
"files": "/data/ml-100k/movie.parquet", | ||
"features": [ | ||
{ | ||
"feature_col": "title", | ||
"transform": { | ||
"name": "bert_hf", | ||
"bert_model": "bert-base-uncased", | ||
"max_seq_length": 16 | ||
} | ||
} | ||
], | ||
"labels": [ | ||
{ | ||
"label_col": "label", | ||
"task_type": "classification", | ||
"split_pct": [0.8, 0.001, 0.001] | ||
} | ||
] | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"source_id_col": "src_id", | ||
"dest_id_col": "dst_id", | ||
"relation": ["user", "rating", "movie"], | ||
"format": {"name": "parquet"}, | ||
"files": "/data/ml-100k/edges.parquet", | ||
"labels": [ | ||
{ | ||
"label_col": "rate", | ||
"task_type": "classification", | ||
"split_pct": [0.1, 0.00001, 0.00001] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters