Spaces:
Running on Zero
Running on Zero
Feature(MInference): add zeroGPU
Browse files72 unmodified lines7374757677787972 unmodified linesterminators = [tokenizer.eos_token_id, tokenizer.convert_tokens_to_ids("<|eot_id|>")]# @spaces.GPU(duration=120)def chat_llama3_8b(message: str, history: list, temperature: float, max_new_tokens: int) -> str:72 unmodified lines7374757677787972 unmodified linesterminators = [tokenizer.eos_token_id, tokenizer.convert_tokens_to_ids("<|eot_id|>")]@spaces.GPU(duration=120)def chat_llama3_8b(message: str, history: list, temperature: float, max_new_tokens: int) -> str:
app.py+1-1