Skip to content

Commit

Permalink
Added random config
Browse files Browse the repository at this point in the history
  • Loading branch information
edorado93 committed Jul 9, 2018
1 parent 0dead58 commit 4f68a84
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Writing-editing network/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ class LargeConfig6(LargeDataset):
use_topics = True
experiment_name = "lg-with-topics-lr-0.0001-WE-300"

class RandomConfig(SmallDataset):
emsize = 512
context_dim = 128
lr = 0.0001
pretrained = None
use_topics = False
experiment_name = "random"

configuration = {
"st1": SmallTopicsConfig1(),
"st2": SmallTopicsConfig2(),
Expand All @@ -168,7 +176,8 @@ class LargeConfig6(LargeDataset):
"l3": LargeConfig3(),
"l4": LargeConfig4(),
"l5": LargeConfig5(),
"l6": LargeConfig6()}
"l6": LargeConfig6(),
"random": RandomConfig()}

def get_conf(name):
return configuration[name]

0 comments on commit 4f68a84

Please sign in to comment.