Skip to content
Snippets Groups Projects
Commit 4048fd33 authored by Simon Will's avatar Simon Will
Browse files

Merge branch 'master' of gitlab.cl.uni-heidelberg.de:will/joeynmt-server

parents 40e914d9 6308bf99
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ def train(config_basename, smallest_usage_count, segment_1, segment_2):
segment_1_threshold = 5
segment_1_batch_size = 5
segment_2_batch_size = 5
segment_3_batch_size = 10
segment_3_batch_size = 15
joey_dir = current_app.config.get('JOEY_DIR')
config_file = joey_dir / 'configs' / config_basename
......
......@@ -107,7 +107,8 @@ def query_feedback():
model = parse.model if parse else None
model_lin = parse.lin if parse else None
joined = {
'id': piece.id, 'nl': piece.nl, 'correct_lin': piece.correct_lin,
'id': piece.id, 'created': piece.created.isoformat(),
'nl': piece.nl, 'correct_lin': piece.correct_lin,
'original_model': piece.model, 'original_lin': piece.system_lin,
'parent_id': piece.parent_id,
'model': model, 'model_lin': model_lin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment