Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- dune-20256.model +1 -1
- xsbpe/base.py +1 -1
dune-20256.model
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 174006
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0a77bec25eb609ecfc68bbf1adfa9f503a26866c7638fd1a08201671f07e56b
|
3 |
size 174006
|
xsbpe/base.py
CHANGED
@@ -66,7 +66,7 @@ class Tokenizer:
|
|
66 |
# Similar to sentencepiece model saving
|
67 |
model_file = file_prefix + '.model'
|
68 |
with open(model_file, 'w') as f:
|
69 |
-
f.write('
|
70 |
f.write(f'{self.pattern}\n')
|
71 |
f.write(f'{len(self.special_tokens)}\n')
|
72 |
for special, idx in self.special_tokens.items():
|
|
|
66 |
# Similar to sentencepiece model saving
|
67 |
model_file = file_prefix + '.model'
|
68 |
with open(model_file, 'w') as f:
|
69 |
+
f.write('xsbpe v1\n')
|
70 |
f.write(f'{self.pattern}\n')
|
71 |
f.write(f'{len(self.special_tokens)}\n')
|
72 |
for special, idx in self.special_tokens.items():
|