-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add remaining main claim experiments
- Loading branch information
rogerwaleffe
authored and
rogerwaleffe
committed
Aug 25, 2022
1 parent
e9b9584
commit 4250e29
Showing
42 changed files
with
2,468 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
model: | ||
learning_task: LINK_PREDICTION | ||
embeddings: | ||
dimension: 100 | ||
init: | ||
type: NORMAL | ||
options: | ||
mean: 0 | ||
std: 0.001 | ||
decoder: | ||
type: DISTMULT | ||
options: | ||
input_dim: 100 | ||
inverse_edges: true | ||
optimizer: | ||
type: ADAGRAD | ||
options: | ||
learning_rate: 0.1 | ||
loss: | ||
type: SOFTMAX | ||
options: | ||
reduction: SUM | ||
storage: | ||
device_type: cuda | ||
dataset: | ||
base_directory: datasets/freebase86m_beta_battles/ | ||
num_edges: 304727650 | ||
num_train: 304727650 | ||
num_nodes: 86054151 | ||
num_relations: 14824 | ||
num_valid: 16929318 | ||
num_test: 16929308 | ||
edges: | ||
type: FLAT_FILE | ||
embeddings: | ||
type: PARTITION_BUFFER | ||
options: | ||
num_partitions: 16 | ||
buffer_capacity: 4 | ||
prefetching: true | ||
fine_to_coarse_ratio: 1 | ||
num_cache_partitions: 0 | ||
edge_bucket_ordering: OLD_BETA | ||
randomly_assign_edge_buckets: false | ||
prefetch: true | ||
shuffle_input: true | ||
full_graph_evaluation: true | ||
training: | ||
batch_size: 50000 | ||
negative_sampling: | ||
num_chunks: 10 | ||
negatives_per_positive: 500 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
num_epochs: 10 | ||
pipeline: | ||
sync: true | ||
# staleness_bound: 32 | ||
# batch_host_queue_size: 16 | ||
# batch_device_queue_size: 16 | ||
# gradients_device_queue_size: 16 | ||
# gradients_host_queue_size: 16 | ||
# batch_loader_threads: 8 | ||
# batch_transfer_threads: 4 | ||
# compute_threads: 1 | ||
# gradient_transfer_threads: 4 | ||
# gradient_update_threads: 8 | ||
epochs_per_shuffle: 1 | ||
logs_per_epoch: 10 | ||
evaluation: | ||
batch_size: 10000 | ||
negative_sampling: | ||
num_chunks: 1 | ||
negatives_per_positive: 2000 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
pipeline: | ||
sync: true | ||
epochs_per_eval: 1 |
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,79 @@ | ||
model: | ||
learning_task: LINK_PREDICTION | ||
embeddings: | ||
dimension: 100 | ||
init: | ||
type: NORMAL | ||
options: | ||
mean: 0 | ||
std: 0.001 | ||
decoder: | ||
type: DISTMULT | ||
options: | ||
input_dim: 100 | ||
inverse_edges: true | ||
optimizer: | ||
type: ADAGRAD | ||
options: | ||
learning_rate: 0.1 | ||
loss: | ||
type: SOFTMAX | ||
options: | ||
reduction: SUM | ||
storage: | ||
device_type: cuda | ||
dataset: | ||
base_directory: datasets/freebase86m_beta_battles/ | ||
num_edges: 304727650 | ||
num_train: 304727650 | ||
num_nodes: 86054151 | ||
num_relations: 14824 | ||
num_valid: 16929318 | ||
num_test: 16929308 | ||
edges: | ||
type: FLAT_FILE | ||
embeddings: | ||
type: PARTITION_BUFFER | ||
options: | ||
num_partitions: 1024 | ||
buffer_capacity: 256 | ||
prefetching: true | ||
fine_to_coarse_ratio: 128 | ||
num_cache_partitions: 0 | ||
edge_bucket_ordering: TWO_LEVEL_BETA | ||
randomly_assign_edge_buckets: true | ||
prefetch: true | ||
shuffle_input: true | ||
full_graph_evaluation: true | ||
training: | ||
batch_size: 50000 | ||
negative_sampling: | ||
num_chunks: 10 | ||
negatives_per_positive: 500 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
num_epochs: 10 | ||
pipeline: | ||
sync: true | ||
# staleness_bound: 32 | ||
# batch_host_queue_size: 16 | ||
# batch_device_queue_size: 16 | ||
# gradients_device_queue_size: 16 | ||
# gradients_host_queue_size: 16 | ||
# batch_loader_threads: 8 | ||
# batch_transfer_threads: 4 | ||
# compute_threads: 1 | ||
# gradient_transfer_threads: 4 | ||
# gradient_update_threads: 8 | ||
epochs_per_shuffle: 1 | ||
logs_per_epoch: 10 | ||
evaluation: | ||
batch_size: 10000 | ||
negative_sampling: | ||
num_chunks: 1 | ||
negatives_per_positive: 2000 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
pipeline: | ||
sync: true | ||
epochs_per_eval: 1 |
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,71 @@ | ||
model: | ||
learning_task: LINK_PREDICTION | ||
embeddings: | ||
dimension: 100 | ||
init: | ||
type: NORMAL | ||
options: | ||
mean: 0 | ||
std: 0.001 | ||
decoder: | ||
type: DISTMULT | ||
options: | ||
input_dim: 100 | ||
inverse_edges: true | ||
optimizer: | ||
type: ADAGRAD | ||
options: | ||
learning_rate: 0.1 | ||
loss: | ||
type: SOFTMAX | ||
options: | ||
reduction: SUM | ||
storage: | ||
device_type: cuda | ||
dataset: | ||
base_directory: datasets/freebase86m_beta_battles/ | ||
num_edges: 304727650 | ||
num_train: 304727650 | ||
num_nodes: 86054151 | ||
num_relations: 14824 | ||
num_valid: 16929318 | ||
num_test: 16929308 | ||
edges: | ||
type: HOST_MEMORY | ||
embeddings: | ||
type: HOST_MEMORY | ||
prefetch: true | ||
shuffle_input: true | ||
full_graph_evaluation: true | ||
training: | ||
batch_size: 50000 | ||
negative_sampling: | ||
num_chunks: 10 | ||
negatives_per_positive: 500 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
num_epochs: 10 | ||
pipeline: | ||
sync: true | ||
# staleness_bound: 32 | ||
# batch_host_queue_size: 16 | ||
# batch_device_queue_size: 16 | ||
# gradients_device_queue_size: 16 | ||
# gradients_host_queue_size: 16 | ||
# batch_loader_threads: 8 | ||
# batch_transfer_threads: 4 | ||
# compute_threads: 1 | ||
# gradient_transfer_threads: 4 | ||
# gradient_update_threads: 8 | ||
epochs_per_shuffle: 1 | ||
logs_per_epoch: 10 | ||
evaluation: | ||
batch_size: 10000 | ||
negative_sampling: | ||
num_chunks: 1 | ||
negatives_per_positive: 2000 | ||
degree_fraction: 0.5 | ||
filtered: false | ||
pipeline: | ||
sync: true | ||
epochs_per_eval: 1 |
Oops, something went wrong.