1. 26 10月, 2021 1 次提交
    • S
      [Cherry-pick] Add FasterTokenizer Operator (#36716) · edff5b79
      Steffy-zxf 提交于
      * Add FasterTokenizer Operator (#34491)
      
      Add Tokenizer related functionalities for Transformer model in order that the process of training and predicting is consistent.
      
      * support the text string as an input Tensor
      * support the "VOCAB"unordered_map<wstring, int> as an input Tensor to lookup tokens
      * Tokenizer used for BERT. This tokenizer applies an end-to-end, text string to wordpiece tokenization.
      * It first applies basic tokenization, followed by wordpiece tokenization.
      
      * optimize fast tokenizer
      
      * remove const_cast
      Co-authored-by: Nzhoushunjie <zhoushunjie@baidu.com>
      Co-authored-by: Nwawltor <fangzeyang0904@hotmail.com>
      edff5b79
  2. 13 9月, 2021 1 次提交
  3. 08 9月, 2021 1 次提交
  4. 15 7月, 2021 1 次提交
  5. 22 6月, 2021 1 次提交
  6. 21 6月, 2021 1 次提交
  7. 16 6月, 2021 1 次提交
  8. 02 6月, 2021 1 次提交
  9. 27 4月, 2021 1 次提交
  10. 14 4月, 2021 1 次提交
  11. 24 2月, 2021 1 次提交
  12. 07 12月, 2020 1 次提交
  13. 04 12月, 2020 1 次提交
  14. 30 10月, 2020 1 次提交
  15. 28 10月, 2020 1 次提交
  16. 23 9月, 2020 1 次提交
  17. 14 9月, 2020 1 次提交
  18. 10 9月, 2020 1 次提交
  19. 02 9月, 2020 1 次提交
  20. 24 8月, 2020 1 次提交
  21. 21 8月, 2020 1 次提交
  22. 14 8月, 2020 1 次提交
    • Y
      Upgrade `no_grad` decorator (#25472) · 617eb67f
      Yang Zhang 提交于
      * Upgrade `no_grad` decorator
      
      test=develop
      
      - match torch decorator usage (i.e., with parenthesis)
      - handle generator functions
      - add `paddle.no_grad` alias
      
      * Switch from `functools` to `decorator`
      
      preserves signature
      
      * Reword decorator usage note
      617eb67f
  23. 27 5月, 2020 1 次提交
  24. 08 5月, 2020 1 次提交
    • H
      Fix np ndarray mul varbase (#24331) · 6d8dcc74
      hong 提交于
      * fix numpy ndarray mul var base error; test=develop
      
      * add comment for __array_ufunc__ ; test=develop
      
      * move unitest from imperative math op path to test_math_op_patch_var_base;
      test=develop
      6d8dcc74
  25. 10 4月, 2020 1 次提交
  26. 31 3月, 2020 1 次提交
    • L
      Feature/expand params in auto-generated pybind functions for dygraph operators (#23181) · 488b2387
      Leo Chen 提交于
      * expand parameters, test=develop
      
      * support resnet, test=develop
      
      * fix resnet, test=develop
      
      * support duplicable out, test=develop
      
      * support ptb
      
      * fix bugs, test=develop
      
      * support null input, test=develop
      
      * fix bugs, test=develop
      
      * fix batchNorm is_test, test=develop
      
      * refine code, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      488b2387
  27. 30 3月, 2020 1 次提交
  28. 24 12月, 2019 1 次提交
  29. 18 12月, 2019 1 次提交
  30. 16 12月, 2019 1 次提交
  31. 11 12月, 2019 1 次提交
  32. 05 12月, 2019 2 次提交
    • D
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  33. 10 10月, 2019 1 次提交
    • J
      Refine en doc (#20317) · b23f00a0
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, refine en_doc for Variable and Program
      
      * test=document_fix, fix English doc for Variable and Program
      
      * test=document_fix, refine astype code block style
      
      * test=document_fix, add example code for Variable properties
      b23f00a0
  34. 26 9月, 2019 1 次提交
  35. 18 9月, 2019 1 次提交
  36. 11 9月, 2019 1 次提交
  37. 30 5月, 2019 1 次提交
  38. 21 3月, 2019 1 次提交
  39. 15 8月, 2018 1 次提交