Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
def
_resolve_path(path: Union[str, Path]) -> Path:
34
return
Path(path).expanduser().resolve()
35
36
37
def
load_model_and_tokenizer(
Callers
1
load_model_and_tokenizer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected