url stringlengths 62 66 | repository_url stringclasses 1
value | labels_url stringlengths 76 80 | comments_url stringlengths 71 75 | events_url stringlengths 69 73 | html_url stringlengths 50 56 | id int64 377M 2.15B | node_id stringlengths 18 32 | number int64 1 29.2k | title stringlengths 1 487 | user dict | labels list | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees list | comments list | created_at int64 1.54k 1.71k | updated_at int64 1.54k 1.71k | closed_at int64 1.54k 1.71k ⌀ | author_association stringclasses 4
values | active_lock_reason stringclasses 2
values | body stringlengths 0 234k ⌀ | reactions dict | timeline_url stringlengths 71 75 | state_reason stringclasses 3
values | draft bool 2
classes | pull_request dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/transformers/issues/9129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9129/comments | https://api.github.com/repos/huggingface/transformers/issues/9129/events | https://github.com/huggingface/transformers/pull/9129 | 767,787,017 | MDExOlB1bGxSZXF1ZXN0NTQwMzgzMjUy | 9,129 | Fix TF Transfo XL | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,608 | 1,608 | 1,608 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes an issue in TFTransfoXL the last layer was added into the complete list of `hidden_states` while being already transposed. Then adding it at the end after all the other states have been transposed.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9129",
"html_url": "https://github.com/huggingface/transformers/pull/9129",
"diff_url": "https://github.com/huggingface/transformers/pull/9129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9129.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9128/comments | https://api.github.com/repos/huggingface/transformers/issues/9128/events | https://github.com/huggingface/transformers/pull/9128 | 767,759,666 | MDExOlB1bGxSZXF1ZXN0NTQwMzY1MjAx | 9,128 | BartForCausalLM analogs to `ProphetNetForCausalLM` | {
"login": "sadakmed",
"id": 18331629,
"node_id": "MDQ6VXNlcjE4MzMxNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadakmed",
"html_url": "https://github.com/sadakmed",
"followers_url": "https://api.github.com/users/sad... | [] | closed | false | null | [] | [
"Hy @sadakmed, \r\n\r\nlet me know if you need help on the issue or if you don't find the time to tackle it. I'll then just make it open to the \"public\" again :-) ",
"@patrickvonplaten The loss function it what I stuck on, thank you very much for your guidance.\r\n\r\n\r\n> Let me know if you need help or are ... | 1,608 | 1,624 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
Implementing BartForCausalLM anologs for ProphetNetForCausalLM
Fixes #9066
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9128",
"html_url": "https://github.com/huggingface/transformers/pull/9128",
"diff_url": "https://github.com/huggingface/transformers/pull/9128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9128.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9127/comments | https://api.github.com/repos/huggingface/transformers/issues/9127/events | https://github.com/huggingface/transformers/pull/9127 | 767,752,194 | MDExOlB1bGxSZXF1ZXN0NTQwMzYwMzg3 | 9,127 | [Flax] Bugfixes in `run_mlm_flax.py` | {
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,608 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a few bugs I have observed when using `run_mlm_flax.py`:
- As discussed with @mfuntowicz , `jnp.split` is a lot slower than `np.split` on the first iteration, outright hanging in my tests on simplewiki (~20MB). As this operation doesn't need to be traced. we can use `np.split` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9127/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9127",
"html_url": "https://github.com/huggingface/transformers/pull/9127",
"diff_url": "https://github.com/huggingface/transformers/pull/9127.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9127.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9126/comments | https://api.github.com/repos/huggingface/transformers/issues/9126/events | https://github.com/huggingface/transformers/issues/9126 | 767,715,749 | MDU6SXNzdWU3Njc3MTU3NDk= | 9,126 | seq2seq finetuning scripts break before training (cannot import name ParallelMode) | {
"login": "apostolis19",
"id": 7759496,
"node_id": "MDQ6VXNlcjc3NTk0OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7759496?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apostolis19",
"html_url": "https://github.com/apostolis19",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Make sure you install a recent version of transformers, `ParallelMode` was added to the master branch some ~2 weeks ago.",
"Yes, as @KDercksen points out, you need an up-to-date install from source to be able to run the examples (as mentioned in the main examples folder README)."
] | 1,608 | 1,608 | 1,608 | NONE | null | File "finetune_trainer.py", line 24, in <module>
from seq2seq_trainer import Seq2SeqTrainer
File "/home/---/transformers/examples/seq2seq/seq2seq_trainer.py", line 35, in <module>
from transformers.training_args import ParallelMode
ImportError: cannot import name 'ParallelMode' from 'transformers.training... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9126/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9125/comments | https://api.github.com/repos/huggingface/transformers/issues/9125/events | https://github.com/huggingface/transformers/issues/9125 | 767,685,804 | MDU6SXNzdWU3Njc2ODU4MDQ= | 9,125 | Predict single sentence for Glue Tasks | {
"login": "Nickil21",
"id": 8767964,
"node_id": "MDQ6VXNlcjg3Njc5NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8767964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nickil21",
"html_url": "https://github.com/Nickil21",
"followers_url": "https://api.github.com/users/Nicki... | [] | closed | false | null | [] | [
"Here is how I managed to do it. I have considered a `pandas` dataframe, but you can easily extend it to predict individual sentence too.\r\n\r\n```\r\nimport pandas as pd \r\nimport numpy as np\r\nfrom datasets import Dataset, load_dataset\r\nfrom scipy.special import softmax\r\nfrom transformers import Trainer\r\... | 1,608 | 1,624 | 1,608 | NONE | null | I have trained a custom binary classifier using `run_glue.py` and have the `pytorch_model.bin` file saved to a directory. Is there a way to predict for a given sentence and extract its label?
I know `trainer.predict(test_dataset)` does it. But I am having some trouble converting the string to the format that it take... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9125/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9124/comments | https://api.github.com/repos/huggingface/transformers/issues/9124/events | https://github.com/huggingface/transformers/pull/9124 | 767,573,462 | MDExOlB1bGxSZXF1ZXN0NTQwMjM2MDYz | 9,124 | Improve BERT-like models performance with better self attention | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"A Python profiling call gives the following improvements:\r\n```\r\nmodel = TFBertModel.from_pretrained(\"bert-base-cased\")\r\n\r\n# With the improvements\r\ncProfile.run(\"model(model.dummy_inputs)\") \r\n54591 function calls (53774 primitive calls) in 0.064 seconds\r\n\r\n# Currently on master\r\ncProfile.run(\... | 1,608 | 1,608 | 1,608 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the way we implement the self attention layers in order to be aligned on the original BERT performance. Small breaking change, this improvement needs at least TF 2.3. This change has already been discussed with @thomwolf, and he agreed. But still needs the approval of @Lysandr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9124",
"html_url": "https://github.com/huggingface/transformers/pull/9124",
"diff_url": "https://github.com/huggingface/transformers/pull/9124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9124.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9123/comments | https://api.github.com/repos/huggingface/transformers/issues/9123/events | https://github.com/huggingface/transformers/issues/9123 | 767,564,148 | MDU6SXNzdWU3Njc1NjQxNDg= | 9,123 | BART cannot accept -100 as ignored label | {
"login": "Huanghongru",
"id": 28702947,
"node_id": "MDQ6VXNlcjI4NzAyOTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/28702947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Huanghongru",
"html_url": "https://github.com/Huanghongru",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [] | 1,608 | 1,608 | 1,608 | NONE | null | ## Environment info
- `transformers` version: 4.0.1
- Platform: Linux
- Python version: 3.7.9
- PyTorch version (GPU?): 1.6.0
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
Bart: @patrickvonplaten
## Information
I'm using ``BartForConditionalGenera... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9123/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9123/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9122/comments | https://api.github.com/repos/huggingface/transformers/issues/9122/events | https://github.com/huggingface/transformers/issues/9122 | 767,535,574 | MDU6SXNzdWU3Njc1MzU1NzQ= | 9,122 | RobertaTokenizer fails to do_lower_case, different behavior between version 2 and 3 | {
"login": "jingtaozhan",
"id": 54493610,
"node_id": "MDQ6VXNlcjU0NDkzNjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/54493610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jingtaozhan",
"html_url": "https://github.com/jingtaozhan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Could you please also try with the most recent transformers release and report what happens?",
"Version 4.0.1 prints: ['Hug', 'ging', 'face'] ",
"Explicitly setting the attribute 'do_lower_case' to True solves the problem.\r\n\r\n```python\r\nfrom transformers import RobertaTokenizer\r\ntokenizer = RobertaToke... | 1,608 | 1,654 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.4.0 / 2.8.0
- Platform: linux
- Python version: 3.8
### Who can help
@mfuntowicz
## Information
Tokenizer I am using: RobertaTokenizer
The tokenizer do not lower case the text even if I explicitly set do_lower_case=True. The behavior is different bet... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9122/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9121/comments | https://api.github.com/repos/huggingface/transformers/issues/9121/events | https://github.com/huggingface/transformers/issues/9121 | 767,468,311 | MDU6SXNzdWU3Njc0NjgzMTE= | 9,121 | [Generation] Add generation outputs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [
{
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://a... | [] | 1,608 | 1,609 | 1,609 | MEMBER | null | # 🚀 Feature request
We've had multiple issues asking for the possibility to output the scores/probabilities of each token during generation, see:
https://github.com/huggingface/transformers/issues/7654
https://github.com/huggingface/transformers/issues/3891
https://github.com/huggingface/transformers/issues/8656... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9121/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9120/comments | https://api.github.com/repos/huggingface/transformers/issues/9120/events | https://github.com/huggingface/transformers/pull/9120 | 767,427,627 | MDExOlB1bGxSZXF1ZXN0NTQwMTM4NjIy | 9,120 | Fix tf2.4 | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"LGTM!"
] | 1,608 | 1,608 | 1,608 | CONTRIBUTOR | null | # What does this PR do?
Fix the tests to make them compliant with the new TF 2.4
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9120/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9120",
"html_url": "https://github.com/huggingface/transformers/pull/9120",
"diff_url": "https://github.com/huggingface/transformers/pull/9120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9120.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9119/comments | https://api.github.com/repos/huggingface/transformers/issues/9119/events | https://github.com/huggingface/transformers/issues/9119 | 767,346,050 | MDU6SXNzdWU3NjczNDYwNTA= | 9,119 | Which dataset is used for training GPT, GPT2 from scratch? | {
"login": "arisohn",
"id": 307442,
"node_id": "MDQ6VXNlcjMwNzQ0Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/307442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arisohn",
"html_url": "https://github.com/arisohn",
"followers_url": "https://api.github.com/users/arisohn/fo... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,608 | 1,608 | 1,608 | NONE | null | Hi,
I checked the model card of GPT and GPT2, but I can't find the dataset which was used for training.
Where can I find the datasets which is used for?
https://huggingface.co/openai-gpt
https://huggingface.co/gpt2 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9119/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9118/comments | https://api.github.com/repos/huggingface/transformers/issues/9118/events | https://github.com/huggingface/transformers/issues/9118 | 767,327,972 | MDU6SXNzdWU3NjczMjc5NzI= | 9,118 | Different inference results of a keras including transformer model on TPU vs CPU? | {
"login": "steindor",
"id": 3185711,
"node_id": "MDQ6VXNlcjMxODU3MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3185711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/steindor",
"html_url": "https://github.com/steindor",
"followers_url": "https://api.github.com/users/stein... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,608 | 1,608 | 1,608 | NONE | null | transformers version: 4.0.0
Platform: Linux-4.9.0-11-amd64-x86_64-with-debian-9.11
Python version: 3.7.9
PyTorch version (GPU?): 1.6.0a0+bf2bbd9 (False)
Tensorflow version (GPU?): 2.3.1 (False)
Using GPU in script?: No
Using distributed or parallel set-up in script?: Distributed
I am building a Keras model whi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9117/comments | https://api.github.com/repos/huggingface/transformers/issues/9117/events | https://github.com/huggingface/transformers/pull/9117 | 767,301,892 | MDExOlB1bGxSZXF1ZXN0NTQwMDYxMDY3 | 9,117 | Tapas v4 (tres) | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
},
{
"id": 2669577093,
... | closed | false | null | [] | [
"Don't worry about the TF tests, these are because of TF2.4 which are fixed on `master`.",
"The conversion script currently includes a line in which I'm importing a local `vocab.txt`, I know this should be removed in the future."
] | 1,608 | 1,611 | 1,608 | CONTRIBUTOR | null | Here we are again, opening a new PR based on the former (#8988) which had some Github issues.
cc @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9117/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9117",
"html_url": "https://github.com/huggingface/transformers/pull/9117",
"diff_url": "https://github.com/huggingface/transformers/pull/9117.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9117.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9116/comments | https://api.github.com/repos/huggingface/transformers/issues/9116/events | https://github.com/huggingface/transformers/issues/9116 | 767,240,112 | MDU6SXNzdWU3NjcyNDAxMTI= | 9,116 | Roberta training crashing due to position_id embedding | {
"login": "david-waterworth",
"id": 5028974,
"node_id": "MDQ6VXNlcjUwMjg5NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/david-waterworth",
"html_url": "https://github.com/david-waterworth",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"One potential fix is to not use the same padding_idx for the position_ids embedding, why not just use 0? The least actual unpadded value of incremental_indices will be one so 0 is a valid pad.\r\n\r\nIn the `__init__` of `RobertaEmbeddings` (note this code is also duplicated, self.position_embeddings is intiialise... | 1,608 | 1,619 | 1,619 | NONE | null | I've been trying to work out why I keep getting a CUDA assert in a specific mini-batch when training RoBERTa from scratch. I finally tracked it down after switching to CPU.
I don't understand why `padding_idx` is added to `incremental_indices` below? - _edit: I do in that the embedding needs a padding mask but it I'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9116/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9116/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9115/comments | https://api.github.com/repos/huggingface/transformers/issues/9115/events | https://github.com/huggingface/transformers/pull/9115 | 767,169,636 | MDExOlB1bGxSZXF1ZXN0NTM5OTcwOTY2 | 9,115 | [doc] pytorch native amp leak fix landed in 1.7.1 | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,608 | 1,608 | 1,608 | CONTRIBUTOR | null | update README with good news that the leak fix has been applied to pytorch-1.7.1 and not just 1.8.
Reference: https://github.com/pytorch/pytorch/issues/48049#issuecomment-742790722
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9115",
"html_url": "https://github.com/huggingface/transformers/pull/9115",
"diff_url": "https://github.com/huggingface/transformers/pull/9115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9115.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9114/comments | https://api.github.com/repos/huggingface/transformers/issues/9114/events | https://github.com/huggingface/transformers/pull/9114 | 767,156,195 | MDExOlB1bGxSZXF1ZXN0NTM5OTYyMTE1 | 9,114 | Fix stack overflow | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,608 | 1,608 | 1,608 | MEMBER | null | Currently calling `n_sequences` on a `BatchEncoding` results in a stack overflow. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9114",
"html_url": "https://github.com/huggingface/transformers/pull/9114",
"diff_url": "https://github.com/huggingface/transformers/pull/9114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9114.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9113/comments | https://api.github.com/repos/huggingface/transformers/issues/9113/events | https://github.com/huggingface/transformers/issues/9113 | 767,131,705 | MDU6SXNzdWU3NjcxMzE3MDU= | 9,113 | Some Models do not support gradient checkpointing | {
"login": "jingtaozhan",
"id": 54493610,
"node_id": "MDQ6VXNlcjU0NDkzNjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/54493610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jingtaozhan",
"html_url": "https://github.com/jingtaozhan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,608 | 1,619 | 1,619 | NONE | null | Thanks for this wonderful library.
I found some models do not support gradient_checkpointing, which I believe is a very important feature. For example,
ElectraModel: ElectraConfig has no gradient_checkpointing option but ElectraModel will use gradient_checkpointing if config.gradient_checkpointing = True
Distil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9113/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9112/comments | https://api.github.com/repos/huggingface/transformers/issues/9112/events | https://github.com/huggingface/transformers/pull/9112 | 767,046,233 | MDExOlB1bGxSZXF1ZXN0NTM5ODkxMTQ1 | 9,112 | Add BORT | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"🔥 Looking forward to taking a look at the conversion script from GluonNLP/mxnet!",
"@patrickvonplaten I added some examples for both `modeling_bort.py` and modeling_tf_bort.py` :hugs: \r\n\r\n@julien-c The conversion script is also added - you just need to install `gluonnlp==0.8.3` and `mxnet==1.5.0`.\r\n\r\nT... | 1,607 | 1,611 | 1,611 | COLLABORATOR | null | Hi,
this PR adds the recently introduced BORT model from @adewynter and Daniel J. Perry from the Alexa team into Transformers.
----
BORT was introduced in the [Optimal Subarchitecture Extraction For BERT](https://arxiv.org/abs/2010.10499).
Details about BORT:
> We extract an optimal subset of architectur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9112/reactions",
"total_count": 9,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9112/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9112",
"html_url": "https://github.com/huggingface/transformers/pull/9112",
"diff_url": "https://github.com/huggingface/transformers/pull/9112.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9112.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9111/comments | https://api.github.com/repos/huggingface/transformers/issues/9111/events | https://github.com/huggingface/transformers/issues/9111 | 766,989,362 | MDU6SXNzdWU3NjY5ODkzNjI= | 9,111 | Longformer `token_type_ids` Vocabulary Size is 1 But Documentation States Otherwise | {
"login": "HHousen",
"id": 11785397,
"node_id": "MDQ6VXNlcjExNzg1Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/11785397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HHousen",
"html_url": "https://github.com/HHousen",
"followers_url": "https://api.github.com/users/HHouse... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"It also might be a good idea to catch this error somewhere before `IndexError: index out of range in self` because that is not descriptive and makes debugging difficult.",
"You're right @HHousen - thanks for the note! Do you want to open a PR to fix the docs? That would be awesome :-) Otherwise, I can do it as w... | 1,607 | 1,608 | 1,608 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2 and latest (4.0.0)
- Platform: Linux (Ubuntu)
- Python version: 3.6.9 and 3.8.6
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9111/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9110/comments | https://api.github.com/repos/huggingface/transformers/issues/9110/events | https://github.com/huggingface/transformers/issues/9110 | 766,926,556 | MDU6SXNzdWU3NjY5MjY1NTY= | 9,110 | Not able to train RoBERTa language model from scratch | {
"login": "shubhamk0027",
"id": 31592194,
"node_id": "MDQ6VXNlcjMxNTkyMTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/31592194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubhamk0027",
"html_url": "https://github.com/shubhamk0027",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The `run_mlm` script trains a `RobertaForMaskedLM` model, which does not have a pooler layer. That's why you get this warning when using this pretrained model to initialize a `RobertaModel`.",
"Thanks @sgugger! Now I get where the problem was. \r\nMoreover, I found some good tutorials on it. Here are the links ... | 1,607 | 1,608 | 1,608 | NONE | null | I tried training RoBERTa language model from scratch using
<code> !python ./run_mlm.py
--model_name_or_path roberta-base
--train_file './data_lm.txt'
--do_train
--line_by_line
--num_train_epochs 3
--output_dir ./roberta
</code>
Due to the limits on the colab storage, I deleted... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9110/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9109/comments | https://api.github.com/repos/huggingface/transformers/issues/9109/events | https://github.com/huggingface/transformers/issues/9109 | 766,872,058 | MDU6SXNzdWU3NjY4NzIwNTg= | 9,109 | Cannot disable logging from trainer module | {
"login": "alexf-a",
"id": 12577961,
"node_id": "MDQ6VXNlcjEyNTc3OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/12577961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexf-a",
"html_url": "https://github.com/alexf-a",
"followers_url": "https://api.github.com/users/alexf-... | [] | closed | false | null | [] | [
"Could you elaborate on the script you're using. `run_ner.py` does not report `eval_class_report` or `eval_predictions` and there are no print statements in it, nor are there in `Trainer.train` method.",
"Yes, it's a custom script. The script creates an `AutoModelForTokenClassification,` passes it to the `Trainer... | 1,607 | 1,683 | 1,608 | NONE | null | @sgugger @stas00
- `transformers` version: 3.2.0
- Platform:
- Python version: 3.7.6
- PyTorch version (GPU?): 1.6.0, Tesla V100
- Tensorflow version (GPU?):
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: Parallel
I am using the Hugging Face Trainer class for NER fine-tuning... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9108/comments | https://api.github.com/repos/huggingface/transformers/issues/9108/events | https://github.com/huggingface/transformers/issues/9108 | 766,807,174 | MDU6SXNzdWU3NjY4MDcxNzQ= | 9,108 | Time for second encoding is much higher than first time | {
"login": "datistiquo",
"id": 47474379,
"node_id": "MDQ6VXNlcjQ3NDc0Mzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/47474379?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datistiquo",
"html_url": "https://github.com/datistiquo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Could you show the entire code, including how you instantiate the model, as well as your environment information, as mentioned in the template? Thank you.",
"that's ok?",
"With the following code:\r\n\r\n```py\r\nfrom transformers import TFBertModel, BertTokenizer\r\nfrom time import time\r\nimport tensorflow ... | 1,607 | 1,619 | 1,619 | NONE | null | Hi,
using a bert model on a single gpu to encode multiple times after each each other like
```
bert_model = TFBertModel.from_pretrained('bert-base-cased',output_hidden_states=True)
input = tokenizer(data , max_length=MAX_SEQ_lEN,padding="max_length",truncation=True, return_tensors="tf")
outputs1 = bert_model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9107/comments | https://api.github.com/repos/huggingface/transformers/issues/9107/events | https://github.com/huggingface/transformers/pull/9107 | 766,803,125 | MDExOlB1bGxSZXF1ZXN0NTM5NzE4MzQ2 | 9,107 | Fix T5 model parallel test | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,608 | 1,608 | MEMBER | null | The model was defined in the wrong model tester. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9107",
"html_url": "https://github.com/huggingface/transformers/pull/9107",
"diff_url": "https://github.com/huggingface/transformers/pull/9107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9107.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9106/comments | https://api.github.com/repos/huggingface/transformers/issues/9106/events | https://github.com/huggingface/transformers/issues/9106 | 766,623,461 | MDU6SXNzdWU3NjY2MjM0NjE= | 9,106 | Cannot load community model on local machine | {
"login": "logancyang",
"id": 4860545,
"node_id": "MDQ6VXNlcjQ4NjA1NDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4860545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/logancyang",
"html_url": "https://github.com/logancyang",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hello! I believe this is so because this model uses the new weights system, which was introduced in v3.5.1. Please upgrade your transformers version to at least v3.5.1, we recommand the latest (v4.0.1):\r\n\r\n```\r\npip install -U transformers==4.0.1\r\n```",
"@LysandreJik Thanks for the quick reply! It works n... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.4.0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.6
- PyTorch version (GPU?): 1.7.0 (F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9106/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9105/comments | https://api.github.com/repos/huggingface/transformers/issues/9105/events | https://github.com/huggingface/transformers/pull/9105 | 766,535,158 | MDExOlB1bGxSZXF1ZXN0NTM5NTE5NzEz | 9,105 | Added TF OpenAi GPT1 Sequence Classification | {
"login": "spatil6",
"id": 6419011,
"node_id": "MDQ6VXNlcjY0MTkwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6419011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spatil6",
"html_url": "https://github.com/spatil6",
"followers_url": "https://api.github.com/users/spatil6/... | [] | closed | false | null | [] | [
"Not sure, why test cases are failing for 'run_tests_tf'. @LysandreJik . \r\nLet me know any action require from my side.",
"Can you rebase on master, a fix has been recently merged.",
"The tests have already been fixed on `master`, merging! Thanks a lot @spatil6"
] | 1,607 | 1,608 | 1,608 | CONTRIBUTOR | null | This PR implements Sequence classification for TF OpenAi GPT1 model.
TFOpenAIGPTForSequenceClassification uses the last token in order to do the classification, as other causal models (e.g. Transformer XL ,GPT-2) do.
Fixes #7623
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9105",
"html_url": "https://github.com/huggingface/transformers/pull/9105",
"diff_url": "https://github.com/huggingface/transformers/pull/9105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9105.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9104/comments | https://api.github.com/repos/huggingface/transformers/issues/9104/events | https://github.com/huggingface/transformers/issues/9104 | 766,492,439 | MDU6SXNzdWU3NjY0OTI0Mzk= | 9,104 | Cannot load custom tokenizer for Trainer | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [] | closed | false | null | [] | [
"After playing with it more and changing files, names etc... I managed to made it work with Roberta. I guess it was a stupid name error... Sorry for taking 5mn of you time reading this. \r\n \r\nI realize it couldn't work with distilbert (bert) as the tokenizers are differents. \r\nIn the end, the model is training... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-5.9.13-zen1-1-zen-x86_64-with-glibc2.2.5
- Python version: 3.8.6
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### W... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9104/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9103/comments | https://api.github.com/repos/huggingface/transformers/issues/9103/events | https://github.com/huggingface/transformers/issues/9103 | 766,467,004 | MDU6SXNzdWU3NjY0NjcwMDQ= | 9,103 | Seq2Seq training calculate_rouge with precision and recall | {
"login": "marcoabrate",
"id": 43387597,
"node_id": "MDQ6VXNlcjQzMzg3NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/43387597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcoabrate",
"html_url": "https://github.com/marcoabrate",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi there. Please note that this script is not maintained anymore and is provided as is. We only maintain the `finetune_trainer.py` script now.",
"Ok, I will switch to that one. Thank you"
] | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: master
- Platform: Google Colab
- Python version: 3.6.9
- PyTorch version (GPU?): pytorch-lightning==1.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9103/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9102/comments | https://api.github.com/repos/huggingface/transformers/issues/9102/events | https://github.com/huggingface/transformers/issues/9102 | 766,448,186 | MDU6SXNzdWU3NjY0NDgxODY= | 9,102 | Unexpected logits shape on prediction with TFRobertaForSequenceClassification | {
"login": "steindor",
"id": 3185711,
"node_id": "MDQ6VXNlcjMxODU3MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3185711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/steindor",
"html_url": "https://github.com/steindor",
"followers_url": "https://api.github.com/users/stein... | [] | closed | false | null | [] | [
"Hello! The main issue here is that your arrays are of shape `(seq_length)`, whereas they should be of shape `(batch_size, seq_length)`, even if the batch size is 1.\r\n\r\nUpdating your code to reflect that:\r\n\r\n```py\r\nfrom transformers import TFRobertaForSequenceClassification, RobertaConfig\r\nimport numpy ... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0
- Platform: Linux-4.9.0-11-amd64-x86_64-with-debian-9.11
- Python version: 3.7.9
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9102/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9101/comments | https://api.github.com/repos/huggingface/transformers/issues/9101/events | https://github.com/huggingface/transformers/pull/9101 | 766,406,402 | MDExOlB1bGxSZXF1ZXN0NTM5NDMyODA0 | 9,101 | Fix a broken link in documentation | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Fixes a broken link to the BERTology example in documentation
Fixes #9100
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
documentation: @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9101",
"html_url": "https://github.com/huggingface/transformers/pull/9101",
"diff_url": "https://github.com/huggingface/transformers/pull/9101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9101.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9100/comments | https://api.github.com/repos/huggingface/transformers/issues/9100/events | https://github.com/huggingface/transformers/issues/9100 | 766,403,605 | MDU6SXNzdWU3NjY0MDM2MDU= | 9,100 | Link to BERTology example is broken | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [
{
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://a... | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Link to BERTology example is broken in Documentation (https://huggingface.co/transformers/bertology.html)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9099/comments | https://api.github.com/repos/huggingface/transformers/issues/9099/events | https://github.com/huggingface/transformers/issues/9099 | 766,293,079 | MDU6SXNzdWU3NjYyOTMwNzk= | 9,099 | bug with _load_optimizer_and_scheduler in trainer.py | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"Hi @rabeehk ,\r\n\r\nIn `_load_optimizer_and_scheduler` if `model_path` exists and `optimizer` and `scheduler` `state_dict` is found then that means you are loading from a saved checkpoint and continue training from there, so the `lr` is read from the `scheduler` and used instead of the set LR. This is expected b... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.4.0
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
Trainer: @sgugger
Text Generation: @patrickvonplaten
## Information
I am using fine... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9099/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9098/comments | https://api.github.com/repos/huggingface/transformers/issues/9098/events | https://github.com/huggingface/transformers/pull/9098 | 766,268,406 | MDExOlB1bGxSZXF1ZXN0NTM5MzQ0MzA0 | 9,098 | [RAG, Bart] Align RAG, Bart cache with T5 and other models of transformers | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9098/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9098",
"html_url": "https://github.com/huggingface/transformers/pull/9098",
"diff_url": "https://github.com/huggingface/transformers/pull/9098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9098.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9097/comments | https://api.github.com/repos/huggingface/transformers/issues/9097/events | https://github.com/huggingface/transformers/issues/9097 | 766,190,803 | MDU6SXNzdWU3NjYxOTA4MDM= | 9,097 | Is the LayoutLM working now? | {
"login": "shaonanqinghuaizongshishi",
"id": 75976629,
"node_id": "MDQ6VXNlcjc1OTc2NjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/75976629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaonanqinghuaizongshishi",
"html_url": "https://github.com/shaonanqinghuaizongshishi",
... | [] | closed | false | null | [] | [
"Hi @shaonanqinghuaizongshishi \r\n\r\nCould you please post the code snippet, stack trace and your env info so that we can take a look ?",
"I am working on:\r\nubuntu 16.04\r\ntorch 1.5.0\r\ntransformers 3.4.0\r\n\r\n\r\n```\r\ndevice = torch.device('cuda' if torch.cuda.is_available() else 'cpu')\r\ntokenizer = ... | 1,607 | 1,619 | 1,619 | NONE | null | Getting endless erros when trying to use the LayoutLMForTokenClassification from transformers for NER task, is just me doing wrong or the function still on work?
Really appreciate if anyone can give some information. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9097/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9097/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9096/comments | https://api.github.com/repos/huggingface/transformers/issues/9096/events | https://github.com/huggingface/transformers/pull/9096 | 766,066,751 | MDExOlB1bGxSZXF1ZXN0NTM5MjMwOTMx | 9,096 | Fix variable name in TrainingArguments docstring | {
"login": "navjotts",
"id": 8072161,
"node_id": "MDQ6VXNlcjgwNzIxNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8072161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/navjotts",
"html_url": "https://github.com/navjotts",
"followers_url": "https://api.github.com/users/navjo... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Corrects a var name in the docstring for `TrainingArguments` (there is no `ignore_skip_data`)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9096/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9096/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9096",
"html_url": "https://github.com/huggingface/transformers/pull/9096",
"diff_url": "https://github.com/huggingface/transformers/pull/9096.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9096.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9095/comments | https://api.github.com/repos/huggingface/transformers/issues/9095/events | https://github.com/huggingface/transformers/issues/9095 | 766,022,721 | MDU6SXNzdWU3NjYwMjI3MjE= | 9,095 | [TorchScript] Received several warning during Summarization model conversion | {
"login": "lanking520",
"id": 11890922,
"node_id": "MDQ6VXNlcjExODkwOTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/11890922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lanking520",
"html_url": "https://github.com/lanking520",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Have you tried removing the `strict=False`, and instead specify `return_dict=False` when you initialize the model with `from_pretrained`? Can you let me know if this fixes your issue?",
"> Have you tried removing the `strict=False`, and instead specify `return_dict=False` when you initialize the model with `from... | 1,607 | 1,705 | 1,608 | NONE | null | ## Environment info
Using Transformers 4.0.1 and PyTorch 1.6.0.
```pytorch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
import torch
tokenizer = AutoTokenizer.from_pretrained("sshleifer/distilbart-cnn-6-6")
model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/distilbart-cnn-6-6")
# m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9095/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9095/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9094/comments | https://api.github.com/repos/huggingface/transformers/issues/9094/events | https://github.com/huggingface/transformers/issues/9094 | 766,005,039 | MDU6SXNzdWU3NjYwMDUwMzk= | 9,094 | head mask issue transformers==3.5.1 | {
"login": "jingyonglin",
"id": 14811163,
"node_id": "MDQ6VXNlcjE0ODExMTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/14811163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jingyonglin",
"html_url": "https://github.com/jingyonglin",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: windows & linux
- Python version: python 3.7
- PyTorch version (GPU?): 1.7.0
- Tensorflow version (GPU?): 2.3.1
- Using GPU in script?: Yes both CPU and GPU
- Using distributed or parallel set-up in script?: No
### Who can help
albert,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9094/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9093/comments | https://api.github.com/repos/huggingface/transformers/issues/9093/events | https://github.com/huggingface/transformers/issues/9093 | 766,003,906 | MDU6SXNzdWU3NjYwMDM5MDY= | 9,093 | Not able to load T5 tokenizer | {
"login": "adithyaan-creator",
"id": 54103522,
"node_id": "MDQ6VXNlcjU0MTAzNTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/54103522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adithyaan-creator",
"html_url": "https://github.com/adithyaan-creator",
"followers_url": "https... | [] | closed | false | null | [] | [
"Hey @adithyaan-creator, \r\n\r\nas the error message says you need to install the sentence piece library :-) \r\n\r\nIf you run:\r\n\r\n```\r\npip install sentencepiece==0.1.91\r\n```\r\n\r\nbefore, it should work.",
"Thanks @patrickvonplaten . ",
"Hi @patrickvonplaten \r\nI installed sentencepiece, but it sti... | 1,607 | 1,689 | 1,607 | NONE | null | Transformers==4.0.0
torch == 1.7.0+cu101
tensorflow == 2.3.0
Platform = Colab notebook
@julien-c @patrickvonplaten
Not able to load T5 tokenizer using
`tokenizer = T5Tokenizer.from_pretrained('t5-base')'
Getting error -
:
- Tensorflow version (GPU?):
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9090/comments | https://api.github.com/repos/huggingface/transformers/issues/9090/events | https://github.com/huggingface/transformers/issues/9090 | 765,786,990 | MDU6SXNzdWU3NjU3ODY5OTA= | 9,090 | run_clm example gives `CUDA out of memory. Tried to allocate` error | {
"login": "massanishi",
"id": 4588926,
"node_id": "MDQ6VXNlcjQ1ODg5MjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4588926?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/massanishi",
"html_url": "https://github.com/massanishi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"You should try to reduce the batch size. This will reduce the memory usage.",
"Yup. What @LysandreJik said is correct. Use the following:\r\n`--per_device_train_batch_size x \\`\r\n`--per_device_eval_batch_size x \\`\r\nReplace x with your preferred batch size, I would recommend the highest power of 2 your GPU m... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
Google Colab with GPU runtime.
- Python version: 3.6.9
## Information
I'm trying to run the GPT2 training example from `https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_clm.py`.
The problem arises when using:
- Run CLM language modeling example... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9089/comments | https://api.github.com/repos/huggingface/transformers/issues/9089/events | https://github.com/huggingface/transformers/pull/9089 | 765,771,646 | MDExOlB1bGxSZXF1ZXN0NTM5MDc0MTg0 | 9,089 | Fix a bug in eval_batch_retrieval of eval_rag.py | {
"login": "yoshitomo-matsubara",
"id": 11156001,
"node_id": "MDQ6VXNlcjExMTU2MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/11156001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yoshitomo-matsubara",
"html_url": "https://github.com/yoshitomo-matsubara",
"followers_url": ... | [] | closed | false | null | [] | [
"@lhoestq - feel free to merge if you're ok with the PR"
] | 1,607 | 1,608 | 1,608 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9089",
"html_url": "https://github.com/huggingface/transformers/pull/9089",
"diff_url": "https://github.com/huggingface/transformers/pull/9089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9089.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9088/comments | https://api.github.com/repos/huggingface/transformers/issues/9088/events | https://github.com/huggingface/transformers/issues/9088 | 765,630,751 | MDU6SXNzdWU3NjU2MzA3NTE= | 9,088 | run_clm.py Early stopping with ^C | {
"login": "Clickative",
"id": 35162301,
"node_id": "MDQ6VXNlcjM1MTYyMzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/35162301?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Clickative",
"html_url": "https://github.com/Clickative",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"^C means you have hit Ctrl + C on your machine and stops the command running. You should re-run the command without hitting Ctrl + C.",
"Yup I am aware that ^C is a halt command. I am running this on colab and I have tried to run this 5-7 times now, not hitting Ctrl+C once. For some reason it appears itself and ... | 1,607 | 1,618 | 1,618 | NONE | null | - `transformers` version: 4.0.1
- Platform: Colab
- Python version: 3.6.9
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
@sgugger
## Information
Model I am using: GPT2
The problem arises when using:
`run_clm.py`
## To reproduce
`!python ./transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9087/comments | https://api.github.com/repos/huggingface/transformers/issues/9087/events | https://github.com/huggingface/transformers/issues/9087 | 765,588,724 | MDU6SXNzdWU3NjU1ODg3MjQ= | 9,087 | BertForSequenceClassification finetune training loss and accuracy have some problem | {
"login": "good74152",
"id": 39672039,
"node_id": "MDQ6VXNlcjM5NjcyMDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/39672039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/good74152",
"html_url": "https://github.com/good74152",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests, rather than help with training.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: v4.0.0
- Platform: colab pro
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9087/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9086/comments | https://api.github.com/repos/huggingface/transformers/issues/9086/events | https://github.com/huggingface/transformers/issues/9086 | 765,557,582 | MDU6SXNzdWU3NjU1NTc1ODI= | 9,086 | Getting a 404 error when loading TFXLMRobertaModel from 'xlm-roberta-large' | {
"login": "vinaygeorgeroy",
"id": 23115208,
"node_id": "MDQ6VXNlcjIzMTE1MjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/23115208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinaygeorgeroy",
"html_url": "https://github.com/vinaygeorgeroy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Could you try with the flag `from_pt=True` when using `from_pretrained`? ",
"That worked, thanks"
] | 1,607 | 1,607 | 1,607 | NONE | null | Getting a 404 when trying to load the model.
Manyually checked the https://huggingface.co repository for the xlm-roberta-large, was only able to find the Pytorch models, why aren't the TF models available for this, if its not, why is it not explicitly mentioned in the documentation? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9085/comments | https://api.github.com/repos/huggingface/transformers/issues/9085/events | https://github.com/huggingface/transformers/issues/9085 | 765,463,737 | MDU6SXNzdWU3NjU0NjM3Mzc= | 9,085 | Adding to docs how to train CTRL Model with control codes. | {
"login": "ludoro",
"id": 21291898,
"node_id": "MDQ6VXNlcjIxMjkxODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/21291898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ludoro",
"html_url": "https://github.com/ludoro",
"followers_url": "https://api.github.com/users/ludoro/fo... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,651 | 1,619 | NONE | null | # 🚀 Feature request
At the moment there is no explanation in the docs how to train a CTRL model with user defined `control codes`.
## Motivation
At the moment there is no explanation in the docs how to train a CTRL model with user defined `control codes`. I think it should be added because control codes are ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9085/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9084/comments | https://api.github.com/repos/huggingface/transformers/issues/9084/events | https://github.com/huggingface/transformers/issues/9084 | 765,347,063 | MDU6SXNzdWU3NjUzNDcwNjM= | 9,084 | Problem with Token Classification models | {
"login": "Joerg99",
"id": 27426431,
"node_id": "MDQ6VXNlcjI3NDI2NDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/27426431?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Joerg99",
"html_url": "https://github.com/Joerg99",
"followers_url": "https://api.github.com/users/Joerg9... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests, rather than help with training-related issues.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? You'll have better answers over there.\r\n\r\nThanks!"
] | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.1
- Platform: Win10
- Python version:3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9083/comments | https://api.github.com/repos/huggingface/transformers/issues/9083/events | https://github.com/huggingface/transformers/issues/9083 | 764,430,548 | MDU6SXNzdWU3NjQ0MzA1NDg= | 9,083 | Image rendering not working in example notebook | {
"login": "darigovresearch",
"id": 30328618,
"node_id": "MDQ6VXNlcjMwMzI4NjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/30328618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darigovresearch",
"html_url": "https://github.com/darigovresearch",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,607 | 1,608 | 1,608 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: n/a
- Platform: n/a
- Python version: n/a
- PyTorch version (GPU?): n/a
- Tensorflow version (GPU?): n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9083/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9082/comments | https://api.github.com/repos/huggingface/transformers/issues/9082/events | https://github.com/huggingface/transformers/pull/9082 | 764,401,820 | MDExOlB1bGxSZXF1ZXN0NTM4NDgyNzk1 | 9,082 | Add parallelization support for T5EncoderModel | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Very cool! Could you also enable the parallelization tests for these models? You can check how it was done in the initial model parallel PR, [here's the commit](https://github.com/huggingface/transformers/pull/8696/commits/cde47f0d110176d3834b736dac27bc9bc2a4de43) related to the tests. You can just add the `T5Enco... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Extend T5EncoderModel to support model parallization across different GPUs.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9082/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9082",
"html_url": "https://github.com/huggingface/transformers/pull/9082",
"diff_url": "https://github.com/huggingface/transformers/pull/9082.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9082.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9081/comments | https://api.github.com/repos/huggingface/transformers/issues/9081/events | https://github.com/huggingface/transformers/issues/9081 | 764,338,511 | MDU6SXNzdWU3NjQzMzg1MTE= | 9,081 | Segmentation fault (core dumped) running run_qa.py | {
"login": "piecurus",
"id": 8821811,
"node_id": "MDQ6VXNlcjg4MjE4MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8821811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piecurus",
"html_url": "https://github.com/piecurus",
"followers_url": "https://api.github.com/users/piecu... | [] | closed | false | null | [] | [
"same problem here? what is going on because I run glue smoothly.it seems that the problem related to the script itself.",
"The problem is in your JSON file. The squad v2 JSON file is not in a format the datasets library can directly preprocess, so you need to make it compliant with it. You should take this issue... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.1
- Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9081/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9080/comments | https://api.github.com/repos/huggingface/transformers/issues/9080/events | https://github.com/huggingface/transformers/issues/9080 | 763,950,672 | MDU6SXNzdWU3NjM5NTA2NzI= | 9,080 | Fine tune GPT-2 pytorch | {
"login": "contribcode",
"id": 24355946,
"node_id": "MDQ6VXNlcjI0MzU1OTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/24355946?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/contribcode",
"html_url": "https://github.com/contribcode",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This repo(https://github.com/kifish/GPT4NLG) will help you out.",
"Have you taken a look at the [`run_clm.py` script](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_clm.py) in the examples? It seems to be doing exactly what you're looking for.\r\n\r\nErratum: I just realiz... | 1,607 | 1,619 | 1,619 | NONE | null | Hello,
I want to fine tune GPT-2 (PyTorch version) on a custom dataset. Words or small phrases of the dataset are marked, for example:
_some text [ss] word / small phrase [se] some other text._
I want to generate this kind of text with GPT-2, so firstly I thought to add [ss] and [se] as special tokens.
I am... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9080/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9079/comments | https://api.github.com/repos/huggingface/transformers/issues/9079/events | https://github.com/huggingface/transformers/issues/9079 | 763,905,784 | MDU6SXNzdWU3NjM5MDU3ODQ= | 9,079 | T5 fails on many datasets with [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"Hi\r\nI traced the error and this is happening in this line:\r\n\r\nlabel_str = tokenizer.batch_decode(pred.label_ids, skip_special_tokens=True)\r\nhttps://github.com/rabeehk/debug-seq2seq/blob/1bcadb4b5497a0cbab6c2778e87335c5edcbd0a2/seq2seq/metrics/metrics.py#L99\r\n\r\nhere is the format of label_ids\r\n\r\n```... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGener... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9078/comments | https://api.github.com/repos/huggingface/transformers/issues/9078/events | https://github.com/huggingface/transformers/issues/9078 | 763,885,583 | MDU6SXNzdWU3NjM4ODU1ODM= | 9,078 | Add Definition of a transformer to the glossary | {
"login": "darigovresearch",
"id": 30328618,
"node_id": "MDQ6VXNlcjMwMzI4NjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/30328618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darigovresearch",
"html_url": "https://github.com/darigovresearch",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Are you looking for https://huggingface.co/transformers/model_summary.html ?",
"@cronoik thanks for taking a look! Wasn't looking for that page, was trying to find just a general definition of what a transformer is in terms of the general concept",
"Do you have something like this in mind: https://github.com/h... | 1,607 | 1,616 | 1,616 | CONTRIBUTOR | null | Thought it may be helpful to have an easy to understand definition for what a transformer is in the [glossary](https://huggingface.co/transformers/glossary.html) for any new joiners.
@sgugger any thoughts?
Happy to add a definition if provided with one in the open pull request #8949 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9076/comments | https://api.github.com/repos/huggingface/transformers/issues/9076/events | https://github.com/huggingface/transformers/pull/9076 | 763,593,947 | MDExOlB1bGxSZXF1ZXN0NTM4MDEwNjYx | 9,076 | Clarify use of TrainingArguments.disable_tqdm in Jupyter Notebooks | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"Thanks for the suggestions! I've included them so should be good to go :)",
"Thanks a lot!"
] | 1,607 | 1,608 | 1,608 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9076",
"html_url": "https://github.com/huggingface/transformers/pull/9076",
"diff_url": "https://github.com/huggingface/transformers/pull/9076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9076.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9075/comments | https://api.github.com/repos/huggingface/transformers/issues/9075/events | https://github.com/huggingface/transformers/issues/9075 | 763,592,962 | MDU6SXNzdWU3NjM1OTI5NjI= | 9,075 | Zero Shot Classification Pipeline gives poor results locally than online demo | {
"login": "nerdimite",
"id": 28258052,
"node_id": "MDQ6VXNlcjI4MjU4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/28258052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nerdimite",
"html_url": "https://github.com/nerdimite",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Maybe @joeddav has an idea!",
"The pipeline output is sorted from highest to lowest scores, so in your code `pred_idx` will always be `0` and `pred_cls` will always be `\"Single Patient\"`. Instead you want,\r\n\r\n```python\r\npred_cls = results['labels'][0]\r\npred_idx = labels.index(pred_cls)\r\n```",
"Oh l... | 1,607 | 1,608 | 1,608 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.1
- Platform: Colab
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0 Yes
- Tensorflow versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9072/comments | https://api.github.com/repos/huggingface/transformers/issues/9072/events | https://github.com/huggingface/transformers/issues/9072 | 763,524,445 | MDU6SXNzdWU3NjM1MjQ0NDU= | 9,072 | get type error when I run the example code of token classification | {
"login": "ZihaoZheng98",
"id": 22414831,
"node_id": "MDQ6VXNlcjIyNDE0ODMx",
"avatar_url": "https://avatars.githubusercontent.com/u/22414831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZihaoZheng98",
"html_url": "https://github.com/ZihaoZheng98",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi, could you provide the full error, as well as the command you use to launch the script? Thank you!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not fo... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:4.0.0
- Platform:linux and macos
- Python version:3.7 and 3.8
- PyTorch version (GPU?):1.7.0
### Who ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9071/comments | https://api.github.com/repos/huggingface/transformers/issues/9071/events | https://github.com/huggingface/transformers/issues/9071 | 763,239,498 | MDU6SXNzdWU3NjMyMzk0OTg= | 9,071 | attention_mask size | {
"login": "Jiaxin-Wen",
"id": 48146603,
"node_id": "MDQ6VXNlcjQ4MTQ2NjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/48146603?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jiaxin-Wen",
"html_url": "https://github.com/Jiaxin-Wen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"have implemented that by myself.\r\nIf needed, I can make a pull request",
"Hi, I'm also trying to utilize such a customized mask. Would you mind sharing your implementation? Thank you!"
] | 1,607 | 1,611 | 1,611 | NONE | null | # 🚀 Feature request
current attention_mask argument is a tensor of shape [batch_size, sequence_length],
I'd like it to be a tensor of shape [batch_size, from_seq_length, to_seq_length], as I want to set a different attention mask for a different position.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9071/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9070/comments | https://api.github.com/repos/huggingface/transformers/issues/9070/events | https://github.com/huggingface/transformers/pull/9070 | 763,028,822 | MDExOlB1bGxSZXF1ZXN0NTM3NTE5ODMx | 9,070 | [CI doc] safely testing experimental CI features | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,607 | 1,672 | 1,607 | CONTRIBUTOR | null | After causing a few CI workflow disruptions with my recent attempts to figure out how to get circleCI do something new (skip heavy builds on doc-only PRs) I realized that future such experiments can be much smoother and lead to close to zero annoyance to anybody involved in submitting and handling PRs.
This PR docum... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9070/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9070",
"html_url": "https://github.com/huggingface/transformers/pull/9070",
"diff_url": "https://github.com/huggingface/transformers/pull/9070.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9070.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9069/comments | https://api.github.com/repos/huggingface/transformers/issues/9069/events | https://github.com/huggingface/transformers/pull/9069 | 762,919,302 | MDExOlB1bGxSZXF1ZXN0NTM3NDE5Njkw | 9,069 | Fix some typos | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"@patil-suraj this pull request can also be closed! \r\nMost of the typos were already fixed, the remaining ones were fixed in [this pull request](https://github.com/huggingface/transformers/pull/10989)\r\n\r\n"
] | 1,607 | 1,617 | 1,617 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9069",
"html_url": "https://github.com/huggingface/transformers/pull/9069",
"diff_url": "https://github.com/huggingface/transformers/pull/9069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9069.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/9068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9068/comments | https://api.github.com/repos/huggingface/transformers/issues/9068/events | https://github.com/huggingface/transformers/pull/9068 | 762,886,799 | MDExOlB1bGxSZXF1ZXN0NTM3Mzg5Nzc5 | 9,068 | [wip] [ci] experiment for documentation | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"It is clear now - ready to document how to do it right: https://github.com/huggingface/transformers/pull/9070\r\n"
] | 1,607 | 1,651 | 1,607 | CONTRIBUTOR | null | please ignore for now. thanks.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9068",
"html_url": "https://github.com/huggingface/transformers/pull/9068",
"diff_url": "https://github.com/huggingface/transformers/pull/9068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9068.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9067/comments | https://api.github.com/repos/huggingface/transformers/issues/9067/events | https://github.com/huggingface/transformers/pull/9067 | 762,702,963 | MDExOlB1bGxSZXF1ZXN0NTM3MjIyOTkx | 9,067 | Fix min_null_pred in the run_qa script | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
The `min_null_prediction` variable in the `run_qa` script was actually the maximum because the < was in the wrong direction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9067",
"html_url": "https://github.com/huggingface/transformers/pull/9067",
"diff_url": "https://github.com/huggingface/transformers/pull/9067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9067.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9066/comments | https://api.github.com/repos/huggingface/transformers/issues/9066/events | https://github.com/huggingface/transformers/issues/9066 | 762,576,595 | MDU6SXNzdWU3NjI1NzY1OTU= | 9,066 | Add BartForCausalLM analogs to `ProphetNetForCausalLM` | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
},
{
"id": 2392046359,
"node_id": "MDU6TGF... | closed | false | null | [] | [
"I dont know if @MeRajat claimed this issue, However if not **I want to take this issue** ",
"Usually one opens a PR to claim the issue (the PR does not have to be finished) - so I think it's still open. ",
"@patrickvonplaten This FR is opened for some time,so thought of working on it, almost completed developm... | 1,607 | 1,612 | 1,612 | MEMBER | null | # 🚀 Feature request
Bart is a seq2seq model, but there might be applications where one would like to use only the pre-trained BartDecoder in an EncoderDecoder setting with a "long" encoder, such as
```python
from transformers import EncoderDecoderModel
model = EncoderDecoderModel("allenai/longformer-large... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9065/comments | https://api.github.com/repos/huggingface/transformers/issues/9065/events | https://github.com/huggingface/transformers/pull/9065 | 762,472,016 | MDExOlB1bGxSZXF1ZXN0NTM3MDExMTk0 | 9,065 | Remove docs only check | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | Remove the docs only check as it can result in [crashes](https://app.circleci.com/pipelines/github/huggingface/transformers/17209/workflows/d3807ea6-9697-4699-a114-98e6b4d2c4d0/jobs/135576).
Will revert if you disagree @stas00. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9065/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9065",
"html_url": "https://github.com/huggingface/transformers/pull/9065",
"diff_url": "https://github.com/huggingface/transformers/pull/9065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9065.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9064/comments | https://api.github.com/repos/huggingface/transformers/issues/9064/events | https://github.com/huggingface/transformers/issues/9064 | 762,453,674 | MDU6SXNzdWU3NjI0NTM2NzQ= | 9,064 | Embedding documents on multi-GPU single-ode Docker using pretrained models of huggingface transformers and pytorch DistributedDataParallel | {
"login": "ntaherkhani",
"id": 34975127,
"node_id": "MDQ6VXNlcjM0OTc1MTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/34975127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ntaherkhani",
"html_url": "https://github.com/ntaherkhani",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,619 | 1,619 | NONE | null | Hi,
This is a question.
I am trying to embed some documents including a couple of sentences using huggingface transformers models. I have multi-gpu single-node and I want to do embedding parallel and distributed in all 8 gpus. I tried to use pytorch DistributedDataParallel, but I think all sentences are sending to a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9064/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9063/comments | https://api.github.com/repos/huggingface/transformers/issues/9063/events | https://github.com/huggingface/transformers/pull/9063 | 762,451,834 | MDExOlB1bGxSZXF1ZXN0NTM2OTkyODkw | 9,063 | Fix T5 and BART for TF | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"I should have addressed everybody's comments :)"
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR fix the TensorFlow implementation of T5 and BART to make them graph compilation+execution compliant and then be able to create a savedmodel for each them.
The slow tests `test_saved_model_with_hidden_states_output` and `test_saved_model_with_attentions_output` are now passing for b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9063/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9063",
"html_url": "https://github.com/huggingface/transformers/pull/9063",
"diff_url": "https://github.com/huggingface/transformers/pull/9063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9063.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9062/comments | https://api.github.com/repos/huggingface/transformers/issues/9062/events | https://github.com/huggingface/transformers/pull/9062 | 762,448,350 | MDExOlB1bGxSZXF1ZXN0NTM2OTg5NzEy | 9,062 | Bump notebook from 6.1.4 to 6.1.5 in /examples/research_projects/movement-pruning/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Bumps [notebook](https://github.com/jupyter/jupyterhub) from 6.1.4 to 6.1.5.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jupyter/jupyterhub/commits">compare view</a></li>
</ul>
</details>
<br />
[ input token
3. Is more robust to misspe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9061/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 5,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9061/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9060/comments | https://api.github.com/repos/huggingface/transformers/issues/9060/events | https://github.com/huggingface/transformers/issues/9060 | 762,345,056 | MDU6SXNzdWU3NjIzNDUwNTY= | 9,060 | ImportError: cannot import name 'SAVE_STATE_WARNING' from 'torch.optim.lr_scheduler' - SAVE_STATE_WARNING has been removed from pytorch | {
"login": "dbonner",
"id": 241474,
"node_id": "MDQ6VXNlcjI0MTQ3NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/241474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dbonner",
"html_url": "https://github.com/dbonner",
"followers_url": "https://api.github.com/users/dbonner/fo... | [] | closed | false | null | [] | [
".I can see you have fixed this in the source code.",
"I just upgraded to torch 1.8 and I got this error. \r\n\r\n```ImportError while importing test module '/home/dwalter/Documents/projects/lm/lm_ml/modules/quantization/tests/test_quantize.py'.\r\nHint: make sure your test modules/packages have valid Python name... | 1,607 | 1,663 | 1,607 | NONE | null | ERROR:
..../my37/lib/python3.7/site-packages/transformers/trainer_pt_utils.py", line 40, in <module>
from torch.optim.lr_scheduler import SAVE_STATE_WARNING
ImportError: cannot import name 'SAVE_STATE_WARNING' from 'torch.optim.lr_scheduler' (......./my37/lib/python3.7/site-packages/torch/optim/lr_scheduler.py)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9059/comments | https://api.github.com/repos/huggingface/transformers/issues/9059/events | https://github.com/huggingface/transformers/issues/9059 | 762,305,303 | MDU6SXNzdWU3NjIzMDUzMDM= | 9,059 | overflow_to_sample_mapping missing in in documentation | {
"login": "schelv",
"id": 13403863,
"node_id": "MDQ6VXNlcjEzNDAzODYz",
"avatar_url": "https://avatars.githubusercontent.com/u/13403863?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schelv",
"html_url": "https://github.com/schelv",
"followers_url": "https://api.github.com/users/schelv/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"Indeed! Do you want to open a PR with a fix?",
"No not really. \r\nBut I've found that the documentation is the same because the `PreTrainedTokenizerFast` inherits the `__call__` method as well as the documentation from `PreTrainedTokenizerBase`. \r\nThe `__call__` method documentation is a concatenation of two ... | 1,607 | 1,620 | null | NONE | null | In the [documentation ]( https://huggingface.co/transformers/master/main_classes/tokenizer.html#transformers.PreTrainedTokenizerFast.__call__)of the fast tokenizer, the `overflow_to_sample_mapping` field is missing.
Instead the `overflowing_tokens` is listed there, which is only part of the base tokenizer.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9059/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9059/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9058/comments | https://api.github.com/repos/huggingface/transformers/issues/9058/events | https://github.com/huggingface/transformers/issues/9058 | 762,298,982 | MDU6SXNzdWU3NjIyOTg5ODI= | 9,058 | "resize_token_embeddings" in BertForeMaskedLM won't change last linear layer "output dimension" | {
"login": "HenryPaik1",
"id": 42961175,
"node_id": "MDQ6VXNlcjQyOTYxMTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/42961175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryPaik1",
"html_url": "https://github.com/HenryPaik1",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Sorry, My mistakes."
] | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
- `transformers` version: 4.0.1
### Who can help
albert, bert, GPT2, XLM: @LysandreJik
## Information
Model I am using (Bert, XLNet ...): BertForMaskedLM
## To reproduce
`resize_token_embeddings` cannot change decoder output feature dimension.
```
model = BertForMaskedLM.from_pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9057/comments | https://api.github.com/repos/huggingface/transformers/issues/9057/events | https://github.com/huggingface/transformers/issues/9057 | 762,271,120 | MDU6SXNzdWU3NjIyNzExMjA= | 9,057 | Having to specify too many `ignore_keys` in `Trainer.prediction_step` | {
"login": "Fraser-Greenlee",
"id": 8402500,
"node_id": "MDQ6VXNlcjg0MDI1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8402500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fraser-Greenlee",
"html_url": "https://github.com/Fraser-Greenlee",
"followers_url": "https://api.g... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"No, this is too simplistic. First of all, all question-answering models return two logits called `start_logits` and `end_logits`. Then a user might want to get the predictions for all their `all_hidden_states` or `all_attentions` when the model has the proper config keys, which is why the `Trainer` gather all the... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Since all model output dicts that have logits give it with the key `logits` I think this code could be simplified to just use the `logits` key. (Rather than having to specify a bunch of `ignore_keys`.)
from:
https://github.com/huggingface/transformers/blob/e20ac6611df97f66148ce8b7886f01ffe9d17484/src/transformers/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9057/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9056/comments | https://api.github.com/repos/huggingface/transformers/issues/9056/events | https://github.com/huggingface/transformers/issues/9056 | 762,234,519 | MDU6SXNzdWU3NjIyMzQ1MTk= | 9,056 | Token classification example (run_ner.py) should work without fast tokenizers | {
"login": "ruanchaves",
"id": 14352388,
"node_id": "MDQ6VXNlcjE0MzUyMzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/14352388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ruanchaves",
"html_url": "https://github.com/ruanchaves",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Yes, this script only supports models that have a fast tokenizer (there is now a clear assert of that after the tokenizer is loaded). The old script will work with models that only have a slow tokenizer.",
"> Yes, this script only supports models that have a fast tokenizer (there is no a clear assert of that aft... | 1,607 | 1,695 | 1,619 | CONTRIBUTOR | null | # 🚀 Feature request
The token classification example ( [run_ner.py](https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_ner.py) ) calls the Tokenizer with `return_offsets_mapping=True` (line 279).
This is not allowed for Python tokenizers and raises the error `NotImplemented... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9056/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9055/comments | https://api.github.com/repos/huggingface/transformers/issues/9055/events | https://github.com/huggingface/transformers/issues/9055 | 762,195,911 | MDU6SXNzdWU3NjIxOTU5MTE= | 9,055 | Can't load mt5 model after resizing token embedding | {
"login": "alecoutre1",
"id": 17927714,
"node_id": "MDQ6VXNlcjE3OTI3NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/17927714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alecoutre1",
"html_url": "https://github.com/alecoutre1",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @alecoutre1 I think this was fixed very recently. \r\n\r\nI cannot reproduce your error on master -> could you try to pip install the master version and see if the error persists? \r\n\r\n```\r\npip install git+https://github.com/huggingface/transformers\r\n```",
"This issue has been automatically marked as... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 4.0.1
- Platform: macOS-10.15.6-x86_64-i386-64bit
- Python version: 3.8.3
- PyTorch version (GPU?): 1.7.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
@patrickvonplaten ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9054/comments | https://api.github.com/repos/huggingface/transformers/issues/9054/events | https://github.com/huggingface/transformers/pull/9054 | 762,180,503 | MDExOlB1bGxSZXF1ZXN0NTM2NzU1MTYz | 9,054 | [Flax] Align FlaxBertForMaskedLM with BertForMaskedLM, implement from_pretrained, init | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Update: The init and `.from_pretrained()` should now be more aligned in Flax.\r\nNotably, the user never has to call `init(...)` himself. This is done automatically in `FlaxBertModel(config)` just as it's done in PT.\r\nThe `from_pretrained(...)` method now yields explicit warnings which weights are randomly initi... | 1,607 | 1,608 | 1,608 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9054/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9054",
"html_url": "https://github.com/huggingface/transformers/pull/9054",
"diff_url": "https://github.com/huggingface/transformers/pull/9054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9054.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9053/comments | https://api.github.com/repos/huggingface/transformers/issues/9053/events | https://github.com/huggingface/transformers/issues/9053 | 762,144,521 | MDU6SXNzdWU3NjIxNDQ1MjE= | 9,053 | TFTrainingArguments | {
"login": "tangzhy",
"id": 36271700,
"node_id": "MDQ6VXNlcjM2MjcxNzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/36271700?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tangzhy",
"html_url": "https://github.com/tangzhy",
"followers_url": "https://api.github.com/users/tangzh... | [] | closed | false | null | [] | [
"Oh this is a typo, do you want to open a PR to fix it?"
] | 1,607 | 1,608 | 1,608 | NONE | null | ## Environment info
- `transformers` version: 4.0.1
- Platform: linux
- Python version: 3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.3.1
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: yes
@sgugger @jplu @stefan-it
## Information
Model I am using (Bert, X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9053/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9052/comments | https://api.github.com/repos/huggingface/transformers/issues/9052/events | https://github.com/huggingface/transformers/issues/9052 | 762,139,921 | MDU6SXNzdWU3NjIxMzk5MjE= | 9,052 | Add caching mechanism to BERT/RoBERTa/GPT2 for Seq2Seq accelerated generation | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"@patrickvonplaten Hi, I'd like to ask why the decoding only reuses previous key and values but no query. Since if the model parameter rests static, the query vector can be reused as well.\r\n\r\nAppreciate for your reply.",
"Hi @liyucheng09 \r\n\r\nGood question!\r\nWe don't need to reuse query states because wh... | 1,607 | 1,619 | 1,608 | MEMBER | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
All Seq2Seq models that make use of `generate()` usually allow `past_key_values` to be cached for both the cross-attention layer and the uni-directional deco... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9051/comments | https://api.github.com/repos/huggingface/transformers/issues/9051/events | https://github.com/huggingface/transformers/pull/9051 | 762,113,534 | MDExOlB1bGxSZXF1ZXN0NTM2Njk1MTgx | 9,051 | update tatoeba workflow | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | # What does this PR do?
Update the tatoeba model upload workflow for our new git-based system.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9051",
"html_url": "https://github.com/huggingface/transformers/pull/9051",
"diff_url": "https://github.com/huggingface/transformers/pull/9051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9051.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9050/comments | https://api.github.com/repos/huggingface/transformers/issues/9050/events | https://github.com/huggingface/transformers/pull/9050 | 762,063,145 | MDExOlB1bGxSZXF1ZXN0NTM2NjQ5NTg4 | 9,050 | yuk | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9050/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9050",
"html_url": "https://github.com/huggingface/transformers/pull/9050",
"diff_url": "https://github.com/huggingface/transformers/pull/9050.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9050.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9049/comments | https://api.github.com/repos/huggingface/transformers/issues/9049/events | https://github.com/huggingface/transformers/pull/9049 | 761,898,966 | MDExOlB1bGxSZXF1ZXN0NTM2NTAzMTA3 | 9,049 | New version of flax requires frozen dicts | {
"login": "KristianHolsheimer",
"id": 8200332,
"node_id": "MDQ6VXNlcjgyMDAzMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8200332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KristianHolsheimer",
"html_url": "https://github.com/KristianHolsheimer",
"followers_url": "http... | [] | closed | false | null | [] | [
"Hey @KristianHolsheimer,\r\n\r\nSorry I saw your PR a bit too late...I think this is solved now on master no?",
"Okay no worries. Sorry I should've tagged you. Thanks for the reply"
] | 1,607 | 1,609 | 1,609 | CONTRIBUTOR | null | Small update to maintain compatibility with new version of flax.
@mfuntowicz | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9049",
"html_url": "https://github.com/huggingface/transformers/pull/9049",
"diff_url": "https://github.com/huggingface/transformers/pull/9049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9049.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9048/comments | https://api.github.com/repos/huggingface/transformers/issues/9048/events | https://github.com/huggingface/transformers/issues/9048 | 761,754,157 | MDU6SXNzdWU3NjE3NTQxNTc= | 9,048 | 🐛 [TFBART] LayerDrop not working on TPU | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"It seems to work if I completely remove the `LayerDrop` (by commenting out the `if` clause, in both encoder and decoder).",
"Hey @astariul-colanim, \r\n\r\nI think a fix in #9029 (replacing the if-else by a `continue` statement) should do the trick.\r\n\r\nCould you try again from the branch and let me know?\r\n... | 1,607 | 1,619 | 1,619 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.1.0.dev0
- Platform: Linux-4.19.0-13-cloud-amd64-x86_64-with-debian-10.7
- Python version: 3.7.3
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9047/comments | https://api.github.com/repos/huggingface/transformers/issues/9047/events | https://github.com/huggingface/transformers/pull/9047 | 761,748,731 | MDExOlB1bGxSZXF1ZXN0NTM2MzY5NTc4 | 9,047 | Change nn.dropout to layer.Dropout in TFBart | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"Hey @astariul-colanim \r\n\r\nThanks for the fix! Looks good to me if it solves the error on TPU. Also cc @jplu "
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR changes all the `tf.nn.dropout` calls in `modeling_tf_bart.py` and use `tf.keras.layers.Dropout` instead.
More consistent with `modeling_tf_roberta.py`
Fixes #9045
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9047/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9047",
"html_url": "https://github.com/huggingface/transformers/pull/9047",
"diff_url": "https://github.com/huggingface/transformers/pull/9047.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9047.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9046/comments | https://api.github.com/repos/huggingface/transformers/issues/9046/events | https://github.com/huggingface/transformers/issues/9046 | 761,745,858 | MDU6SXNzdWU3NjE3NDU4NTg= | 9,046 | BlenderBot RuntimeError: CUDA error: device-side assert triggered | {
"login": "manzar96",
"id": 38495091,
"node_id": "MDQ6VXNlcjM4NDk1MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/38495091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manzar96",
"html_url": "https://github.com/manzar96",
"followers_url": "https://api.github.com/users/man... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hey @manzar96,\r\n\r\nIt would be awesome if you could provide a full code snippet that I can copy paste and run to reproduce the error. I am not able to do so with your code above. \r\n\r\nThanks a lot!",
"I made an example:\r\n\r\n```import torch\r\nfrom transformers import BlenderbotSmallTokenizer, \\\r\n ... | 1,607 | 1,608 | 1,608 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-5.4.0-56-generic-x86_64-with-glibc2.29
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes (GTX 1060 6GB)
- Using distributed or parallel set-up in scrip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9046/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9045/comments | https://api.github.com/repos/huggingface/transformers/issues/9045/events | https://github.com/huggingface/transformers/issues/9045 | 761,731,843 | MDU6SXNzdWU3NjE3MzE4NDM= | 9,045 | 🐛 [TF_BART] "<internal expr>" has dtype float32 in the TRUE branch, but dtype=int32 in the FALSE branch | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.1.0.dev0
- Platform: Linux-4.19.0-13-cloud-amd64-x86_64-with-debian-10.7
- Python version: 3.7.3
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9045/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9044/comments | https://api.github.com/repos/huggingface/transformers/issues/9044/events | https://github.com/huggingface/transformers/issues/9044 | 761,665,180 | MDU6SXNzdWU3NjE2NjUxODA= | 9,044 | XLNet ONNX model giving error: "Attempting to broadcast an axis by a dimension other than 1" | {
"login": "singhn27",
"id": 1694751,
"node_id": "MDQ6VXNlcjE2OTQ3NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1694751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/singhn27",
"html_url": "https://github.com/singhn27",
"followers_url": "https://api.github.com/users/singh... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.5.1
- Platform: Linux-4.14.193-113.317.amzn1.x86_64-x86_64-with-glibc2.10
- Python version: 3.7.6
- P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9043/comments | https://api.github.com/repos/huggingface/transformers/issues/9043/events | https://github.com/huggingface/transformers/issues/9043 | 761,652,516 | MDU6SXNzdWU3NjE2NTI1MTY= | 9,043 | The example code does not work | {
"login": "fang19911030",
"id": 17070830,
"node_id": "MDQ6VXNlcjE3MDcwODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/17070830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fang19911030",
"html_url": "https://github.com/fang19911030",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The example code in the documentation of version 4 works with transformers version 4. You can find the examples for older versions (since you seem to be running v3.3.1) by clicking on the navigation bar at the left of the documentation pages. [Here](https://huggingface.co/transformers/v3.3.1/) is a direct link to ... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Linux-4.4.0-154-generic-x86_64-with-Ubuntu-16.04-xenial
- Python version: 3.6.12
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9043/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9042/comments | https://api.github.com/repos/huggingface/transformers/issues/9042/events | https://github.com/huggingface/transformers/pull/9042 | 761,649,163 | MDExOlB1bGxSZXF1ZXN0NTM2Mjg0Mjk5 | 9,042 | [finetune_trainer] enhancements and fixes | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Unfortunately the naming has been done a long time ago and even if it's not ideal, we can't break it like this as people rely on the names of the keys in their code. I would advocate for the renaming to be done in the script directly and not inside `Trainer`.\r\n\r\nIf there is really a lot of people asking for it... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | The main need was to add speed metrics to perform speed performance regressions. But on the way a bunch of other things got worked on. Hopefully you will find the proposed changes useful.
This PR change `trainer`
* [x] adds an optional `metric_key_prefix` for `evaluate` and `predict` functions to return metrics w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9042",
"html_url": "https://github.com/huggingface/transformers/pull/9042",
"diff_url": "https://github.com/huggingface/transformers/pull/9042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9042.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9041/comments | https://api.github.com/repos/huggingface/transformers/issues/9041/events | https://github.com/huggingface/transformers/issues/9041 | 761,647,334 | MDU6SXNzdWU3NjE2NDczMzQ= | 9,041 | google/bert2bert_L-24_wmt_de_en doesn't match official implementation | {
"login": "bkj",
"id": 6086781,
"node_id": "MDQ6VXNlcjYwODY3ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6086781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bkj",
"html_url": "https://github.com/bkj",
"followers_url": "https://api.github.com/users/bkj/followers",
"f... | [] | closed | false | null | [] | [
"Hey @bkj,\r\n\r\nThanks for the very in-detailed issue. It would be awesome if you could also share your custom scripts here to evaluate on the entire dataset. This indeed seems like a problem, I'll look into it",
"@patrickvonplaten Thanks for the quick response.\r\n\r\nCode to run inference w/ the two models ca... | 1,607 | 1,623 | 1,623 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-5.4.0-1030-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.8
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9040/comments | https://api.github.com/repos/huggingface/transformers/issues/9040/events | https://github.com/huggingface/transformers/issues/9040 | 761,635,284 | MDU6SXNzdWU3NjE2MzUyODQ= | 9,040 | Zero Shot Classification Pipeline fails when running in CPU-only Docker container | {
"login": "ravisurdhar",
"id": 29689587,
"node_id": "MDQ6VXNlcjI5Njg5NTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/29689587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ravisurdhar",
"html_url": "https://github.com/ravisurdhar",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: MacOS 10.15.7 (2018 MacBook Pro 15")
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0 CPU Only
- Tensorflow version (GPU?): N/A
- Using GPU in script?: N/A
- Using distributed or parallel set-up in script?: N/A
### Who can help
Maybe @Lys... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9040/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9039/comments | https://api.github.com/repos/huggingface/transformers/issues/9039/events | https://github.com/huggingface/transformers/issues/9039 | 761,633,746 | MDU6SXNzdWU3NjE2MzM3NDY= | 9,039 | BERT outputs are different with the same input in training mode | {
"login": "lamthuy",
"id": 8089862,
"node_id": "MDQ6VXNlcjgwODk4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8089862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lamthuy",
"html_url": "https://github.com/lamthuy",
"followers_url": "https://api.github.com/users/lamthuy/... | [] | closed | false | null | [] | [
"Hi there! The [forum](https://discuss.huggingface.co/) is a better place for those kinds of general questions, as we keep the issues for bugs and feature requests only.\r\n\r\nTo answer your question, this is because most Deep Learning models (including BERT) use a technique called [dropout](https://www.cs.toronto... | 1,607 | 1,681 | 1,619 | NONE | null | When the training mode is enabled, BERT model returns different outputs even for the same input, is there any idea on why this happens?
```python
from transformers import BertModel, BertTokenizer
model = BertModel.from_pretrained("bert-base-uncased")
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9038/comments | https://api.github.com/repos/huggingface/transformers/issues/9038/events | https://github.com/huggingface/transformers/pull/9038 | 761,620,804 | MDExOlB1bGxSZXF1ZXN0NTM2MjYwNTEz | 9,038 | Fix typo #9012 (#1) | {
"login": "NatLun137",
"id": 66668418,
"node_id": "MDQ6VXNlcjY2NjY4NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/66668418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NatLun137",
"html_url": "https://github.com/NatLun137",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | There is a tiny typo in the code "transformers/examples/language-modeling/run_mlm_wwm.py" at line 284. [Details.](https://github.com/huggingface/transformers/issues/9012)
# What does this PR do?
Fixes #9012
## Before submitting
- [Y] This PR fixes a typo or improves the docs (you can dismiss the other check... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9038/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9038",
"html_url": "https://github.com/huggingface/transformers/pull/9038",
"diff_url": "https://github.com/huggingface/transformers/pull/9038.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9038.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9037/comments | https://api.github.com/repos/huggingface/transformers/issues/9037/events | https://github.com/huggingface/transformers/pull/9037 | 761,588,866 | MDExOlB1bGxSZXF1ZXN0NTM2MjM0NDQw | 9,037 | fix the typo 9012 | {
"login": "NatLun137",
"id": 66668418,
"node_id": "MDQ6VXNlcjY2NjY4NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/66668418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NatLun137",
"html_url": "https://github.com/NatLun137",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! I think you reverted your commit. The PR shows no diff.",
"> Hello! I think you reverted your commit. The PR shows no diff.\r\n\r\nHi! Yes, unfortunately, I was too quick... The first commit does the fix.",
"I opened [PR](https://github.com/huggingface/transformers/pull/9038) with correct changes."
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Fixes #9012
## Before submitting
- [Y] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [Y] Did you write any new necessary tests?
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Fee... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9037",
"html_url": "https://github.com/huggingface/transformers/pull/9037",
"diff_url": "https://github.com/huggingface/transformers/pull/9037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9037.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9036/comments | https://api.github.com/repos/huggingface/transformers/issues/9036/events | https://github.com/huggingface/transformers/issues/9036 | 761,489,268 | MDU6SXNzdWU3NjE0ODkyNjg= | 9,036 | [docs] missing info on call back registry | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I guess the corresponding test demonstrates the usage: https://github.com/huggingface/transformers/blob/5c0bf39782c9eac8df55b89518f61c430862a7f6/tests/test_trainer_callback.py\r\n\r\n\r\n",
"I don't think this issue needs to be closed, one more example could be added to the documentatio! Let's make a good first ... | 1,607 | 1,617 | 1,617 | CONTRIBUTOR | null | https://huggingface.co/transformers/main_classes/callback.html is missing instructions/examples on how to register a callback. Thanks.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9035/comments | https://api.github.com/repos/huggingface/transformers/issues/9035/events | https://github.com/huggingface/transformers/issues/9035 | 761,415,148 | MDU6SXNzdWU3NjE0MTUxNDg= | 9,035 | Improve coverage of the documentation | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwO... | closed | false | null | [] | [
"I added docs for Bertweet [here](https://github.com/huggingface/transformers/pull/9379), first contribution, let me know if there is anything missing",
"Reopening the issue are not all of the items are fixed yet!",
"Hello @sgugger,\r\n\r\nIf no one else is working on it yet, I'd like to work on the `Bert Japan... | 1,607 | 1,618 | 1,618 | COLLABORATOR | null | Currently, some public classes are not documented anywhere because we didn't create the corresponding doc pages. Those missing pages are:
- Benchmark classes
- Bert Japanese
- Data collators
If someone feels like working on one of those, please tag yourself with a comment on this issue. Once the objects are pro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9035/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9035/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9034/comments | https://api.github.com/repos/huggingface/transformers/issues/9034/events | https://github.com/huggingface/transformers/pull/9034 | 761,410,039 | MDExOlB1bGxSZXF1ZXN0NTM2MDc5MjEw | 9,034 | Refactor FLAX tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
This PR refactors the FLAX models tests in a `test_modeling_flax_common` file and speeds them up by using small random models instead of pretrained ones. It will hopefully speed up the CI and make it less flaky! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9034",
"html_url": "https://github.com/huggingface/transformers/pull/9034",
"diff_url": "https://github.com/huggingface/transformers/pull/9034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9034.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9033/comments | https://api.github.com/repos/huggingface/transformers/issues/9033/events | https://github.com/huggingface/transformers/pull/9033 | 761,371,140 | MDExOlB1bGxSZXF1ZXN0NTM2MDQ2MTU1 | 9,033 | Make ProphetNetModel really compatible with EncoderDecoder | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | The interesting part of ProphetNet is its decoder which can do n-gram causal language modeling. So it could be very interesting to load a pre-trained prophetnet decoder model into an encoder-decoder design with - let's say - a longformer encoder for long-range sequence modeling.
Due to some narrow-minded thinking o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9033",
"html_url": "https://github.com/huggingface/transformers/pull/9033",
"diff_url": "https://github.com/huggingface/transformers/pull/9033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9033.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9032/comments | https://api.github.com/repos/huggingface/transformers/issues/9032/events | https://github.com/huggingface/transformers/issues/9032 | 761,277,835 | MDU6SXNzdWU3NjEyNzc4MzU= | 9,032 | ImportError: cannot import name 'DPRReader' from 'transformers' | {
"login": "hiteshsom",
"id": 17461216,
"node_id": "MDQ6VXNlcjE3NDYxMjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/17461216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiteshsom",
"html_url": "https://github.com/hiteshsom",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The DPR model is part of the 3.1.0 release. Please update your transformers library (4.0.1 is the current release btw :)).\r\n\r\nhttps://github.com/huggingface/transformers/releases/tag/v3.1.0",
"Hi @cronoik , Thanks for answering. I tried this \r\n```\r\npip install transformers==4.0.1\r\n```\r\nbut got this e... | 1,607 | 1,614 | 1,614 | NONE | null | Hi, I am trying to run below code, it can be found at this [link](https://huggingface.co/transformers/model_doc/dpr.html#dprreader)
```
from transformers import DPRReader, DPRReaderTokenizer
tokenizer = DPRReaderTokenizer.from_pretrained('facebook/dpr-reader-single-nq-base')
model = DPRReader.from_pretrained('faceb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9031/comments | https://api.github.com/repos/huggingface/transformers/issues/9031/events | https://github.com/huggingface/transformers/issues/9031 | 761,274,078 | MDU6SXNzdWU3NjEyNzQwNzg= | 9,031 | GPT2 attention mask | {
"login": "Jiaxin-Wen",
"id": 48146603,
"node_id": "MDQ6VXNlcjQ4MTQ2NjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/48146603?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jiaxin-Wen",
"html_url": "https://github.com/Jiaxin-Wen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!",
"Thanks for reminding! \nhttps://discuss.huggingface.co/t/dynamic-attention-mask-during-gpt-2-training/2789\nOn ... | 1,607 | 1,607 | 1,607 | NONE | null | I want to use gpt2 to generate a list of options
> an option is a sentence starting with a special token '<option>'.
As I don't want the following options to rely on the previous options, I think I should mask all the previous options.
I could simply implement that during generation by generating one option pe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9031/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9030/comments | https://api.github.com/repos/huggingface/transformers/issues/9030/events | https://github.com/huggingface/transformers/pull/9030 | 761,143,292 | MDExOlB1bGxSZXF1ZXN0NTM1ODU1MTM5 | 9,030 | Initial README for `t5-small-indonesian-summarization-cased` model | {
"login": "panggi",
"id": 249637,
"node_id": "MDQ6VXNlcjI0OTYzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/249637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/panggi",
"html_url": "https://github.com/panggi",
"followers_url": "https://api.github.com/users/panggi/follow... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Awesome! @panggi - did you check out the new `mt5` model as well by any chance? It should work better for your use-case I think :-) ",
"Thanks @patrickvonplaten, i just knew it from you about `mt5` and definitely will check it out! :)",
"Thanks for sharing @panggi "
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Initial README for Indonesian T5 Summarization Small Model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9030",
"html_url": "https://github.com/huggingface/transformers/pull/9030",
"diff_url": "https://github.com/huggingface/transformers/pull/9030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9030.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9029/comments | https://api.github.com/repos/huggingface/transformers/issues/9029/events | https://github.com/huggingface/transformers/pull/9029 | 761,143,045 | MDExOlB1bGxSZXF1ZXN0NTM1ODU0OTI0 | 9,029 | [TF Bart] Refactor TFBart | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"No speed regression on GPU brutasse in graph mode. PR is ready for review IMO.",
"> Awesome!! Thanks for taking care of this part!!\r\n> \r\n> Should we merge #9063 before or after this one?\r\n\r\nLet's merge after your PR. I'll take the merge conflicts from you :-)\r\nAlso this way I can play around a bit with... | 1,607 | 1,608 | 1,608 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9029/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9029",
"html_url": "https://github.com/huggingface/transformers/pull/9029",
"diff_url": "https://github.com/huggingface/transformers/pull/9029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9029.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9028/comments | https://api.github.com/repos/huggingface/transformers/issues/9028/events | https://github.com/huggingface/transformers/pull/9028 | 761,136,408 | MDExOlB1bGxSZXF1ZXN0NTM1ODQ5MzYx | 9,028 | Initial README for `t5-base-indonesian-summarization-cased` model | {
"login": "panggi",
"id": 249637,
"node_id": "MDQ6VXNlcjI0OTYzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/249637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/panggi",
"html_url": "https://github.com/panggi",
"followers_url": "https://api.github.com/users/panggi/follow... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Initial README for Indonesian T5 Summarization Base Model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9028",
"html_url": "https://github.com/huggingface/transformers/pull/9028",
"diff_url": "https://github.com/huggingface/transformers/pull/9028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9028.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9027/comments | https://api.github.com/repos/huggingface/transformers/issues/9027/events | https://github.com/huggingface/transformers/issues/9027 | 761,097,907 | MDU6SXNzdWU3NjEwOTc5MDc= | 9,027 | Uber AI plug and play language model (PPLM) | {
"login": "ajay01994",
"id": 31235529,
"node_id": "MDQ6VXNlcjMxMjM1NTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/31235529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ajay01994",
"html_url": "https://github.com/ajay01994",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I don't think we host a specific pplm model in the model hub (cc @julien-c). \r\n\r\nAlso we don't really plan on continuing to support PPLM in the future",
"@ajay01994 are you looking for the code? https://github.com/huggingface/transformers/tree/master/examples/text-generation/pplm\r\n\r\nOr you might be refer... | 1,607 | 1,607 | 1,607 | NONE | null | Hi Team,
Thanks for the hugging face repo and appreciate your great efforts towards adding datasets and models, I was trying to find PPLM model in model page but it was shown as 404 error, could you please check the model if it's available and let me know
Thanks
Ajay | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9027/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.