MCPcopy Create free account
hub / github.com/THUDM/LongWriter / _resolve_path

Function _resolve_path

trans_web_demo.py:33–34  ·  view source on GitHub ↗
(path: Union[str, Path])

Source from the content-addressed store, hash-verified

31
32
33def _resolve_path(path: Union[str, Path]) -> Path:
34 return Path(path).expanduser().resolve()
35
36
37def load_model_and_tokenizer(

Callers 1

load_model_and_tokenizerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected