minimind/model
wanghao 79e36e17e8 Fix: Remove attn_mask when using is_causal=True in Flash Attention
PyTorch's scaled_dot_product_attention cannot use attn_mask and
is_causal=True simultaneously. This commit sets attn_mask=None
when is_causal=True to avoid parameter conflicts.
2025-10-18 21:02:46 +08:00
..
__init__.py 250426 2025-04-26 10:05:47 +08:00
model_lora.py update lora 2025-04-27 15:45:06 +08:00
model_minimind.py Fix: Remove attn_mask when using is_causal=True in Flash Attention 2025-10-18 21:02:46 +08:00
tokenizer.json 250426 2025-04-26 10:07:55 +08:00
tokenizer_config.json [fix] update model 2025-10-17 00:09:32 +08:00