kigland d50c6b5acf security: remove trust_remote_code=True from model loading
Phi-2 uses the standard PhiForCausalLM architecture and does not require
custom code execution. trust_remote_code=True allows arbitrary Python
from the HuggingFace repo to run during loading, creating an unnecessary
supply-chain risk.
2026-03-08 15:16:53 +08:00
2026-03-08 01:57:41 +00:00
2026-03-08 09:03:03 +08:00
2026-03-08 01:53:05 +00:00
2026-03-08 09:03:03 +08:00
S
Description
No description provided
GPL-3.0
813 KiB
Languages
Python 100%