Update README.md
Browse files
README.md
CHANGED
@@ -33,7 +33,7 @@ import torch
|
|
33 |
|
34 |
base_model_name = 'meta-llama/Llama-3.1-8B-Instruct'
|
35 |
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
|
36 |
-
model = AutoModelForCausalLM.from_pretrained(
|
37 |
pad_token_id=tokenizer.eos_token_id,
|
38 |
device_map='auto')
|
39 |
|
|
|
33 |
|
34 |
base_model_name = 'meta-llama/Llama-3.1-8B-Instruct'
|
35 |
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
|
36 |
+
model = AutoModelForCausalLM.from_pretrained(base_model_name,
|
37 |
pad_token_id=tokenizer.eos_token_id,
|
38 |
device_map='auto')
|
39 |
|