{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/peft-quantization.schema.json",
  "title": "peft-quantization (summary schema)",
  "description": "Deep draft, 19 November 2026. Not published. Queued note; iil_id is null until the note is published.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "peft-quantization"
    },
    "iil_id": {
      "type": "null",
      "description": "Not live yet; the iil:note ID is assigned when the note is published."
    },
    "note_url": {
      "type": "string",
      "format": "uri",
      "description": "https://iinventedlight.com/library/notes/peft-quantization/"
    },
    "claim": {
      "type": "string",
      "description": "Quantization represents data with fewer bits, making it also a useful technique for reducing memory-usage and also accelerating inference especially when it comes to large language models."
    },
    "license": {
      "type": "string"
    },
    "source_license": {
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "claims": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "claim": {
            "type": "string"
          },
          "source_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "claim"
        ]
      }
    },
    "related_slugs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "related_artifacts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "slug",
    "iil_id",
    "claim",
    "license",
    "as_of"
  ],
  "examples": [
    {
      "slug": "peft-quantization",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/peft-quantization/",
      "claim": "Quantization represents data with fewer bits, making it also a useful technique for reducing memory-usage and also accelerating inference especially when it comes to large language models.",
      "license": "CC-BY-4.0",
      "source_license": "Apache-2.0 (Hugging Face PEFT docs); Apache-2.0 (huggingface/peft (GitHub)); prose restates cited source lines in own words",
      "as_of": "2026-11-19",
      "status": "deep-draft-20261119",
      "claims": [
        {
          "id": "C1",
          "claim": "PEFT can train a quantized model because it only adds extra trainable parameters on top of the frozen quantized weights.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "BitsAndBytesConfig can load a model in 4-bit and prepare_model_for_kbit_training preprocesses it for training.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "After the base model is ready, the quicktour builds a LoraConfig and wraps the model with get_peft_model.",
          "source_id": "S2"
        }
      ],
      "related_slugs": [
        "hf-transformers-quantization-overview",
        "2305-14314-qlora",
        "2106-09685-lora"
      ],
      "related_artifacts": [
        "peft-quantization.table.json"
      ]
    }
  ]
}