Update sample_finetune.py
Browse files- sample_finetune.py +1 -1
sample_finetune.py
CHANGED
@@ -132,7 +132,7 @@ checkpoint_path = "microsoft/Phi-4-mini-instruct"
|
|
132 |
model_kwargs = dict(
|
133 |
use_cache=False,
|
134 |
trust_remote_code=True,
|
135 |
-
attn_implementation="flash_attention_2", # loading the model with flash-
|
136 |
torch_dtype=torch.bfloat16,
|
137 |
device_map=None
|
138 |
)
|
|
|
132 |
model_kwargs = dict(
|
133 |
use_cache=False,
|
134 |
trust_remote_code=True,
|
135 |
+
attn_implementation="flash_attention_2", # loading the model with flash-attention support
|
136 |
torch_dtype=torch.bfloat16,
|
137 |
device_map=None
|
138 |
)
|