File tree Expand file tree Collapse file tree
python/openai/openai_frontend/engine/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright (c) 2024-2025 , NVIDIA CORPORATION. All rights reserved.
1+ # Copyright (c) 2024-2026 , NVIDIA CORPORATION. All rights reserved.
22#
33# Redistribution and use in source and binary forms, with or without
44# modification, are permitted provided that the following conditions
@@ -47,7 +47,6 @@ def get_cached_tokenizer(
4747 function caches these properties for faster access."""
4848
4949 tokenizer_all_special_ids = set (tokenizer .all_special_ids )
50- tokenizer_all_special_tokens_extended = tokenizer .all_special_tokens_extended
5150 tokenizer_all_special_tokens = set (tokenizer .all_special_tokens )
5251 tokenizer_len = len (tokenizer )
5352
@@ -60,10 +59,6 @@ def all_special_ids(self):
6059 def all_special_tokens (self ):
6160 return tokenizer_all_special_tokens
6261
63- @property
64- def all_special_tokens_extended (self ):
65- return tokenizer_all_special_tokens_extended
66-
6762 def __len__ (self ):
6863 return tokenizer_len
6964
You can’t perform that action at this time.
0 commit comments