Spaces:
Paused
Paused
Update app.py
Browse files7 unmodified lines8910111213111215131415167 unmodified linestokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True force_download=True # This forces a fresh copy of the code)model = AutoModelForCausalLM.from_pretrained( MODEL_ID, torch_dtype=torch.float16, device_map="auto", "NoesisLab/Spartacus-1B-Instruct", trust_remote_code=True, force_download=True # This forces a fresh copy of the code tie_word_embeddings=False # 尝试强制关闭权重绑定检查)
import spacesapp.py+2-4