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/7021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7021/comments | https://api.github.com/repos/huggingface/transformers/issues/7021/events | https://github.com/huggingface/transformers/issues/7021 | 696,438,605 | MDU6SXNzdWU2OTY0Mzg2MDU= | 7,021 | where can I download the pre-trained pytorch_model.bin files ? | {
"login": "Deep1994",
"id": 24366782,
"node_id": "MDQ6VXNlcjI0MzY2Nzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/24366782?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Deep1994",
"html_url": "https://github.com/Deep1994",
"followers_url": "https://api.github.com/users/Dee... | [] | closed | false | null | [] | [
"You can go to the model hub, click on a model and select \"List all files in model\". These are links to the files.\r\n\r\n\r\n"
] | 1,599 | 1,599 | 1,599 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7021/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/7021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7020/comments | https://api.github.com/repos/huggingface/transformers/issues/7020/events | https://github.com/huggingface/transformers/issues/7020 | 696,349,669 | MDU6SXNzdWU2OTYzNDk2Njk= | 7,020 | Use `run_language_modeling.py` to finetune gpt2, but it core unexpectedly. | {
"login": "Abbyyan",
"id": 12140508,
"node_id": "MDQ6VXNlcjEyMTQwNTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12140508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abbyyan",
"html_url": "https://github.com/Abbyyan",
"followers_url": "https://api.github.com/users/Abbyya... | [] | closed | false | null | [] | [
"Hi, do you mind copy-pasting the text in your terminal instead of putting images? It'll be easier for us to understand, to debug, and for other users to search for similar issues. Thanks!",
"> Hi, do you mind copy-pasting the text in your terminal instead of putting images? It'll be easier for us to understand, ... | 1,599 | 1,599 | 1,599 | NONE | null | # ❓ Questions & Help
Use `run_language_modeling.py` to finetune gpt2, but it core unexpectedly. How can i find the cause of the core please?
## Details
I'm using transformers's `run_language_modeling.py` to finetune gpt2 as follows.
### (1)with gpu
```shell
python3 run_language_modeling.py --output_di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7020/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/7020/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7019/comments | https://api.github.com/repos/huggingface/transformers/issues/7019/events | https://github.com/huggingface/transformers/issues/7019 | 696,129,892 | MDU6SXNzdWU2OTYxMjk4OTI= | 7,019 | Proposal: Offset based Token Classification utilities | {
"login": "talolard",
"id": 5352830,
"node_id": "MDQ6VXNlcjUzNTI4MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5352830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/talolard",
"html_url": "https://github.com/talolard",
"followers_url": "https://api.github.com/users/talol... | [
{
"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, this is a very nice issue and I plan to work soon (in the coming 2 weeks) on related things (improving the examples to make full use of the Rust tokenization features). I'll re-read this issue (and all the links) to extract all the details and likely come back to you at that time.\r\n\r\nIn the meantime, here ... | 1,599 | 1,605 | 1,605 | NONE | null | # 🚀 Feature request
Hi. So we work a lot with span annotations on text that isn't tokenized and want a "canonical" way to work with that. I have some ideas and rough implementations, so I'm looking for feedback on if this belongs in the library, and if the proposed implementation is more or less good.
I also th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7019/reactions",
"total_count": 38,
"+1": 23,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 13,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/7019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7018/comments | https://api.github.com/repos/huggingface/transformers/issues/7018/events | https://github.com/huggingface/transformers/pull/7018 | 696,119,529 | MDExOlB1bGxSZXF1ZXN0NDgyMjQ4ODg4 | 7,018 | [s2s] --eval_max_generate_length | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7018?src=pr&el=h1) Report\n> Merging [#7018](https://codecov.io/gh/huggingface/transformers/pull/7018?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d6c08b07a087e83915b4b3156bbf464cebc7b9b5?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7018/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/7018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7018",
"html_url": "https://github.com/huggingface/transformers/pull/7018",
"diff_url": "https://github.com/huggingface/transformers/pull/7018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7018.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/7017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7017/comments | https://api.github.com/repos/huggingface/transformers/issues/7017/events | https://github.com/huggingface/transformers/pull/7017 | 696,040,023 | MDExOlB1bGxSZXF1ZXN0NDgyMTgyNzU1 | 7,017 | pegasus.rst: fix expected output | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7017?src=pr&el=h1) Report\n> Merging [#7017](https://codecov.io/gh/huggingface/transformers/pull/7017?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5c4eb4b1ac45291e89c1be0fb1fdacd841b19a47?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7017/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/7017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7017",
"html_url": "https://github.com/huggingface/transformers/pull/7017",
"diff_url": "https://github.com/huggingface/transformers/pull/7017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7017.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7016/comments | https://api.github.com/repos/huggingface/transformers/issues/7016/events | https://github.com/huggingface/transformers/pull/7016 | 696,008,142 | MDExOlB1bGxSZXF1ZXN0NDgyMTU2Njg5 | 7,016 | [Longformer] Fix longformer documentation | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7016?src=pr&el=h1) Report\n> Merging [#7016](https://codecov.io/gh/huggingface/transformers/pull/7016?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d31031f603043281d4fbac6cbdcfb6497fd500ab?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | MEMBER | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #7015
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7016/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/7016/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7016",
"html_url": "https://github.com/huggingface/transformers/pull/7016",
"diff_url": "https://github.com/huggingface/transformers/pull/7016.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7016.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7015/comments | https://api.github.com/repos/huggingface/transformers/issues/7015/events | https://github.com/huggingface/transformers/issues/7015 | 695,991,609 | MDU6SXNzdWU2OTU5OTE2MDk= | 7,015 | Longformer global attention mask, 2 or 1? | {
"login": "kakeith",
"id": 18640437,
"node_id": "MDQ6VXNlcjE4NjQwNDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/18640437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kakeith",
"html_url": "https://github.com/kakeith",
"followers_url": "https://api.github.com/users/kakeit... | [] | closed | false | null | [] | [
"That is 100% correct - thanks for notifying us :-) PR is linked.",
"Also what is the 1, 4, 21 in that example? Can someone answer this?",
"Just random indices that will be attended and will attend globally",
"So if we are passing a sentence during inferencing `I love Hugging face` and I give value `attention... | 1,599 | 1,628 | 1,599 | NONE | null | This example in the LongFormer documentation (https://huggingface.co/transformers/model_doc/longformer.html )
```
attention_mask[:, [1, 4, 21,]] = 2 # Set global attention based on the task. For example,
... # classification: the <s> token
... ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7015/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/7015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7014/comments | https://api.github.com/repos/huggingface/transformers/issues/7014/events | https://github.com/huggingface/transformers/pull/7014 | 695,954,397 | MDExOlB1bGxSZXF1ZXN0NDgyMTEyNDI4 | 7,014 | [wip] Pegasus: Hack to never generate unk | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7014?src=pr&el=h1) Report\n> Merging [#7014](https://codecov.io/gh/huggingface/transformers/pull/7014?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ce37be9d94da57897cce9c49b3421e6a8a927d4a?el=desc) will **increase... | 1,599 | 1,602 | 1,602 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7014/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/7014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7014",
"html_url": "https://github.com/huggingface/transformers/pull/7014",
"diff_url": "https://github.com/huggingface/transformers/pull/7014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7014.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7013/comments | https://api.github.com/repos/huggingface/transformers/issues/7013/events | https://github.com/huggingface/transformers/pull/7013 | 695,916,979 | MDExOlB1bGxSZXF1ZXN0NDgyMDgwODU3 | 7,013 | Fixing FLOPS merge by checking if torch is available | {
"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,599 | 1,599 | 1,599 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7013/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/7013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7013",
"html_url": "https://github.com/huggingface/transformers/pull/7013",
"diff_url": "https://github.com/huggingface/transformers/pull/7013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7013.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/7012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7012/comments | https://api.github.com/repos/huggingface/transformers/issues/7012/events | https://github.com/huggingface/transformers/issues/7012 | 695,793,824 | MDU6SXNzdWU2OTU3OTM4MjQ= | 7,012 | Error in run_language_modeling on TPU: Transferring data with element type U8 has not been implemented on TPUs | {
"login": "akoksal",
"id": 10994107,
"node_id": "MDQ6VXNlcjEwOTk0MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/10994107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akoksal",
"html_url": "https://github.com/akoksal",
"followers_url": "https://api.github.com/users/akoksa... | [
{
"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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,599 | 1,605 | 1,605 | 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.1.0
- Platform: Linux-4.19.0-10-cloud-amd64-x86_64-with-debian-9.13
- Python version: 3.7.7
- PyTorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7012/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7012/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7011/comments | https://api.github.com/repos/huggingface/transformers/issues/7011/events | https://github.com/huggingface/transformers/issues/7011 | 695,754,716 | MDU6SXNzdWU2OTU3NTQ3MTY= | 7,011 | getting 'ValueError-TextInputSequence must be str' in 'train_dataset = train_dataset.map(convert_to_features)' | {
"login": "hemantwani",
"id": 34301590,
"node_id": "MDQ6VXNlcjM0MzAxNTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/34301590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hemantwani",
"html_url": "https://github.com/hemantwani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@patil-suraj \r\nCan you help me with this?"
] | 1,599 | 1,599 | 1,599 | NONE | null | Hello friends,
I want to fine tune longformer QnA for different data. I found this code very relevant to my requirement, so was trying to understand the same thoroughly. but getting an error.
i am trying to run the same code that Suraj has on github.
**
> 'ValueError-TextInputSequence must be str' in 'train_da... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7011/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/7011/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7010/comments | https://api.github.com/repos/huggingface/transformers/issues/7010/events | https://github.com/huggingface/transformers/issues/7010 | 695,742,999 | MDU6SXNzdWU2OTU3NDI5OTk= | 7,010 | Huggingface "sentiment-analysis" pipeline always output "POSITIVE" label even for negative sentences | {
"login": "abmitra84",
"id": 24584702,
"node_id": "MDQ6VXNlcjI0NTg0NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24584702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abmitra84",
"html_url": "https://github.com/abmitra84",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Upon further updates, I think the issue was with using wrong AutoModel function. I replaced it with AutoModelforSequenceClassification at the time of download and it worked."
] | 1,599 | 1,599 | 1,599 | NONE | null | ## Environment info
- `transformers` version: 3.1
- Platform: AWS , Colab etc.
- Python version: 3.6
- PyTorch version (GPU?): NA
- Tensorflow version (GPU?): NA
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
examples/token-classification: @stefan-it
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7010/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/7010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7009/comments | https://api.github.com/repos/huggingface/transformers/issues/7009/events | https://github.com/huggingface/transformers/issues/7009 | 695,715,921 | MDU6SXNzdWU2OTU3MTU5MjE= | 7,009 | Index out of range in Bart-large-xsum | {
"login": "tejareddy8888",
"id": 58398337,
"node_id": "MDQ6VXNlcjU4Mzk4MzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/58398337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tejareddy8888",
"html_url": "https://github.com/tejareddy8888",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Pinging @sshleifer, the summarization master",
"See https://discuss.huggingface.co/t/summarization-on-long-documents/920/2, and feel free to reply there!\r\nI don't have a code snippet but feel free to contribute one to that discussion! "
] | 1,599 | 1,599 | 1,599 | NONE | null | Questions & Help
Hello to everyone!!
I am facing a problem summarizing long articles. I mean very long text with larger vocab size than it is pre-trained already i guess.
I see that many of the models have a limitation of maximum input and trying to execute results in error of index out of range.
I am particula... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7009/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/7009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7008/comments | https://api.github.com/repos/huggingface/transformers/issues/7008/events | https://github.com/huggingface/transformers/issues/7008 | 695,682,779 | MDU6SXNzdWU2OTU2ODI3Nzk= | 7,008 | Diverse Beam Search decoding | {
"login": "dakshvar22",
"id": 8708249,
"node_id": "MDQ6VXNlcjg3MDgyNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8708249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakshvar22",
"html_url": "https://github.com/dakshvar22",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hey @dakshvar22,\r\n\r\nThanks for posting this Diverse Beam Search paper. Looks cool :-) \r\nAt the moment, I won't find the time to take a deeper look, but feel free to open a PR to add it to our generate() method and I'm happy to discuss possible design choices :-) ",
"This issue has been automatically marked... | 1,599 | 1,614 | 1,614 | NONE | null | # 🚀 Feature request
Currently, with all the decoding strategies available in this library, there isn't any decoding strategy which helps in producing diverse outputs across the beam of the decoder. Such diversity is useful for tasks such as noisy data augmentation where you want to generate multiple possible output... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7008/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7007/comments | https://api.github.com/repos/huggingface/transformers/issues/7007/events | https://github.com/huggingface/transformers/issues/7007 | 695,657,428 | MDU6SXNzdWU2OTU2NTc0Mjg= | 7,007 | MLM performance difference between bert-base-cased and Conversational BERT | {
"login": "manueltonneau",
"id": 29440170,
"node_id": "MDQ6VXNlcjI5NDQwMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/29440170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueltonneau",
"html_url": "https://github.com/manueltonneau",
"followers_url": "https://api.githu... | [
{
"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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,599 | 1,605 | 1,605 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7007/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/7007/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7006/comments | https://api.github.com/repos/huggingface/transformers/issues/7006/events | https://github.com/huggingface/transformers/issues/7006 | 695,606,141 | MDU6SXNzdWU2OTU2MDYxNDE= | 7,006 | __init__() got an unexpected keyword argument 'cache_dir' | {
"login": "TikaToka",
"id": 49054667,
"node_id": "MDQ6VXNlcjQ5MDU0NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/49054667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TikaToka",
"html_url": "https://github.com/TikaToka",
"followers_url": "https://api.github.com/users/Tik... | [] | 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... | [
"Hello! On what version of `transformers` are you running?",
"> Hello! On what version of `transformers` are you running?\r\n\r\nHi @LysandreJik, It's 3.1.0",
"@TikaToka Faced the same problem. Just installed everything again from master and it worked. \r\n",
"> @TikaToka Faced the same problem. Just installe... | 1,599 | 1,600 | 1,599 | NONE | null | I used command
!python /content/transformers/examples/language-modeling/run_language_modeling.py \
--output_dir=/content/output \
--model_type=gpt2 \
--model_name_or_path=gpt2 \
--do_train \
--train_data_file=/content/input.txt \
--do_eval \
--eval_data_file=/content/dev.txt
an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7006/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/7006/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7005/comments | https://api.github.com/repos/huggingface/transformers/issues/7005/events | https://github.com/huggingface/transformers/pull/7005 | 695,597,720 | MDExOlB1bGxSZXF1ZXN0NDgxODE3NDA3 | 7,005 | [Community notebooks] Add notebook on fine-tuning GPT-2 Model with Trainer Class | {
"login": "philschmid",
"id": 32632186,
"node_id": "MDQ6VXNlcjMyNjMyMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philschmid",
"html_url": "https://github.com/philschmid",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7005?src=pr&el=h1) Report\n> Merging [#7005](https://codecov.io/gh/huggingface/transformers/pull/7005?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c18f5916a03d0a161d003e95ffff8120d8addc0c?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | MEMBER | null | Adding a link to a community notebook containing an example of fine-tuning a German GPT-2 Model with the Trainer Class | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7005/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/7005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7005",
"html_url": "https://github.com/huggingface/transformers/pull/7005",
"diff_url": "https://github.com/huggingface/transformers/pull/7005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7005.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7004/comments | https://api.github.com/repos/huggingface/transformers/issues/7004/events | https://github.com/huggingface/transformers/pull/7004 | 695,568,081 | MDExOlB1bGxSZXF1ZXN0NDgxNzkyMDU3 | 7,004 | [seq2seq Examples] Use _step instead of generate for val, test | {
"login": "setu4993",
"id": 1833708,
"node_id": "MDQ6VXNlcjE4MzM3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1833708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/setu4993",
"html_url": "https://github.com/setu4993",
"followers_url": "https://api.github.com/users/setu4... | [] | closed | false | null | [] | [
"@sshleifer : Does it make sense to still add this? If yes, I can rebase and update based on Suraj's comments earlier. If not, will close.",
"Let's hold off for now. I think passing --eval_num_beams=1 is close enough to equivalent.\r\nThanks for trying!"
] | 1,599 | 1,600 | 1,600 | CONTRIBUTOR | null | Addresses a workaround I proposed in #6589 for limiting the memory consumption in `.generate` steps.
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7004/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/7004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7004",
"html_url": "https://github.com/huggingface/transformers/pull/7004",
"diff_url": "https://github.com/huggingface/transformers/pull/7004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7004.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7003/comments | https://api.github.com/repos/huggingface/transformers/issues/7003/events | https://github.com/huggingface/transformers/issues/7003 | 695,505,929 | MDU6SXNzdWU2OTU1MDU5Mjk= | 7,003 | On Gpu sharing mechanism, specify model.to(' CPU '), but still use the Gpu | {
"login": "changquanyou",
"id": 9205633,
"node_id": "MDQ6VXNlcjkyMDU2MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9205633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/changquanyou",
"html_url": "https://github.com/changquanyou",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"It's my issue"
] | 1,599 | 1,599 | 1,599 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7003/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/7003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7002/comments | https://api.github.com/repos/huggingface/transformers/issues/7002/events | https://github.com/huggingface/transformers/issues/7002 | 695,492,136 | MDU6SXNzdWU2OTU0OTIxMzY= | 7,002 | How to bypass "Special tokens have been added in the vocabulary..." warning? | {
"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 | [] | [
"Hello @stas00 ,\r\n\r\nCan you show us a sample of your code ?\r\n\r\nDid you explicitely add special tokens to your tokenizer ?\r\n\r\nFrom my understanding this warning appears when the method _sanitize_special_tokens_ of the tokenizer returns a strictly positive integer.\r\n\r\nThe docstring of the method is:\r... | 1,599 | 1,703 | 1,599 | CONTRIBUTOR | null | Is there a way to avoid always getting:
> Special tokens have been added in the vocabulary, make sure the associated word embedding are fine-tuned or trained
@ https://github.com/huggingface/transformers/blob/master/src/transformers/tokenization_utils_base.py#L1614
(other than turning logging off)
As far as... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7002/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/7002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7001/comments | https://api.github.com/repos/huggingface/transformers/issues/7001/events | https://github.com/huggingface/transformers/pull/7001 | 695,486,293 | MDExOlB1bGxSZXF1ZXN0NDgxNzI0MTYx | 7,001 | typo | {
"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,599 | 1,599 | 1,599 | CONTRIBUTOR | null | apologies for the tiny PRs, just sending those as I find them.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7001/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/7001/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7001",
"html_url": "https://github.com/huggingface/transformers/pull/7001",
"diff_url": "https://github.com/huggingface/transformers/pull/7001.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7001.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7000/comments | https://api.github.com/repos/huggingface/transformers/issues/7000/events | https://github.com/huggingface/transformers/issues/7000 | 695,398,484 | MDU6SXNzdWU2OTUzOTg0ODQ= | 7,000 | access to the embeddings for query and text used in a downstream NLP task | {
"login": "mchari",
"id": 30506151,
"node_id": "MDQ6VXNlcjMwNTA2MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mchari",
"html_url": "https://github.com/mchari",
"followers_url": "https://api.github.com/users/mchari/fo... | [] | closed | false | null | [] | [
"I realized that in QA, word/token embeddings are used, while I was looking for multi-sentence level embeddings. Pl. ignore my question."
] | 1,599 | 1,599 | 1,599 | NONE | null | Newbie question -
is there any way to access the embeddings that are generated for the passage(and query) that is fed to a BertForQuestionAnswering model ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7000/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/7000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6999/comments | https://api.github.com/repos/huggingface/transformers/issues/6999/events | https://github.com/huggingface/transformers/pull/6999 | 695,388,744 | MDExOlB1bGxSZXF1ZXN0NDgxNjQwNjI1 | 6,999 | fixed trainer tr_loss memory leak | {
"login": "StuartMesham",
"id": 28049022,
"node_id": "MDQ6VXNlcjI4MDQ5MDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/28049022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StuartMesham",
"html_url": "https://github.com/StuartMesham",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6999?src=pr&el=h1) Report\n> Merging [#6999](https://codecov.io/gh/huggingface/transformers/pull/6999?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90ec78b5140251f093f658ebd4d2925e8c03f5e6?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | Fixes #6939
The Trainer class contains the memory leak described [here](https://discuss.pytorch.org/t/cpu-ram-usage-increasing-for-every-epoch/24475/6). It is not specific to any particular model type and will occur with any model trained using the trainer class.
It is fixed in this pull request.
The issue is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6999/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6999",
"html_url": "https://github.com/huggingface/transformers/pull/6999",
"diff_url": "https://github.com/huggingface/transformers/pull/6999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6999.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6998/comments | https://api.github.com/repos/huggingface/transformers/issues/6998/events | https://github.com/huggingface/transformers/pull/6998 | 695,362,039 | MDExOlB1bGxSZXF1ZXN0NDgxNjE3Njk0 | 6,998 | Fix TF Trainer loss calculation | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6998?src=pr&el=h1) Report\n> Merging [#6998](https://codecov.io/gh/huggingface/transformers/pull/6998?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0054a48cdd64e7309184a64b399ab2c58d75d4e5?el=desc) will **increase... | 1,599 | 1,651 | 1,600 | COLLABORATOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #6968
## Description
Issue #6968 is about the incorrect loss calculation due to dividing the per example losses by the number of sentences, rather than by the number of tokens (not ignored, i.e. label != -100) - if the task i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6998/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/6998/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6998",
"html_url": "https://github.com/huggingface/transformers/pull/6998",
"diff_url": "https://github.com/huggingface/transformers/pull/6998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6998.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6997/comments | https://api.github.com/repos/huggingface/transformers/issues/6997/events | https://github.com/huggingface/transformers/issues/6997 | 695,357,264 | MDU6SXNzdWU2OTUzNTcyNjQ= | 6,997 | run_squad.py not working on 3.1.0 version | {
"login": "deepanshu650",
"id": 65191985,
"node_id": "MDQ6VXNlcjY1MTkxOTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/65191985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepanshu650",
"html_url": "https://github.com/deepanshu650",
"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 | [] | [
"Indeed, it seems it hasn't been up to date. Did you try running `run_squad_trainer.py`? It should be more up to date.\r\n\r\n@sgugger we should probably deprecate `run_squad.py` now that we have a Trainer-based SQuAD script.",
"The missing part was the eval which shouldn't be too hard to add (https://github.com/... | 1,599 | 1,605 | 1,605 | 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.0.2
- Platform: Linux-4.15.0-91-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- PyTor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6997/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/6997/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6996/comments | https://api.github.com/repos/huggingface/transformers/issues/6996/events | https://github.com/huggingface/transformers/pull/6996 | 695,328,818 | MDExOlB1bGxSZXF1ZXN0NDgxNTg5Mjc2 | 6,996 | [generation] decoder priority for choosing decoder_start_token_id value | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6996?src=pr&el=h1) Report\n> Merging [#6996](https://codecov.io/gh/huggingface/transformers/pull/6996?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90ec78b5140251f093f658ebd4d2925e8c03f5e6?el=desc) will **decrease... | 1,599 | 1,603 | 1,599 | CONTRIBUTOR | null | `config.decoder` needs to be checked first before model's `config` to set `decoder_start_token_id`.
This is needed for https://github.com/huggingface/transformers/pull/6940 where I think for the first time there is an actual `config.decoder`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6996/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/6996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6996",
"html_url": "https://github.com/huggingface/transformers/pull/6996",
"diff_url": "https://github.com/huggingface/transformers/pull/6996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6996.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6995/comments | https://api.github.com/repos/huggingface/transformers/issues/6995/events | https://github.com/huggingface/transformers/pull/6995 | 695,293,815 | MDExOlB1bGxSZXF1ZXN0NDgxNTU4ODk0 | 6,995 | [from_pretrained] Allow tokenizer_type ≠ model_type | {
"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-... | [] | closed | false | null | [] | [
"> Not sure I fully understand the use case, but nothing against the principle of it.\r\n\r\nThe idea is to prevent combinatorial explosion of \"model types\" when only the tokenizer is different (e.g. Flaubert, CamemBERT if we wanted to support them today)\r\n\r\nIn the future we might even want to have a few mode... | 1,599 | 1,604 | 1,599 | MEMBER | null | For an exemple usage of this PR, see the `tokenizer_class` attribute in this config.json: https://s3.amazonaws.com/models.huggingface.co/bert/julien-c/dummy-diff-tokenizer/config.json
Instead of a class, we could have used a `tokenizer_type` belonging to the set of all `model_type`s, like `"bert"`, etc. but it feels... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6995/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6995",
"html_url": "https://github.com/huggingface/transformers/pull/6995",
"diff_url": "https://github.com/huggingface/transformers/pull/6995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6995.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6994/comments | https://api.github.com/repos/huggingface/transformers/issues/6994/events | https://github.com/huggingface/transformers/pull/6994 | 695,268,507 | MDExOlB1bGxSZXF1ZXN0NDgxNTM2NTQy | 6,994 | Fix typo | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6994?src=pr&el=h1) Report\n> Merging [#6994](https://codecov.io/gh/huggingface/transformers/pull/6994?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90ec78b5140251f093f658ebd4d2925e8c03f5e6?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6994/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/6994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6994",
"html_url": "https://github.com/huggingface/transformers/pull/6994",
"diff_url": "https://github.com/huggingface/transformers/pull/6994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6994.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6993/comments | https://api.github.com/repos/huggingface/transformers/issues/6993/events | https://github.com/huggingface/transformers/issues/6993 | 695,116,265 | MDU6SXNzdWU2OTUxMTYyNjU= | 6,993 | PegasusForConditionalGeneration stops at unknown token | {
"login": "adjeiv",
"id": 52001888,
"node_id": "MDQ6VXNlcjUyMDAxODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/52001888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adjeiv",
"html_url": "https://github.com/adjeiv",
"followers_url": "https://api.github.com/users/adjeiv/fo... | [
{
"id": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1NjA5MDE3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq",
"name": "seq2seq",
"color": "fef2c0",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"The easiest way I can think of is to avoid generating the unk token altogether.\r\n\r\nadd the following method to `PegasusForConditionalGeneration`\r\n\r\n```python\r\n def adjust_logits_during_generation(self, logits, cur_len, max_length):\r\n # Note, this will break with a tokenizer that is not Pegasu... | 1,599 | 1,602 | 1,602 | NONE | null | Hi all,
When following the code snippet from the [huggingface documentation](https://huggingface.co/transformers/master/model_doc/pegasus.html) but replacing the text, I have found that the summary stops when it reaches an unknown token. Is there a way around this?
src_text = [
"""As a child, the documentary mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6993/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/6993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6992/comments | https://api.github.com/repos/huggingface/transformers/issues/6992/events | https://github.com/huggingface/transformers/issues/6992 | 695,053,049 | MDU6SXNzdWU2OTUwNTMwNDk= | 6,992 | Mobile Bert Tiny model | {
"login": "borsork377",
"id": 70897626,
"node_id": "MDQ6VXNlcjcwODk3NjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/70897626?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borsork377",
"html_url": "https://github.com/borsork377",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"MobileBERT is supported, see [here](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_mobilebert.py) for the code, and [here](https://huggingface.co/transformers/model_doc/mobilebert.html) for the docs. [Here](https://huggingface.co/models?search=mobilebert) are all the available mo... | 1,599 | 1,599 | 1,599 | NONE | null | # 🚀 Feature request
Can you add support for variants of MobileBERT?
## Motivation
The package currently provides various varients of bert - 'bert-base-cased', 'bert-base-uncased', 'bert-large'...
Can you also similarly provide Mobile Bert Tiny as well?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6992/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/6992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6991/comments | https://api.github.com/repos/huggingface/transformers/issues/6991/events | https://github.com/huggingface/transformers/pull/6991 | 695,052,999 | MDExOlB1bGxSZXF1ZXN0NDgxMzQ4MjQ5 | 6,991 | Conversion scripts shouldn't have relative imports | {
"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 | [] | [
"https://github.com/huggingface/transformers/blob/0203ad43bcd0b29423dec6ca1a58ed58300f0d61/src/transformers/convert_mbart_original_checkpoint_to_pytorch.py#L7\r\n\r\nHello! Does this line also need to be changed?"
] | 1,599 | 1,600 | 1,599 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6991/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/6991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6991",
"html_url": "https://github.com/huggingface/transformers/pull/6991",
"diff_url": "https://github.com/huggingface/transformers/pull/6991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6991.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6990/comments | https://api.github.com/repos/huggingface/transformers/issues/6990/events | https://github.com/huggingface/transformers/pull/6990 | 695,033,143 | MDExOlB1bGxSZXF1ZXN0NDgxMzMwNzI5 | 6,990 | README for HooshvareLab/bert-fa-base-uncased | {
"login": "m3hrdadfi",
"id": 2601833,
"node_id": "MDQ6VXNlcjI2MDE4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2601833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m3hrdadfi",
"html_url": "https://github.com/m3hrdadfi",
"followers_url": "https://api.github.com/users/m3... | [
{
"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,599 | 1,599 | 1,599 | CONTRIBUTOR | null | ParsBERT v2.0 is a fine-tuned and vocab-reconstructed version of ParsBERT, and it's able to be used in other scopes!
Some features:
- We added some unused-vocab for use in summarization and other scopes.
- We fine-tuned the model on vast styles of writing in the Persian language.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6990/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/6990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6990",
"html_url": "https://github.com/huggingface/transformers/pull/6990",
"diff_url": "https://github.com/huggingface/transformers/pull/6990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6990.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6989/comments | https://api.github.com/repos/huggingface/transformers/issues/6989/events | https://github.com/huggingface/transformers/issues/6989 | 695,024,101 | MDU6SXNzdWU2OTUwMjQxMDE= | 6,989 | TypeError: __init__() got an unexpected keyword argument 'cache_dir' | {
"login": "Abbyyan",
"id": 12140508,
"node_id": "MDQ6VXNlcjEyMTQwNTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12140508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abbyyan",
"html_url": "https://github.com/Abbyyan",
"followers_url": "https://api.github.com/users/Abbyya... | [] | closed | false | null | [] | [
"Solved with https://github.com/huggingface/transformers/issues/319"
] | 1,599 | 1,599 | 1,599 | NONE | null |
I'm fine tuning with the example `run_language_modeling.py`as follows.
```shell
python run_language_modeling.py --output_dir=output_dir --model_type gpt2 --model_name_or_path distilgpt2 --do_train --train_data_file=xxx.data.txt
```
It failed with error
```shell
Traceback (most recent call last):
File "run... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6989/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/6989/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6988/comments | https://api.github.com/repos/huggingface/transformers/issues/6988/events | https://github.com/huggingface/transformers/issues/6988 | 694,968,749 | MDU6SXNzdWU2OTQ5Njg3NDk= | 6,988 | t5 embed_tokens | {
"login": "agnesmm",
"id": 14213975,
"node_id": "MDQ6VXNlcjE0MjEzOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/14213975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agnesmm",
"html_url": "https://github.com/agnesmm",
"followers_url": "https://api.github.com/users/agnesm... | [] | closed | false | null | [] | [] | 1,599 | 1,599 | 1,599 | 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:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6988/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/6988/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6987/comments | https://api.github.com/repos/huggingface/transformers/issues/6987/events | https://github.com/huggingface/transformers/issues/6987 | 694,934,313 | MDU6SXNzdWU2OTQ5MzQzMTM= | 6,987 | DefaultCPUAllocator: can't allocate memory: you tried to allocate 100663296 bytes | {
"login": "Abbyyan",
"id": 12140508,
"node_id": "MDQ6VXNlcjEyMTQwNTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12140508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abbyyan",
"html_url": "https://github.com/Abbyyan",
"followers_url": "https://api.github.com/users/Abbyya... | [] | closed | false | null | [] | [
"This happens because you don't have sufficient memory in your machine, indeed. You can try reducing the batch size.",
"> This happens because you don't have sufficient memory in your machine, indeed. You can try reducing the batch size.\r\n\r\nIn my opinion, the problem occurs may due to my dataset is too large(... | 1,599 | 1,707 | 1,599 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6987/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/6987/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6986/comments | https://api.github.com/repos/huggingface/transformers/issues/6986/events | https://github.com/huggingface/transformers/pull/6986 | 694,908,711 | MDExOlB1bGxSZXF1ZXN0NDgxMjIyODI5 | 6,986 | Demoing LXMERT with raw images by incorporating the FRCNN model for roi-pooled extraction and bounding-box predction on the GQA answer set. | {
"login": "eltoto1219",
"id": 14030663,
"node_id": "MDQ6VXNlcjE0MDMwNjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/14030663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltoto1219",
"html_url": "https://github.com/eltoto1219",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,599 | 1,600 | 1,600 | CONTRIBUTOR | null | This is a follow up PR from initially incorporating LXMERT. This PR includes the Faster-RCNN code to convert raw-images into usable roi-pooled features downstream in lxmert or any other suitable vision model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6986/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/6986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6986",
"html_url": "https://github.com/huggingface/transformers/pull/6986",
"diff_url": "https://github.com/huggingface/transformers/pull/6986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6986.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6985/comments | https://api.github.com/repos/huggingface/transformers/issues/6985/events | https://github.com/huggingface/transformers/issues/6985 | 694,896,158 | MDU6SXNzdWU2OTQ4OTYxNTg= | 6,985 | Enhance a MarianMT pretrained model from HuggingFace with more training data | {
"login": "stelmath",
"id": 38814495,
"node_id": "MDQ6VXNlcjM4ODE0NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/38814495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stelmath",
"html_url": "https://github.com/stelmath",
"followers_url": "https://api.github.com/users/ste... | [
{
"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 | [] | [
"Have you tried the finetune.sh script shown [here](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/finetune.sh)? In addition to the short list of CLI flags listed there, you could try adding:\r\n\r\n```\r\n--src_lang \"en\" \\\r\n--tgt_lang \"de\" \\\r\n--num_train_epochs 400 \\\r\n--warmu... | 1,599 | 1,605 | 1,605 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6985/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/6985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6984/comments | https://api.github.com/repos/huggingface/transformers/issues/6984/events | https://github.com/huggingface/transformers/pull/6984 | 694,868,239 | MDExOlB1bGxSZXF1ZXN0NDgxMTg4Nzg5 | 6,984 | Cannot index `None` | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6984?src=pr&el=h1) Report\n> Merging [#6984](https://codecov.io/gh/huggingface/transformers/pull/6984?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/995a958dd18d4326e608efc3bfc4005acfef8e56?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | MEMBER | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #6950
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6984/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/6984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6984",
"html_url": "https://github.com/huggingface/transformers/pull/6984",
"diff_url": "https://github.com/huggingface/transformers/pull/6984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6984.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6983/comments | https://api.github.com/repos/huggingface/transformers/issues/6983/events | https://github.com/huggingface/transformers/issues/6983 | 694,782,473 | MDU6SXNzdWU2OTQ3ODI0NzM= | 6,983 | [generation] multiple eos/pad asserts/ifs in generate search functions | {
"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 | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I think eos is always defined, but I think this (or just checking `pad_token_id` was one of Patrick's first PRs. He would know more.",
"Thank you for that feedback, @sshleifer.\r\n\r\nIf it makes things simpler, I could re-work both functions wrt these 2 tokens' definition checks and you can review a PR instead.... | 1,599 | 1,602 | 1,602 | CONTRIBUTOR | null | In `_generate_no_beam_search` `eos_token_id` is required: https://github.com/huggingface/transformers/blob/master/src/transformers/generation_utils.py#L731 (that code always get hit)
```
assert (
eos_token_id is not None and pad_token_id is not None
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6983/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/6983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6982/comments | https://api.github.com/repos/huggingface/transformers/issues/6982/events | https://github.com/huggingface/transformers/pull/6982 | 694,748,013 | MDExOlB1bGxSZXF1ZXN0NDgxMDg0MDM1 | 6,982 | [generation] consistently add eos tokens | {
"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 | [] | [
"IMO, `eos` should not always be there. The reason is that if the user defines `max_length=30` and the EOS token was not generated by the model, then no EOS token should be added. I think EOS token should only be added if it is produced by the model. *E.g.* a generated sentence like \"I will go to the office and\" ... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | Currently beam search returns inconsistent outputs - if hypos have different lengths we get eos, if they are the same - we don't. I found a sentence where if I change one letter in one of the input words the beam search outputs all suddenly lack eos, which is an inconsistent behavior.
This PR makes the output more c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6982/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/6982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6982",
"html_url": "https://github.com/huggingface/transformers/pull/6982",
"diff_url": "https://github.com/huggingface/transformers/pull/6982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6982.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6981/comments | https://api.github.com/repos/huggingface/transformers/issues/6981/events | https://github.com/huggingface/transformers/issues/6981 | 694,702,347 | MDU6SXNzdWU2OTQ3MDIzNDc= | 6,981 | LongformerForQuestionAnswering sample code error | {
"login": "prince14322",
"id": 19497571,
"node_id": "MDQ6VXNlcjE5NDk3NTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/19497571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prince14322",
"html_url": "https://github.com/prince14322",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"`tokenizer` is not a callable in v.2.11.0, which is why you are getting this error. Also the example that you posted is from stable docs not from 2.11.0, upgrading to latest stable version should resolve the issue.",
"@patil-suraj\r\nSorry for asking this naive ques but how to upgrade to latest stable version?\r... | 1,599 | 1,599 | 1,599 | NONE | null | ## Environment info
- `transformers` version: 2.11.0
- Platform: Linux-4.19.112+-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- PyTorch version (GPU?): 1.5.1 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
Longform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6981/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/6981/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6980/comments | https://api.github.com/repos/huggingface/transformers/issues/6980/events | https://github.com/huggingface/transformers/pull/6980 | 694,646,428 | MDExOlB1bGxSZXF1ZXN0NDgwOTk2MTIx | 6,980 | [gen utils] missing else case | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6980?src=pr&el=h1) Report\n> Merging [#6980](https://codecov.io/gh/huggingface/transformers/pull/6980?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ce37be9d94da57897cce9c49b3421e6a8a927d4a?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | 1. `else` is missing - I hit that case while porting a model. Probably needs to assert there?
2. also the comment on top seems to be outdated (just vocab_size is being set there)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6980/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/6980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6980",
"html_url": "https://github.com/huggingface/transformers/pull/6980",
"diff_url": "https://github.com/huggingface/transformers/pull/6980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6980.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6979/comments | https://api.github.com/repos/huggingface/transformers/issues/6979/events | https://github.com/huggingface/transformers/issues/6979 | 694,645,289 | MDU6SXNzdWU2OTQ2NDUyODk= | 6,979 | RunTime Error: CUDA out of memory when running trainer.train() | {
"login": "seyonechithrananda",
"id": 46096704,
"node_id": "MDQ6VXNlcjQ2MDk2NzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/46096704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seyonechithrananda",
"html_url": "https://github.com/seyonechithrananda",
"followers_url": "ht... | [] | closed | false | null | [] | [
"Hi @seyonechithrananda , I'm facing the same problem, how did you solve this issue?",
"Ping here about that, I'm having the same problem",
"I am suffering from the same problem, would like to know the solution if there is any",
"Same problem here. When I run this code on my machine:\r\nhttps://github.com/hug... | 1,599 | 1,624 | 1,599 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: P100 GPU instance (Google Colab)
- Using distributed or para... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6979/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/6979/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6978/comments | https://api.github.com/repos/huggingface/transformers/issues/6978/events | https://github.com/huggingface/transformers/issues/6978 | 694,644,712 | MDU6SXNzdWU2OTQ2NDQ3MTI= | 6,978 | [gen utils] missing else case | {
"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 | [] | [
"sent PR https://github.com/huggingface/transformers/pull/6980"
] | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | This code: https://github.com/huggingface/transformers/blob/master/src/transformers/generation_utils.py#L361-L369
```
# current position and vocab size
if hasattr(self.config, "vocab_size"):
vocab_size = self.config.vocab_size
elif (
self.config.is_encoder_decoder
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6978/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/6978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6977/comments | https://api.github.com/repos/huggingface/transformers/issues/6977/events | https://github.com/huggingface/transformers/pull/6977 | 694,569,859 | MDExOlB1bGxSZXF1ZXN0NDgwOTI5OTg0 | 6,977 | [s2s] warn if --fp16 for torch 1.6 | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6977?src=pr&el=h1) Report\n> Merging [#6977](https://codecov.io/gh/huggingface/transformers/pull/6977?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f72fe1f31aca235c7f675680832cc364efe4088e?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6977/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/6977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6977",
"html_url": "https://github.com/huggingface/transformers/pull/6977",
"diff_url": "https://github.com/huggingface/transformers/pull/6977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6977.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6976/comments | https://api.github.com/repos/huggingface/transformers/issues/6976/events | https://github.com/huggingface/transformers/issues/6976 | 694,523,687 | MDU6SXNzdWU2OTQ1MjM2ODc= | 6,976 | LXMERT imports | {
"login": "ecekt",
"id": 16474496,
"node_id": "MDQ6VXNlcjE2NDc0NDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/16474496?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ecekt",
"html_url": "https://github.com/ecekt",
"followers_url": "https://api.github.com/users/ecekt/follow... | [] | closed | false | null | [] | [
"Hey @ecekt, \r\n\r\nThanks for your issue!\r\nYes, you are correct ```\"unc-nlp/lxmert-base-uncased\"``` should only be imported with the `AutoModel` or `LxmertModel` class.\r\n\r\n@julien-c - the config looks correct I'm not sure why it states `AutoModelWithLMHeadModel` in the examlpe here: https://huggingface.co... | 1,599 | 1,602 | 1,602 | NONE | null | # ❓ Questions & Help
Hello, I was very happy to see that LXMERT is being integrated into this library and I wanted to try it out. I got a KeyError in configuration_auto.py, as in CONFIG_MAPPING there was no 'lxmert'. Then, I re-installed transformers from source. The KeyError went away, but this time I encountered iss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6976/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/6976/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6975/comments | https://api.github.com/repos/huggingface/transformers/issues/6975/events | https://github.com/huggingface/transformers/pull/6975 | 694,492,082 | MDExOlB1bGxSZXF1ZXN0NDgwODYxOTIw | 6,975 | Created README for labse_bert model card | {
"login": "pvl",
"id": 3596,
"node_id": "MDQ6VXNlcjM1OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/3596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pvl",
"html_url": "https://github.com/pvl",
"followers_url": "https://api.github.com/users/pvl/followers",
"following_u... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6975?src=pr&el=h1) Report\n> Merging [#6975](https://codecov.io/gh/huggingface/transformers/pull/6975?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f72fe1f31aca235c7f675680832cc364efe4088e?el=desc) will **increase... | 1,599 | 1,600 | 1,600 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6975/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/6975/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6975",
"html_url": "https://github.com/huggingface/transformers/pull/6975",
"diff_url": "https://github.com/huggingface/transformers/pull/6975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6975.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6974/comments | https://api.github.com/repos/huggingface/transformers/issues/6974/events | https://github.com/huggingface/transformers/pull/6974 | 694,422,282 | MDExOlB1bGxSZXF1ZXN0NDgwODAxNTcx | 6,974 | Create README.md | {
"login": "abedkhooli",
"id": 11407254,
"node_id": "MDQ6VXNlcjExNDA3MjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11407254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abedkhooli",
"html_url": "https://github.com/abedkhooli",
"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 | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6974?src=pr&el=h1) Report\n> Merging [#6974](https://codecov.io/gh/huggingface/transformers/pull/6974?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f72fe1f31aca235c7f675680832cc364efe4088e?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Model Card for https://huggingface.co/akhooli/mbart-large-cc25-ar-en
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6974/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/6974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6974",
"html_url": "https://github.com/huggingface/transformers/pull/6974",
"diff_url": "https://github.com/huggingface/transformers/pull/6974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6974.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6973/comments | https://api.github.com/repos/huggingface/transformers/issues/6973/events | https://github.com/huggingface/transformers/pull/6973 | 694,314,652 | MDExOlB1bGxSZXF1ZXN0NDgwNzA3NDY0 | 6,973 | Fixed the default number of attention heads in Reformer Configuration | {
"login": "tznurmin",
"id": 2726629,
"node_id": "MDQ6VXNlcjI3MjY2Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2726629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tznurmin",
"html_url": "https://github.com/tznurmin",
"followers_url": "https://api.github.com/users/tznur... | [] | closed | false | null | [] | [
"I'm a bit indifferent to this change, but I'm ok with setting it to `12`"
] | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Just a simple fix. The default number of attention heads was 2 instead of 12.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6973/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/6973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6973",
"html_url": "https://github.com/huggingface/transformers/pull/6973",
"diff_url": "https://github.com/huggingface/transformers/pull/6973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6973.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6972/comments | https://api.github.com/repos/huggingface/transformers/issues/6972/events | https://github.com/huggingface/transformers/issues/6972 | 694,291,022 | MDU6SXNzdWU2OTQyOTEwMjI= | 6,972 | The configuration of 3.0.2 and 3.1.0 is not compatible | {
"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... | [] | 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... | [
"issue #6950 is also this problem.",
"I see what you mean! From `3.1.0` onwards every configuration has a `config.chunk_size_feed_forward` parameter. So as far as I can see whenever a config is loaded (whether via `.from_pretrained()` or with `BertConfig(....)`, this parameter is part of the config...). Can you g... | 1,599 | 1,599 | 1,599 | NONE | null | The configuration of **3.0.2** and **3.1.0** is not compatible.
For example, in https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bert.py#L388, `config.chunk_size_feed_forward` should change to `config.get('chunk_size_feed_forward', 0)`, because there is not `chunk_size_feed_forward` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6972/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/6972/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6971/comments | https://api.github.com/repos/huggingface/transformers/issues/6971/events | https://github.com/huggingface/transformers/issues/6971 | 694,228,500 | MDU6SXNzdWU2OTQyMjg1MDA= | 6,971 | distilled bart-large/bart-base | {
"login": "kkissmart",
"id": 13355967,
"node_id": "MDQ6VXNlcjEzMzU1OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/13355967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kkissmart",
"html_url": "https://github.com/kkissmart",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"Hi @kkissmart \r\nYes, distilbart models are available [here](https://huggingface.co/sshleifer/distilbart-cnn-6-6)",
"@patil-suraj I meant a distill Bart ( a pretrain model) not a summarization model. Do I misunderstand the name?",
"No, we don't have that.",
"Ohh, AFAIK there is no pre-trained distilbart lik... | 1,599 | 1,615 | 1,608 | NONE | null | @sshleifer Is there a distilled bart model (not CNN/XSUM) model available?
Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6971/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/6971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6970/comments | https://api.github.com/repos/huggingface/transformers/issues/6970/events | https://github.com/huggingface/transformers/issues/6970 | 694,198,148 | MDU6SXNzdWU2OTQxOTgxNDg= | 6,970 | Error installing transformers 3.1.0 | {
"login": "bluteaur",
"id": 12074813,
"node_id": "MDQ6VXNlcjEyMDc0ODEz",
"avatar_url": "https://avatars.githubusercontent.com/u/12074813?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bluteaur",
"html_url": "https://github.com/bluteaur",
"followers_url": "https://api.github.com/users/blu... | [
{
"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 | [] | [
"Yeah the latest release of tokenizers is 0.8.1 but the current code still references the rc2:\r\nhttps://github.com/huggingface/transformers/blob/master/setup.py#L113",
"I was able to get this working by installing tokenizers 0.8.1. I then\ninstalled transformers 3.1.0 without dependencies using --no-dependencie... | 1,599 | 1,606 | 1,606 | 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.1.0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6970/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/6970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6969/comments | https://api.github.com/repos/huggingface/transformers/issues/6969/events | https://github.com/huggingface/transformers/issues/6969 | 694,191,802 | MDU6SXNzdWU2OTQxOTE4MDI= | 6,969 | Incorrect loss calculation for the last batch in TFTrainer if dataloader_drop_last is False | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"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 | {
"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... | [
"Thanks @chiapas! Indeed if the batch size becomes lower for the last step we divide by a wrong number. I will investigate this to better handle this edge case.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you f... | 1,599 | 1,605 | 1,605 | COLLABORATOR | 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.1.0
- Platform: Linux-4.15.0-115-generic-x86_64-with-debian-buster-sid
- Python version: 3.6.7
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6969/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/6969/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6968/comments | https://api.github.com/repos/huggingface/transformers/issues/6968/events | https://github.com/huggingface/transformers/issues/6968 | 694,181,663 | MDU6SXNzdWU2OTQxODE2NjM= | 6,968 | Potential incorrect loss calculation for TFTokenClassification in TFTrainer | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | 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 @chiapas!\r\n\r\nThanks for having investigating this! Have you checked the way we compute the loss for Token classification? Right here https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_tf_utils.py#L161\r\n\r\nWe are already ignoring all the tokens that have -100 as label. So... | 1,599 | 1,600 | 1,600 | COLLABORATOR | 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.1.0
- Platform: Linux-4.15.0-115-generic-x86_64-with-debian-buster-sid
- Python version: 3.6.7
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6968/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/6968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6967/comments | https://api.github.com/repos/huggingface/transformers/issues/6967/events | https://github.com/huggingface/transformers/pull/6967 | 694,164,386 | MDExOlB1bGxSZXF1ZXN0NDgwNTgxMjc4 | 6,967 | hack to extract cross attention for bart decoder | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,599 | 1,601 | 1,601 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6967/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/6967/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6967",
"html_url": "https://github.com/huggingface/transformers/pull/6967",
"diff_url": "https://github.com/huggingface/transformers/pull/6967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6967.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6966/comments | https://api.github.com/repos/huggingface/transformers/issues/6966/events | https://github.com/huggingface/transformers/issues/6966 | 694,163,713 | MDU6SXNzdWU2OTQxNjM3MTM= | 6,966 | SPM Tokenizer confusion with fairseq Roberta | {
"login": "hichiaty",
"id": 21251528,
"node_id": "MDQ6VXNlcjIxMjUxNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/21251528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hichiaty",
"html_url": "https://github.com/hichiaty",
"followers_url": "https://api.github.com/users/hic... | [] | closed | false | null | [] | [
"Hi @hichiaty ,\r\n\r\nin that case I would try the CamemBERT Tokenizer or the one from XLM-RoBERTa (last one contains some hacky workaround to align fairseq vocab with SPM...) :)",
"hey @stefan-it thanks for the advice! I am still slightly confused though, I loaded my spm model with CamemBERT but for some reaso... | 1,599 | 1,599 | 1,599 | NONE | null | Hi,
I have pre-trained a custom Roberta Model from scratch with a unigram sentencepiece model (also trained from scratch). I have converted the model from fairseq to huggingface with this [script](https://github.com/huggingface/transformers/blob/master/src/transformers/convert_roberta_original_pytorch_checkpoint_to_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6966/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/6966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6965/comments | https://api.github.com/repos/huggingface/transformers/issues/6965/events | https://github.com/huggingface/transformers/issues/6965 | 694,160,579 | MDU6SXNzdWU2OTQxNjA1Nzk= | 6,965 | transformers-cli upload individual files simplification | {
"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 | [] | [
"Well, I wrote a little script to generate the long commands that are required now - perhaps it'd be useful to someone:\r\n```\r\nperl -le 'for $f (@ARGV) { print qq[yes Y | transformers-cli upload $_/$f --filename $_/$f] for map { \"fsmt-wmt19-$_\" } (\"en-ru\", \"ru-en\", \"de-en\", \"en-de\")}' vocab-src.json vo... | 1,599 | 1,603 | 1,603 | CONTRIBUTOR | null | Currently it's not possible to upload an individual file in a simple:
```
transformers-cli upload fsmt-wmt19-ru-en/vocab-src.json
```
Getting error:
```
Filename invalid, every file must be nested inside a "model_name" folder.
```
but, instead, have to do:
```
transformers-cli upload fsmt-wmt19-ru-en/vocab-s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6965/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/6965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6964/comments | https://api.github.com/repos/huggingface/transformers/issues/6964/events | https://github.com/huggingface/transformers/pull/6964 | 694,144,913 | MDExOlB1bGxSZXF1ZXN0NDgwNTY1MzE2 | 6,964 | Create README.md model card | {
"login": "rbownes",
"id": 58034524,
"node_id": "MDQ6VXNlcjU4MDM0NTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/58034524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbownes",
"html_url": "https://github.com/rbownes",
"followers_url": "https://api.github.com/users/rbowne... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6964?src=pr&el=h1) Report\n> Merging [#6964](https://codecov.io/gh/huggingface/transformers/pull/6964?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d31031f603043281d4fbac6cbdcfb6497fd500ab?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
model card for https://huggingface.co/rjbownes/Magic-The-Generating?text=Once+upon+a+time%2C | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6964/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/6964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6964",
"html_url": "https://github.com/huggingface/transformers/pull/6964",
"diff_url": "https://github.com/huggingface/transformers/pull/6964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6964.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6963/comments | https://api.github.com/repos/huggingface/transformers/issues/6963/events | https://github.com/huggingface/transformers/issues/6963 | 694,131,377 | MDU6SXNzdWU2OTQxMzEzNzc= | 6,963 | Longformer config - vocabulary size | {
"login": "blawok",
"id": 41793223,
"node_id": "MDQ6VXNlcjQxNzkzMjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/41793223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blawok",
"html_url": "https://github.com/blawok",
"followers_url": "https://api.github.com/users/blawok/fo... | [] | closed | false | null | [] | [
"Hey @blawok, \r\n\r\nwhich model are you referring to exactly? This longformer model: https://s3.amazonaws.com/models.huggingface.co/bert/allenai/longformer-base-4096/config.json has vocab_size set to 50265 ",
"Thanks for the answer @patrickvonplaten :) \r\n\r\nUsing the code from the docs (https://huggingface.c... | 1,599 | 1,599 | 1,599 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
### Who can help
Longformer/Reformer: @patrickvonplaten
## Information
Why does the LongformerConfig's vocab_size defaults to 30522 while the Longformer has embeddings first dimension 50265? It reuses the same config as RoBERTa which also has embeddings s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6963/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/6963/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6962/comments | https://api.github.com/repos/huggingface/transformers/issues/6962/events | https://github.com/huggingface/transformers/issues/6962 | 694,111,029 | MDU6SXNzdWU2OTQxMTEwMjk= | 6,962 | Tokenizers became slow compared to 2.8.0 | {
"login": "LSinev",
"id": 12072891,
"node_id": "MDQ6VXNlcjEyMDcyODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LSinev",
"html_url": "https://github.com/LSinev",
"followers_url": "https://api.github.com/users/LSinev/fo... | [
{
"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 | [] | [
"Working with special tokens attributes also became slower:\r\n```python\r\nimport timeit\r\nimport numpy as np\r\nfrom transformers import __version__ as trans_version\r\nfrom transformers import (\r\n CTRLTokenizer,\r\n GPT2Tokenizer,\r\n RobertaTokenizer,\r\n XLMTokenizer,\r\n XLNetTokenizer\r\n)\... | 1,599 | 1,606 | 1,606 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Ubuntu 20.04
- Python version: 3.7.9
- PyTorch version (GPU?): No
- Tensorflow version (GPU?): No
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
tokenizers: @mfuntowicz
## To reproduce
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6962/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/6962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6961/comments | https://api.github.com/repos/huggingface/transformers/issues/6961/events | https://github.com/huggingface/transformers/pull/6961 | 694,015,505 | MDExOlB1bGxSZXF1ZXN0NDgwNDY2MjYz | 6,961 | adding TRANSFORMERS_VERBOSITY env var | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6961?src=pr&el=h1) Report\n> Merging [#6961](https://codecov.io/gh/huggingface/transformers/pull/6961?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/56742e9f610231d7b28fe2387770dc56014b79de?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | Per discussion at https://github.com/huggingface/transformers/pull/6816#issuecomment-686347433, this PR:
- adds `TRANSFORMERS_VERBOSITY` env var
- docs
- tests
- new test utils
I'm open to a different name if that one doesn't work.
Thank you.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6961/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/6961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6961",
"html_url": "https://github.com/huggingface/transformers/pull/6961",
"diff_url": "https://github.com/huggingface/transformers/pull/6961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6961.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6960/comments | https://api.github.com/repos/huggingface/transformers/issues/6960/events | https://github.com/huggingface/transformers/pull/6960 | 693,888,850 | MDExOlB1bGxSZXF1ZXN0NDgwMzQ5Nzcz | 6,960 | create model card for astroGPT | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6960?src=pr&el=h1) Report\n> Merging [#6960](https://codecov.io/gh/huggingface/transformers/pull/6960?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4ebb52afdb4dc4bcd599e7cb503763e5d4afc962?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6960/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/6960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6960",
"html_url": "https://github.com/huggingface/transformers/pull/6960",
"diff_url": "https://github.com/huggingface/transformers/pull/6960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6960.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6959/comments | https://api.github.com/repos/huggingface/transformers/issues/6959/events | https://github.com/huggingface/transformers/pull/6959 | 693,851,189 | MDExOlB1bGxSZXF1ZXN0NDgwMzE0MTcx | 6,959 | typo | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6959?src=pr&el=h1) Report\n> Merging [#6959](https://codecov.io/gh/huggingface/transformers/pull/6959?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/56742e9f610231d7b28fe2387770dc56014b79de?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | there is no var `decoder_input_ids`, but there is `input_ids` for decoder :)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6959/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/6959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6959",
"html_url": "https://github.com/huggingface/transformers/pull/6959",
"diff_url": "https://github.com/huggingface/transformers/pull/6959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6959.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6958/comments | https://api.github.com/repos/huggingface/transformers/issues/6958/events | https://github.com/huggingface/transformers/pull/6958 | 693,836,906 | MDExOlB1bGxSZXF1ZXN0NDgwMzAwODEz | 6,958 | [testing] add dependency: parametrize | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6958?src=pr&el=h1) Report\n> Merging [#6958](https://codecov.io/gh/huggingface/transformers/pull/6958?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/56742e9f610231d7b28fe2387770dc56014b79de?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | unittest doesn't support pytest's super-handy `@pytest.mark.parametrize`, I researched and there are many proposed workarounds, most are tedious at best. If we include https://pypi.org/project/parameterized/ in dev's testing dependencies - it will provide a very easy to write parameterization in tests. It provides the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6958/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/6958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6958",
"html_url": "https://github.com/huggingface/transformers/pull/6958",
"diff_url": "https://github.com/huggingface/transformers/pull/6958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6958.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6957/comments | https://api.github.com/repos/huggingface/transformers/issues/6957/events | https://github.com/huggingface/transformers/issues/6957 | 693,665,724 | MDU6SXNzdWU2OTM2NjU3MjQ= | 6,957 | PRETRAINED_INIT_CONFIGURATION for local model path | {
"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 | [] | [
"I found a sort of band-aid, I added this code in the model's tokenization code, right after init of `PRETRAINED_INIT_CONFIGURATION, PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES`:\r\n\r\n```\r\nLOCALIZE=1\r\nif LOCALIZE:\r\n old, new = (\"stas/\", \"/mnt/nvme1/code/huggingface/transformers-fair-wmt/data/\")\r\n\r\n ... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | Tokenizers have a special dict `PRETRAINED_INIT_CONFIGURATION`, which tells the tokenization_utils_base, which extra args to pass to the tokenizer's `__init__`, except it doesn't work for the local model, as the hash is for online s3 models.
I have:
```
PRETRAINED_INIT_CONFIGURATION = {
"stas/fsmt-wmt19-ru-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6957/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/6957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6956/comments | https://api.github.com/repos/huggingface/transformers/issues/6956/events | https://github.com/huggingface/transformers/pull/6956 | 693,592,422 | MDExOlB1bGxSZXF1ZXN0NDgwMDY4MTQ2 | 6,956 | [doc] remove the implied defaults to :obj:`None`, s/True/ :obj:`True/, etc. | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6956?src=pr&el=h1) Report\n> Merging [#6956](https://codecov.io/gh/huggingface/transformers/pull/6956?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eff274d629c95fca459969b530b4ad0da5563918?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | as discussed at https://github.com/huggingface/transformers/pull/6932#issuecomment-687362952
**edit**: I also threw in :obj:`True/False - anything else?
```
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's|, defaults to :obj:.None.||' {} \;
find . -type d -name ".git" -prune -o -type f -exec per... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6956/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/6956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6956",
"html_url": "https://github.com/huggingface/transformers/pull/6956",
"diff_url": "https://github.com/huggingface/transformers/pull/6956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6956.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6955/comments | https://api.github.com/repos/huggingface/transformers/issues/6955/events | https://github.com/huggingface/transformers/pull/6955 | 693,525,269 | MDExOlB1bGxSZXF1ZXN0NDgwMDA1NzE2 | 6,955 | [WIP] Language modeling example for TF Trainer | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6955?src=pr&el=h1) Report\n> Merging [#6955](https://codecov.io/gh/huggingface/transformers/pull/6955?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c5d43a872f0e85ce069e921c5bda02374e5b9cbf?el=desc) will **decrease... | 1,599 | 1,644 | 1,605 | COLLABORATOR | null | To support language modeling for TF Trainer.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6955/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/6955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6955",
"html_url": "https://github.com/huggingface/transformers/pull/6955",
"diff_url": "https://github.com/huggingface/transformers/pull/6955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6955.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6954/comments | https://api.github.com/repos/huggingface/transformers/issues/6954/events | https://github.com/huggingface/transformers/issues/6954 | 693,521,702 | MDU6SXNzdWU2OTM1MjE3MDI= | 6,954 | How to insert a hidden output from GPT2 model directly into a BERT layer? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"how do you fix it ?"
] | 1,599 | 1,646 | 1,599 | NONE | null | Hello,
I am trying to do the following:
1. Feed in the input_ids into the embedding layer of the pre-trained GPT2 model, and get the resulting embedding.
2. directly feed the embedding from 1. to each layer of the pre-trained GPT2, by using `GPT2_model.transformers.h`.
Store the resulting hidden output from each ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6954/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/6954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6953/comments | https://api.github.com/repos/huggingface/transformers/issues/6953/events | https://github.com/huggingface/transformers/pull/6953 | 693,493,465 | MDExOlB1bGxSZXF1ZXN0NDc5OTc2Njkw | 6,953 | [s2s] run_eval supports --prefix clarg. | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | - Useful for multilingual models.
- `model.config.prefix` will still be used if prefix not passed. This prefix is added to the beginning of each example from the source document before calling `generate`.
- `decoder_start_token_id` is a different thing and unaffected.
Usage:
```bash
export dd=wmt_en_de
p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6953/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/6953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6953",
"html_url": "https://github.com/huggingface/transformers/pull/6953",
"diff_url": "https://github.com/huggingface/transformers/pull/6953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6953.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6952/comments | https://api.github.com/repos/huggingface/transformers/issues/6952/events | https://github.com/huggingface/transformers/pull/6952 | 693,490,560 | MDExOlB1bGxSZXF1ZXN0NDc5OTc0MDY0 | 6,952 | typo | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6952?src=pr&el=h1) Report\n> Merging [#6952](https://codecov.io/gh/huggingface/transformers/pull/6952?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a4fc0c80b11e14aaf6a9ec7c6fa5e6dab54261e4?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6952/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/6952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6952",
"html_url": "https://github.com/huggingface/transformers/pull/6952",
"diff_url": "https://github.com/huggingface/transformers/pull/6952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6952.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6951/comments | https://api.github.com/repos/huggingface/transformers/issues/6951/events | https://github.com/huggingface/transformers/issues/6951 | 693,462,886 | MDU6SXNzdWU2OTM0NjI4ODY= | 6,951 | How to enable grad_fn when calling the generate() method of a T5 model | {
"login": "wmmxk",
"id": 10648437,
"node_id": "MDQ6VXNlcjEwNjQ4NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10648437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wmmxk",
"html_url": "https://github.com/wmmxk",
"followers_url": "https://api.github.com/users/wmmxk/follow... | [] | closed | false | null | [] | [
"In fact, in the implementation file of T5, [modeling_t5.py](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_t5.py), I did not see ```with torch.no_grad:```. So I was wondering how ```grad_fn``` is disabled in the ```generate()``` method.",
"Although I think it has a low chance t... | 1,599 | 1,701 | 1,599 | NONE | null | I was trying to attribute a prediction by a T5 model to the words of an input by gradient method. For a ```T5_model```, I call ```T5_model(**inputs)``` when training, and call ```T5_model.generate(**inputs)``` when doing inference. In training, the grad_fn is enabled for the loss but not in inference.
So how do I en... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6951/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/6951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6950/comments | https://api.github.com/repos/huggingface/transformers/issues/6950/events | https://github.com/huggingface/transformers/issues/6950 | 693,459,849 | MDU6SXNzdWU2OTM0NTk4NDk= | 6,950 | head_mask in modeling_bert.py | {
"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... | [] | closed | false | null | [] | [] | 1,599 | 1,599 | 1,599 | NONE | null | Should change https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bert.py#L487 `head_mask[i]` to `head_mask[i] if head_mask is not None else None`.
full code:
```
class BertEncoder(nn.Module):
def __init__(self, config):
super().__init__()
self.config = config... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6950/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/6950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6949/comments | https://api.github.com/repos/huggingface/transformers/issues/6949/events | https://github.com/huggingface/transformers/pull/6949 | 693,412,136 | MDExOlB1bGxSZXF1ZXN0NDc5OTAyNjA2 | 6,949 | Refactoring the generate() function | {
"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 this is a massive improvement and really hope it gets merged. Everything is much better encapsulated and it's super easy to find what you want.\r\n\r\nI have some naming ideas, but the code seems to not be finished so I will wait.",
"I am very unfamiliar with the generate code because the code has scared... | 1,599 | 1,652 | 1,604 | MEMBER | null | ## Generation refactor
This is a possible design that IMO would make generate much more readable and flexible for future code changes.
The code shown in this PR is more or less pseudo code, but I'm sure that this design is fully backwards compatible (for the `generate()` function, I don't plan on keep `beam_search... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6949/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6949",
"html_url": "https://github.com/huggingface/transformers/pull/6949",
"diff_url": "https://github.com/huggingface/transformers/pull/6949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6949.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6948/comments | https://api.github.com/repos/huggingface/transformers/issues/6948/events | https://github.com/huggingface/transformers/pull/6948 | 693,403,651 | MDExOlB1bGxSZXF1ZXN0NDc5ODk0OTIw | 6,948 | [s2s] run_eval.py parses generate_kwargs | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6948?src=pr&el=h1) Report\n> Merging [#6948](https://codecov.io/gh/huggingface/transformers/pull/6948?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6078b12098337bcb98c0540b07a623223ffdd1c8?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | You can now run
```bash
td=test_data/wmt_en_ro
python run_eval.py t5-base $td/val.source preds.txt --reference_path $td/val.target \
--score_path metrics.json --length_penalty 0.2 \
--task translation_en_to_ro --num_beams 2 --n_obs 2 --bs 1 --length_penalty 0.6
```
h/t @stas00 in #6369 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6948/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/6948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6948",
"html_url": "https://github.com/huggingface/transformers/pull/6948",
"diff_url": "https://github.com/huggingface/transformers/pull/6948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6948.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6947/comments | https://api.github.com/repos/huggingface/transformers/issues/6947/events | https://github.com/huggingface/transformers/issues/6947 | 693,237,992 | MDU6SXNzdWU2OTMyMzc5OTI= | 6,947 | Training script for other language (except English) | {
"login": "Tortoise17",
"id": 36593708,
"node_id": "MDQ6VXNlcjM2NTkzNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36593708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tortoise17",
"html_url": "https://github.com/Tortoise17",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You could try either https://huggingface.co/blog/how-to-train or https://discuss.huggingface.co\r\n\r\n^^ Forum is better for open-ended questions like those ones."
] | 1,599 | 1,599 | 1,599 | NONE | null | Dear Friends. I have found this very nice and great.
I would like to ask, is there any script which can be used to train other language model?
and how much minimum GPU power is required for such training?
If you can guide . ! I am thinking to test for German language.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6947/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/6947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6946/comments | https://api.github.com/repos/huggingface/transformers/issues/6946/events | https://github.com/huggingface/transformers/pull/6946 | 693,200,748 | MDExOlB1bGxSZXF1ZXN0NDc5NzEzMTcx | 6,946 | [LXMERT] Fix tests on gpu | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6946?src=pr&el=h1) Report\n> Merging [#6946](https://codecov.io/gh/huggingface/transformers/pull/6946?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a75e31981915cbd072be7c4050a4b58c63ca6d33?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | MEMBER | null | Some tensors and models were created in tests without specifying the device.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6946/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/6946/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6946",
"html_url": "https://github.com/huggingface/transformers/pull/6946",
"diff_url": "https://github.com/huggingface/transformers/pull/6946.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6946.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6945/comments | https://api.github.com/repos/huggingface/transformers/issues/6945/events | https://github.com/huggingface/transformers/issues/6945 | 693,198,951 | MDU6SXNzdWU2OTMxOTg5NTE= | 6,945 | Restoring ELECTRA-Small checkpoint doesn't work properly | {
"login": "DevKretov",
"id": 38000417,
"node_id": "MDQ6VXNlcjM4MDAwNDE3",
"avatar_url": "https://avatars.githubusercontent.com/u/38000417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DevKretov",
"html_url": "https://github.com/DevKretov",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> Who can help\r\n> Seems like nobody\r\n\r\nHaha hopefully we can help you with that :-) \r\n\r\nPinging our ELECTRA master @LysandreJik ",
"Hello! Indeed I think I can help you :) \r\n\r\nI don't think I'm seeing what happened with the first case? Your first option was correct, you should use the conversion sc... | 1,599 | 1,599 | 1,599 | 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.1.0
- Platform: Colab
- Python version: 3.6.9
- PyTorch version (GPU?): default Colab
- Tensorflow v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6945/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/6945/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6944/comments | https://api.github.com/repos/huggingface/transformers/issues/6944/events | https://github.com/huggingface/transformers/issues/6944 | 692,945,608 | MDU6SXNzdWU2OTI5NDU2MDg= | 6,944 | Finetuning XLM-Roberta-2XLM-Roberta on custom dataset gives the following error: | {
"login": "laibamehnaz",
"id": 36405283,
"node_id": "MDQ6VXNlcjM2NDA1Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laibamehnaz",
"html_url": "https://github.com/laibamehnaz",
"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 | [] | [
"This looks like an issue with tokenizer in evaluation.\r\nif you don't need generative metrics while Training then set `predict_from_generate` to `False` and don't pass `compute_metrics` function to `Trainer`\r\n\r\npinging @patrickvonplaten ",
"Hi @patil-suraj , \r\nDid exactly that. This issue didn't show up.... | 1,599 | 1,606 | 1,606 | NONE | null | `Evaluation: 100% 30/30 [00:45<00:00, 1.53s/it]
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0): `
I a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6944/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/6944/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6943/comments | https://api.github.com/repos/huggingface/transformers/issues/6943/events | https://github.com/huggingface/transformers/issues/6943 | 692,939,341 | MDU6SXNzdWU2OTI5MzkzNDE= | 6,943 | Transformer-XL: Remove unused/unnecessary Parameters | {
"login": "RafaelWO",
"id": 38643099,
"node_id": "MDQ6VXNlcjM4NjQzMDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RafaelWO",
"html_url": "https://github.com/RafaelWO",
"followers_url": "https://api.github.com/users/Raf... | [] | closed | false | null | [] | [
"ping @TevenLeScao "
] | 1,599 | 1,600 | 1,600 | CONTRIBUTOR | 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. -->
The used configuration parameters `tgt_len` and `ext_len` in the Transformer-XL implementation are not utilized in the source code. I would recommend removing ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6943/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/6943/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6942/comments | https://api.github.com/repos/huggingface/transformers/issues/6942/events | https://github.com/huggingface/transformers/pull/6942 | 692,869,796 | MDExOlB1bGxSZXF1ZXN0NDc5NDIwNzI0 | 6,942 | Create Readme.MD for KanBERTo | {
"login": "Naveenkhasyap",
"id": 2017156,
"node_id": "MDQ6VXNlcjIwMTcxNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2017156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Naveenkhasyap",
"html_url": "https://github.com/Naveenkhasyap",
"followers_url": "https://api.github.... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6942?src=pr&el=h1) Report\n> Merging [#6942](https://codecov.io/gh/huggingface/transformers/pull/6942?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e95d262f2553859af9bffbfe5f5bc7e362259939?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | KanBERTo language model readme for Kannada language. which I trained by following your blog.
<!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6942/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/6942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6942",
"html_url": "https://github.com/huggingface/transformers/pull/6942",
"diff_url": "https://github.com/huggingface/transformers/pull/6942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6942.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6941/comments | https://api.github.com/repos/huggingface/transformers/issues/6941/events | https://github.com/huggingface/transformers/pull/6941 | 692,792,640 | MDExOlB1bGxSZXF1ZXN0NDc5MzU0MjU2 | 6,941 | match CI's version of flake8 | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6941?src=pr&el=h1) Report\n> Merging [#6941](https://codecov.io/gh/huggingface/transformers/pull/6941?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e95d262f2553859af9bffbfe5f5bc7e362259939?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | my flake8 wasn't up-to-date enough, so my system's `make quality` wasn't reporting the same things CI did - this PR adds the actual required version.
Thinking more about some of these minimal versions - CI will always install afresh and thus will always run the latest version. Is there a way to tell pip to always in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6941/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/6941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6941",
"html_url": "https://github.com/huggingface/transformers/pull/6941",
"diff_url": "https://github.com/huggingface/transformers/pull/6941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6941.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6940/comments | https://api.github.com/repos/huggingface/transformers/issues/6940/events | https://github.com/huggingface/transformers/pull/6940 | 692,782,512 | MDExOlB1bGxSZXF1ZXN0NDc5MzQ1NzAy | 6,940 | [ported model] FSMT (FairSeq MachineTranslation) | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6940?src=pr&el=h1) Report\n> Merging [#6940](https://codecov.io/gh/huggingface/transformers/pull/6940?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90cde2e938638e64a8696a12b79ee5f52364b162?el=desc) will **increase... | 1,599 | 1,600 | 1,600 | CONTRIBUTOR | null | This PR implements the spec specified at https://github.com/huggingface/transformers/issues/5419
The new model is FSMT (aka FairSeqMachineTranslation): `FSMTForConditionalGeneration` which comes with 4 models:
* "facebook/wmt19-ru-en"
* "facebook/wmt19-en-ru"
* "facebook/wmt19-de-en"
* "facebook/wm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6940/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6940",
"html_url": "https://github.com/huggingface/transformers/pull/6940",
"diff_url": "https://github.com/huggingface/transformers/pull/6940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6940.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6939/comments | https://api.github.com/repos/huggingface/transformers/issues/6939/events | https://github.com/huggingface/transformers/issues/6939 | 692,721,273 | MDU6SXNzdWU2OTI3MjEyNzM= | 6,939 | PyTorch (with GPU) Trainer leaks CPU memory on Google Colab | {
"login": "rajaswa",
"id": 34607601,
"node_id": "MDQ6VXNlcjM0NjA3NjAx",
"avatar_url": "https://avatars.githubusercontent.com/u/34607601?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajaswa",
"html_url": "https://github.com/rajaswa",
"followers_url": "https://api.github.com/users/rajasw... | [] | closed | false | null | [] | [] | 1,599 | 1,599 | 1,599 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (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/6939/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/6939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6938/comments | https://api.github.com/repos/huggingface/transformers/issues/6938/events | https://github.com/huggingface/transformers/issues/6938 | 692,656,786 | MDU6SXNzdWU2OTI2NTY3ODY= | 6,938 | The downloading url of GermEval 2014 dataset is out dated. | {
"login": "YuanEric88",
"id": 32417149,
"node_id": "MDQ6VXNlcjMyNDE3MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/32417149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YuanEric88",
"html_url": "https://github.com/YuanEric88",
"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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,599 | 1,605 | 1,605 | 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:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6938/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/6938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6937/comments | https://api.github.com/repos/huggingface/transformers/issues/6937/events | https://github.com/huggingface/transformers/issues/6937 | 692,650,879 | MDU6SXNzdWU2OTI2NTA4Nzk= | 6,937 | Finetune other models for sentence-classification | {
"login": "cmdllx",
"id": 50104519,
"node_id": "MDQ6VXNlcjUwMTA0NTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/50104519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cmdllx",
"html_url": "https://github.com/cmdllx",
"followers_url": "https://api.github.com/users/cmdllx/fo... | [] | closed | false | null | [] | [
"Hi, there is a `LongformerForSequenceClassification` so you should be able to use `run_glue.py` with that model.\r\n\r\nI've removed the misleading dosctring in https://github.com/huggingface/transformers/commit/1650130b0fd71eb80380c47c8ffed89d49ff3481.",
"thank you.I can finetune all models for downstream tasks... | 1,599 | 1,599 | 1,599 | NONE | null | # ❓ Questions & Help
I want to use run_glue.py to finetune pre-trained models for classification,but I find that the script can only be used for BERT, XLM, XLNet and RoBERTa.I want to finetune other models like longformer ,what should I do?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6937/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/6937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6936/comments | https://api.github.com/repos/huggingface/transformers/issues/6936/events | https://github.com/huggingface/transformers/issues/6936 | 692,647,183 | MDU6SXNzdWU2OTI2NDcxODM= | 6,936 | Load BERT+GPT2 in EncoderDecoder | {
"login": "AmbiTyga",
"id": 39136064,
"node_id": "MDQ6VXNlcjM5MTM2MDY0",
"avatar_url": "https://avatars.githubusercontent.com/u/39136064?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmbiTyga",
"html_url": "https://github.com/AmbiTyga",
"followers_url": "https://api.github.com/users/Amb... | [
{
"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 @AmbiTyga ,\r\nBert2GPT2 is available in the latest release, however `predict_from_generate` from generate is not yet added in `Trainer`. \r\nYou can set `predict_from_generate` to `False` and `comput_metrics` to `None` if you done't need generative metrics (ROUGE etc) at training time. \r\n\r\nIf you want to ... | 1,599 | 1,605 | 1,605 | CONTRIBUTOR | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6936/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/6936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6935/comments | https://api.github.com/repos/huggingface/transformers/issues/6935/events | https://github.com/huggingface/transformers/pull/6935 | 692,595,668 | MDExOlB1bGxSZXF1ZXN0NDc5MTgwMTIz | 6,935 | Replaced torch.load for loading the pretrained vocab of TransformerXL tokenizer to pickle.load | {
"login": "w4nderlust",
"id": 349256,
"node_id": "MDQ6VXNlcjM0OTI1Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/349256?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/w4nderlust",
"html_url": "https://github.com/w4nderlust",
"followers_url": "https://api.github.com/users/w... | [] | closed | false | null | [] | [
"Hi @w4nderlust that's a good idea!\r\n\r\nThe CI seems not happy with the change though and it seems related to your changes.\r\n\r\nDo you think you could take a look?",
"@thomwolf trying to see the details of the failing tests, but circleci wat me to login with github and grant access to all my repos and orgs,... | 1,599 | 1,602 | 1,602 | CONTRIBUTOR | null | TransformerXL tokenizer requires torch to work because it uses torch.load to load the vocabulary. This means that if I'm using the TF2 implementation, I have to add torch as a dependency just for that. So I replaced the call to a call to pickle.load (which is what torch.load internally uses) to solve the issue.
Tested... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6935/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/6935/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6935",
"html_url": "https://github.com/huggingface/transformers/pull/6935",
"diff_url": "https://github.com/huggingface/transformers/pull/6935.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6935.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6934/comments | https://api.github.com/repos/huggingface/transformers/issues/6934/events | https://github.com/huggingface/transformers/issues/6934 | 692,551,411 | MDU6SXNzdWU2OTI1NTE0MTE= | 6,934 | non-interactive transformers-cli upload? | {
"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 | [] | [
"FWIW, I found a workaround (god bless Stackoverflow):\r\n\r\n```\r\ncd data\r\nyes Y | transformers-cli upload fsmt-wmt19-ru-en\r\nyes Y | transformers-cli upload fsmt-wmt19-en-ru\r\nyes Y | transformers-cli upload fsmt-wmt19-de-en\r\nyes Y | transformers-cli upload fsmt-wmt19-en-de\r\ncd -\r\n```",
"Ah, nice fi... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | # 🚀 Feature request
Currently, `transformers-cli upload` works only interactively due to its prompt:
`Proceed? [Y/n]`
After running the updated model conversion, I would like to be able to do:
```
cd data
transformers-cli upload fsmt-wmt19-ru-en
transformers-cli upload fsmt-wmt19-en-ru
transformers-cli upl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6934/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/6934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6933/comments | https://api.github.com/repos/huggingface/transformers/issues/6933/events | https://github.com/huggingface/transformers/pull/6933 | 692,433,844 | MDExOlB1bGxSZXF1ZXN0NDc5MDMxNzE2 | 6,933 | [docstring] missing arg | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6933?src=pr&el=h1) Report\n> Merging [#6933](https://codecov.io/gh/huggingface/transformers/pull/6933?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e95d262f2553859af9bffbfe5f5bc7e362259939?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | add the missing `tie_word_embeddings` entry
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6933/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/6933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6933",
"html_url": "https://github.com/huggingface/transformers/pull/6933",
"diff_url": "https://github.com/huggingface/transformers/pull/6933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6933.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6932/comments | https://api.github.com/repos/huggingface/transformers/issues/6932/events | https://github.com/huggingface/transformers/pull/6932 | 692,427,029 | MDExOlB1bGxSZXF1ZXN0NDc5MDI1MzU3 | 6,932 | [docstring] misc arg doc corrections | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6932?src=pr&el=h1) Report\n> Merging [#6932](https://codecov.io/gh/huggingface/transformers/pull/6932?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e95d262f2553859af9bffbfe5f5bc7e362259939?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | - fix docstring s/int/bool/
- correct arg description
- fix num_labels to match reality | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6932/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/6932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6932",
"html_url": "https://github.com/huggingface/transformers/pull/6932",
"diff_url": "https://github.com/huggingface/transformers/pull/6932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6932.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6931/comments | https://api.github.com/repos/huggingface/transformers/issues/6931/events | https://github.com/huggingface/transformers/pull/6931 | 692,415,359 | MDExOlB1bGxSZXF1ZXN0NDc5MDE0NzMw | 6,931 | remove arg that is not being used | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6931?src=pr&el=h1) Report\n> Merging [#6931](https://codecov.io/gh/huggingface/transformers/pull/6931?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e95d262f2553859af9bffbfe5f5bc7e362259939?el=desc) will **increase... | 1,599 | 1,603 | 1,600 | CONTRIBUTOR | null | `extra_pos_embeddings` is passed but not being used anywhere, so deleting it.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6931/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/6931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6931",
"html_url": "https://github.com/huggingface/transformers/pull/6931",
"diff_url": "https://github.com/huggingface/transformers/pull/6931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6931.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6930/comments | https://api.github.com/repos/huggingface/transformers/issues/6930/events | https://github.com/huggingface/transformers/pull/6930 | 692,346,105 | MDExOlB1bGxSZXF1ZXN0NDc4OTUwODg3 | 6,930 | Trainer with grad accum | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6930?src=pr&el=h1) Report\n> Merging [#6930](https://codecov.io/gh/huggingface/transformers/pull/6930?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/207ed8cb78ceb4980e40c89f867b06202e660395?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | COLLABORATOR | null | As mentioned on the forum, the behavior of `Trainer` can be confusing when using gradient accumulation as the count of steps becomes the count of update steps, not the count of training examples seen. This PR adds a warning in the doc. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6930/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/6930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6930",
"html_url": "https://github.com/huggingface/transformers/pull/6930",
"diff_url": "https://github.com/huggingface/transformers/pull/6930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6930.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6929/comments | https://api.github.com/repos/huggingface/transformers/issues/6929/events | https://github.com/huggingface/transformers/pull/6929 | 692,340,186 | MDExOlB1bGxSZXF1ZXN0NDc4OTQ1Mzk3 | 6,929 | replace torch.triu with onnx compatible code | {
"login": "HenryDashwood",
"id": 17177967,
"node_id": "MDQ6VXNlcjE3MTc3OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/17177967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryDashwood",
"html_url": "https://github.com/HenryDashwood",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6929?src=pr&el=h1) Report\n> Merging [#6929](https://codecov.io/gh/huggingface/transformers/pull/6929?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/207ed8cb78ceb4980e40c89f867b06202e660395?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #5075
There was a [draft pull request](https://github.com/huggingface/transformers/pull/6334) to this effect a few months ago but the author withdrew it. I'm not sure why. It resolves the _torch.triu_ issue with ONNX. It give... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6929/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/6929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6929",
"html_url": "https://github.com/huggingface/transformers/pull/6929",
"diff_url": "https://github.com/huggingface/transformers/pull/6929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6929.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6928/comments | https://api.github.com/repos/huggingface/transformers/issues/6928/events | https://github.com/huggingface/transformers/issues/6928 | 692,204,494 | MDU6SXNzdWU2OTIyMDQ0OTQ= | 6,928 | onnx-export example notebook is failing for TF | {
"login": "Zhen-hao",
"id": 10957195,
"node_id": "MDQ6VXNlcjEwOTU3MTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/10957195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhen-hao",
"html_url": "https://github.com/Zhen-hao",
"followers_url": "https://api.github.com/users/Zhe... | [] | closed | false | null | [] | [
"The following should work:\r\n\r\n```\r\nfrom pathlib import Path\r\nfrom transformers.convert_graph_to_onnx import convert\r\n\r\n# Tensorflow \r\nconvert(framework=\"tf\", model=\"bert-base-cased\", output=Path(\"onnx/bert-base-cased.onnx\"), opset=11)\r\n```",
"@subho406 thanks! I thought the error was about... | 1,599 | 1,599 | 1,599 | NONE | null | hi, I'm using the latest 3.1.0 release.
When I run
```
from transformers.convert_graph_to_onnx import convert
# Tensorflow
convert(framework="tf", model="bert-base-cased", output="onnx/bert-base-cased.onnx", opset=11)
```
as shown in https://github.com/huggingface/transformers/blob/master/notebooks/04-onnx-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6928/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/6928/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6927/comments | https://api.github.com/repos/huggingface/transformers/issues/6927/events | https://github.com/huggingface/transformers/pull/6927 | 692,136,417 | MDExOlB1bGxSZXF1ZXN0NDc4NzY4NzIw | 6,927 | [s2s] support early stopping based on loss, rather than rouge | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6927?src=pr&el=h1) Report\n> Merging [#6927](https://codecov.io/gh/huggingface/transformers/pull/6927?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/207ed8cb78ceb4980e40c89f867b06202e660395?el=desc) will **decrease... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6927/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/6927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6927",
"html_url": "https://github.com/huggingface/transformers/pull/6927",
"diff_url": "https://github.com/huggingface/transformers/pull/6927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6927.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6926/comments | https://api.github.com/repos/huggingface/transformers/issues/6926/events | https://github.com/huggingface/transformers/pull/6926 | 692,107,949 | MDExOlB1bGxSZXF1ZXN0NDc4NzQ1MTA2 | 6,926 | [s2s] use --eval_beams command line arg | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6926?src=pr&el=h1) Report\n> Merging [#6926](https://codecov.io/gh/huggingface/transformers/pull/6926?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0f360d3d1c606d6d79cdf1efa53c3d719249573d?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6926/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/6926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6926",
"html_url": "https://github.com/huggingface/transformers/pull/6926",
"diff_url": "https://github.com/huggingface/transformers/pull/6926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6926.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6925/comments | https://api.github.com/repos/huggingface/transformers/issues/6925/events | https://github.com/huggingface/transformers/issues/6925 | 692,043,725 | MDU6SXNzdWU2OTIwNDM3MjU= | 6,925 | Reopen: Unable to use run_squad with xla_spawn.py on TPU | {
"login": "christian-janiake-movile",
"id": 1670865,
"node_id": "MDQ6VXNlcjE2NzA4NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1670865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/christian-janiake-movile",
"html_url": "https://github.com/christian-janiake-movile",
"fol... | [
{
"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 @christian-janiake-movile ,\r\n`run_squad` won't work with `xla_spawn` since it doesn't use `Trainer`. You can use `run_squad_trainer.py` with `xla_spawn.py` if you want to fine-tune on TPU",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no fur... | 1,599 | 1,605 | 1,605 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0a0+ab76067 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script? TPU
- Using distributed or parallel set-up in script?: YES
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6925/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/6925/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6924/comments | https://api.github.com/repos/huggingface/transformers/issues/6924/events | https://github.com/huggingface/transformers/issues/6924 | 692,041,151 | MDU6SXNzdWU2OTIwNDExNTE= | 6,924 | AttributeError: 'list' object has no attribute 'clone' with BartTokenizer | {
"login": "spate141",
"id": 10580847,
"node_id": "MDQ6VXNlcjEwNTgwODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/10580847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spate141",
"html_url": "https://github.com/spate141",
"followers_url": "https://api.github.com/users/spa... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I think you flipped model and tokenizer at the beginning. It should be\r\n```python\r\n\r\nfrom transformers import BartTokenizer, BartForConditionalGeneration\r\n\r\ntokenizer = BartTokenizer.from_pretrained('/Downloads/facebook-bart-large-cnn')\r\nmodel = BartForConditionalGeneration.from_pretrained('/Downloads/... | 1,599 | 1,599 | 1,599 | 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.1.0
- Platform: MacOS
- Python version: 3.7.6
- PyTorch version (GPU?): 1.6.0 (No GPU)
- Tensorflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6924/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/6924/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6923/comments | https://api.github.com/repos/huggingface/transformers/issues/6923/events | https://github.com/huggingface/transformers/pull/6923 | 692,007,153 | MDExOlB1bGxSZXF1ZXN0NDc4NjYxMjMw | 6,923 | [s2s] allow task_specific_params=summarization_xsum | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6923?src=pr&el=h1) Report\n> Merging [#6923](https://codecov.io/gh/huggingface/transformers/pull/6923?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4ebb52afdb4dc4bcd599e7cb503763e5d4afc962?el=desc) will **increase... | 1,599 | 1,599 | 1,599 | CONTRIBUTOR | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #{issue number}
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6923/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/6923/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6923",
"html_url": "https://github.com/huggingface/transformers/pull/6923",
"diff_url": "https://github.com/huggingface/transformers/pull/6923.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6923.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6922/comments | https://api.github.com/repos/huggingface/transformers/issues/6922/events | https://github.com/huggingface/transformers/issues/6922 | 691,997,147 | MDU6SXNzdWU2OTE5OTcxNDc= | 6,922 | inference over onnx output | {
"login": "MohitTare",
"id": 5728793,
"node_id": "MDQ6VXNlcjU3Mjg3OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5728793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MohitTare",
"html_url": "https://github.com/MohitTare",
"followers_url": "https://api.github.com/users/Mo... | [
{
"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 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"I have the same issue too! Please some guidelines ?",
"Same"
] | 1,599 | 1,625 | 1,605 | NONE | null | # ❓ inference over onnx output
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6922/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/6922/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.