Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vincent131499/Multi_Label_Classifier_finetune
/ tokenize
Method
tokenize
tokenization.py:196–218 ·
view source on GitHub ↗
Tokenizes a piece of text.
(self, text)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
3
test_chinese
Method · 0.95
test_basic_tokenizer_lower
Method · 0.95
test_basic_tokenizer_no_lower
Method · 0.95
Calls
6
_clean_text
Method · 0.95
_tokenize_chinese_chars
Method · 0.95
_run_strip_accents
Method · 0.95
_run_split_on_punc
Method · 0.95
convert_to_unicode
Function · 0.85
whitespace_tokenize
Function · 0.85
Tested by
3
test_chinese
Method · 0.76
test_basic_tokenizer_lower
Method · 0.76
test_basic_tokenizer_no_lower
Method · 0.76