{
  "id": "vllm-sampling-params-table",
  "kind": "table",
  "slug": "vllm-sampling-params",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/vllm-sampling-params/",
  "title": "Set vLLM SamplingParams and compare them with Transformers generate defaults",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "SamplingParams",
      "source": "vLLM documentation",
      "detail": "Parameters for the sampling process"
    },
    {
      "name": "temperature",
      "source": "vLLM documentation",
      "detail": "The sampling temperature is set to 0.8"
    },
    {
      "name": "top_p",
      "source": "vLLM documentation",
      "detail": "The nucleus sampling probability is set to 0.95"
    },
    {
      "name": "generation_config.json",
      "source": "vLLM documentation",
      "detail": "Applied from the Hugging Face model repository if it exists"
    },
    {
      "name": "generation_config",
      "source": "vLLM documentation",
      "detail": "Set to vllm when default sampling parameters are preferred"
    }
  ],
  "related_slugs": [
    "hf-text-generation-strategies",
    "vllm-offline-inference",
    "hf-transformers-generate-pitfalls"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (vLLM documentation); Apache-2.0 (huggingface/transformers (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}