Alizee commited on
Commit
cf1b52c
1 Parent(s): 3d06504

Update update_dataset.py

Browse files
Files changed (1) hide show
  1. update_dataset.py +1 -0
update_dataset.py CHANGED
@@ -45,6 +45,7 @@ def decapitalize_tokens(example, probability=0.2):
45
  return example
46
 
47
 
 
48
  dataset_with_mixed_caps = dataset.map(decapitalize_tokens)
49
 
50
  dataset_with_mixed_caps.push_to_hub("wikiner_fr_mixed_caps")
 
45
  return example
46
 
47
 
48
+ random.seed(42)
49
  dataset_with_mixed_caps = dataset.map(decapitalize_tokens)
50
 
51
  dataset_with_mixed_caps.push_to_hub("wikiner_fr_mixed_caps")