KawshikManikantan commited on
Commit
a7f75f6
1 Parent(s): 71cb548

commit log print

Browse files
inference/harry_main.txt CHANGED
@@ -3,9 +3,9 @@ that they were perfectly normal, thank you very much. They were the last
3
  people you'd expect to be involved in anything strange or mysterious,
4
  because they just didn't hold with such nonsense.
5
 
6
- Mr. Dursley was the director of a firm called Grunnings, which made
7
  drills. He was a big, beefy man with hardly any neck, although he did
8
- have a very large mustache. Mrs. Dursley was thin and blonde and had
9
  nearly twice the usual amount of neck, which came in very useful as she
10
  spent so much of her time craning over garden fences, spying on the
11
  neighbors. The Dursleys had a small son called Dudley and in their
 
3
  people you'd expect to be involved in anything strange or mysterious,
4
  because they just didn't hold with such nonsense.
5
 
6
+ {{Mr. Dursley}} was the director of a firm called Grunnings, which made
7
  drills. He was a big, beefy man with hardly any neck, although he did
8
+ have a very large mustache. {{Mrs. Dursley}} was thin and blonde and had
9
  nearly twice the usual amount of neck, which came in very useful as she
10
  spent so much of her time craning over garden fences, spying on the
11
  neighbors. The Dursleys had a small son called Dudley and in their
model/memory/base_memory.py CHANGED
@@ -300,7 +300,7 @@ class BaseMemory(nn.Module):
300
  )
301
 
302
  # Use a dummy score of 0 for froming a new cluster
303
- print("Threshold: ", self.config.thresh)
304
  coref_new_score = torch.cat(
305
  ([coref_score, torch.tensor([self.config.thresh], device=self.device)]),
306
  dim=0,
 
300
  )
301
 
302
  # Use a dummy score of 0 for froming a new cluster
303
+ # print("Threshold: ", self.config.thresh)
304
  coref_new_score = torch.cat(
305
  ([coref_score, torch.tensor([self.config.thresh], device=self.device)]),
306
  dim=0,
model/memory/entity_memory.py CHANGED
@@ -140,6 +140,7 @@ class EntityMemory(BaseMemory):
140
  len(mention_emb_list) % batch_size != 0
141
  )
142
  for i in range(num_batches):
 
143
  start_idx = i * batch_size
144
  end_idx = min((i + 1) * batch_size, len(mention_emb_list))
145
 
 
140
  len(mention_emb_list) % batch_size != 0
141
  )
142
  for i in range(num_batches):
143
+ print("Batch Number: ", i)
144
  start_idx = i * batch_size
145
  end_idx = min((i + 1) * batch_size, len(mention_emb_list))
146