transformer
Here are 1,398 public repositories matching this topic...
-
Updated
Jul 25, 2021 - Jupyter Notebook
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
-
Updated
Sep 8, 2021 - Jupyter Notebook
-
Updated
Sep 10, 2021 - Python
chooses 15% of token
From paper, it mentioned
Instead, the training data generator chooses 15% of tokens at random, e.g., in the sentence my
dog is hairy it chooses hairy.
It means that 15% of token will be choose for sure.
From https://github.com/codertimo/BERT-pytorch/blob/master/bert_pytorch/dataset/dataset.py#L68,
for every single token, it has 15% of chance that go though the followup procedure.
PositionalEmbedding
-
Updated
Aug 1, 2021 - Python
-
Updated
Aug 25, 2021 - Python
-
Updated
Aug 4, 2021 - Jupyter Notebook
-
Updated
Jul 31, 2021 - Python
-
Updated
May 3, 2017 - Java
-
Updated
Sep 7, 2021 - JavaScript
We keep this issue open to collect feature requests from users and hear your voice. Our monthly release plan is also available here.
You can either:
- Suggest a new feature by leaving a comment.
- Vote for a feature request with
👍 or be against with👎 . (Remember that developers are busy and cannot respond to all feature requests, so vote for your most favorable one!) - Tell us that you wo
-
Updated
Jul 20, 2021 - Python
文档增加tokenizer类别及样例建议
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP和PaddlePaddle版本:请提供您的PaddleNLP和PaddlePaddle版本号,例如PaddleNLP 2.0.4,PaddlePaddle2.1.1
2)系统环境:请您描述系统类型,例如Linux/Windows/MacOS/,python版本 - 复现信息:如为报错,请给出复现环境、复现步骤
paddle版本2.0.8 paddlenlp版本2.1.0
建议,能否在paddlenlp文档中,整理列出各个模型的tokenizer是基于什么类别的based,如bert tokenizer是word piece的,xlnet tokenizer是sentence piece的,以及对应的输入输出样例
-
Updated
Aug 26, 2021
-
Updated
Sep 15, 2021 - Cuda
Hi all,
We are asking for help from our community, hoping to provide Chinese documentation to all users. It's not difficult and here is the chance to be one of the contributors of MMOCR, an open-source rising star!
Here is a list of documentation needed to be translated:
- docs/getting_started.md
- [docs/ins
Roadmap of MMOCR
-
Updated
Sep 8, 2021 - Python
-
Updated
Jun 16, 2021 - Python
-
Updated
Sep 15, 2021 - Python
-
Updated
Jul 1, 2021 - Python
-
Updated
Aug 9, 2021 - Python
-
Updated
Jul 30, 2021 - Java
-
Updated
Sep 15, 2021 - C++
-
Updated
Jun 14, 2021 - Jupyter Notebook
-
Updated
Sep 13, 2021 - Python
-
Updated
Sep 2, 2021 - Python
-
Updated
Sep 15, 2021 - Jupyter Notebook
-
Updated
Sep 13, 2021 - Python
Improve this page
Add a description, image, and links to the transformer topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the transformer topic, visit your repo's landing page and select "manage topics."
https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698
Assertions can't be relied upon for control flow because they can be disabled, as per the following: