Commit 87e147e1 authored by lintangsutawika's avatar lintangsutawika
Browse files

reformat

parent 6accb48f
......@@ -45,7 +45,6 @@ class WhitespaceFilter(Filter):
pass
def apply(self, resps):
def filter_set(inst):
filtered_resp = []
......@@ -59,4 +58,4 @@ class WhitespaceFilter(Filter):
filtered_resps = [filter_set(resp) for resp in resps]
return filtered_resps
\ No newline at end of file
return filtered_resps
......@@ -12,13 +12,13 @@ target_delimiter: ""
generation_kwargs:
until:
- "\n"
- "."
- "."
- ","
do_sample: false
temperature: 0.0
filter_list:
- name: remove_whitespace
filter:
filter:
- function: remove_whitespace
- function: take_first
metric_list:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment