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/9026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9026/comments | https://api.github.com/repos/huggingface/transformers/issues/9026/events | https://github.com/huggingface/transformers/issues/9026 | 761,052,718 | MDU6SXNzdWU3NjEwNTI3MTg= | 9,026 | Compatibility scripts | {
"login": "bendboaz",
"id": 28871755,
"node_id": "MDQ6VXNlcjI4ODcxNzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/28871755?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bendboaz",
"html_url": "https://github.com/bendboaz",
"followers_url": "https://api.github.com/users/ben... | [
{
"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 | [] | [
"Hello! Thank you for your proposal. This, however, sounds like a colossal amount of work for limited gain - we try to keep the breaking changes across versions to a minimum. I understand that these do happen from time to time, but only for very good reasons that are thoroughly discussed beforehand.\r\n\r\nWould yo... | 1,607 | 1,614 | 1,614 | NONE | null | # 🚀 Feature request
Scripts that translate code in older transformers versions into equivalent code that is compatible with newer versions.
## Motivation
After talking with several other people in my research groups, compatibility issues and getting stuck with old versions have turned out to be pretty common... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9026/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/9026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9025/comments | https://api.github.com/repos/huggingface/transformers/issues/9025/events | https://github.com/huggingface/transformers/issues/9025 | 761,008,150 | MDU6SXNzdWU3NjEwMDgxNTA= | 9,025 | Untranslation of some words from an external dictionary | {
"login": "Dmitry-Sn",
"id": 43182156,
"node_id": "MDQ6VXNlcjQzMTgyMTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/43182156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dmitry-Sn",
"html_url": "https://github.com/Dmitry-Sn",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @Dmitry-Sn,\r\n\r\nIt would be great if you could ask these kind of questions on the forum: https://discuss.huggingface.co/ . We try to keep github for issues and less for user-specific use cases. Thanks!",
"> \r\n\r\nHi, have you found some way to solve this problem? I meet the same situation, some proper ... | 1,607 | 1,657 | 1,607 | NONE | null | I use some pre-trained translator models from your library (for example, Helsinki-NLP). During the translation process, I would like to leave some words untranslatable (for example, acronyms, toponyms or names) due to the presence of errors in their translation. I tried adding extra tokens and replacing these words wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9025/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/9025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9024/comments | https://api.github.com/repos/huggingface/transformers/issues/9024/events | https://github.com/huggingface/transformers/issues/9024 | 760,975,817 | MDU6SXNzdWU3NjA5NzU4MTc= | 9,024 | Use Softmax classifiering for run_glue.py example | {
"login": "rhit2020",
"id": 7211805,
"node_id": "MDQ6VXNlcjcyMTE4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7211805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rhit2020",
"html_url": "https://github.com/rhit2020",
"followers_url": "https://api.github.com/users/rhit2... | [
{
"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 | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,607 | 1,614 | 1,614 | NONE | null | Hi,
I want to do binary text classification and I'm adapting [run_glue.py](https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_glue.py) script to my task. The current model uses a linear classifier and the predictions are not in the range of [0,1]. Could you please guide me on how... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9024/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/9024/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9023/comments | https://api.github.com/repos/huggingface/transformers/issues/9023/events | https://github.com/huggingface/transformers/issues/9023 | 760,974,526 | MDU6SXNzdWU3NjA5NzQ1MjY= | 9,023 | run_clm.py Issue | MODEL_FOR_CAUSAL_LM_MAPPING is None | {
"login": "marscod",
"id": 16926558,
"node_id": "MDQ6VXNlcjE2OTI2NTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/16926558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marscod",
"html_url": "https://github.com/marscod",
"followers_url": "https://api.github.com/users/marsco... | [
{
"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 | [] | [
"Hi, could you please provide your environment info as asked in the template? `transformers-cli env`",
"hey, any solution yet?",
"@LysandreJik I am having the same issue and this is my env:\r\n- `transformers` version: 4.1.0.dev0\r\n- Platform: Linux-5.4.0-1029-gcp-x86_64-with-debian-buster-sid\r\n- Python vers... | 1,607 | 1,614 | 1,614 | NONE | null | When I use latest code of [run_clm.py](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_clm.py), it raises the following issue:
```
python run_clm.py \
--model_name_or_path gpt2 \
--train_file path_to_train_file \
--validation_file path_to_validation_file \
--... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9023/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/9023/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9022/comments | https://api.github.com/repos/huggingface/transformers/issues/9022/events | https://github.com/huggingface/transformers/issues/9022 | 760,925,201 | MDU6SXNzdWU3NjA5MjUyMDE= | 9,022 | About the input of BERT | {
"login": "BeerTai",
"id": 29746659,
"node_id": "MDQ6VXNlcjI5NzQ2NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/29746659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BeerTai",
"html_url": "https://github.com/BeerTai",
"followers_url": "https://api.github.com/users/BeerTa... | [] | closed | false | null | [] | [
"Hey @BeerTai, \r\n\r\nIt would be great if you could ask these kind of questions on the forum: https://discuss.huggingface.co/ . We try to keep github for issues and less for user-specific use cases. Thanks!"
] | 1,607 | 1,607 | 1,607 | NONE | null | Hello, if I want to maintain two different dictionaries, one is BERT's original dictionary and the other is a custom dictionary, and then the input is `[CLS] BERT dictionary corpus [SEP] custom dictionary corpus [SEP]`, how do I handle the input of the model and what part of the source code do I need to change? Thanks... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9022/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/9022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9021/comments | https://api.github.com/repos/huggingface/transformers/issues/9021/events | https://github.com/huggingface/transformers/issues/9021 | 760,859,624 | MDU6SXNzdWU3NjA4NTk2MjQ= | 9,021 | Error tokenizer = AutoTokenizer.from_pretrained("vinai/phobert-base") | {
"login": "trungtruc123",
"id": 42693060,
"node_id": "MDQ6VXNlcjQyNjkzMDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/42693060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trungtruc123",
"html_url": "https://github.com/trungtruc123",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"Hey @trungtruc123, \r\n\r\ncan you try upgrading your transformer version?\r\nThe following code snippet (as stated on the model card: https://github.com/VinAIResearch/PhoBERT) works perfectly fine for me.\r\n\r\n```python\r\nimport torch\r\nfrom transformers import AutoModel, AutoTokenizer\r\n\r\nphobert = AutoMo... | 1,607 | 1,614 | 1,614 | NONE | null | I run pretrain PhoBERT error .
ValueError Traceback (most recent call last)
<ipython-input-75-d17717702336> in <module>()
3
4 phobert = AutoModel.from_pretrained("vinai/phobert-base")
----> 5 tokenizer = AutoTokenizer.from_pretrained("vinai/phobert-base")
6
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9021/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/9021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9020/comments | https://api.github.com/repos/huggingface/transformers/issues/9020/events | https://github.com/huggingface/transformers/pull/9020 | 760,855,008 | MDExOlB1bGxSZXF1ZXN0NTM1NjEyMDU2 | 9,020 | Fix typo in modeling_tf_bart | {
"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 | # What does this PR do?
Fix typo in `modeling_tf_bart`
## 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?
@patrickvonplaten @sshleifer
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9020/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/9020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9020",
"html_url": "https://github.com/huggingface/transformers/pull/9020",
"diff_url": "https://github.com/huggingface/transformers/pull/9020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9020.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9019/comments | https://api.github.com/repos/huggingface/transformers/issues/9019/events | https://github.com/huggingface/transformers/issues/9019 | 760,745,213 | MDU6SXNzdWU3NjA3NDUyMTM= | 9,019 | getattr introduces bug when setting booleans with config file | {
"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/... | [
{
"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 | [] | [
"Hey @rabeehk,\r\n\r\ncould you attach a code snippet that we can copy-paste to reproduce the error? Thanks!",
"Hi Patrick, \r\nI checked and in finetune_trainer.py you consider these parameters only which are all of type float:\r\n` extra_model_params = (\"encoder_layerdrop\", \"decoder_layerdrop\", \"dropout\",... | 1,607 | 1,614 | 1,614 | NONE | null | Hi,
In finetune_trainer.py, line 162: https://github.com/huggingface/transformers/blob/5e637e6c690e45d13ebf7296e1ea9dcc188d0f07/examples/seq2seq/finetune_trainer.py#L162
If the user is calling this script with a json config file and setting one of the attributes to false, then on line 162, the result of if `getat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9019/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/9019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9018/comments | https://api.github.com/repos/huggingface/transformers/issues/9018/events | https://github.com/huggingface/transformers/pull/9018 | 760,716,083 | MDExOlB1bGxSZXF1ZXN0NTM1NTAxMDMw | 9,018 | Fix PreTrainedTokenizer.pad when first inputs are empty | {
"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?
Currently, `PreTrainedTokenizer.pad` errors when the first `input_ids` are empty (because it tries to guess the type of the tokens by looking at the first element). This PR slightly changes the behavior to loop until we find a non empty list.
Fixes #8674 (not the initial issue but the one ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9018/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/9018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9018",
"html_url": "https://github.com/huggingface/transformers/pull/9018",
"diff_url": "https://github.com/huggingface/transformers/pull/9018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9018.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9017/comments | https://api.github.com/repos/huggingface/transformers/issues/9017/events | https://github.com/huggingface/transformers/pull/9017 | 760,705,412 | MDExOlB1bGxSZXF1ZXN0NTM1NDkyMTU4 | 9,017 | Fix documention of book in LayoutLM | {
"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 documentation of the `bbox` argument in the LayoutLM models has some bad copy-paste errors, this PR fixes that.
Fixes #9016
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9017/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/9017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9017",
"html_url": "https://github.com/huggingface/transformers/pull/9017",
"diff_url": "https://github.com/huggingface/transformers/pull/9017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9017.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9016/comments | https://api.github.com/repos/huggingface/transformers/issues/9016/events | https://github.com/huggingface/transformers/issues/9016 | 760,696,249 | MDU6SXNzdWU3NjA2OTYyNDk= | 9,016 | LayoutLM wrong shape for bbox in docs | {
"login": "dscarmo",
"id": 10614968,
"node_id": "MDQ6VXNlcjEwNjE0OTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/10614968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dscarmo",
"html_url": "https://github.com/dscarmo",
"followers_url": "https://api.github.com/users/dscarm... | [] | closed | false | null | [] | [
"Sounds right, will fix."
] | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
(Colab, 09 december 2020, CPU runtime)
- `transformers` version: 4.0.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: no
- Using distributed o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9016/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/9016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9015/comments | https://api.github.com/repos/huggingface/transformers/issues/9015/events | https://github.com/huggingface/transformers/pull/9015 | 760,686,801 | MDExOlB1bGxSZXF1ZXN0NTM1NDc2Nzc1 | 9,015 | MPNet copyright files | {
"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?
MPnet and the copyright PRs were merged around the same time, so MPNet does not have copyright in every files it introduced. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9015/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/9015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9015",
"html_url": "https://github.com/huggingface/transformers/pull/9015",
"diff_url": "https://github.com/huggingface/transformers/pull/9015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9015.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9014/comments | https://api.github.com/repos/huggingface/transformers/issues/9014/events | https://github.com/huggingface/transformers/pull/9014 | 760,652,467 | MDExOlB1bGxSZXF1ZXN0NTM1NDQ5MDA2 | 9,014 | Enforce all objects in the main init are documented | {
"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?
Some objects added by contributors or the team are regularly forgotten. This PR changes the script that inspects whether or not models are documented to encompass all objects in the main init (and adds documentation for multiple forgotten objects). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9014/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/9014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9014",
"html_url": "https://github.com/huggingface/transformers/pull/9014",
"diff_url": "https://github.com/huggingface/transformers/pull/9014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9014.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9013/comments | https://api.github.com/repos/huggingface/transformers/issues/9013/events | https://github.com/huggingface/transformers/pull/9013 | 760,639,736 | MDExOlB1bGxSZXF1ZXN0NTM1NDM4NjI3 | 9,013 | [model_cards] Migrate cards from this repo to model repos on huggingface.co | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"id": 1834052129,
"node_id": "MDU6TGFiZWwxODM0MDUyMTI5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/High-Level%20feature",
"name": "High-Level feature",
"color": "f7c9a3",
"default": false,
"description": ""
},
{
"id": 1834067346,
"node_id": "MDU6T... | closed | false | null | [] | [
"@patrickvonplaten, unless we erase them from the history, it won't make git clone any faster.",
"@sgugger it might make a `git checkout` slightly faster. I don't think the model cards were ever an issue in terms of git performance though (8% of number of files in the repo, 7% of total size of the repo)\r\n\r\n",... | 1,607 | 1,607 | 1,607 | MEMBER | null | Fellow reviewers/contributors, please take a look at the documentation part and let me know your thoughts.
---
#### ⚠️ Still to-do before merging ⚠️
- [x] Post a message on the Forum: https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
- [x] Update the buttons... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9013/reactions",
"total_count": 4,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9013",
"html_url": "https://github.com/huggingface/transformers/pull/9013",
"diff_url": "https://github.com/huggingface/transformers/pull/9013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9013.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9012/comments | https://api.github.com/repos/huggingface/transformers/issues/9012/events | https://github.com/huggingface/transformers/issues/9012 | 760,593,918 | MDU6SXNzdWU3NjA1OTM5MTg= | 9,012 | "run_mlm_wwm.py", line 284 AttributeError: 'DataTrainingArguments' object has no attribute 'valid_ref_file' | {
"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 | [] | [
"Hi! Do you want to submit a PR?",
"Sure, I'll be happy to do it. I need permission... `remote: Permission to huggingface/transformers.git denied to NatLun137.`",
"Hmmm I think you just tried to push on `huggingface/transformers`? You should fork the repo, apply your changes there and then open a PR here. I see... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Hi! There is a tiny typo in the code "transformers/examples/language-modeling/run_mlm_wwm.py" at line 284. It should be:
`if data_args.validation_ref_file is not None:` since at line 103 in `DataTrainingArguments` it defined as `validation_ref_file:` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9012/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/9012/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9011/comments | https://api.github.com/repos/huggingface/transformers/issues/9011/events | https://github.com/huggingface/transformers/pull/9011 | 760,536,100 | MDExOlB1bGxSZXF1ZXN0NTM1MzUxNDMy | 9,011 | Create README.md | {
"login": "hailabpucpr",
"id": 55989936,
"node_id": "MDQ6VXNlcjU1OTg5OTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/55989936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hailabpucpr",
"html_url": "https://github.com/hailabpucpr",
"followers_url": "https://api.github.com/... | [
{
"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 | 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/9011/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/9011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9011",
"html_url": "https://github.com/huggingface/transformers/pull/9011",
"diff_url": "https://github.com/huggingface/transformers/pull/9011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9011.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9010/comments | https://api.github.com/repos/huggingface/transformers/issues/9010/events | https://github.com/huggingface/transformers/pull/9010 | 760,462,634 | MDExOlB1bGxSZXF1ZXN0NTM1MjkwMDQ4 | 9,010 | Reorganize examples | {
"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 | [] | [
"another bit - `examples/seq2seq/test_data` is also used by `research_projects/seq2seq` - perhaps symlink? ",
"Maybe a hard copy in that case, just in case the data changes/moves on the examples side.",
"> Maybe a hard copy in that case, just in case the data changes/moves on the examples side.\r\n\r\nThen need... | 1,607 | 1,609 | 1,607 | COLLABORATOR | null | # What does this PR do?
This PR reorganizes the examples folder by splitting it in two:
- `examples` that stay in this folder are the base example scripts maintained with the state of the library, expected to work on master. We accept PRs on them and will try our best to fix issues.
- `research-projects` are (ofte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9010/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9010",
"html_url": "https://github.com/huggingface/transformers/pull/9010",
"diff_url": "https://github.com/huggingface/transformers/pull/9010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9010.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9009/comments | https://api.github.com/repos/huggingface/transformers/issues/9009/events | https://github.com/huggingface/transformers/pull/9009 | 760,415,716 | MDExOlB1bGxSZXF1ZXN0NTM1MjUxMDY5 | 9,009 | fixes #8968 | {
"login": "cronoik",
"id": 18630848,
"node_id": "MDQ6VXNlcjE4NjMwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cronoik",
"html_url": "https://github.com/cronoik",
"followers_url": "https://api.github.com/users/cronoi... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | **This is the same PR as: [link](https://github.com/huggingface/transformers/pull/8991#issue-534604029). I was asked to create a new one due to a merge mistake.**
# What does this PR do? (Text of the previous PR)
One of the 3.X releases introduced output objects that replaced the previously returned tuples. This ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9009/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/9009/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9009",
"html_url": "https://github.com/huggingface/transformers/pull/9009",
"diff_url": "https://github.com/huggingface/transformers/pull/9009.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9009.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9008/comments | https://api.github.com/repos/huggingface/transformers/issues/9008/events | https://github.com/huggingface/transformers/pull/9008 | 760,364,108 | MDExOlB1bGxSZXF1ZXN0NTM1MjA4MzIw | 9,008 | [Docs] Fix some typos for group beam search | {
"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/9008/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/9008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9008",
"html_url": "https://github.com/huggingface/transformers/pull/9008",
"diff_url": "https://github.com/huggingface/transformers/pull/9008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9008.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9007/comments | https://api.github.com/repos/huggingface/transformers/issues/9007/events | https://github.com/huggingface/transformers/pull/9007 | 760,362,976 | MDExOlB1bGxSZXF1ZXN0NTM1MjA3NDE2 | 9,007 | Fix link to stable version in the doc navbar | {
"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?
Currently the link to the stable version in the navigation bar of the docs does not work properly, this PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9007/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/9007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9007",
"html_url": "https://github.com/huggingface/transformers/pull/9007",
"diff_url": "https://github.com/huggingface/transformers/pull/9007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9007.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9006/comments | https://api.github.com/repos/huggingface/transformers/issues/9006/events | https://github.com/huggingface/transformers/pull/9006 | 760,344,524 | MDExOlB1bGxSZXF1ZXN0NTM1MTkyMDc0 | 9,006 | Diverse beam search 2 | {
"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 | [] | [
"@ayushtiku5 I tweeted about it and tagged you on the tweet: https://twitter.com/PatrickPlaten/status/1336681238485229568 - hope that's fine for you :-) ",
"@ayushtiku5 can you please check if `HammingDiversityLogitsProcessor` and `PrefixConstrainedLogitsProcessor` can be speeded up with functions like `torch.sca... | 1,607 | 1,610 | 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/9006/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/9006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9006",
"html_url": "https://github.com/huggingface/transformers/pull/9006",
"diff_url": "https://github.com/huggingface/transformers/pull/9006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9006.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9005/comments | https://api.github.com/repos/huggingface/transformers/issues/9005/events | https://github.com/huggingface/transformers/pull/9005 | 760,276,539 | MDExOlB1bGxSZXF1ZXN0NTM1MTM1NDE5 | 9,005 | Add the code_search_net datasets tag to CodeBERTa model cards | {
"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": 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 | # What does this PR do?
TL;DR
Related to this PR on `huggingface/datasets`: https://github.com/huggingface/datasets/pull/1288
## Who can review?
@julien-c
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9005/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/9005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9005",
"html_url": "https://github.com/huggingface/transformers/pull/9005",
"diff_url": "https://github.com/huggingface/transformers/pull/9005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9005.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9004/comments | https://api.github.com/repos/huggingface/transformers/issues/9004/events | https://github.com/huggingface/transformers/pull/9004 | 760,203,534 | MDExOlB1bGxSZXF1ZXN0NTM1MDc0MjEw | 9,004 | Add MP Net 2 | {
"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": 2669577093,
"node_id": "MDU6TGFiZWwyNjY5NTc3MDkz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PR%20for%20Model%20Addition",
"name": "PR for Model Addition",
"color": "5319e7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"@patrickvonplaten Never mind, just use this PR is ok. I am ok if our work can be merged into the master quickly. ",
"@jplu @LysandreJik @sgugger , we all gave our thumbs-up in the old PR. It's a bit unfortunate that the authorship is slightly changed here, but the PR should be read to merge. ",
"Squashed commi... | 1,607 | 1,651 | 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/9004/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/9004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9004",
"html_url": "https://github.com/huggingface/transformers/pull/9004",
"diff_url": "https://github.com/huggingface/transformers/pull/9004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9004.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9003/comments | https://api.github.com/repos/huggingface/transformers/issues/9003/events | https://github.com/huggingface/transformers/pull/9003 | 760,173,224 | MDExOlB1bGxSZXF1ZXN0NTM1MDQ4ODk5 | 9,003 | Turn attentions and hidden-states into a tensor | {
"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 | [] | [
"After an offline discussion we decided to proceed differently. Then closing this PR."
] | 1,607 | 1,610 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR turns the `all_attentions` and `all_hidden_states` values into tensors instead of a tuple. This update is to properly allow the dict outputs in TF serving, because the value of each key cannot be something else than a TF tensor.
Here a simple piece of code to produce the issue:
``... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9003/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/9003/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9003",
"html_url": "https://github.com/huggingface/transformers/pull/9003",
"diff_url": "https://github.com/huggingface/transformers/pull/9003.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9003.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9002/comments | https://api.github.com/repos/huggingface/transformers/issues/9002/events | https://github.com/huggingface/transformers/pull/9002 | 760,170,678 | MDExOlB1bGxSZXF1ZXN0NTM1MDQ2Nzgz | 9,002 | Add TFRag | {
"login": "ratthachat",
"id": 56621342,
"node_id": "MDQ6VXNlcjU2NjIxMzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ratthachat",
"html_url": "https://github.com/ratthachat",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@jplu Thanks so much for your kind reviews! I will improve the code as you suggested.\r\n@patrickvonplaten I have confirmed that my TF and Pytorch have equivalent `generate` output on `num_beam=1` (greedy) on all (15) test cases . \r\n\r\nNevertheless, I just confirmed that the labels in the official test file is ... | 1,607 | 1,615 | 1,615 | CONTRIBUTOR | null | # What does this PR do?
This is a reopen PR of TFRag Draft version (https://github.com/huggingface/transformers/pull/8892 )
which somehow seems broken and not accessible at the moment .
## Things done
- `TFRagModel`
- `TFRagSequenceForGeneration`
- `TFRagTokenForGeneration`
- beam_search generation
- "Work... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9002/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/9002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9002",
"html_url": "https://github.com/huggingface/transformers/pull/9002",
"diff_url": "https://github.com/huggingface/transformers/pull/9002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9002.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9001/comments | https://api.github.com/repos/huggingface/transformers/issues/9001/events | https://github.com/huggingface/transformers/issues/9001 | 760,109,317 | MDU6SXNzdWU3NjAxMDkzMTc= | 9,001 | 🌟 CTRLsum | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"I ported this model for easy use in Hugging Face Transformers. Try using the code below!\r\n\r\n### 1. Create models and tokenizers\r\n```python\r\n>> from transformers import AutoModelForSeq2SeqLM, PreTrainedTokenizerFast\r\n\r\n>>> model = AutoModelForSeq2SeqLM.from_pretrained(\"hyunwoongko/ctrlsum-cnndm\")\r\n>... | 1,607 | 1,616 | null | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
>Current summarization systems yield generic summaries that are disconnected from users’ preferences and expectations. To address this limitation, we present **CTRLsum**, a novel framework for controllable summarization.
>
> Our approach enables users to control mul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9001/reactions",
"total_count": 8,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
} | https://api.github.com/repos/huggingface/transformers/issues/9001/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9000/comments | https://api.github.com/repos/huggingface/transformers/issues/9000/events | https://github.com/huggingface/transformers/issues/9000 | 759,993,382 | MDU6SXNzdWU3NTk5OTMzODI= | 9,000 | ValueError: You have to specify either decoder_inputs or decoder_inputs_embeds | {
"login": "rk0033",
"id": 41638372,
"node_id": "MDQ6VXNlcjQxNjM4Mzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/41638372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rk0033",
"html_url": "https://github.com/rk0033",
"followers_url": "https://api.github.com/users/rk0033/fo... | [] | closed | false | null | [] | [
"analogs to #8923",
"this one is probably safe to close - probably your link was satisfactory, @patrickvonplaten "
] | 1,607 | 1,612 | 1,612 | NONE | null | ## Environment info
- `transformers` version:4.0.0
- Platform:Google Colab
- Python version:3
- Tensorflow version (GPU?):2.3.0
- Using GPU in script?:No
### Who can help
@patrickvonplaten
@patil-suraj
@jplu
## Information
I refer to the URL below and want to run the fine-tuning on mT5.
https://huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9000/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/9000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8999/comments | https://api.github.com/repos/huggingface/transformers/issues/8999/events | https://github.com/huggingface/transformers/issues/8999 | 759,986,489 | MDU6SXNzdWU3NTk5ODY0ODk= | 8,999 | AlbertTokenizer handles special tokens incorrectly | {
"login": "szhengac",
"id": 3960020,
"node_id": "MDQ6VXNlcjM5NjAwMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3960020?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/szhengac",
"html_url": "https://github.com/szhengac",
"followers_url": "https://api.github.com/users/szhen... | [
{
"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... | open | false | {
"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/... | [
{
"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": "htt... | [
"I'm taking a look at why this is, it seems that we have a differing behavior between `from_pretrained` and the initialization method. I tried loading that `spiece.model` directly with `from_pretrained` and it behaves normally, and so does pointing to a directory containing solely that file.\r\n\r\nI'm taking a loo... | 1,607 | 1,645 | null | NONE | null | If I download the pretrained vocab `https://huggingface.co/albert-base-v1/resolve/main/spiece.model` to the local file system and use the following snippet, the tokenizer does not handle the special tokens properly:
```
tokenizer = AlbertTokenizer('spiece.model')
tokenizer.tokenize('[CLS] Hello World ! [SEP]')
['▁[... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8999/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/8999/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8998/comments | https://api.github.com/repos/huggingface/transformers/issues/8998/events | https://github.com/huggingface/transformers/issues/8998 | 759,964,112 | MDU6SXNzdWU3NTk5NjQxMTI= | 8,998 | Marge - Pre-training via Paraphrasing | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"model weights available?",
"No. :( "
] | 1,607 | 1,608 | null | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8998/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/8998/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8997/comments | https://api.github.com/repos/huggingface/transformers/issues/8997/events | https://github.com/huggingface/transformers/pull/8997 | 759,896,786 | MDExOlB1bGxSZXF1ZXN0NTM0ODE5NzM4 | 8,997 | [wip] [ci] doc-job-skip take #4.5 dry-run via github direct edit | {
"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,651 | 1,607 | CONTRIBUTOR | null | This is take 4.5 on attempting to find a reliable way to get a list of modified files of this PR. It's identical to https://github.com/huggingface/transformers/pull/8980 but this PR was created from github UI direct file edit, so as we can see, it doesn't provide `CIRCLE_PR_NUMBER` - Nothing bad happens, but the check ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8997/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/8997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8997",
"html_url": "https://github.com/huggingface/transformers/pull/8997",
"diff_url": "https://github.com/huggingface/transformers/pull/8997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8997.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8996/comments | https://api.github.com/repos/huggingface/transformers/issues/8996/events | https://github.com/huggingface/transformers/pull/8996 | 759,887,430 | MDExOlB1bGxSZXF1ZXN0NTM0ODEyMjMy | 8,996 | Remove use of deprecated method in Trainer HP search | {
"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?
Somehow this one slip in the cracks and was forgotten when we removed old deprecated method. This might warrant a release patch if we don't do a new release soon.
Fixes #8995 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8996/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/8996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8996",
"html_url": "https://github.com/huggingface/transformers/pull/8996",
"diff_url": "https://github.com/huggingface/transformers/pull/8996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8996.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8995/comments | https://api.github.com/repos/huggingface/transformers/issues/8995/events | https://github.com/huggingface/transformers/issues/8995 | 759,873,478 | MDU6SXNzdWU3NTk4NzM0Nzg= | 8,995 | AttributeError: 'Trainer' object has no attribute 'is_world_master' | {
"login": "blagav",
"id": 52176045,
"node_id": "MDQ6VXNlcjUyMTc2MDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/52176045?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blagav",
"html_url": "https://github.com/blagav",
"followers_url": "https://api.github.com/users/blagav/fo... | [] | closed | false | null | [] | [
"you may replace is_world_master by is_world_process_zero.",
"Any solutions to this? I am not able to use ray tune backend in any way",
"If you get this error still it's probably because you're using mismatched library versions/example versions. Using the latest examples or a more recent version (v4.1.x) should... | 1,607 | 1,611 | 1,607 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-4.15.0-96-generic-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?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8995/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/8995/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8994/comments | https://api.github.com/repos/huggingface/transformers/issues/8994/events | https://github.com/huggingface/transformers/issues/8994 | 759,867,986 | MDU6SXNzdWU3NTk4Njc5ODY= | 8,994 | DistilBert PyTorch to TensorFlow conversion - input sequence length is max 5 tokens for tensorflow | {
"login": "vikul-gupta",
"id": 20052378,
"node_id": "MDQ6VXNlcjIwMDUyMzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/20052378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikul-gupta",
"html_url": "https://github.com/vikul-gupta",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nFor now, as the TF models are implemented right now, this is the normal behavior, if you want to have a different size you have to set it manually yourself before to create the saved model. It is planned to make the size of the sequence length variable when creating a saved model but we don't know wh... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-5.4.0-1028-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): 2.3.1 (True)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8994/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/8994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8993/comments | https://api.github.com/repos/huggingface/transformers/issues/8993/events | https://github.com/huggingface/transformers/pull/8993 | 759,844,228 | MDExOlB1bGxSZXF1ZXN0NTM0Nzc2ODgw | 8,993 | Templates overhaul 1 | {
"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 | Re-opening of https://github.com/huggingface/transformers/pull/8981 after history was messed up. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8993/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/8993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8993",
"html_url": "https://github.com/huggingface/transformers/pull/8993",
"diff_url": "https://github.com/huggingface/transformers/pull/8993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8993.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8992/comments | https://api.github.com/repos/huggingface/transformers/issues/8992/events | https://github.com/huggingface/transformers/pull/8992 | 759,706,223 | MDExOlB1bGxSZXF1ZXN0NTM0NjY0MDU1 | 8,992 | New squad example | {
"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 | Reopening from #8924 since the rebase gave too big a diff. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8992/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/8992/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8992",
"html_url": "https://github.com/huggingface/transformers/pull/8992",
"diff_url": "https://github.com/huggingface/transformers/pull/8992.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8992.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8991/comments | https://api.github.com/repos/huggingface/transformers/issues/8991/events | https://github.com/huggingface/transformers/pull/8991 | 759,632,443 | MDExOlB1bGxSZXF1ZXN0NTM0NjA0MDI5 | 8,991 | fixes #8968 | {
"login": "cronoik",
"id": 18630848,
"node_id": "MDQ6VXNlcjE4NjMwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cronoik",
"html_url": "https://github.com/cronoik",
"followers_url": "https://api.github.com/users/cronoi... | [] | closed | false | null | [] | [
"The failed circleci test is not related to my PR. :)",
"Hi @cronoik! There's been a mistake done yesterday, and the history of your branch was messed up by mistake (see the file changes, +/-). Do you mind closing this PR and opening another one? No need to do anything on the branch, just closing this one and ope... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
One of the 3.X releases introduce output objects that replaced the previously returned tuples. This PR updates the transformers notebook to reflect that update.
Fixes #8968
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if tha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8991/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/8991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8991",
"html_url": "https://github.com/huggingface/transformers/pull/8991",
"diff_url": "https://github.com/huggingface/transformers/pull/8991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8991.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8990/comments | https://api.github.com/repos/huggingface/transformers/issues/8990/events | https://github.com/huggingface/transformers/pull/8990 | 759,594,253 | MDExOlB1bGxSZXF1ZXN0NTM0NTcyNjE4 | 8,990 | [Flax] Serialization, Design changes | {
"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 | [] | [
"I think I'll take a Flax 101 class before reviewing this PR.",
"Requires more discussion"
] | 1,607 | 1,607 | 1,607 | MEMBER | null | This PR is a proposition for some changes of the flax design. @mfuntowicz - I'm trying to get a better understanding of how to best use the flax library with Transformers' philosophy. Would be super happy about some comments from your side :-)
1) I think Flax's `from_pretrained()` should default to the flax seriali... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8990/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/8990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8990",
"html_url": "https://github.com/huggingface/transformers/pull/8990",
"diff_url": "https://github.com/huggingface/transformers/pull/8990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8990.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8989/comments | https://api.github.com/repos/huggingface/transformers/issues/8989/events | https://github.com/huggingface/transformers/pull/8989 | 759,586,776 | MDExOlB1bGxSZXF1ZXN0NTM0NTY2NDE2 | 8,989 | Make `ModelOutput` pickle-able | {
"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?
To be pickle-able or deep-copyable, `ModelOutput`s need to have all fields with a default. This was already the case on the TF side, just doing it on the PT side as well.
Fixes #8978 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8989/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/8989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8989",
"html_url": "https://github.com/huggingface/transformers/pull/8989",
"diff_url": "https://github.com/huggingface/transformers/pull/8989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8989.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8988/comments | https://api.github.com/repos/huggingface/transformers/issues/8988/events | https://github.com/huggingface/transformers/pull/8988 | 759,581,512 | MDExOlB1bGxSZXF1ZXN0NTM0NTYyMTA3 | 8,988 | [WIP] Add Tapas (bis) | {
"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"
}
] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Closing this PR and opening a new one on the same branch due to Github issues."
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | This is a clean branch based on #8113 which is up-to-date with master. To do:
- [x] Make sure all tests pass (currently 44 passed, 4 skipped for `test_modeling_tapas.py`) cc @LysandreJik
- [x] `make style` & `make quality`
- [x] Investigating forward/backward pass => weird issue with fine-tuning already-finetuned... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8988/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8988",
"html_url": "https://github.com/huggingface/transformers/pull/8988",
"diff_url": "https://github.com/huggingface/transformers/pull/8988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8988.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8987/comments | https://api.github.com/repos/huggingface/transformers/issues/8987/events | https://github.com/huggingface/transformers/pull/8987 | 759,567,692 | MDExOlB1bGxSZXF1ZXN0NTM0NTUxMzMw | 8,987 | Tensor arrays | {
"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,607 | 1,686 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR turns the `all_attentions` and `all_hidden_states` values into tensors instead of a tuple. This update is to properly allow the dict outputs in TF serving, because the value of each key cannot be something else than a TF tensor. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8987/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/8987/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8987",
"html_url": "https://github.com/huggingface/transformers/pull/8987",
"diff_url": "https://github.com/huggingface/transformers/pull/8987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8987.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8986/comments | https://api.github.com/repos/huggingface/transformers/issues/8986/events | https://github.com/huggingface/transformers/pull/8986 | 759,557,062 | MDExOlB1bGxSZXF1ZXN0NTM0NTQyNTEx | 8,986 | Checking output format + check raises ValueError | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | Just making sure we're not changing the format when we apply `function_to_apply` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8986/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/8986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8986",
"html_url": "https://github.com/huggingface/transformers/pull/8986",
"diff_url": "https://github.com/huggingface/transformers/pull/8986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8986.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8985/comments | https://api.github.com/repos/huggingface/transformers/issues/8985/events | https://github.com/huggingface/transformers/pull/8985 | 759,427,435 | MDExOlB1bGxSZXF1ZXN0NTM0NDM1NDQy | 8,985 | Remove value error | {
"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 | [] | [
"Could you elaborate on the use case? It seems dangerous and magical to me. When passing a parameter to a function that is not in the signature, the user gets a `ValueError`.",
"Sure! an EagerTensor doesn't have a `.name` attribute so we assume for that case that the values are given in the parameters order. That... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR update the behavior of the input. We should not raise an error if the name is not among the parameters but act like if there was no name, this is more elegant and less annoying.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8985/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/8985/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8985",
"html_url": "https://github.com/huggingface/transformers/pull/8985",
"diff_url": "https://github.com/huggingface/transformers/pull/8985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8985.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8984/comments | https://api.github.com/repos/huggingface/transformers/issues/8984/events | https://github.com/huggingface/transformers/issues/8984 | 759,335,291 | MDU6SXNzdWU3NTkzMzUyOTE= | 8,984 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): | {
"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/... | [
{
"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 | [] | [
"Hello! We really cannot help you with this little information. Please respect the issue template with your environment information, the exact command you used to launch the script, and the full stack trace.\r\n\r\nThank you for your understanding.",
"@rabeehk Did you manage to solve this? Experiencing the same i... | 1,607 | 1,614 | 1,614 | NONE | null | Hi
When I evaluate the finetune_trainer.py on translation datasets like wmt16-en-cs I always get this error after calling evaluate function, I am using version 3.5.1 of transformer on 1 GPU, this issue is really blokcing me, and happens to be there for all translation datasets I tried, could you give me some ideas on... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8984/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/8984/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8983/comments | https://api.github.com/repos/huggingface/transformers/issues/8983/events | https://github.com/huggingface/transformers/issues/8983 | 759,275,414 | MDU6SXNzdWU3NTkyNzU0MTQ= | 8,983 | BertConfig.id2label use list instead of "int: string" dict | {
"login": "franciszzj",
"id": 16440889,
"node_id": "MDQ6VXNlcjE2NDQwODg5",
"avatar_url": "https://avatars.githubusercontent.com/u/16440889?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/franciszzj",
"html_url": "https://github.com/franciszzj",
"followers_url": "https://api.github.com/use... | [
{
"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 | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,607 | 1,614 | 1,614 | NONE | null | In https://github.com/huggingface/transformers/blob/master/src/transformers/configuration_utils.py#L262, use list instead of "int: string" dict maybe is better.
When we use easydict to replace dict, there will be bugs in updating the `.to_dict()` to other easydict object. Because int object can not be the key in easyd... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8983/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/8983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8982/comments | https://api.github.com/repos/huggingface/transformers/issues/8982/events | https://github.com/huggingface/transformers/pull/8982 | 759,178,892 | MDExOlB1bGxSZXF1ZXN0NTM0MjIxNzY4 | 8,982 | [Example] Fix the argument name mismatch in the distillation example | {
"login": "jayparks",
"id": 6487834,
"node_id": "MDQ6VXNlcjY0ODc4MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6487834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayparks",
"html_url": "https://github.com/jayparks",
"followers_url": "https://api.github.com/users/jaypa... | [
{
"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 | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,607 | 1,614 | 1,614 | 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/8982/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/8982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8982",
"html_url": "https://github.com/huggingface/transformers/pull/8982",
"diff_url": "https://github.com/huggingface/transformers/pull/8982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8982.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8981/comments | https://api.github.com/repos/huggingface/transformers/issues/8981/events | https://github.com/huggingface/transformers/pull/8981 | 759,073,061 | MDExOlB1bGxSZXF1ZXN0NTM0MTI4NDMz | 8,981 | Model templates overhaul | {
"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 | [] | [
"Thank you all for your reviews. Will do the last changes and update from `LMHead` to `CausalLM`.\r\n\r\n@jplu the GA machines are indeed less beefy than the CircleCI ones (and there's a reason for that, we pay CircleCI but not GA).",
"Closing PR and opening it again because the history is messed up."
] | 1,607 | 1,607 | 1,607 | MEMBER | null | This is the first PR to make the model templates better. It improves the templates themselves, as well as the testing tools around them:
- Re-instantiates the tests in the CI, this time as a separate test.
- Respects the library style, and tests it. These tests ensure that the templates have not diverged from the c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8981/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/8981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8981",
"html_url": "https://github.com/huggingface/transformers/pull/8981",
"diff_url": "https://github.com/huggingface/transformers/pull/8981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8981.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8980/comments | https://api.github.com/repos/huggingface/transformers/issues/8980/events | https://github.com/huggingface/transformers/pull/8980 | 759,063,691 | MDExOlB1bGxSZXF1ZXN0NTM0MTIwNDAz | 8,980 | [wip] [ci] doc-job-skip take #4 dry-run | {
"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 | [] | [
"trying to self-heal PR",
"I guess continuing over here: https://github.com/huggingface/transformers/pull/8997",
"ok, succeeded at restoring this PR after force pushed mess up.\r\n\r\nThanks to this recipe: https://gist.github.com/robertpainsi/2c42c15f1ce6dab03a0675348edd4e2c",
"let's please monitor new PRs c... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | This is take 4 on attempting to find a reliable way to get a list of modified files of this PR.
Spent the whole day trying many different ideas, none worked. github API for
`https://api.github.com/repos/${CIRCLE_USERNAME}/${CIRCLE_REPO_NAME}/pulls/${CIRCLE_PR_NUMER}"`
is broken. It gives a bogus `base.sha` at tim... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8980/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/8980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8980",
"html_url": "https://github.com/huggingface/transformers/pull/8980",
"diff_url": "https://github.com/huggingface/transformers/pull/8980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8980.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8979/comments | https://api.github.com/repos/huggingface/transformers/issues/8979/events | https://github.com/huggingface/transformers/pull/8979 | 759,009,934 | MDExOlB1bGxSZXF1ZXN0NTM0MDc3NDQ1 | 8,979 | [training] SAVE_STATE_WARNING was removed in pytorch | {
"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 | [] | [
"Thank God they removed that horrible thing! Instead of the complex parsing, maybe a `try`/`except` would be cleaner?",
" no horrible formatting that way! good idea - done.",
"@stas00, could it be possible to apply your fix to the code of version `3.5.X` and release the next **minor** version (like v3.5.2)?",
... | 1,607 | 1,623 | 1,607 | CONTRIBUTOR | null | `SAVE_STATE_WARNING` has been removed from pytorch 3 days ago: pytorch/pytorch#46813
I had to add redundant ()'s to avoid a terrible auto-formatter outcome.
Fixes: #8232
@sgugger, @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8979/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/8979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8979",
"html_url": "https://github.com/huggingface/transformers/pull/8979",
"diff_url": "https://github.com/huggingface/transformers/pull/8979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8979.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8978/comments | https://api.github.com/repos/huggingface/transformers/issues/8978/events | https://github.com/huggingface/transformers/issues/8978 | 758,996,639 | MDU6SXNzdWU3NTg5OTY2Mzk= | 8,978 | Deepcopy and pickling fails for modeling_outputs | {
"login": "anirudh2290",
"id": 1522319,
"node_id": "MDQ6VXNlcjE1MjIzMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1522319?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anirudh2290",
"html_url": "https://github.com/anirudh2290",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Pinging @sgugger, the king of model outputs!",
"That was very quick :) Thank you @sgugger and @LysandreJik !"
] | 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
- Python version: 3.8
- PyTorch version (GPU?): 1.6.0
- Using GPU in script?: N/A
### Who ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8978/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/8978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8977/comments | https://api.github.com/repos/huggingface/transformers/issues/8977/events | https://github.com/huggingface/transformers/issues/8977 | 758,984,187 | MDU6SXNzdWU3NTg5ODQxODc= | 8,977 | BertForMaskedLM train | {
"login": "juyunsang",
"id": 13113520,
"node_id": "MDQ6VXNlcjEzMTEzNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/13113520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juyunsang",
"html_url": "https://github.com/juyunsang",
"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.\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 | I have a question
When training using BertForMaskedLM, is the train data as below correct?
- token2idx
```
<pad> : 0, <mask>: 1, <cls>:2, <sep>:3
```
- max len : 8
- input token
```
<cls> hello i <mask> cats <sep>
```
- input ids
```
[2, 34,45,1,56,3,0,0]
```
- attention_mask
```
[1,1,1,1,1,1,0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8977/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/8977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8976/comments | https://api.github.com/repos/huggingface/transformers/issues/8976/events | https://github.com/huggingface/transformers/pull/8976 | 758,917,103 | MDExOlB1bGxSZXF1ZXN0NTM0MDAyNzIz | 8,976 | Check table as independent script | {
"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 | Separated the table check from `check_copies.py` as for the template I need to manage the copies without managing the table. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8976/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/8976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8976",
"html_url": "https://github.com/huggingface/transformers/pull/8976",
"diff_url": "https://github.com/huggingface/transformers/pull/8976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8976.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8975/comments | https://api.github.com/repos/huggingface/transformers/issues/8975/events | https://github.com/huggingface/transformers/pull/8975 | 758,913,720 | MDExOlB1bGxSZXF1ZXN0NTMzOTk5OTM2 | 8,975 | Update quicktour docs to showcase the use of truncation | {
"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?
Currently, running the tokenizer batch example on https://huggingface.co/transformers/quicktour.html gives an error
```
Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.
```
This PR fixes the abo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8975/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/8975/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8975",
"html_url": "https://github.com/huggingface/transformers/pull/8975",
"diff_url": "https://github.com/huggingface/transformers/pull/8975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8975.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8974/comments | https://api.github.com/repos/huggingface/transformers/issues/8974/events | https://github.com/huggingface/transformers/pull/8974 | 758,909,846 | MDExOlB1bGxSZXF1ZXN0NTMzOTk2Nzg5 | 8,974 | Add option to only check copies | {
"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 | [] | [
"Closing in favor of #8976 "
] | 1,607 | 1,607 | 1,607 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8974/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/8974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8974",
"html_url": "https://github.com/huggingface/transformers/pull/8974",
"diff_url": "https://github.com/huggingface/transformers/pull/8974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8974.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/8973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8973/comments | https://api.github.com/repos/huggingface/transformers/issues/8973/events | https://github.com/huggingface/transformers/pull/8973 | 758,891,093 | MDExOlB1bGxSZXF1ZXN0NTMzOTgxMjc4 | 8,973 | Small fix to the run clm 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?
@LysandreJik pointed out that the scripts will fail with a cryptic error if the tokenizer `model_max_len` is huge and no `block_size` is set. This PR fixes this by clipping the `block_size` to 1024 (when no value is passed). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8973/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/8973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8973",
"html_url": "https://github.com/huggingface/transformers/pull/8973",
"diff_url": "https://github.com/huggingface/transformers/pull/8973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8973.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8972/comments | https://api.github.com/repos/huggingface/transformers/issues/8972/events | https://github.com/huggingface/transformers/pull/8972 | 758,823,132 | MDExOlB1bGxSZXF1ZXN0NTMzOTI3ODgz | 8,972 | Removed unused `encoder_hidden_states` and `encoder_attention_mask` | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@LysandreJik I had to remove some tests that were testing the decoder mode for MobileBert. \r\n\r\nOne test still fails (flax), the error seems unrelated to this PR unless I am missing something?"
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR removes unused `encoder_hidden_states` and `encoder_attention_mask` from MobileBert forward methods. These are use for decoder models, but MobileBert does not include a cross-attention mechanism.
Fixes https://github.com/huggingface/transformers/issues/8969
## Who can review?
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8972/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/8972/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8972",
"html_url": "https://github.com/huggingface/transformers/pull/8972",
"diff_url": "https://github.com/huggingface/transformers/pull/8972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8972.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8971/comments | https://api.github.com/repos/huggingface/transformers/issues/8971/events | https://github.com/huggingface/transformers/pull/8971 | 758,766,997 | MDExOlB1bGxSZXF1ZXN0NTMzODgyNjgy | 8,971 | MPNet: Masked and Permuted Pre-training for Language Understanding | {
"login": "StillKeepTry",
"id": 6577458,
"node_id": "MDQ6VXNlcjY1Nzc0NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6577458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StillKeepTry",
"html_url": "https://github.com/StillKeepTry",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"@patrickvonplaten I have added an integration test with a pre-trained weight in [https://github.com/StillKeepTry/transformers/blob/dfc18d59da04c38723553354ee1799ce204f52c8/tests/test_modeling_mpnet.py#L240](https://github.com/StillKeepTry/transformers/blob/dfc18d59da04c38723553354ee1799ce204f52c8/tests/test_modeli... | 1,607 | 1,621 | 1,607 | CONTRIBUTOR | null | # Model addition
[MPNet](https://arxiv.org/abs/2004.09297)
## Model description
MPNet introduces a novel self-supervised objective named masked and permuted language modeling for language understanding. It inherits the advantages of both the masked language modeling (MLM) and the permuted language modeling (PLM) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8971/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/8971/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8971",
"html_url": "https://github.com/huggingface/transformers/pull/8971",
"diff_url": "https://github.com/huggingface/transformers/pull/8971.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8971.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8970/comments | https://api.github.com/repos/huggingface/transformers/issues/8970/events | https://github.com/huggingface/transformers/pull/8970 | 758,740,966 | MDExOlB1bGxSZXF1ZXN0NTMzODYzMDgw | 8,970 | Copyright | {
"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 | [] | [
"Merging to avoid merge conflicts. Can address comments in a follow-up PR."
] | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
This PR adds a copyright in any file missing, or fixes the copyright in some of the files to include HuggingFace when missing. We should be vigilant when new files are added to make sure they get one @LysandreJik and @patrickvonplaten
I've excluded the examples folder as I'll do the copyr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8970/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/8970/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8970",
"html_url": "https://github.com/huggingface/transformers/pull/8970",
"diff_url": "https://github.com/huggingface/transformers/pull/8970.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8970.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8969/comments | https://api.github.com/repos/huggingface/transformers/issues/8969/events | https://github.com/huggingface/transformers/issues/8969 | 758,705,347 | MDU6SXNzdWU3NTg3MDUzNDc= | 8,969 | MobileBERT decoder capabilities | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You are right, there are never used. These seem to have been added by mistake during the original implementation. I would be all for a cleanup, as long as it doesn't touch to anything other than these attributes."
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | The current input parameters for MobileBERT indicate that the model may be used in a decoder setting. However, the model architecture does not contain a cross-attention mechanism and several inputs to the model are effectively never used: `encoder_hidden_states` and `encoder_attention_mask`.
This can be seen in:
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8969/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/8969/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8968/comments | https://api.github.com/repos/huggingface/transformers/issues/8968/events | https://github.com/huggingface/transformers/issues/8968 | 758,696,369 | MDU6SXNzdWU3NTg2OTYzNjk= | 8,968 | 02-transformery.ipynb - output from model only strings 'last_hidden_state', 'pooler_output' | {
"login": "tc64",
"id": 1556665,
"node_id": "MDQ6VXNlcjE1NTY2NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1556665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tc64",
"html_url": "https://github.com/tc64",
"followers_url": "https://api.github.com/users/tc64/followers",
... | [] | 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... | [
"Exactly same issue while using transformers. I'm using Pytorch 1.7. The solution presented solved the issue"
] | 1,607 | 1,607 | 1,607 | NONE | null | Running in NVIDIA Docker Container: nvcr.io/nvidia/pytorch:20.11-py3
Pytorch version: 1.8.0a0+17f8c32
transformers version: 4.0.0-rc-1
Python version: 3.6.10 |Anaconda, Inc.| (default, May 8 2020, 02:54:21) [GCC 7.3.0]
When running through transformers/notebooks/02-transformers.ipynb, I see the following output... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8968/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/8968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8967/comments | https://api.github.com/repos/huggingface/transformers/issues/8967/events | https://github.com/huggingface/transformers/issues/8967 | 758,695,096 | MDU6SXNzdWU3NTg2OTUwOTY= | 8,967 | EncoderDecoderModel works poorly with Mlflow | {
"login": "alexyalunin",
"id": 23011284,
"node_id": "MDQ6VXNlcjIzMDExMjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/23011284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexyalunin",
"html_url": "https://github.com/alexyalunin",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"Thanks for your proposed solution @alexyalunin ! \r\n\r\nI don't really think that this is a problem on our side. I think MLFlow should better handle this no? ",
"Probably, but since you use mlflow inside your library people might expect it working with your models. I won't open the issue in mlflow repo, I leave... | 1,607 | 1,614 | 1,614 | 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
## Description
Mlflow keeps track of model config parameters, EncoderDecoderConfig has `encoder`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8967/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/8967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8966/comments | https://api.github.com/repos/huggingface/transformers/issues/8966/events | https://github.com/huggingface/transformers/issues/8966 | 758,669,678 | MDU6SXNzdWU3NTg2Njk2Nzg= | 8,966 | Make loss function an init parameter | {
"login": "Querela",
"id": 1648294,
"node_id": "MDQ6VXNlcjE2NDgyOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1648294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Querela",
"html_url": "https://github.com/Querela",
"followers_url": "https://api.github.com/users/Querela/... | [] | closed | false | null | [] | [
"While I understand where you're coming from, why not define the loss function outside of the model, like it's generally done for PyTorch models? If you do not pass the labels, you get the logits from the model. You can use these logits with your labels to compute any loss you want.",
"Ok. Good I asked first beca... | 1,607 | 1,607 | 1,607 | NONE | 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. -->
I would like to request an optional init parameter of `*Model` (e. g. BertModel) that allows the user to provide an own loss function for training. If it is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8966/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/8966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8965/comments | https://api.github.com/repos/huggingface/transformers/issues/8965/events | https://github.com/huggingface/transformers/pull/8965 | 758,646,008 | MDExOlB1bGxSZXF1ZXN0NTMzNzg1MzI1 | 8,965 | Remove sourcerer | {
"login": "clmnt",
"id": 821155,
"node_id": "MDQ6VXNlcjgyMTE1NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/821155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clmnt",
"html_url": "https://github.com/clmnt",
"followers_url": "https://api.github.com/users/clmnt/followers"... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | # What does this PR do?
Removes sourcerer from the readme
## Before submitting
- [x ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
documentation: @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8965/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/8965/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8965",
"html_url": "https://github.com/huggingface/transformers/pull/8965",
"diff_url": "https://github.com/huggingface/transformers/pull/8965.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8965.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8964/comments | https://api.github.com/repos/huggingface/transformers/issues/8964/events | https://github.com/huggingface/transformers/pull/8964 | 758,626,689 | MDExOlB1bGxSZXF1ZXN0NTMzNzY5NDU5 | 8,964 | Create README.md | {
"login": "wietsedv",
"id": 13139101,
"node_id": "MDQ6VXNlcjEzMTM5MTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/13139101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wietsedv",
"html_url": "https://github.com/wietsedv",
"followers_url": "https://api.github.com/users/wie... | [
{
"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 | # 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/8964/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/8964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8964",
"html_url": "https://github.com/huggingface/transformers/pull/8964",
"diff_url": "https://github.com/huggingface/transformers/pull/8964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8964.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8963/comments | https://api.github.com/repos/huggingface/transformers/issues/8963/events | https://github.com/huggingface/transformers/issues/8963 | 758,621,461 | MDU6SXNzdWU3NTg2MjE0NjE= | 8,963 | PegasusTokenizer requires the SentencePiece library but it was not found in your environment | {
"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 | [] | [
"Hey @marcoabrate, \r\nI tried to reproduce your error in this colab without success: https://colab.research.google.com/drive/1nBCEtP773LplNodOSw5OBW-rJ84gizW5?usp=sharing can you check again ?",
"You are right @patrickvonplaten \r\nTo reproduce\r\n\r\n```\r\n!pip install -U transformers\r\n\r\nfrom transformers ... | 1,607 | 1,693 | 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.0
- Platform: Google Colab
- Python version: 3.6.9
### Who can help
tokenizers: @mfuntowicz
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8963/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/8963/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8962/comments | https://api.github.com/repos/huggingface/transformers/issues/8962/events | https://github.com/huggingface/transformers/pull/8962 | 758,596,358 | MDExOlB1bGxSZXF1ZXN0NTMzNzQ0Mjg5 | 8,962 | Use word_ids to get labels in run_ner | {
"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?
As #8958 pointed out, the current way labels are computed in the `run_ner` script using offset mappings does not work for sentencepiece-based tokenizers. This PR fixes that using the `.word_ids` method which is more elegant and more reliable.
In passing it adds an early check that the toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8962/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/8962/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8962",
"html_url": "https://github.com/huggingface/transformers/pull/8962",
"diff_url": "https://github.com/huggingface/transformers/pull/8962.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8962.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8961/comments | https://api.github.com/repos/huggingface/transformers/issues/8961/events | https://github.com/huggingface/transformers/pull/8961 | 758,596,351 | MDExOlB1bGxSZXF1ZXN0NTMzNzQ0Mjgz | 8,961 | Optional layers | {
"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 | [] | [
"Thanks for working on this @jplu. I think we should take the opportunity to think about this issue: https://github.com/huggingface/transformers/issues/8793.\r\n\r\nThe problem with the `add_pooling_layer` option and how it's currently done in PyTorch models is that when doing a training initialized from a model ch... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the possibility to have optional layers in the models thanks to the new input/output process. Here the pooling layer is created or not for the BERT/ALBERT/Longformer/MobileBERT/Roberta models. The keys to ignore when loading for these layers has been updated in same time. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8961/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/8961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8961",
"html_url": "https://github.com/huggingface/transformers/pull/8961",
"diff_url": "https://github.com/huggingface/transformers/pull/8961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8961.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8960/comments | https://api.github.com/repos/huggingface/transformers/issues/8960/events | https://github.com/huggingface/transformers/issues/8960 | 758,562,562 | MDU6SXNzdWU3NTg1NjI1NjI= | 8,960 | TFBertModel NOT learning at all! | {
"login": "ivankrstev7",
"id": 48191509,
"node_id": "MDQ6VXNlcjQ4MTkxNTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/48191509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivankrstev7",
"html_url": "https://github.com/ivankrstev7",
"followers_url": "https://api.github.com/... | [] | 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,607 | 1,607 | 1,607 | NONE | null | Hi, i am trying to implement a simple Keras model where the first inputs are the input_ids and the attention_mask and then i have a `TFBertModel.from_pretrained('bert-base-uncased')` layer to extract the word embeddings and everything compiles okay, but when I train the model I get a constant accuracy of 0.5 (it is a b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8960/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/8960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8959/comments | https://api.github.com/repos/huggingface/transformers/issues/8959/events | https://github.com/huggingface/transformers/issues/8959 | 758,551,863 | MDU6SXNzdWU3NTg1NTE4NjM= | 8,959 | FileNotFoundError: [Errno 2] No such file or directory: 'cached_train_BertTokenizer_180.lock' | {
"login": "Stimmot",
"id": 29411999,
"node_id": "MDQ6VXNlcjI5NDExOTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/29411999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stimmot",
"html_url": "https://github.com/Stimmot",
"followers_url": "https://api.github.com/users/Stimmo... | [] | closed | false | null | [] | [
"Hi! Could you provide the information related to your environment, as well as the command that you used to launch the script, as it's requested in the issue template? Thank you.",
"Yes sure!\r\n\r\n- `transformers` version: 3.5.1\r\n- Platform: Linux-5.9.1-kd-cluster-x86_64-with-glibc2.10\r\n- Python version: 3.... | 1,607 | 1,607 | 1,607 | NONE | null | I want to train the model bert-base-german-cased on some documents, but when I try to run run_ner.py with the config.json it tells me, that it can't find the file mentioned above.
I don't quite know what's the issue here, because it worked the last time I tried. Do I have to tell the model it shouldn't use any cached ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8959/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/8959/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8958/comments | https://api.github.com/repos/huggingface/transformers/issues/8958/events | https://github.com/huggingface/transformers/issues/8958 | 758,546,446 | MDU6SXNzdWU3NTg1NDY0NDY= | 8,958 | run_ner.py with xlm-roberta-base raises an IndexError in tokenize_and_align_labels | {
"login": "thvitt",
"id": 1906208,
"node_id": "MDQ6VXNlcjE5MDYyMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1906208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thvitt",
"html_url": "https://github.com/thvitt",
"followers_url": "https://api.github.com/users/thvitt/foll... | [] | closed | false | null | [] | [
"Thanks for flagging! Yes, using `word_ids` is probably a better idea in this case, I did that in the PR mentioned above. If you want to review it, I'd be happy to take your comments into account!"
] | 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 (and the example scripts from git master aka 72d6c9c6)
- Platform: Linux-4.19.0-12-amd64-x86_64-wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8958/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/8958/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8957/comments | https://api.github.com/repos/huggingface/transformers/issues/8957/events | https://github.com/huggingface/transformers/pull/8957 | 758,495,374 | MDExOlB1bGxSZXF1ZXN0NTMzNjU5NTY4 | 8,957 | Update README.txt | {
"login": "bino282",
"id": 17800187,
"node_id": "MDQ6VXNlcjE3ODAwMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/17800187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bino282",
"html_url": "https://github.com/bino282",
"followers_url": "https://api.github.com/users/bino28... | [
{
"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 | # 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/8957/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/8957/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8957",
"html_url": "https://github.com/huggingface/transformers/pull/8957",
"diff_url": "https://github.com/huggingface/transformers/pull/8957.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8957.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8956/comments | https://api.github.com/repos/huggingface/transformers/issues/8956/events | https://github.com/huggingface/transformers/pull/8956 | 758,138,669 | MDExOlB1bGxSZXF1ZXN0NTMzMzU3MDAz | 8,956 | Update README.txt | {
"login": "bino282",
"id": 17800187,
"node_id": "MDQ6VXNlcjE3ODAwMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/17800187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bino282",
"html_url": "https://github.com/bino282",
"followers_url": "https://api.github.com/users/bino28... | [
{
"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 | [] | [
"Closed in favor of #8957"
] | 1,607 | 1,607 | 1,607 | 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/8956/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/8956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8956",
"html_url": "https://github.com/huggingface/transformers/pull/8956",
"diff_url": "https://github.com/huggingface/transformers/pull/8956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8956.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8955/comments | https://api.github.com/repos/huggingface/transformers/issues/8955/events | https://github.com/huggingface/transformers/issues/8955 | 758,137,536 | MDU6SXNzdWU3NTgxMzc1MzY= | 8,955 | shutil.Error: Destination path '/home/ubuntu/.cache/huggingface/transformers/transformers' already exists | {
"login": "parthplc",
"id": 35425925,
"node_id": "MDQ6VXNlcjM1NDI1OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/35425925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parthplc",
"html_url": "https://github.com/parthplc",
"followers_url": "https://api.github.com/users/par... | [] | closed | false | null | [] | [
"This was a bug added in v4, it's fixed on master so if you install from source, you should be fine.",
"I think alternatively you could also just delete the cache:\r\n\r\n```\r\nrm -rf /home/ubuntu/.cache/huggingface/transformers/transformers\r\n```\r\n\r\nbut then you'll have to re-download all models",
"yeah ... | 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:
- Platform: Ubuntu 18.04
- Python version: 1.7.0
- PyTorch version (GPU?): 1.7.0
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8955/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/8955/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8954/comments | https://api.github.com/repos/huggingface/transformers/issues/8954/events | https://github.com/huggingface/transformers/issues/8954 | 758,107,061 | MDU6SXNzdWU3NTgxMDcwNjE= | 8,954 | Fine-tuning on Language Model using two tasks | {
"login": "sajastu",
"id": 10419055,
"node_id": "MDQ6VXNlcjEwNDE5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajastu",
"html_url": "https://github.com/sajastu",
"followers_url": "https://api.github.com/users/sajast... | [] | closed | false | null | [] | [
"Hi, you're not missing anything, this part is not implemented in the examples, as fine-tuning a model using only MLM yields similar downstream results than fine-tuning a model with both tasks. \r\n\r\nHowever, we have the `BertForPreTraining` architecture which is implemented, and which can train a model using the... | 1,607 | 1,607 | 1,607 | NONE | null | Hi,
I'm reading the language modeling example on the documentation: https://huggingface.co/transformers/v2.0.0/examples.html#language-model-fine-tuning
It seems that the fine-tuning is done based on Masked Language Modelling (MLM) loss. While in the BERT paper, it appears that the LM fine-tuning is done by optimi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8954/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/8954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8953/comments | https://api.github.com/repos/huggingface/transformers/issues/8953/events | https://github.com/huggingface/transformers/issues/8953 | 758,031,133 | MDU6SXNzdWU3NTgwMzExMzM= | 8,953 | Wrong shape output for loss of TFGPT2LMHeadModel | {
"login": "ssss1029",
"id": 7088559,
"node_id": "MDQ6VXNlcjcwODg1NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7088559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ssss1029",
"html_url": "https://github.com/ssss1029",
"followers_url": "https://api.github.com/users/ssss1... | [] | closed | false | {
"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",
... | [
{
"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... | [
"Hello !\r\n\r\nThis is an error in the documentation. TF doesn't apply a mean across all the values so you basically get a loss of shape 1023 (sequence length - 1 because of the right shift). Thanks for having spotted this!",
"This issue has been stale for 1 month."
] | 1,607 | 1,618 | 1,618 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Ubuntu 18.04
- Python version: 3.7
- PyTorch version (GPU?): N/A
- Tensorflow version (GPU?): 2.3
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@LysandreJik
@jplu
## Information
M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8953/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/8953/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8952/comments | https://api.github.com/repos/huggingface/transformers/issues/8952/events | https://github.com/huggingface/transformers/issues/8952 | 758,024,436 | MDU6SXNzdWU3NTgwMjQ0MzY= | 8,952 | batch_sampler with trainer.py would not set the epoch | {
"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/... | [
{
"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 | [] | [
"Hi there.\r\nTo use custom sampling (either through a sampler or a batch sampler), users are expected to subsclass `Trainer` and override the `get_train_dataloader`/`get_eval_dataloader` methods to suit their needs.\r\n\r\nNote that those changes might then not be compatible with distributed training/TPU training.... | 1,607 | 1,701 | 1,614 | NONE | null | Dear Huggingface team
If one uses batch_sampler instead of sampler then in trainer.py the part you set_epoch for the dataloader sampler it would not work, also in case one define custom sampler in certain application, like what I do, again in trainer.py it would not be called.
I was wondering if the codes can be more... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8952/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/8952/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8951/comments | https://api.github.com/repos/huggingface/transformers/issues/8951/events | https://github.com/huggingface/transformers/issues/8951 | 758,006,089 | MDU6SXNzdWU3NTgwMDYwODk= | 8,951 | vocab_file and merges_file still required params for loading serialized tokenizers | {
"login": "minimaxir",
"id": 2179708,
"node_id": "MDQ6VXNlcjIxNzk3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2179708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minimaxir",
"html_url": "https://github.com/minimaxir",
"followers_url": "https://api.github.com/users/mi... | [
{
"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 | [] | [
"Indeed, we could do that, and then add a check below to ensure that we get a correct error message. Do you want to open a PR with the fix?",
"I wasn't planning on doing a PR because I wasn't sure of the scope of changes needed (e.g. every tokenizer `__init__` would need to be changed) and it also seems like ther... | 1,607 | 1,614 | 1,614 | NONE | null | e.g.
https://github.com/huggingface/transformers/blob/dd52804f5fce0a568ffbb3dc7fd088d2de0a0e56/src/transformers/models/gpt2/tokenization_gpt2_fast.py#L122-L132
Both of these should probably be optional params now. Setting `vocab_file` and `merges_file` to `None` while specifying a `tokenizer_file` works, but seem... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8951/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/8951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8950/comments | https://api.github.com/repos/huggingface/transformers/issues/8950/events | https://github.com/huggingface/transformers/pull/8950 | 758,000,726 | MDExOlB1bGxSZXF1ZXN0NTMzMjUxMDM0 | 8,950 | Fix Code quality issues | {
"login": "withshubh",
"id": 25361949,
"node_id": "MDQ6VXNlcjI1MzYxOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/25361949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/withshubh",
"html_url": "https://github.com/withshubh",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! Rather than fixing code issues, this looks like an opinionated take on the code structure. We like using list/dict comprehensions as we find them explicit, what doesn't `DeepSource` like about these?\r\n\r\nWe already have code quality setup, with `black`, `isort`, `flake8` and our own tools for code mainta... | 1,607 | 1,615 | 1,615 | NONE | null | This pull request fixes some of the code quality issues raised by DeepSource on my fork of this repository.
I have already fixed some issues using DeepSource's Autofix.
Take a quick look at all the issues caught by DeepSource for this repository [here](https://deepsource.io/gh/withshubh/transformers/issues/?categor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8950/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/8950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8950",
"html_url": "https://github.com/huggingface/transformers/pull/8950",
"diff_url": "https://github.com/huggingface/transformers/pull/8950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8950.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8949/comments | https://api.github.com/repos/huggingface/transformers/issues/8949/events | https://github.com/huggingface/transformers/pull/8949 | 757,961,050 | MDExOlB1bGxSZXF1ZXN0NTMzMjIyMTc1 | 8,949 | Adds flashcards to Glossary & makes small corrections | {
"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 | [] | [
"Thanks very much for the feedback, the relevant updates have been made as requested in a1295b7!",
"@sgugger Is there anything else that is required for this pull request to be merged?",
"@sgugger is there anything else that needs to be done on our side for this pull request to be merged?",
"Hi @darigovresear... | 1,607 | 1,611 | 1,611 | 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/8949/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/8949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8949",
"html_url": "https://github.com/huggingface/transformers/pull/8949",
"diff_url": "https://github.com/huggingface/transformers/pull/8949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8949.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8948/comments | https://api.github.com/repos/huggingface/transformers/issues/8948/events | https://github.com/huggingface/transformers/pull/8948 | 757,955,567 | MDExOlB1bGxSZXF1ZXN0NTMzMjE4MjY0 | 8,948 | Add model card | {
"login": "sarnikowski",
"id": 52626521,
"node_id": "MDQ6VXNlcjUyNjI2NTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/52626521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarnikowski",
"html_url": "https://github.com/sarnikowski",
"followers_url": "https://api.github.com/... | [
{
"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 | # What does this PR do?
Adds a model card.
Fixes # (issue)
## 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/transformers/blob/master/CONTRIBUTING.md#start-c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8948/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/8948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8948",
"html_url": "https://github.com/huggingface/transformers/pull/8948",
"diff_url": "https://github.com/huggingface/transformers/pull/8948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8948.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8947/comments | https://api.github.com/repos/huggingface/transformers/issues/8947/events | https://github.com/huggingface/transformers/pull/8947 | 757,947,499 | MDExOlB1bGxSZXF1ZXN0NTMzMjEyMTg4 | 8,947 | Fix QA pipeline on Windows | {
"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?
As reported on the [forum](https://discuss.huggingface.co/t/pipeline-example-in-the-doc-throws-an-error-question-answering/2632), there is a problem in the current pipeline on Windows. The problem's root is that numpy int arrays have a different default on Linux and Windows, the current snipp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8947/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/8947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8947",
"html_url": "https://github.com/huggingface/transformers/pull/8947",
"diff_url": "https://github.com/huggingface/transformers/pull/8947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8947.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8946/comments | https://api.github.com/repos/huggingface/transformers/issues/8946/events | https://github.com/huggingface/transformers/issues/8946 | 757,930,419 | MDU6SXNzdWU3NTc5MzA0MTk= | 8,946 | Error during validation Trainer step | {
"login": "Javier-Jimenez99",
"id": 38747614,
"node_id": "MDQ6VXNlcjM4NzQ3NjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/38747614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Javier-Jimenez99",
"html_url": "https://github.com/Javier-Jimenez99",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi there! The code is incomplete as we have no idea of what your dataset and model is. From the error message it looks like the problem is in the logits, so we would need the model to be able to reproduce the error.",
"Here is the full code:\r\n\r\n```\r\nimport torch \r\nfrom transformers import AutoTokenizer, ... | 1,607 | 1,648 | 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.1.0.dev0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8946/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/8946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8945/comments | https://api.github.com/repos/huggingface/transformers/issues/8945/events | https://github.com/huggingface/transformers/issues/8945 | 757,901,013 | MDU6SXNzdWU3NTc5MDEwMTM= | 8,945 | Sparse Transormer | {
"login": "turian",
"id": 65918,
"node_id": "MDQ6VXNlcjY1OTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/65918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/turian",
"html_url": "https://github.com/turian",
"followers_url": "https://api.github.com/users/turian/followers",
... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi there,\nHappy to consult on anything. The sparse attention kernels included above\nare very fast, but require building blocksparse -- not sure if this will\nwork for you all.\nRewon\n\nOn Sun, Dec 6, 2020 at 3:10 AM Joseph Turian <notifications@github.com>\nwrote:\n\n> 🌟 New model addition Model description\n>... | 1,607 | 1,607 | null | NONE | null | # 🌟 New model addition
## Model description
Sparse Transformers (https://openai.com/blog/sparse-transformer/) are one of the two most efficient transformers for long range problems, according to Google's Long Arena paper: https://arxiv.org/pdf/2011.04006.pdf (Big Bird) is the other one.
The original Sparse Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8945/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/8945/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8944/comments | https://api.github.com/repos/huggingface/transformers/issues/8944/events | https://github.com/huggingface/transformers/issues/8944 | 757,898,945 | MDU6SXNzdWU3NTc4OTg5NDU= | 8,944 | how to use EncoderDecoderModel to do en-de translation? | {
"login": "CharizardAcademy",
"id": 20318555,
"node_id": "MDQ6VXNlcjIwMzE4NTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/20318555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CharizardAcademy",
"html_url": "https://github.com/CharizardAcademy",
"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": ""
}
] | open | 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!\r\n\r\ncc @patrickvonplaten who might have an idea.",
"This blog post should also help on how to fine-tune a warm-... | 1,607 | 1,697 | null | NONE | null | I have trained a EncoderDecoderModel from huggging face to do english-German translation task. I tried to overfit a small dataset (100 parallel sentences), and use `model.generate()` then `tokenizer.decode()` to perform the translation. However, the output seems to be proper German sentences, but it is definitely not t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8944/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/8944/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8943/comments | https://api.github.com/repos/huggingface/transformers/issues/8943/events | https://github.com/huggingface/transformers/issues/8943 | 757,882,155 | MDU6SXNzdWU3NTc4ODIxNTU= | 8,943 | Why BertSelfAttention reshape Q,K,V from 3-D tensor to 4-D tensor | {
"login": "daydayfun",
"id": 39835967,
"node_id": "MDQ6VXNlcjM5ODM1OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/39835967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daydayfun",
"html_url": "https://github.com/daydayfun",
"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 | [] | [
"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,607 | 1,607 | 1,607 | NONE | null | # 🌟 New model addition
## Model description
https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/modeling_bert.py
def transpose_for_scores(self, x):
new_x_shape = x.size()[:-1] + (self.num_attention_heads, self.attention_head_size)
x = x.view(*new_x_shape)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8943/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/8943/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8942/comments | https://api.github.com/repos/huggingface/transformers/issues/8942/events | https://github.com/huggingface/transformers/issues/8942 | 757,878,311 | MDU6SXNzdWU3NTc4NzgzMTE= | 8,942 | NER Pipeline Issue | {
"login": "albertnanda",
"id": 20819507,
"node_id": "MDQ6VXNlcjIwODE5NTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/20819507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertnanda",
"html_url": "https://github.com/albertnanda",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Btw, this works fine.\r\n\r\n```\r\nfrom transformers import pipeline\r\nner = pipeline(\"ner\", grouped_entities=True)\r\n\r\nsequence = \"\"\"\r\nHugging Face Inc. is a company based in New York City.\r\nIts headquarters are in DUMBO, therefore very close to the Manhattan Bridge which is visible from the window.... | 1,607 | 1,621 | 1,621 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.5
- 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/8942/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/8942/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8941/comments | https://api.github.com/repos/huggingface/transformers/issues/8941/events | https://github.com/huggingface/transformers/issues/8941 | 757,877,102 | MDU6SXNzdWU3NTc4NzcxMDI= | 8,941 | Error running source code -- import | {
"login": "RandolphShi",
"id": 24260605,
"node_id": "MDQ6VXNlcjI0MjYwNjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24260605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RandolphShi",
"html_url": "https://github.com/RandolphShi",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"Hi, what are you trying to do?\r\n\r\nThe `modeling_utils.py` is an internal file that defines objects to be used by models. I invite you to read the documentation, especially the [quick tour](https://huggingface.co/transformers/quicktour.html).",
"This issue has been automatically marked as stale and been close... | 1,607 | 1,614 | 1,614 | NONE | null | Hi, I have downloaded source code of transformers and tried to run modeling_utils.py.
However, it seems that there are a lot of importing problems.
Am I running it in a wrong way?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8941/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/8941/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8940/comments | https://api.github.com/repos/huggingface/transformers/issues/8940/events | https://github.com/huggingface/transformers/issues/8940 | 757,773,448 | MDU6SXNzdWU3NTc3NzM0NDg= | 8,940 | failure to use conda-forge apex with torch1.6 and --amp_backend='apex' + --fp16_opt_level O1 | {
"login": "XiangLi1999",
"id": 29054786,
"node_id": "MDQ6VXNlcjI5MDU0Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/29054786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XiangLi1999",
"html_url": "https://github.com/XiangLi1999",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"@XiangLi1999, thank you for making a separate issue for this.\r\n\r\n(note: I edited your post to format the error traceback and also edited the link to point to the relevant comment (https://github.com/huggingface/transformers/issues/8403#issuecomment-724787083) - if you click in the right upper corner of the com... | 1,607 | 1,614 | 1,614 | 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.2.0
- Platform: Linux-4.4.0-1111-aws-x86_64-with-debian-stretch-sid
- Python version: 3.6.8
- PyTorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8940/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/8940/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8939/comments | https://api.github.com/repos/huggingface/transformers/issues/8939/events | https://github.com/huggingface/transformers/issues/8939 | 757,772,401 | MDU6SXNzdWU3NTc3NzI0MDE= | 8,939 | sorry I mistakenly submitted a issue twice. Plz ignore (help delete) this one. | {
"login": "XiangLi1999",
"id": 29054786,
"node_id": "MDQ6VXNlcjI5MDU0Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/29054786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XiangLi1999",
"html_url": "https://github.com/XiangLi1999",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 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.
- `transformers` version: 3.2.0
- Platform: Linux-4.4.0-1111-aws-x86_64-with-debian-stretch-sid
- Python version: 3.6.8
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): 2.3.1 (True)
- U... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8939/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/8939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8938/comments | https://api.github.com/repos/huggingface/transformers/issues/8938/events | https://github.com/huggingface/transformers/issues/8938 | 757,767,735 | MDU6SXNzdWU3NTc3Njc3MzU= | 8,938 | MobileBertForSequenceClassification outputs super-high logits | {
"login": "NadiaRom",
"id": 17527845,
"node_id": "MDQ6VXNlcjE3NTI3ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/17527845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NadiaRom",
"html_url": "https://github.com/NadiaRom",
"followers_url": "https://api.github.com/users/Nad... | [
{
"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 | [] | [
"I see the same behavior when trying it out with IMDB classification. \r\nI solved it by passing `classifier_activation=True` for the `from_pretrained` function. \r\n[Documentation](https://huggingface.co/transformers/model_doc/mobilebert.html#mobilebertconfig) says it is `True` by default, however it does not seem... | 1,607 | 1,614 | 1,614 | 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: Ubuntu 20.04
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.0
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8938/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/8938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8937/comments | https://api.github.com/repos/huggingface/transformers/issues/8937/events | https://github.com/huggingface/transformers/issues/8937 | 757,745,425 | MDU6SXNzdWU3NTc3NDU0MjU= | 8,937 | Gradients of BERT layer outputs to inputs | {
"login": "NitinTitus",
"id": 5567628,
"node_id": "MDQ6VXNlcjU1Njc2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5567628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NitinTitus",
"html_url": "https://github.com/NitinTitus",
"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.\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 | I am trying to find the gradient of the output of a layer of BERT to its inputs, token wise. But I keep getting the error saying: 'RuntimeError: One of the differentiated Tensors appears to not have been used in the graph. Set allow_unused=True if this is the desired behavior.' Below is the code snippet:
for coun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8937/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/8937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8936/comments | https://api.github.com/repos/huggingface/transformers/issues/8936/events | https://github.com/huggingface/transformers/issues/8936 | 757,715,940 | MDU6SXNzdWU3NTc3MTU5NDA= | 8,936 | Unexpected behavior when using TFRoberta model inside tf.keras model | {
"login": "amir-ghasemi",
"id": 19309204,
"node_id": "MDQ6VXNlcjE5MzA5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/19309204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amir-ghasemi",
"html_url": "https://github.com/amir-ghasemi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hello !\r\n\r\nThanks for reporting this. Can you provide a colab in order for us to reproduce your use case?",
"Thanks @jplu . Please see the [Colab notebook](https://colab.research.google.com/drive/1qDpqEc4qbeuoQjVEpDx88dXIXnJ6bwXh?usp=sharing).\r\n\r\nAs you can see, both model1 and model2 have the exact same... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment
- `transformers` version: tried with both 4.0.0 and 3.5.0
- Platform: Google Colab
- Python version: 3.6.9
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.3.0 GPU
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
@LysandreJik
@jpl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8936/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/8936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8935/comments | https://api.github.com/repos/huggingface/transformers/issues/8935/events | https://github.com/huggingface/transformers/issues/8935 | 757,712,340 | MDU6SXNzdWU3NTc3MTIzNDA= | 8,935 | phase level tokenizer | {
"login": "graceyangfan",
"id": 17508779,
"node_id": "MDQ6VXNlcjE3NTA4Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/17508779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/graceyangfan",
"html_url": "https://github.com/graceyangfan",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"I has write a custom tokenizer to rewrite the _tokenize method,it seems work well for chinese.\r\n```\r\nfrom transformers import *\r\nimport jieba\r\njieba.initialize()\r\nclass CostoumToken(BertTokenizer):\r\n def __init__(self,vocab_path,pre_token_method=lambda x:\" \".join(jieba.cut(x,HMM=False))):\r\n ... | 1,607 | 1,614 | 1,614 | NONE | null | # 🚀 Feature request
A tokenizer to encode sentences on phase level
## Motivation
The transformer Tokenizer always tokenize the sentence on word level,which might be good for English,however it might not so in Chinese,for example, sports has single meaning in English,when its translation 运动 is split to 运 and 动,we ha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8935/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/8935/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8934/comments | https://api.github.com/repos/huggingface/transformers/issues/8934/events | https://github.com/huggingface/transformers/pull/8934 | 757,672,788 | MDExOlB1bGxSZXF1ZXN0NTMzMDExNDkz | 8,934 | Updating outdated fairseq checkpoint to HF script | {
"login": "machelreid",
"id": 42187963,
"node_id": "MDQ6VXNlcjQyMTg3OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/42187963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/machelreid",
"html_url": "https://github.com/machelreid",
"followers_url": "https://api.github.com/use... | [
{
"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 | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,607 | 1,614 | 1,614 | CONTRIBUTOR | null | The current fairseq checkpoint to HF script is outdated, not being compatible with the newly introduced `hydra` config and fairseq's new PyTorch hub interface. In addition to this, added one more argument (`--data-dir`) for custom RoBERTa models, and modified the `--classification_head` argument to take in a string ra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8934/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/8934/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8934",
"html_url": "https://github.com/huggingface/transformers/pull/8934",
"diff_url": "https://github.com/huggingface/transformers/pull/8934.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8934.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8933/comments | https://api.github.com/repos/huggingface/transformers/issues/8933/events | https://github.com/huggingface/transformers/issues/8933 | 757,668,325 | MDU6SXNzdWU3NTc2NjgzMjU= | 8,933 | Relative Attention Bias not initialized for T5ForConditionalGeneration in version 4.0.0 | {
"login": "gsarti",
"id": 16674069,
"node_id": "MDQ6VXNlcjE2Njc0MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gsarti",
"html_url": "https://github.com/gsarti",
"followers_url": "https://api.github.com/users/gsarti/fo... | [] | closed | false | null | [] | [
"Hey @gsarti, \r\n\r\nyeah there was a tiny bug in T5 previously. T5 actually never had relative positional encodings for the EncoderDecoderLayer, so the unnecessary weight was deleted after 3.5.0. This should not really affect the performance however and is no problem now, see: https://github.com/huggingface/trans... | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux 18.04
- Python version: 3.6.9
- PyTorch version (GPU?): 1.70 (True)
- Tensorflow version (GPU?): N/A
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
@patrickvonplaten
## Inform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8933/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/8933/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8932/comments | https://api.github.com/repos/huggingface/transformers/issues/8932/events | https://github.com/huggingface/transformers/issues/8932 | 757,646,121 | MDU6SXNzdWU3NTc2NDYxMjE= | 8,932 | Documentation License Query | {
"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... | [
{
"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 documentation is also under the Apache License (version 2.0). Hope that helps!\r\nWould love some flashcards for Transformers :-)",
"@sgugger thanks for letting us know! An initial set based on your glossary will follow shortly as a start.\r\n\r\nIs there any way to update the docs so that the license is in ... | 1,607 | 1,614 | 1,614 | CONTRIBUTOR | null | We were looking to make some educational material based on the documentation & it wasn't clear what the license is for the documentation.
We see that the repository as a whole is under an Apache license, but the docs page is not explicit on what license the docs with a dedicated license page or in the footer.
Cou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8932/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/8932/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8931/comments | https://api.github.com/repos/huggingface/transformers/issues/8931/events | https://github.com/huggingface/transformers/pull/8931 | 757,583,334 | MDExOlB1bGxSZXF1ZXN0NTMyOTM2NzQ5 | 8,931 | Fix typo for `modeling_bert` import resulting in ImportError | {
"login": "machelreid",
"id": 42187963,
"node_id": "MDQ6VXNlcjQyMTg3OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/42187963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/machelreid",
"html_url": "https://github.com/machelreid",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Self-explanatory ;) - Fixes a typo resulting in an `ImportError` in the convert RoBERTa from fairseq to HF - Hope it helps!
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8931/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/8931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8931",
"html_url": "https://github.com/huggingface/transformers/pull/8931",
"diff_url": "https://github.com/huggingface/transformers/pull/8931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8931.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8930/comments | https://api.github.com/repos/huggingface/transformers/issues/8930/events | https://github.com/huggingface/transformers/pull/8930 | 757,438,576 | MDExOlB1bGxSZXF1ZXN0NTMyODE2MDIw | 8,930 | [seq2seq] document the caveat of leaky native amp | {
"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,607 | 1,607 | CONTRIBUTOR | null | the native amp leak will be fixed in pt18 (already available in pt-nightly) - this PR documents this caveat and proposes to use apex for pt < 1.8.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8930/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/8930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8930",
"html_url": "https://github.com/huggingface/transformers/pull/8930",
"diff_url": "https://github.com/huggingface/transformers/pull/8930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8930.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8929/comments | https://api.github.com/repos/huggingface/transformers/issues/8929/events | https://github.com/huggingface/transformers/pull/8929 | 757,404,939 | MDExOlB1bGxSZXF1ZXN0NTMyNzg3NjM2 | 8,929 | Don't pass in token_type_ids to BART for GLUE | {
"login": "ethanjperez",
"id": 6402205,
"node_id": "MDQ6VXNlcjY0MDIyMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethanjperez",
"html_url": "https://github.com/ethanjperez",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Thanks for the fix @ethanjperez ! Looks good to me!"
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Without this fix, training a `BARTForSequenceClassification` model with `run_pl_glue.py` gives `TypeError: forward() got an unexpected keyword argument 'token_type_ids'`, because BART does not have token_type_ids. I've solved this issue in the same way as it's solved for the "distilbert" mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8929/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/8929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8929",
"html_url": "https://github.com/huggingface/transformers/pull/8929",
"diff_url": "https://github.com/huggingface/transformers/pull/8929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8929.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8927/comments | https://api.github.com/repos/huggingface/transformers/issues/8927/events | https://github.com/huggingface/transformers/issues/8927 | 757,381,750 | MDU6SXNzdWU3NTczODE3NTA= | 8,927 | run_glue.py fails with RoBERTa but succeeds with other models | {
"login": "yonatanbitton",
"id": 26148975,
"node_id": "MDQ6VXNlcjI2MTQ4OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/26148975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonatanbitton",
"html_url": "https://github.com/yonatanbitton",
"followers_url": "https://api.githu... | [] | 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... | [
"When **importing** transformers (instead of using the source) the problem does not occur.",
"Pinging the Trainer master @sgugger!",
"This looks like a problem on the CUDA initialization in your enviromnent. The command runs fine on my side. \r\n\r\n> When **importing** transformers (instead of using the source... | 1,607 | 1,618 | 1,618 | NONE | null | ## Environment info
I'm following this instructions: https://github.com/huggingface/transformers/tree/master/examples, meaning I installed the library from source.
- `transformers` version: 4.1.0.dev0
- Platform: Linux
- Python version: 3.6
- PyTorch version (GPU?): 1.7.0
- Using GPU in script?: Yes, Tesla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8927/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/8927/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8926/comments | https://api.github.com/repos/huggingface/transformers/issues/8926/events | https://github.com/huggingface/transformers/pull/8926 | 757,252,419 | MDExOlB1bGxSZXF1ZXN0NTMyNjU5MjQw | 8,926 | [ci] skip doc jobs - circleCI is not reliable - disable skip for now | {
"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 | [] | [
"Thanks for investigating this!",
"The thread discussing getting a reliable range of changes on CircleCI is here:\r\nhttps://discuss.circleci.com/t/pipeline-git-base-revision-is-completely-unreliable/38301\r\n"
] | 1,607 | 1,607 | 1,607 | CONTRIBUTOR | null | We can't do reliable skipping if we can't get a reliable range of changes and cirlcleCI is all over
e.g. in this PR https://github.com/huggingface/transformers/pull/8918 it changed `pipeline.git.base_revision` **on every commit** resulting only the changes from last commit appearing as a change for the whole PR, which... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8926/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/8926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8926",
"html_url": "https://github.com/huggingface/transformers/pull/8926",
"diff_url": "https://github.com/huggingface/transformers/pull/8926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8926.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.