nemo_curator.models.vllm_model
nemo_curator.models.vllm_model
nemo_curator.models.vllm_model
Bases: ModelInterface
Generic vLLM language model wrapper for text generation.
Return the model identifier.
Generate text from prompts.
Parameters:
List of prompt strings or list of message dicts (for chat template).
Returns: list[str]
List of generated text strings.
Raises:
RuntimeError: If the model is not set up or generation fails.Get the tokenizer from the LLM instance.
Set up the vLLM model and sampling parameters.