class_docstr: The TextAttack model benchmarking module:
  
  A command line parser to evaluatate a model from user
  specifications.
class_docstr_tok: ["The","TextAttack","model","benchmarking","module",":","A","command","line","parser","to","evaluatate","a","model","from","user","specifications","."]
code: def get_preds(self, model, inputs):
      with torch.no_grad():
          preds = textattack.shared.utils.batch_model_predict(
              model, inputs
          )
      return preds
  
file_path: TextAttack/textattack/commands/eval_model_command.py
imports: from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
  from dataclasses import dataclass
  import scipy
  import torch
  import textattack
  from textattack import DatasetArgs, ModelArgs
  from textattack.commands import TextAttackCommand
  from textattack.model_args import HUGGINGFACE_MODELS, TEXTATTACK_MODELS
label_desc: Use image node_id 1 for calling the EvalModelCommand obj's underlying member method code with example usage: obj.get_preds(model, inputs) and returns: preds