MCPcopy
hub / github.com/THUDM/LongWriter / pre_tokenize_glm4.py

File pre_tokenize_glm4.py

train/pre_tokenize_glm4.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from transformers import AutoTokenizer, AutoModel, LlamaTokenizer
2import copy
3import torch
4import json, os, random

Callers

nothing calls this directly

Calls 3

get_commandMethod · 0.80
mainFunction · 0.70
parse_argsFunction · 0.70

Tested by

no test coverage detected