diff --git a/semantic_router/schema.py b/semantic_router/schema.py
index 981d986294bf242ee0e8bcd5cc85760f09aea891..d13975c080b237075c6b13c952323f4c98650e77 100644
--- a/semantic_router/schema.py
+++ b/semantic_router/schema.py
@@ -31,7 +31,7 @@ class Encoder:
         self.type = EncoderType(type)
         self.name = name
         if self.type == EncoderType.HUGGINGFACE:
-            self.model = HuggingFaceEncoder(name)
+            raise NotImplementedError
         elif self.type == EncoderType.OPENAI:
             self.model = OpenAIEncoder(name)
         elif self.type == EncoderType.COHERE: