aapot commited on
Commit
e49e497
1 Parent(s): 5a2a405

Remove local kenlm path

Browse files
Files changed (1) hide show
  1. calculate_perplexity.py +1 -1
calculate_perplexity.py CHANGED
@@ -1,7 +1,7 @@
1
  import datasets
2
  import kenlm
3
 
4
- kenlm_model = kenlm.Model("/researchdisk/kenlm_clean_data_models/kenlm_clean_data_model_correct.bin")
5
 
6
  def get_perplexity(example):
7
  """Get perplexity of text field."""
 
1
  import datasets
2
  import kenlm
3
 
4
+ kenlm_model = kenlm.Model("PATH_TO_YOUR_KENLM")
5
 
6
  def get_perplexity(example):
7
  """Get perplexity of text field."""