language-model
Here are 767 public repositories matching this topic...
-
Updated
Oct 22, 2020
-
Updated
Sep 11, 2021 - Python
-
Updated
Sep 21, 2021 - Rust
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
Sep 28, 2021 - Python
Many users in our community have been asking to have easier ways to return the output of intermediate nodes. I can see that this could be very useful for debugging and also qualitative evaluation.
I think this feature would be very useful, though the exact design is not yet fully clear.
-
Updated
Sep 30, 2021 - Python
-
Updated
Sep 9, 2021 - Python
-
Updated
Jun 19, 2021 - Python
-
Updated
Sep 17, 2021
-
Updated
Nov 11, 2020 - Python
-
Updated
Apr 23, 2021 - Python
-
Updated
May 7, 2020 - Python
-
Updated
Sep 30, 2021 - Python
-
Updated
May 11, 2021 - Python
-
Updated
Aug 9, 2021 - Python
-
Updated
Sep 29, 2021 - Python
Issue to track tutorial requests:
- Deep Learning with PyTorch: A 60 Minute Blitz - #69
- Sentence Classification - #79
-
Updated
Aug 5, 2020
-
Updated
Sep 30, 2021 - Python
-
Updated
Jul 21, 2021 - Python
-
Updated
Jul 2, 2021 - Go
-
Updated
Jan 1, 2019 - Python
-
Updated
Aug 18, 2021 - Python
-
Updated
Oct 29, 2020 - Python
-
Updated
Dec 14, 2020 - Python
-
Updated
Sep 13, 2021 - Python
-
Updated
Jul 22, 2021 - Jupyter Notebook
-
Updated
Jul 31, 2021 - TeX
Improve this page
Add a description, image, and links to the language-model topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the language-model 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: