1. 05 4月, 2017 1 次提交
  2. 24 3月, 2017 2 次提交
  3. 22 3月, 2017 1 次提交
  4. 20 3月, 2017 1 次提交
  5. 06 3月, 2017 3 次提交
  6. 05 3月, 2017 1 次提交
  7. 04 3月, 2017 1 次提交
    • H
      dataset reader for wmt14 · d6c6a996
      Helin Wang 提交于
      example usage:
      
      import paddle.v2 as paddle
      
      if __name__ == '__main__':
          dict_en, dict_fr =	paddle.dataset.wmt14.build_dict()
          train = paddle.dataset.wmt14.train(dict_en, dict_fr)
          test = paddle.dataset.wmt14.test(dict_en, dict_fr)
      
          total_train = 0
          for i in train():
              total_train += 1
      
          total_test = 0
          for i in test():
              total_test += 1
      
          print total_train, total_test
      d6c6a996