Punctuator v2
      7 open threads
      
      7 open threads
      
        Compare changes
      
  - Michal Pogoda authored
 
+ 56
 − 22
@@ -63,8 +63,11 @@ def decode(tokens, labels_decoded, tokenizer):
@@ -72,10 +75,14 @@ def inference_masks(num_tokens: int, max_len: int, overlap: int) -> Tuple[List[L
@@ -88,22 +95,44 @@ def inference_masks(num_tokens: int, max_len: int, overlap: int) -> Tuple[List[L
@@ -114,8 +143,11 @@ def inference_masks(num_tokens: int, max_len: int, overlap: int) -> Tuple[List[L
@@ -135,10 +167,12 @@ def combine_masks(num_tokens: int, max_len: int, overlap: int) -> List[List[bool