code: @SuppressWarnings("rawtypes")
    public static Map<String, ArtifactSerializer> createArtifactSerializers() {
      final Map<String, ArtifactSerializer> serializers = BaseModel
          .createArtifactSerializers();
  
      serializers.put("featuregen", new ByteArraySerializer());
      return serializers;
    }
docs: Create the artifact serializers. The DefaultTrainer deals with any other
  Custom serializers.
  
  @return the map containing the added serializers