class_docstr: Text extractor
  Args:
      text_model (str): text model
      finetune (bool): finetune
code: def __init__(self, text_model: str, finetune: bool):
      super().__init__()
      self.finetune = finetune
      self.text_model = AutoModel.from_pretrained(text_model)
  
imports: import torch
  from torch import nn
  from transformers import AutoModel
label_desc: Use image node_id 1 to create a new TextExtractor object from inherited base classes: nn with example: obj = TextExtractor(text_model, finetune)