constructor({ task, model, tokenizer = null, processor = null }) {
        super();
        this.task = task;
        this.model = model;
        this.tokenizer = tokenizer;
        this.processor = processor;
    }
Create a new Pipeline.
@param {Object} options An object containing the following properties:
@param {string} [options.task] The task of the pipeline. Useful for specifying subtasks.
@param {PreTrainedModel} [options.model] The model used by the pipeline.
@param {PreTrainedTokenizer} [options.tokenizer=null] The tokenizer used by the pipeline (if any).
@param {Processor} [options.processor=null] The processor used by the pipeline (if any).