code: def filter_by_model(chats, model_name):
      return [c for c in chats if c["model_name"] == model_name]
  
imports: import random
  import io
  import os
  import json
  from parlai.utils.misc import msg_to_str
label_desc: Use image node_id 20 for calling a global function with example usage: filter_by_model(chats, model_name) and returns: unknown