Datasets:

ArXiv:
Elron commited on
Commit
af6b51e
1 Parent(s): 4c6d53b

Upload schema.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. schema.py +1 -1
schema.py CHANGED
@@ -29,7 +29,7 @@ UNITXT_DATASET_SCHEMA = Features(
29
  class ToUnitxtGroup(StreamInstanceOperatorValidator):
30
  group: str
31
  metrics: List[str] = None
32
- postprocessors: List[str] = field(default_factory=lambda: ["to_string"])
33
  remove_unnecessary_fields: bool = True
34
 
35
  def process(self, instance: Dict[str, Any], stream_name: str = None) -> Dict[str, Any]:
 
29
  class ToUnitxtGroup(StreamInstanceOperatorValidator):
30
  group: str
31
  metrics: List[str] = None
32
+ postprocessors: List[str] = field(default_factory=lambda: ["to_string_stripped"])
33
  remove_unnecessary_fields: bool = True
34
 
35
  def process(self, instance: Dict[str, Any], stream_name: str = None) -> Dict[str, Any]: