Update app.py
Browse files
app.py
CHANGED
@@ -70,14 +70,6 @@ ADDITIONAL_INPUTS = [
|
|
70 |
]
|
71 |
|
72 |
tokenizer = AutoTokenizer.from_pretrained("LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct")
|
73 |
-
model = AutoModelForCausalLM.from_pretrained(
|
74 |
-
MODEL,
|
75 |
-
torch_dtype=torch.bfloat16,
|
76 |
-
trust_remote_code=True,
|
77 |
-
device_map="auto",
|
78 |
-
)
|
79 |
-
|
80 |
-
model.eval()
|
81 |
|
82 |
def generate(
|
83 |
message: str,
|
|
|
70 |
]
|
71 |
|
72 |
tokenizer = AutoTokenizer.from_pretrained("LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
def generate(
|
75 |
message: str,
|