class_docstr: Script to convert a transformer-based fairseq model to ParlAI Model.
class_docstr_tok: ["Script","to","convert","a","transformer-based","fairseq","model","to","ParlAI","Model","."]
docstr: Print a sample act from the converted agent.
docstr_tok: ["Print","a","sample","act","from","the","converted","agent","."]
code: def print_agent_act(self):
      """
      Print a sample act from the converted agent.
      """
      self.agent.observe(
          {
              "text": "What's your favorite kind of ramen?",
              "episode_done": False,
          }
      )
      print(self.agent.act())
  
imports: from collections import OrderedDict
  import os
  import torch
  from torch.serialization import default_restore_location
  from typing import Any, Dict, List
  from parlai.core.agents import create_agent
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript
  from parlai.utils.io import PathManager
  from parlai.scripts.vacuum import Vacuum
label_desc: Use image node_id 8 for calling the ConversionScript obj's underlying member method code with example usage: obj.print_agent_act() without return types