# microsoft/phi-1

This model is a Transformer with 1.3 billion parameters that is specialized for basic Python coding. It is intended for code prompts and the card frames its main use as help with programming and software development tasks.

## Cite this

- Page: https://huggingbay.xyz/artifact/hf-model-microsoft-phi-1
- Citation: microsoft/phi-1. The Hugging Bay model record. https://huggingbay.xyz/artifact/hf-model-microsoft-phi-1 (retrieved 2026-11-13).
- 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-1/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-1/blob/main/LICENSE)
- Source: https://huggingface.co/microsoft/phi-1
- Hosting: hosted (8 files)
- Files: 8 hosted of 16 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: 8 hosted of 16 listed
- Full repo upstream: 2.84 GB
- Recommended file: 2.84 GB · model.safetensors
- Download: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/download-plan (download plan: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/download-plan)
- Per-file SHA-256: available for 8 of 8 hosted files via https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/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: 15207
- Stars: 222
- Card completeness: 92%

## Description

This model is a Transformer with 1.3 billion parameters that is specialized for basic Python coding. It is intended for code prompts and the card frames its main use as help with programming and software development tasks.

## Model Card Facts

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

## Referenced Data

- Paper: 2306.11644

## File Hints

- .gitattributes (1.5 KB)
- CODE_OF_CONDUCT.md (444 B)
- LICENSE (1.1 KB)
- NOTICE.md (1.7 KB)
- README.md (7.4 KB)
- SECURITY.md (2.6 KB)
- added_tokens.json (1.1 KB)
- config.json (734 B)
- data_summary_card.md (3.9 KB)
- generation_config.json (74 B)
- merges.txt (446 KB)
- model.safetensors (2.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-07-29T22:23:24.374Z.
- 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-1
- Files API: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/files?limit=100
- Metadata: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/metadata.json
- Distribution: https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/distribution
- Manifest: https://huggingbay.xyz/api/manifests/hf-model-microsoft-phi-1
- Download plan (per-file SHA-256 + signed download URLs): https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/download-plan
- Hosted download rows: https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-microsoft-phi-1&limit=100
- Request mirror: not applicable.
- Submit peer fallback for review: POST https://huggingbay.xyz/api/artifacts/hf-model-microsoft-phi-1/decentralized-fallbacks
