Update mistral_pretrain.py
Browse files- mistral_pretrain.py +2 -2
mistral_pretrain.py
CHANGED
@@ -15,8 +15,8 @@ configuration = MistralConfig(vocab_size=32000,
|
|
15 |
bos_token_id=1,
|
16 |
eos_token_id=2)
|
17 |
|
18 |
-
|
19 |
-
model = MistralForCausalLM.from_pretrained("./6B_code_outputs/checkpoint-10000")
|
20 |
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2", local_files_only=False)
|
21 |
tokenizer.pad_token = tokenizer.eos_token
|
22 |
|
|
|
15 |
bos_token_id=1,
|
16 |
eos_token_id=2)
|
17 |
|
18 |
+
model = MistralForCausalLM(configuration)
|
19 |
+
#model = MistralForCausalLM.from_pretrained("./6B_code_outputs/checkpoint-10000")
|
20 |
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2", local_files_only=False)
|
21 |
tokenizer.pad_token = tokenizer.eos_token
|
22 |
|