1. 05 Jul, 2019 1 commit
  2. 03 Jul, 2019 1 commit
  3. 11 Jun, 2019 1 commit
  4. 10 Jun, 2019 1 commit
  5. 27 May, 2019 1 commit
  6. 09 May, 2019 2 commits
  7. 02 May, 2019 1 commit
  8. 23 Apr, 2019 1 commit
  9. 22 Apr, 2019 1 commit
  10. 12 Apr, 2019 1 commit
  11. 11 Apr, 2019 1 commit
  12. 09 Apr, 2019 1 commit
    • Yaroslav Bulatov's avatar
      Update README.md · 8fffba5f
      Yaroslav Bulatov authored
      Fix for
      
      ```> > > > 04/09/2019 21:39:38 - INFO - __main__ -   device: cuda n_gpu: 1, distributed training: False, 16-bits training: False
      Traceback (most recent call last):
        File "/home/ubuntu/pytorch-pretrained-BERT/examples/lm_finetuning/simple_lm_finetuning.py", line 642, in <module>
          main()
        File "/home/ubuntu/pytorch-pretrained-BERT/examples/lm_finetuning/simple_lm_finetuning.py", line 502, in main
          raise ValueError("Training is currently the only implemented execution option. Please set `do_train`.")
      ValueError: Training is currently the only implemented execution option. Please set `do_train`.
      ```
      8fffba5f
  13. 30 Mar, 2019 1 commit
    • jeonsworld's avatar
      Update pregenerate_training_data.py · 60005f46
      jeonsworld authored
      If the value of rand_end is returned from the randint function, the value of sampled_doc_index that matches current_idx is returned from searchsorted.
      
      example:
      cumsum_max = {int64} 30
      doc_cumsum = {ndarray} [ 5  7 11 19 30]
      doc_lengths = {list} <class 'list'>: [5, 2, 4, 8, 11]
      if current_idx  = 1,
      rand_start = 7
      rand_end = 35
      sentence_index = randint(7, 35) % cumsum_max
      if randint return 35, sentence_index becomes 5.
      if sentence_index is 5, np.searchsorted returns 1 equal to current_index.
      60005f46
  14. 27 Mar, 2019 2 commits
  15. 25 Mar, 2019 2 commits
  16. 21 Mar, 2019 9 commits
  17. 20 Mar, 2019 9 commits