jwieting commited on
Commit
0b9a150
1 Parent(s): 9889278

Rename modeling_sim.py to modeling_paragram_sp.py

Browse files
modeling_sim.py → modeling_paragram_sp.py RENAMED
@@ -6,7 +6,7 @@ class ParagramSPModel(BertPreTrainedModel):
6
  def __init__(self, config):
7
  super().__init__(config)
8
  self.config = config
9
- self.word_embeddings = nn.Embedding(config.vocab_size, config.embedding_size, padding_idx=config.pad_token_id)
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
 
6
  def __init__(self, config):
7
  super().__init__(config)
8
  self.config = config
9
+ self.word_embeddings = nn.Embedding(config.vocab_size, config.hidden_size, padding_idx=config.pad_token_id)
10
  # Initialize weights and apply final processing
11
  self.post_init()
12