jackbond2024 commited on
Commit
62f8d75
·
verified ·
1 Parent(s): 03f3fb4

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. trans_web_demo.py +1 -1
trans_web_demo.py CHANGED
@@ -28,7 +28,7 @@ ModelType = Union[PreTrainedModel, PeftModelForCausalLM]
28
  TokenizerType = Union[PreTrainedTokenizer, PreTrainedTokenizerFast]
29
 
30
  MODEL_PATH = os.environ.get('MODEL_PATH', 'THUDM/glm-4-9b-chat')
31
- MODEL_PATH = "/Users/zmac/.cache/huggingface/hub/models--THUDM--glm-4-9b-chat/snapshots/04419001bc63e05e70991ade6da1f91c4aeec278"
32
  TOKENIZER_PATH = os.environ.get("TOKENIZER_PATH", MODEL_PATH)
33
 
34
 
 
28
  TokenizerType = Union[PreTrainedTokenizer, PreTrainedTokenizerFast]
29
 
30
  MODEL_PATH = os.environ.get('MODEL_PATH', 'THUDM/glm-4-9b-chat')
31
+ #MODEL_PATH = "/Users/zmac/.cache/huggingface/hub/models--THUDM--glm-4-9b-chat/snapshots/04419001bc63e05e70991ade6da1f91c4aeec278"
32
  TOKENIZER_PATH = os.environ.get("TOKENIZER_PATH", MODEL_PATH)
33
 
34