Skip to content

Commit

Permalink
Update hydra's config files with @Package
Browse files Browse the repository at this point in the history
  • Loading branch information
tridao committed Jan 6, 2021
1 parent 1bb2542 commit 0a3de69
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 29 deletions.
1 change: 1 addition & 0 deletions cfg/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @package _global_
defaults:
# - model: lstm
- dataset: mnist
Expand Down
10 changes: 5 additions & 5 deletions cfg/dataset/adding.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dataset:
name: adding
L: 1000
samples: 55000
test_samples: 5000
# @package _group_
name: adding
L: 1000
samples: 55000
test_samples: 5000
16 changes: 8 additions & 8 deletions cfg/dataset/copying.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# @package _group_
# Copying task
dataset:
name: copying
L: 100 # length
M: 10 # number of tokens to memorize
A: 10 # alphabet size
variable: False # Randomly distribute memorization tokens throughout sequence instead of frontloading them
samples: 55000
test_samples: 5000
name: copying
L: 100 # length
M: 10 # number of tokens to memorize
A: 10 # alphabet size
variable: False # Randomly distribute memorization tokens throughout sequence instead of frontloading them
samples: 55000
test_samples: 5000
26 changes: 13 additions & 13 deletions cfg/dataset/ct.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# @package _group_
# CharacterTrajectories
dataset:
name: ct
# Sampling frequency relative to original sequence
train_hz: 1
eval_hz: 1
# Sample evenly or randomly
train_uniform: True
eval_uniform: True
# Include timestamps in input
timestamp: False
# Timestamp scale (multiplier on timestamp)
train_ts: 1
eval_ts: 1
name: ct
# Sampling frequency relative to original sequence
train_hz: 1
eval_hz: 1
# Sample evenly or randomly
train_uniform: True
eval_uniform: True
# Include timestamps in input
timestamp: False
# Timestamp scale (multiplier on timestamp)
train_ts: 1
eval_ts: 1
1 change: 1 addition & 0 deletions cfg/dataset/imdb.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @package _global_
dataset:
name: imdb
vocab_size: 25000
Expand Down
6 changes: 3 additions & 3 deletions cfg/dataset/mnist.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dataset:
name: mnist
permute: False
# @package _group_
name: mnist
permute: False
1 change: 1 addition & 0 deletions cfg/runner/pl.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @package _global_
runner:
name: pl
ntrials: 1
Expand Down

0 comments on commit 0a3de69

Please sign in to comment.