kaizen9 commited on
Commit
6d8cb9e
1 Parent(s): b85a5dd

Update hf_prefixlm_converter.py

Browse files
Files changed (1) hide show
  1. hf_prefixlm_converter.py +1 -0
hf_prefixlm_converter.py CHANGED
@@ -6,6 +6,7 @@ Causal LM to convert it to a Prefix LM.
6
  Prefix LMs accepts a `bidirectional_mask` input in `forward`
7
  and treat the input prompt as the prefix in `generate`.
8
  """
 
9
  import math
10
  import warnings
11
  from types import MethodType
 
6
  Prefix LMs accepts a `bidirectional_mask` input in `forward`
7
  and treat the input prompt as the prefix in `generate`.
8
  """
9
+
10
  import math
11
  import warnings
12
  from types import MethodType