phi2 constant

ModelInfo const phi2

Microsoft Phi‑2 2.7B — more capable but requires extra RAM.

~1.6 GB download, 4 GB RAM recommended, 2048 token context.

Implementation

static const phi2 = ModelInfo(
  id: 'phi2',
  name: 'Phi-2 2.7B',
  fileName: 'phi-2.Q4_K_M.gguf',
  ggufUrl:
      'https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q4_K_M.gguf',
  sizeMB: 1600,
  minRamGB: 4,
  context: 2048,
  chatTemplate: _phi2Template,
);