Alpaca Cleaned Instruction Fine-Tuning Dataset
Source, license and coverage
Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.
- License
- cc-by-4.0
- Source / creator
- yahma/alpaca-cleaned
- Collection method
- The original Alpaca dataset was generated via self-instruct: seed tasks were expanded by GPT-3 (text-davinci-003) into ~52K instruction-following examples. The cleaned version applies systematic fixes to issues observed in the raw release, including: removing/repairing hallucinated answers (instructions referencing web data the model couldn't access), correcting merged instructions, filling in empty or N/A outputs, fixing wrong answers, removing instructions that required unsupported modalities (images, audio), and cleaning extraneous escape characters and formatting artifacts.
- Coverage start
- Not documented
- Coverage end
- Not documented
- Data last updated
- Not documented
- Update schedule
- Static snapshot (supplier description)
- English-only; not suitable for multilingual instruction tuning without augmentation. - Outputs originate from GPT-3 (text-davinci-003) and inherit that model's biases, factual errors, and stylistic patterns despite cleaning. - Cleaning was largely heuristic/manual; residual quality issues likely remain. - Not deduplicated against modern instruction benchmarks (MMLU, BBH, etc.) — possible contamination if used to train models later evaluated on those suites. - License of the original Stanford release is CC-BY-NC; downstream users relying on the CC-BY-4.0 relicensing of derivative work should validate their own legal posture for commercial use.
Sample structure score: 91.7 / 100
This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.
Assessed 10 sample records (JSON) on 2026-10-09. All records in the provided sample were checked.
| Check | Points | Evidence |
|---|---|---|
| Populated cells | 41.7 / 50 | 25 of 30 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated. |
| Consistent value types | 30 / 30 | 25 of 25 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth. |
| Consistent record shape | 20 / 20 | 10 of 10 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys. |
Field-level findings and improvements
Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.
| Field | Missing cells | Most common type | Other populated types |
|---|---|---|---|
| output | 0 / 10 | string | 0 / 10 |
| input | 5 / 10 | string | 0 / 5 |
| instruction | 0 / 10 | string | 0 / 10 |
About this data
Cleaned version of Stanford's Alpaca instruction-following dataset with hallucinations, merged instructions, and empty outputs removed. Suitable for large language model fine-tuning.
Retrieve with your agent or Python
Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.
Download the Python examplepython3 retrieve-dataset.py 01daa147-3a07-4c7e-889c-6d969a83b0d3 --output dataset.bin
Full supplier documentation
Schema
| Name | Type | Description |
|---|---|---|
| output | VARCHAR | Target response generated by GPT-3 (text-davinci-003) and corrected during dataset cleaning. |
| input | VARCHAR | Optional context or supplementary data for the instruction (frequently empty string). |
| instruction | VARCHAR | Task or question posed to the model for instruction-following. |
Sample Data
Preview a sample of the data before downloading.
Public sample only. Sign in to retrieve the full dataset, including free datasets.
For AI Agents
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
"mcpServers": {
"databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
}
}
# 2. Your agent can then call:
search_datasets({ query: "Alpaca Cleaned Instruction Fin" })
// Found: 01daa147-3a07-4c7e-889c-6d969a83b0d3
get_download_url({ dataset_id: "01daa147-3a07-4c7e-889c-6d969a83b0d3" }) // free — sign in with MCP OAuth first# Free dataset — sign in or use your account API key: curl https://api.databazaar.io/datasets/01daa147-3a07-4c7e-889c-6d969a83b0d3/download-url -H "Authorization: Bearer $DATABAZAAR_API_KEY"