Update tokenization_xgen.py
Browse files- tokenization_xgen.py +1 -1
tokenization_xgen.py
CHANGED
@@ -115,7 +115,7 @@ class XgenTokenizer(PreTrainedTokenizer):
|
|
115 |
def __init__(
|
116 |
self,
|
117 |
pad_token=None,
|
118 |
-
eos_token
|
119 |
add_eos_token=False,
|
120 |
add_special_tokens=True,
|
121 |
**kwargs,
|
|
|
115 |
def __init__(
|
116 |
self,
|
117 |
pad_token=None,
|
118 |
+
eos_token="<|endoftext|>",
|
119 |
add_eos_token=False,
|
120 |
add_special_tokens=True,
|
121 |
**kwargs,
|