Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternLM/InternLM
/ alpaca_tokenizer.py
File
alpaca_tokenizer.py
tools/alpaca_tokenizer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
json
3
import
os.path
as
osp
4
from
pathlib
import
Path
Callers
nothing calls this directly
Calls
2
dump_bin_meta_bin
Function · 0.85
process
Function · 0.70
Tested by
no test coverage detected