code: def __init__(
      self,
      word_embedding_dim=100,
      char_embedding_dim=25,
      word_lstm_size=100,
      char_lstm_size=25,
      fc_dim=100,
      dropout=0.5,
      embeddings=None,
      use_char=True,
      use_crf=True,
      initial_vocab=None,
      optimizer="adam",
  ):
      self.model = None
      self.p = None
      self.tagger = None
  
      self.word_embedding_dim = word_embedding_dim
      self.char_embedding_dim = char_embedding_dim
      self.word_lstm_size = word_lstm_size
      self.char_lstm_size = char_lstm_size
      self.fc_dim = fc_dim
      self.dropout = dropout
      self.embeddings = embeddings
      self.use_char = use_char
      self.use_crf = use_crf
      self.initial_vocab = initial_vocab
      self.optimizer = optimizer
  
file_path: ktrain/ktrain/text/ner/anago/wrapper.py
imports: from ....imports import *
  from ..None import metrics
  from .models import BiLSTMCRF, load_model, save_model
  from .preprocessing import IndexTransformer
  from .tagger import Tagger
  from .trainer import Trainer
  from .utils import filter_embeddings
label_desc: Use image node_id 1 to create a new Sequence object from inherited base classes: object with example: obj = Sequence(word_embedding_dim, char_embedding_dim, word_lstm_size, char_lstm_size, fc_dim, dropout, embeddings, use_char, use_crf, initial_vocab, optimizer)