File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ Logging Arguments
111
111
112
112
- ** git_hash** : str
113
113
114
- Default = 496f987
114
+ Default = 5face7a
115
115
116
116
current git hash of repository
117
117
Original file line number Diff line number Diff line change @@ -352,11 +352,11 @@ def eod(self):
352
352
353
353
class TiktokenTokenizer (AbstractTokenizer ):
354
354
"""Tokenizer from OpenAI's tiktoken implementation"""
355
- try :
356
- import tiktoken
357
- except ModuleNotFoundError :
358
- print ("Please install tiktoken: (https://github.com/openai/tiktoken)" )
359
- raise Exception
355
+ try :
356
+ import tiktoken
357
+ except ModuleNotFoundError :
358
+ print ("Please install tiktoken: (https://github.com/openai/tiktoken)" )
359
+ raise Exception
360
360
361
361
def __init__ (self , vocab_file ):
362
362
name = "TiktokenTokenizer"
You can’t perform that action at this time.
0 commit comments