Spaces:
Paused
Paused
Update app.py
Browse files4 unmodified lines56789101112131415164 unmodified linesMODEL_ID = "NoesisLab/Spartacus-1B-Instruct"tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)model = AutoModelForCausalLM.from_pretrained(MODEL_ID,torch_dtype=torch.float16,device_map="auto",trust_remote_code=True,)import spaces4 unmodified lines567891011121314151617184 unmodified linesMODEL_ID = "NoesisLab/Spartacus-1B-Instruct"tokenizer = 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 spaces
app.py+3-1