Spaces:
Paused
Paused
remove device_map
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ h1 {
|
|
41 |
|
42 |
# Load the tokenizer and model
|
43 |
tokenizer = AutoTokenizer.from_pretrained("elyza/Llama-3-ELYZA-JP-8B")
|
44 |
-
model = AutoModelForCausalLM.from_pretrained("elyza/Llama-3-ELYZA-JP-8B"
|
45 |
terminators = [
|
46 |
tokenizer.eos_token_id,
|
47 |
tokenizer.convert_tokens_to_ids("<|eot_id|>")
|
|
|
41 |
|
42 |
# Load the tokenizer and model
|
43 |
tokenizer = AutoTokenizer.from_pretrained("elyza/Llama-3-ELYZA-JP-8B")
|
44 |
+
model = AutoModelForCausalLM.from_pretrained("elyza/Llama-3-ELYZA-JP-8B")
|
45 |
terminators = [
|
46 |
tokenizer.eos_token_id,
|
47 |
tokenizer.convert_tokens_to_ids("<|eot_id|>")
|