class_docstr: Task for text generation.
  
  Attributes:
      model:
          1. Model name
          2. Model name on Backprop's text-generation endpoint
          3. Model object that implements the text-generation task
      local (optional): Run locally. Defaults to False
      api_key (optional): Backprop API key for non-local inference
      device (optional): Device to run inference on. Defaults to "cuda" if available.
docstr: Returns the list of models that can be used and finetuned with this task.
  
  Args:
      return_dict: Default False. True if you want to return in dict form. Otherwise returns list form.
      display: Default False. True if you want output printed directly (overrides return_dict, and returns nothing).
      limit: Default None. Maximum number of models to return -- leave None to get all models.
docstr_tok: ["Returns","the","list","of","models","that","can","be","used","and","finetuned","with","this","task",".","Args",":","return_dict",":","Default","False",".","True","if","you","want","to","return","in","dict","form",".","Otherwise","returns","list","form",".","display",":","Default","False",".","True","if","you","want","output","printed","directly","(","overrides","return_dict",",","and","returns","nothing",")",".","limit",":","Default","None",".","Maximum","number","of","models","to","return","--","leave","None","to","get","all","models","."]
code: def list_models(return_dict=False, display=False, limit=None):
      """
      Returns the list of models that can be used and finetuned with this task.
  
      Args:
          return_dict: Default False. True if you want to return in dict form. Otherwise returns list form.
          display: Default False. True if you want output printed directly (overrides return_dict, and returns nothing).
          limit: Default None. Maximum number of models to return -- leave None to get all models.
      """
      return AutoModel.list_models(
          task=TASK,
          return_dict=return_dict,
          display=display,
          limit=limit,
          aliases=LOCAL_ALIASES,
      )
  
file_path: backprop/backprop/tasks/text_generation.py
imports: from typing import List, Tuple, Union, Dict
  from backprop.models import AutoModel, BaseModel
  from .base import Task
  from backprop.utils.datasets import TextToTextDataset
  import requests
  from transformers.optimization import Adafactor
label_desc: Use image node_id 2 for calling the TextGeneration obj's underlying member method code with example usage: obj.list_models(return_dict, display, limit) and returns: AutoModel