code: def __init__(
      self, model, training_args, train_dataset=None, test_dataset=None
  ):
      self.model = model
      self.training_args = training_args
      self.output_dir = training_args["output_dir"]
      self.model_params = training_args["params"]
      self.train_dataset = train_dataset
      self.test_dataset = test_dataset
  
file_path: underthesea/underthesea/trainers/crf_trainer.py
imports: import logging
  import os
  import shutil
  from os.path import join
  import pycrfsuite
  from seqeval.metrics import classification_report
  from underthesea_core import CRFFeaturizer
label_desc: Use image node_id 1 to create a new CRFTrainer object  with example: obj = CRFTrainer(model, training_args, train_dataset, test_dataset)