code: def last_n_checkpoints(files, n):
      entries = parse_checkpoints(files)
      return [x[1] for x in sorted(entries, reverse=True)[:n]]
  
file_path: fairseq/scripts/rm_pt.py
imports: import argparse
  import os
  import re
  import shutil
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: last_n_checkpoints(files, n) and returns: unknown