# microsoft/Phi-3-mini-128k-instruct

This model is a 3.8 billion parameter dense decoder only Transformer with a 128K token context length. It was fine tuned with supervised fine tuning and direct preference optimization, and it is intended for chat format prompts that generate text in response to input.

## Cite this

- Page: https://huggingbay.xyz/artifact/hf-model-microsoft-phi-3-mini-128k-instruct
- Citation: microsoft/Phi-3-mini-128k-instruct. The Hugging Bay model record. https://huggingbay.xyz/artifact/hf-model-microsoft-phi-3-mini-128k-instruct (retrieved 2026-11-14).
- Check a downloaded file: run `shasum -a 256 <file>` (macOS), `sha256sum <file>` (Linux) or `Get-FileHash -Algorithm SHA256 <file>` (Windows), then compare with that file's SHA-256 at https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/files?limit=100. How checks work: https://huggingbay.xyz/verification

## Facts

- Type: LLM
- Task: text-generation
- Framework: transformers
- License: mit: Permissive open license: commercial use, modification, and redistribution are permitted. (https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/blob/main/LICENSE)
- Source: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct
- Hosting: hosted (16 files)
- Files: 16 hosted of 20 listed
- Needs its own code to run: Uses custom model code (configuration_phi3.py). Plain llama.cpp, Ollama and LM Studio commands are not offered for this model unless a GGUF file is listed.
- File counts: "listed" is every file in the source repository; only hosted files download from Hugging Bay, and the download plan lists the files it selects for one download, so its count can differ.
- Hosted here: 16 hosted of 20 listed
- Full repo upstream: 7.64 GB
- Recommended file: 7.64 GB (2 files)
- Download: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/download-plan (download plan: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/download-plan)
- Per-file SHA-256: available for 16 of 16 hosted files via https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/files?limit=100
- Availability: Ready
- Downloadable: yes
- Run-ready: no (Hugging Bay has not certified a run path for this model; hosted bytes are downloadable and hash-checkable only)
- Peer-assisted fallbacks: 0 verified, 0 pending review
- Downloads: 244199
- Stars: 1703
- Card completeness: 92%

## Description

This model is a 3.8 billion parameter dense decoder only Transformer with a 128K token context length. It was fine tuned with supervised fine tuning and direct preference optimization, and it is intended for chat format prompts that generate text in response to input.

## Model Card Facts

- Declared license: mit
- Pipeline: text-generation
- Library: transformers
- Task categories: text-generation
- Languages: en
- File hints: 16 upstream file samples

## File Hints

- .gitattributes (1.5 KB)
- CODE_OF_CONDUCT.md (453 B)
- LICENSE (1.1 KB)
- NOTICE.md (1.8 KB)
- README.md (23 KB)
- SECURITY.md (2.6 KB)
- added_tokens.json (306 B)
- config.json (3.4 KB)
- configuration_phi3.py (11 KB)
- data_summary_card.md (4.5 KB)
- generation_config.json (181 B)
- model-00001-of-00002.safetensors (4.6 GB) LFS

## Quality Checklist

- Summary: passed
- Description: passed
- Model card metadata: passed
- License: passed
- Provenance: passed
- File inventory: passed
- Hosted bytes: passed
- Scan result: passed
- Manifest signature: passed

## Safety Notes

- External catalog metadata imported from Hugging Face public API on 2026-08-30T00:48:41.403Z.
- Open license detected as mit.
- Not a run kit: hosted, hash-checked bytes only; run readiness is not certified for this model yet.

## Actions

- Web: https://huggingbay.xyz/artifact/hf-model-microsoft-phi-3-mini-128k-instruct
- Files API: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/files?limit=100
- Metadata: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/metadata.json
- Distribution: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/distribution
- Manifest: https://huggingbay.xyz/api/manifests/hf-model-microsoft-phi-3-mini-128k-instruct
- Download plan (per-file SHA-256 + signed download URLs): https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/download-plan
- Hosted download rows: https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-microsoft-phi-3-mini-128k-instruct&limit=100
- Request mirror: not applicable.
- Submit peer fallback for review: POST https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-3-mini-128k-instruct/decentralized-fallbacks
