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