lv12 commited on
Commit
6945e61
·
verified ·
1 Parent(s): 9a27a9d

Uploading model.pt

Browse files
Files changed (1) hide show
  1. model.py +0 -3
model.py CHANGED
@@ -115,6 +115,3 @@ class EmbeddingMoE(PreTrainedModel):
115
  """Helper method to get the embedding for a single sentence"""
116
  with torch.no_grad():
117
  return self.forward(input_ids, attention_mask)
118
-
119
-
120
- AutoModel.register("embedding_moe", EmbeddingMoE)
 
115
  """Helper method to get the embedding for a single sentence"""
116
  with torch.no_grad():
117
  return self.forward(input_ids, attention_mask)