nemo_curator.stages.text.embedders.vllm
nemo_curator.stages.text.embedders.vllm
Module Contents
Classes
API
Bases: ProcessingStage[DocumentBatch, DocumentBatch]
model
name
resources
tokenizer
vllm_init_kwargs
Download (or locate) the model and initialize vLLM.
We pass the resolved snapshot path to LLM(model=...) instead of the
HuggingFace repo ID because vLLM does not pass the download_dir through
to its config resolution code — passing a repo ID with a custom cache dir
fails offline.