code: def test_embed_model_not_trained(self):
      _, train = trec_dataset()  # use small test set as train
  
      embedding_matrix = torch.Tensor(
          np.random.rand(len(train.vocab), 100)
      )
      classifier = KimCNNClassifier(
          6, embedding_matrix=embedding_matrix
      )
  
      def module_selector(m):
          return m["fc"]
  
      with self.assertRaises(ValueError):
          classifier.embed(
              train,
              module_selector=module_selector,
              embedding_method=self.embedding_method,
          )
  
file_path: small-text/tests/integration/small_text/integrations/pytorch/classifiers/test_kimcnn_embeddings.py
imports: import unittest
  import pytest
  import numpy
  from unittest import mock
  from parameterized import parameterized_class
  from small_text.integrations.pytorch.exceptions import PytorchNotFoundError
label_desc: Use image node_id 1 for calling the KimCNNEmbeddingTest obj's underlying member method code with example usage: obj.test_embed_model_not_trained() and returns: m