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/5020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5020/comments | https://api.github.com/repos/huggingface/transformers/issues/5020/events | https://github.com/huggingface/transformers/issues/5020 | 638,998,796 | MDU6SXNzdWU2Mzg5OTg3OTY= | 5,020 | Run error when run PPLM in example! | {
"login": "huanghonggit",
"id": 49581245,
"node_id": "MDQ6VXNlcjQ5NTgxMjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/49581245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huanghonggit",
"html_url": "https://github.com/huanghonggit",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,592 | 1,593 | 1,593 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5020/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/5020/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5019/comments | https://api.github.com/repos/huggingface/transformers/issues/5019/events | https://github.com/huggingface/transformers/issues/5019 | 638,998,129 | MDU6SXNzdWU2Mzg5OTgxMjk= | 5,019 | Not able to reproduce XNLI results from Google's mBERT weights. | {
"login": "bsinghpratap",
"id": 7297516,
"node_id": "MDQ6VXNlcjcyOTc1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7297516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bsinghpratap",
"html_url": "https://github.com/bsinghpratap",
"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 | [] | [
"Edit: For some reason the model: xlm-mlm-tlm-xnli15-1024 (https://huggingface.co/transformers/pretrained_models.html), also doesn't learn properly. The train accuracy never goes beyond 0.35.\r\n\r\nFix for XLM is provided here: https://github.com/huggingface/transformers/pull/5035\r\n\r\nThe issue of mBERT (weight... | 1,592 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
Hello,
I am using mBERT from https://github.com/google-research/bert/blob/master/multilingual.md and using it with the run_xnli.py file.
Language: Learning the model on English (en) and testing it on French (fr).
The problem arises when I download the mBERT's weights from: https://github.com/google-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5019/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/5019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5018/comments | https://api.github.com/repos/huggingface/transformers/issues/5018/events | https://github.com/huggingface/transformers/issues/5018 | 638,989,851 | MDU6SXNzdWU2Mzg5ODk4NTE= | 5,018 | bart-large-xsum config task_specific_params['summarization_params'] wrong | {
"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... | [
{
"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... | [
"set to `{}`"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | They are bart-large-cnn-params. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5018/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/5018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5017/comments | https://api.github.com/repos/huggingface/transformers/issues/5017/events | https://github.com/huggingface/transformers/issues/5017 | 638,941,743 | MDU6SXNzdWU2Mzg5NDE3NDM= | 5,017 | Add CRF layer after Transformer model | {
"login": "yuyan-z",
"id": 64955334,
"node_id": "MDQ6VXNlcjY0OTU1MzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/64955334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuyan-z",
"html_url": "https://github.com/yuyan-z",
"followers_url": "https://api.github.com/users/yuyan-... | [
{
"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 | [] | [
"You can directly feed the output of a transformer's hidden states into a CRF implementation like this https://github.com/s14t284/TorchCRF\r\n\r\nHope it helps!",
"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,592 | 1,661 | 1,598 | NONE | null | I've read a paper titled "Named Entity Recognition in Chinese Electronic Medical Records Using Transformer-CRF".
It takes Transformer's output as CRF's input, as shown in the figure.
Which function could I use to implement it? model.add() doesn't work.
 exist in the cache, and then you turn off wifi/internet, model loa... | 1,592 | 1,601 | 1,601 | NONE | null | # 🐛 Bug
## Information
For TF models in latest version of `transformers v2.11.0`, when the internet is turned off, `from_pretrained` throws an error even when the model has previously been downloaded to cache:
```python
# does not work (wifi/internet turned off)
model = TFBertModel.from_pretrained('bert-base-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5016/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/5016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5015/comments | https://api.github.com/repos/huggingface/transformers/issues/5015/events | https://github.com/huggingface/transformers/pull/5015 | 638,920,444 | MDExOlB1bGxSZXF1ZXN0NDM0NTk1MTYz | 5,015 | Make DataCollator a callable | {
"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/5015?src=pr&el=h1) Report\n> Merging [#5015](https://codecov.io/gh/huggingface/transformers/pull/5015?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/66bcfbb130a3a60d873597fdca05a8d539ef3401&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | As discussed with @julien-c, change the `DataCollator` to be a callable (and the trainer now can take any function as data collator).
I removed the abstract class and made a type alias to keep the type annotations instead. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5015/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/5015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5015",
"html_url": "https://github.com/huggingface/transformers/pull/5015",
"diff_url": "https://github.com/huggingface/transformers/pull/5015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5015.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5014/comments | https://api.github.com/repos/huggingface/transformers/issues/5014/events | https://github.com/huggingface/transformers/pull/5014 | 638,910,201 | MDExOlB1bGxSZXF1ZXN0NDM0NTg2NzU5 | 5,014 | Add bart-base | {
"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/5014?src=pr&el=h1) Report\n> Merging [#5014](https://codecov.io/gh/huggingface/transformers/pull/5014?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/66bcfbb130a3a60d873597fdca05a8d539ef3401&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Also adds two `@slow` integration test for fill mask tasks.
I made some guesses on the correct conversion, which will hopefully be confirmed by the authors in this [issue](https://github.com/pytorch/fairseq/issues/2242) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5014/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/5014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5014",
"html_url": "https://github.com/huggingface/transformers/pull/5014",
"diff_url": "https://github.com/huggingface/transformers/pull/5014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5014.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5013/comments | https://api.github.com/repos/huggingface/transformers/issues/5013/events | https://github.com/huggingface/transformers/pull/5013 | 638,906,887 | MDExOlB1bGxSZXF1ZXN0NDM0NTgzOTg3 | 5,013 | [Modelcard] xlm-roberta-squadv2 | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"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/5013?src=pr&el=h1) Report\n> Merging [#5013](https://codecov.io/gh/huggingface/transformers/pull/5013?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f7c93b3ceec341c3c794e9fc18939bc5d50b0fc2&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5013/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/5013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5013",
"html_url": "https://github.com/huggingface/transformers/pull/5013",
"diff_url": "https://github.com/huggingface/transformers/pull/5013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5013.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5012/comments | https://api.github.com/repos/huggingface/transformers/issues/5012/events | https://github.com/huggingface/transformers/pull/5012 | 638,889,746 | MDExOlB1bGxSZXF1ZXN0NDM0NTcwMTMy | 5,012 | Raise errors that are not raised now | {
"login": "harupy",
"id": 17039389,
"node_id": "MDQ6VXNlcjE3MDM5Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/17039389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harupy",
"html_url": "https://github.com/harupy",
"followers_url": "https://api.github.com/users/harupy/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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=h1) Report\n> Merging [#5012](https://codecov.io/gh/huggingface/transformers/pull/5012?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f7c93b3ceec341c3c794e9fc18939bc5d50b0fc2&el=desc) will **increase... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | Raise errors that are not raised now. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5012/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/5012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5012",
"html_url": "https://github.com/huggingface/transformers/pull/5012",
"diff_url": "https://github.com/huggingface/transformers/pull/5012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5012.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5011/comments | https://api.github.com/repos/huggingface/transformers/issues/5011/events | https://github.com/huggingface/transformers/pull/5011 | 638,870,524 | MDExOlB1bGxSZXF1ZXN0NDM0NTU0MzA3 | 5,011 | [Modelcard] bart-squadv2 | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"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/5011?src=pr&el=h1) Report\n> Merging [#5011](https://codecov.io/gh/huggingface/transformers/pull/5011?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/66bcfbb130a3a60d873597fdca05a8d539ef3401&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5011/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/5011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5011",
"html_url": "https://github.com/huggingface/transformers/pull/5011",
"diff_url": "https://github.com/huggingface/transformers/pull/5011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5011.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5010/comments | https://api.github.com/repos/huggingface/transformers/issues/5010/events | https://github.com/huggingface/transformers/issues/5010 | 638,806,360 | MDU6SXNzdWU2Mzg4MDYzNjA= | 5,010 | How can I print output attention on test data? | {
"login": "laetokang",
"id": 49485939,
"node_id": "MDQ6VXNlcjQ5NDg1OTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/49485939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laetokang",
"html_url": "https://github.com/laetokang",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You should do it on the forward function of the model your are using so probably:\r\n```model = BartForConditionalGeneration.from_pretrained(\"bart-large\")\r\n model(input_ids, output_attentions=True)\r\n```"
] | 1,592 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5010/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/5010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5009/comments | https://api.github.com/repos/huggingface/transformers/issues/5009/events | https://github.com/huggingface/transformers/pull/5009 | 638,798,443 | MDExOlB1bGxSZXF1ZXN0NDM0NDk0ODg1 | 5,009 | Create README.md for finetuned BERT model | {
"login": "fran-martinez",
"id": 7083298,
"node_id": "MDQ6VXNlcjcwODMyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7083298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fran-martinez",
"html_url": "https://github.com/fran-martinez",
"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/5009?src=pr&el=h1) Report\n> Merging [#5009](https://codecov.io/gh/huggingface/transformers/pull/5009?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ebab096e864a619717a497089d864d10e21bc536&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5009/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/5009/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5009",
"html_url": "https://github.com/huggingface/transformers/pull/5009",
"diff_url": "https://github.com/huggingface/transformers/pull/5009.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5009.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5008/comments | https://api.github.com/repos/huggingface/transformers/issues/5008/events | https://github.com/huggingface/transformers/pull/5008 | 638,773,781 | MDExOlB1bGxSZXF1ZXN0NDM0NDc0NDAy | 5,008 | Add model card for StackOBERTflow-comments-small | {
"login": "furunkel",
"id": 1113873,
"node_id": "MDQ6VXNlcjExMTM4NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1113873?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/furunkel",
"html_url": "https://github.com/furunkel",
"followers_url": "https://api.github.com/users/furun... | [
{
"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/5008?src=pr&el=h1) Report\n> Merging [#5008](https://codecov.io/gh/huggingface/transformers/pull/5008?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ebab096e864a619717a497089d864d10e21bc536&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5008/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/5008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5008",
"html_url": "https://github.com/huggingface/transformers/pull/5008",
"diff_url": "https://github.com/huggingface/transformers/pull/5008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5008.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5007/comments | https://api.github.com/repos/huggingface/transformers/issues/5007/events | https://github.com/huggingface/transformers/pull/5007 | 638,771,928 | MDExOlB1bGxSZXF1ZXN0NDM0NDcyODQy | 5,007 | Create README.md | {
"login": "fran-martinez",
"id": 7083298,
"node_id": "MDQ6VXNlcjcwODMyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7083298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fran-martinez",
"html_url": "https://github.com/fran-martinez",
"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 | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5007/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/5007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5007",
"html_url": "https://github.com/huggingface/transformers/pull/5007",
"diff_url": "https://github.com/huggingface/transformers/pull/5007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5007.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/5006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5006/comments | https://api.github.com/repos/huggingface/transformers/issues/5006/events | https://github.com/huggingface/transformers/pull/5006 | 638,746,169 | MDExOlB1bGxSZXF1ZXN0NDM0NDUwNzc2 | 5,006 | [Ignore] Added data collator for XLNet and added related calls | {
"login": "shngt",
"id": 20009551,
"node_id": "MDQ6VXNlcjIwMDA5NTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20009551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shngt",
"html_url": "https://github.com/shngt",
"followers_url": "https://api.github.com/users/shngt/follow... | [] | closed | false | null | [] | [] | 1,592 | 1,593 | 1,592 | CONTRIBUTOR | null | Added modified data collator for XLNet and added related calls in `examples/language-modeling/run_language_modeling.py` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5006/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/5006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5006",
"html_url": "https://github.com/huggingface/transformers/pull/5006",
"diff_url": "https://github.com/huggingface/transformers/pull/5006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5006.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5005/comments | https://api.github.com/repos/huggingface/transformers/issues/5005/events | https://github.com/huggingface/transformers/pull/5005 | 638,723,686 | MDExOlB1bGxSZXF1ZXN0NDM0NDMzMDA3 | 5,005 | Increase pipeline support for ONNX export. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5005?src=pr&el=h1) Report\n> Merging [#5005](https://codecov.io/gh/huggingface/transformers/pull/5005?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9931f817b75ecb2c8bb08b6e9d4cbec4b0933935&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | Supports all kind of models for all the pipelines we've except `summarization` because of `triu`not supported by ONNX. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5005/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/5005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5005",
"html_url": "https://github.com/huggingface/transformers/pull/5005",
"diff_url": "https://github.com/huggingface/transformers/pull/5005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5005.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5004/comments | https://api.github.com/repos/huggingface/transformers/issues/5004/events | https://github.com/huggingface/transformers/issues/5004 | 638,714,422 | MDU6SXNzdWU2Mzg3MTQ0MjI= | 5,004 | [🚀 Feature request] upload bart-base checkpoint | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"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... | [
"Thanks for letting me know @patil-suraj !\r\n\r\nThis is almost done, blocked on 1 minor [issue](https://github.com/pytorch/fairseq/issues/2242)\r\n\r\nIf I don't get an answer there by Wednesday I will assume that the tokenizer is the same as bart.large and move forward.",
"Thanks @sshleifer for immediate resp... | 1,592 | 1,592 | 1,592 | MEMBER | null | # 🚀 Feature request
`bart-base` checkpoint is now available in fairseq repo
https://github.com/pytorch/fairseq/tree/master/examples/bart#pre-trained-models
so now it can be made available here `facebook/bart-base`
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5004/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/5004/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5003/comments | https://api.github.com/repos/huggingface/transformers/issues/5003/events | https://github.com/huggingface/transformers/issues/5003 | 638,706,719 | MDU6SXNzdWU2Mzg3MDY3MTk= | 5,003 | Cannot import transformers due to issue with signal.py (SIGKILL) | {
"login": "scottleith",
"id": 9306342,
"node_id": "MDQ6VXNlcjkzMDYzNDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9306342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scottleith",
"html_url": "https://github.com/scottleith",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Just had to reinstall. I installed pytorch AFTER transformers, and I cloned the transformers repository. Just uninstalled and reinstalled with pip install transformers and the issue went away."
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
Can't import transformers, get a problem with signal.py. I see that an issue was recently fixed... should I install a nightly build, or...?
>>> import transformers
2020-06-15 05:40:54.098560: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5003/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/5003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5002/comments | https://api.github.com/repos/huggingface/transformers/issues/5002/events | https://github.com/huggingface/transformers/issues/5002 | 638,669,614 | MDU6SXNzdWU2Mzg2Njk2MTQ= | 5,002 | Illegal memory access (cudaErrorIllegalAddress) | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"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": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
... | closed | false | null | [] | [
"Reducing the batch size further doesn't raise this error. But a lot of RAM is left empty. If this is an issue, then RAM demand exceeded error should be raised.",
"I've seen this error, and think it happens right before `OutOfMemory`.\r\nI agree the traceback should be different.\r\nMarking wontfix for now since ... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
This bug/problem has been discussed on [Pytorch](https://github.com/pytorch/pytorch/issues/21819)/[Apex](https://github.com/NVIDIA/apex/issues/319) and [here](https://github.com/huggingface/transformers/issues/460) (bot marked it as stale) also.
I'm using Albert on GLUE (although this iss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5002/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/5002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5001/comments | https://api.github.com/repos/huggingface/transformers/issues/5001/events | https://github.com/huggingface/transformers/issues/5001 | 638,666,056 | MDU6SXNzdWU2Mzg2NjYwNTY= | 5,001 | Segmentation fault when loading pretrained file | {
"login": "davidz123",
"id": 27669457,
"node_id": "MDQ6VXNlcjI3NjY5NDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/27669457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidz123",
"html_url": "https://github.com/davidz123",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I am having the same problem - I had my code working about a week ago. Then, I installed the library (`pip install transformers`) on a new machine and now it crashes when I try to load any pre-trained model (e.g `BertModel.from_pretrained('bert-base-uncased')`).\r\nI tried downgrading to 2.9.1 and 2.10 and the pro... | 1,592 | 1,603 | 1,592 | NONE | null | When loading model weights file using <model.from_pretrained>, segmentation fault error occur..
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5001/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/5001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5000/comments | https://api.github.com/repos/huggingface/transformers/issues/5000/events | https://github.com/huggingface/transformers/issues/5000 | 638,649,389 | MDU6SXNzdWU2Mzg2NDkzODk= | 5,000 | Accessing scores for the entire vocabulary in GPT2 | {
"login": "shampp",
"id": 55344772,
"node_id": "MDQ6VXNlcjU1MzQ0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/55344772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shampp",
"html_url": "https://github.com/shampp",
"followers_url": "https://api.github.com/users/shampp/fo... | [] | closed | false | null | [] | [
"You would need to use `GPT2LMHeadModel` for that, and use a softmax layer to have scores. Here's an example:\r\n\r\n```py\r\nfrom transformers import GPT2LMHeadModel, GPT2Tokenizer\r\nimport torch\r\n\r\nmodel = GPT2LMHeadModel.from_pretrained(\"gpt2\")\r\ntokenizer = GPT2Tokenizer.from_pretrained(\"gpt2\")\r\n\r\... | 1,592 | 1,592 | 1,592 | NONE | null | I want to access the prediciton scores from the GPT2 model.
Follwoing the example given in the docstring, I am using the code
```
output = model(input_ids,labels=input_ids)
logit = output[1][0][-1,:].detach().numpy()
```
Is it correct ? I am expecting logit variable to be the same size as the vocabula... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5000/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/5000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4999/comments | https://api.github.com/repos/huggingface/transformers/issues/4999/events | https://github.com/huggingface/transformers/pull/4999 | 638,630,251 | MDExOlB1bGxSZXF1ZXN0NDM0MzU4MjIx | 4,999 | Improve ONNX logging | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4999?src=pr&el=h1) Report\n> Merging [#4999](https://codecov.io/gh/huggingface/transformers/pull/4999?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9931f817b75ecb2c8bb08b6e9d4cbec4b0933935&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4999/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/4999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4999",
"html_url": "https://github.com/huggingface/transformers/pull/4999",
"diff_url": "https://github.com/huggingface/transformers/pull/4999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4999.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4998/comments | https://api.github.com/repos/huggingface/transformers/issues/4998/events | https://github.com/huggingface/transformers/pull/4998 | 638,622,488 | MDExOlB1bGxSZXF1ZXN0NDM0MzUxODU3 | 4,998 | Remove deprecation warning TF2.2 | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"The only CI message is :\r\n\r\n```\r\nwould reformat /home/circleci/transformers/src/transformers/trainer_tf.py\r\nOh no! 💥 💔 💥\r\n1 file would be reformatted, 299 files would be left unchanged.\r\n```\r\n\r\nHow can I see what to change to fit the code style ?",
"Thanks for the PR, but merging this, will re... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | `strategy.experimental_run_v2()` is deprecated in favor of `strategy.run()`
https://github.com/tensorflow/tensorflow/blob/2b96f3662bd776e277f86997659e61046b56c315/tensorflow/python/distribute/distribute_lib.py#L953-L957
Fix #4992 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4998/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/4998/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4998",
"html_url": "https://github.com/huggingface/transformers/pull/4998",
"diff_url": "https://github.com/huggingface/transformers/pull/4998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4998.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4997/comments | https://api.github.com/repos/huggingface/transformers/issues/4997/events | https://github.com/huggingface/transformers/pull/4997 | 638,613,246 | MDExOlB1bGxSZXF1ZXN0NDM0MzQ0NDI3 | 4,997 | Fix importing transformers on Windows - SIGKILL not defined | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4997?src=pr&el=h1) Report\n> Merging [#4997](https://codecov.io/gh/huggingface/transformers/pull/4997?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9931f817b75ecb2c8bb08b6e9d4cbec4b0933935&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | On Windows platform there is no such `signal.SIGKILL`, we need to send `CTRL_C_EVENT` which is `Ctrl+C`.
This PR aims at:
1. Not importing the `signal.SIGKILL` on Windows platforms as it's undefined
2. Using the right `signal.CTRL_C_EVENT` on Windows platforms and `signal.SIGKILL` on Unix*. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4997/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/4997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4997",
"html_url": "https://github.com/huggingface/transformers/pull/4997",
"diff_url": "https://github.com/huggingface/transformers/pull/4997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4997.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4996/comments | https://api.github.com/repos/huggingface/transformers/issues/4996/events | https://github.com/huggingface/transformers/issues/4996 | 638,562,594 | MDU6SXNzdWU2Mzg1NjI1OTQ= | 4,996 | ❓ How to use TFTrainer on TPU ? Unable to destroy remote tensor handles | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 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 | [] | [
"It seems to be related to the size of dataset : if I use `--training_steps` instead of `--num_epochs` I don't have the error.\r\n\r\n---\r\n\r\nBut a similar error appear at evaluation time :\r\n\r\n```\r\ntensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __inference__evaluate_steps_517... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # ❓ Questions & Help
I'm trying to train my model on TPU using `TFTrainer`. Training starts fine, but after a few training steps, I'm having this error :
> Unable to destroy remote tensor handles. If you are running a tf.function, it usually indicates some op in the graph gets an error: 4 root error(s) found.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4996/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/4996/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4995/comments | https://api.github.com/repos/huggingface/transformers/issues/4995/events | https://github.com/huggingface/transformers/pull/4995 | 638,557,475 | MDExOlB1bGxSZXF1ZXN0NDM0Mjk4MzY2 | 4,995 | append keyword arguments to the output | {
"login": "Kyeongpil",
"id": 6302455,
"node_id": "MDQ6VXNlcjYzMDI0NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6302455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kyeongpil",
"html_url": "https://github.com/Kyeongpil",
"followers_url": "https://api.github.com/users/Ky... | [
{
"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,592 | 1,598 | 1,598 | CONTRIBUTOR | null | prepare_inputs_for_generation function receives keyword arguments (model_specific_kwargs)
However, these arguments are not ignored.
I fix this codes to return arguments including these keyword arguments.
Actually, I don't have an idea about the purpose of prepare_logits_for_generation function, which only returns ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4995/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/4995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4995",
"html_url": "https://github.com/huggingface/transformers/pull/4995",
"diff_url": "https://github.com/huggingface/transformers/pull/4995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4995.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4994/comments | https://api.github.com/repos/huggingface/transformers/issues/4994/events | https://github.com/huggingface/transformers/issues/4994 | 638,506,361 | MDU6SXNzdWU2Mzg1MDYzNjE= | 4,994 | 🐛 TFTrainer not working on TPU (TF2.2) | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
... | closed | false | null | [] | [
"Currently as a work-around I set the optimizer as an attribute and remove the argument :\r\n\r\nAfter this line :\r\nhttps://github.com/huggingface/transformers/blob/9931f817b75ecb2c8bb08b6e9d4cbec4b0933935/src/transformers/trainer_tf.py#L235\r\n\r\nI add :\r\n\r\n```python\r\nself.optimizer = optimizer\r\n```\r\n... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
The problem arises when using:
* [ ] the official example scripts
* [x] my own modified scripts
The tasks I am working on is:
* [x] an official GLUE/SQUaD task: CNN/DM
* [ ] my own task or dataset
## To reproduce
Steps to reproduce the behavior:
1. Install `transformers` fr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4994/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/4994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4993/comments | https://api.github.com/repos/huggingface/transformers/issues/4993/events | https://github.com/huggingface/transformers/issues/4993 | 638,504,383 | MDU6SXNzdWU2Mzg1MDQzODM= | 4,993 | Importing transformers causes segmentation fault when setting cuda device | {
"login": "jcyk",
"id": 11582128,
"node_id": "MDQ6VXNlcjExNTgyMTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11582128?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcyk",
"html_url": "https://github.com/jcyk",
"followers_url": "https://api.github.com/users/jcyk/followers"... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @jcyk, \r\n\r\nwhen trying to reproduce this error with PyTorch 1.5.0, there is no problem.\r\n\r\nHowever, when I run your code with PyTorch 1.4.0 (as you did), I get the following error: \r\n\r\n```python \r\n1.4.0\r\n2.11.0\r\nFalse\r\nTraceback (most recent call last):\r\n File \"./bug_4993.py\", line 16,... | 1,592 | 1,605 | 1,599 | NONE | null | # 🐛 Bug
## Information
The problem arises when using:
my own modified scripts: (give details below)
## To reproduce
```
import torch
import transformers
def main(local_rank):
torch.cuda.set_device(local_rank)
device = torch.device('cuda', local_rank)
if __name__ == "__main__":
print ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4993/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/4993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4992/comments | https://api.github.com/repos/huggingface/transformers/issues/4992/events | https://github.com/huggingface/transformers/issues/4992 | 638,467,072 | MDU6SXNzdWU2Mzg0NjcwNzI= | 4,992 | [TFTrainer] Tensorflow Warning : experimental_run_v2 is deprecated | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"closes by #4998"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | # 🐛 Bug
When running my code with TFTrainer, I'm receiving :
>WARNING - tensorflow - From /home/me/.venv/bart/lib/python3.6/site-packages/transformers/trainer_tf.py:355: StrategyBase.experimental_run_v2 (from tensorflow.python.distribute.distribute_lib) is deprecated and will be removed in a future version.
I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4992/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/4992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4991/comments | https://api.github.com/repos/huggingface/transformers/issues/4991/events | https://github.com/huggingface/transformers/issues/4991 | 638,438,083 | MDU6SXNzdWU2Mzg0MzgwODM= | 4,991 | evaluating with trainer.py with TPU results in sudden RAM spike and crash | {
"login": "LeonieWeissweiler",
"id": 30300891,
"node_id": "MDQ6VXNlcjMwMzAwODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/30300891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeonieWeissweiler",
"html_url": "https://github.com/LeonieWeissweiler",
"followers_url": "https... | [
{
"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",
"Any update on this? I've got a similar issue "
] | 1,592 | 1,618 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Roberta with the official how to train from scratch example
Language I am using the model on (English, Chinese ...): Esperanto
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4991/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/4991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4990/comments | https://api.github.com/repos/huggingface/transformers/issues/4990/events | https://github.com/huggingface/transformers/issues/4990 | 638,417,369 | MDU6SXNzdWU2Mzg0MTczNjk= | 4,990 | Save the Dataset for training GPT2 | {
"login": "gaps013",
"id": 9932320,
"node_id": "MDQ6VXNlcjk5MzIzMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9932320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gaps013",
"html_url": "https://github.com/gaps013",
"followers_url": "https://api.github.com/users/gaps013/... | [
{
"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,592 | 1,598 | 1,598 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4990/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/4990/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4989/comments | https://api.github.com/repos/huggingface/transformers/issues/4989/events | https://github.com/huggingface/transformers/pull/4989 | 638,390,424 | MDExOlB1bGxSZXF1ZXN0NDM0MTcyNzQw | 4,989 | attention | {
"login": "yang-chenyu104",
"id": 61871674,
"node_id": "MDQ6VXNlcjYxODcxNjc0",
"avatar_url": "https://avatars.githubusercontent.com/u/61871674?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yang-chenyu104",
"html_url": "https://github.com/yang-chenyu104",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4989/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/4989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4989",
"html_url": "https://github.com/huggingface/transformers/pull/4989",
"diff_url": "https://github.com/huggingface/transformers/pull/4989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4989.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4988/comments | https://api.github.com/repos/huggingface/transformers/issues/4988/events | https://github.com/huggingface/transformers/issues/4988 | 638,381,103 | MDU6SXNzdWU2MzgzODExMDM= | 4,988 | error while instantiating model | {
"login": "kevinghst",
"id": 18520313,
"node_id": "MDQ6VXNlcjE4NTIwMzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/18520313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinghst",
"html_url": "https://github.com/kevinghst",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"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,592 | 1,598 | 1,598 | NONE | null | Hi,
For my experiments, I need to make some changes to the forward pass of Roberta sequence classification model. Thus, I copied **RobertaForSequenceClassification** from _modeling_roberta.py_ into a [separate file](https://github.com/kevinghst/mixmatch_from_scratch/blob/master/models_roberta.py) in my repo.
And ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4988/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/4988/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4987/comments | https://api.github.com/repos/huggingface/transformers/issues/4987/events | https://github.com/huggingface/transformers/pull/4987 | 638,359,035 | MDExOlB1bGxSZXF1ZXN0NDM0MTQ5ODAy | 4,987 | Fix Inconsistent NER Grouping (Pipeline) | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4987?src=pr&el=h1) Report\n> Merging [#4987](https://codecov.io/gh/huggingface/transformers/pull/4987?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease... | 1,592 | 1,594 | 1,594 | CONTRIBUTOR | null | ### This PR solves issue #4816 by:
1. Applying entity grouping to similar entity types with different prefixes (i.e. `B` and `I`)
2. Ensuring that separate entities at the last filtered index are no longer excluded from grouping.
Running the sample script below (based on reference issue #4816) returns the expe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4987/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/4987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4987",
"html_url": "https://github.com/huggingface/transformers/pull/4987",
"diff_url": "https://github.com/huggingface/transformers/pull/4987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4987.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4986/comments | https://api.github.com/repos/huggingface/transformers/issues/4986/events | https://github.com/huggingface/transformers/issues/4986 | 638,343,631 | MDU6SXNzdWU2MzgzNDM2MzE= | 4,986 | BertTokenizer: ValueError: Input is not valid. Should be a string, a list/tuple of strings or a list/tuple of integers. | {
"login": "mariusjohan",
"id": 49961316,
"node_id": "MDQ6VXNlcjQ5OTYxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/49961316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariusjohan",
"html_url": "https://github.com/mariusjohan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The mistake is on me. I forgot to download the tokenizer😂",
"I am getting the same error. What exactly do you mean by download the tokenizer? Doesn't it come with the transformers package?",
"I think what he meant was that use used the class, and not the instance, to encode text. You should always initialize ... | 1,592 | 1,694 | 1,592 | NONE | null | # 🐛 Bug
## Information
Tokenizer I am using is BertTokenizer and I've also tried using AlbertTokenizer, but it does not have any effect. So I'm thinking that the bug is in the base tokenizer
Language I am using the model on is English, but I don't believe that's the issue.
The problem arises when using:
*... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4986/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/4986/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4985/comments | https://api.github.com/repos/huggingface/transformers/issues/4985/events | https://github.com/huggingface/transformers/issues/4985 | 638,337,697 | MDU6SXNzdWU2MzgzMzc2OTc= | 4,985 | Word Embedding input to GPT-2 | {
"login": "jinga-lala",
"id": 34444901,
"node_id": "MDQ6VXNlcjM0NDQ0OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/34444901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinga-lala",
"html_url": "https://github.com/jinga-lala",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You can pass embeddings to the model by using the `input_embeds` keyword argument:\r\n```\r\nresult = model(input_embeds=...)\r\n```\r\nThey should be if shape `batch_size, sequence_length, hidden_size)`.",
"Hi @sgugger \r\nI tried the following code snippet but it is giving an error\r\n<pre>\r\n from transfo... | 1,592 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4985/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/4985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4984/comments | https://api.github.com/repos/huggingface/transformers/issues/4984/events | https://github.com/huggingface/transformers/issues/4984 | 638,316,830 | MDU6SXNzdWU2MzgzMTY4MzA= | 4,984 | FillMaskPipeline return word-piece | {
"login": "orena1",
"id": 8983713,
"node_id": "MDQ6VXNlcjg5ODM3MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8983713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orena1",
"html_url": "https://github.com/orena1",
"followers_url": "https://api.github.com/users/orena1/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I do not think generally there's a way of knowing that a given token is usually a sub-token vs. a complete \"word\"\r\n\r\nMaybe a heuristic could be to do some kind of greedy decoding, iteratively adding a second `<mask>` after the first filled one and checking if the output score is above a certain threshold/abo... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🚀 . Feature request
Not sure exactly if this is a bug/feature request/ or just me not understanding correctly :).
I am trying to use the [FillMaskPipeline](https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py#L739) but as far as I understand the pipeline returns a single word-piece... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4984/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/4984/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4983/comments | https://api.github.com/repos/huggingface/transformers/issues/4983/events | https://github.com/huggingface/transformers/issues/4983 | 638,312,233 | MDU6SXNzdWU2MzgzMTIyMzM= | 4,983 | Getting very bad F1 Scores when training SQUAD v2.0 with robertadistil-base | {
"login": "manishiitg",
"id": 1370315,
"node_id": "MDQ6VXNlcjEzNzAzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1370315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manishiitg",
"html_url": "https://github.com/manishiitg",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"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,592 | 1,598 | 1,598 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4983/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/4983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4982/comments | https://api.github.com/repos/huggingface/transformers/issues/4982/events | https://github.com/huggingface/transformers/issues/4982 | 638,305,570 | MDU6SXNzdWU2MzgzMDU1NzA= | 4,982 | Why run_language_modelling.py does not use segment embeddings or language embeddings? | {
"login": "HuihuiChyan",
"id": 29159002,
"node_id": "MDQ6VXNlcjI5MTU5MDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/29159002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuihuiChyan",
"html_url": "https://github.com/HuihuiChyan",
"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 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,592 | 1,598 | 1,598 | NONE | null | I am trying to train Bert and XLM on my own data. But I found that it seems run_language_modelling.py only tokenizes input text into ids, but it doesn't create token_type_ids or langs for Bert or XLM.
`batch_encoding = tokenizer.batch_encode_plus(lines, add_special_tokens=True, max_length=block_size)`
`self.example... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4982/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/4982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4981/comments | https://api.github.com/repos/huggingface/transformers/issues/4981/events | https://github.com/huggingface/transformers/pull/4981 | 638,276,010 | MDExOlB1bGxSZXF1ZXN0NDM0MDg5MTUz | 4,981 | Create README.md | {
"login": "manishiitg",
"id": 1370315,
"node_id": "MDQ6VXNlcjEzNzAzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1370315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manishiitg",
"html_url": "https://github.com/manishiitg",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4981/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/4981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4981",
"html_url": "https://github.com/huggingface/transformers/pull/4981",
"diff_url": "https://github.com/huggingface/transformers/pull/4981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4981.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4980/comments | https://api.github.com/repos/huggingface/transformers/issues/4980/events | https://github.com/huggingface/transformers/issues/4980 | 638,199,177 | MDU6SXNzdWU2MzgxOTkxNzc= | 4,980 | keras | {
"login": "jeffreyjohnens",
"id": 15865099,
"node_id": "MDQ6VXNlcjE1ODY1MDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/15865099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffreyjohnens",
"html_url": "https://github.com/jeffreyjohnens",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4980/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/4980/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4979/comments | https://api.github.com/repos/huggingface/transformers/issues/4979/events | https://github.com/huggingface/transformers/pull/4979 | 638,186,591 | MDExOlB1bGxSZXF1ZXN0NDM0MDIzODgx | 4,979 | Add Code Coverage and Black badges to README | {
"login": "bharatr21",
"id": 13381361,
"node_id": "MDQ6VXNlcjEzMzgxMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharatr21",
"html_url": "https://github.com/bharatr21",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4979?src=pr&el=h1) Report\n> Merging [#4979](https://codecov.io/gh/huggingface/transformers/pull/4979?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/403d3098572ac308416653648456a940860da39e&el=desc) will **decrease... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | Add Black badge to README based on this:
https://github.com/huggingface/transformers/blob/403d3098572ac308416653648456a940860da39e/.circleci/config.yml#L101 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4979/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/4979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4979",
"html_url": "https://github.com/huggingface/transformers/pull/4979",
"diff_url": "https://github.com/huggingface/transformers/pull/4979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4979.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4978/comments | https://api.github.com/repos/huggingface/transformers/issues/4978/events | https://github.com/huggingface/transformers/pull/4978 | 638,155,038 | MDExOlB1bGxSZXF1ZXN0NDM0MDAxMzQz | 4,978 | Output hidden states | {
"login": "drjosephliu",
"id": 22230085,
"node_id": "MDQ6VXNlcjIyMjMwMDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22230085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drjosephliu",
"html_url": "https://github.com/drjosephliu",
"followers_url": "https://api.github.com/... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4978?src=pr&el=h1) Report\n> Merging [#4978](https://codecov.io/gh/huggingface/transformers/pull/4978?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68e19f1c228c92d5d800533f558faff24b57127a&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Attempts to close issue #3879 by refactoring all models to take in an extra argument `output_hidden_states` in the `forward()` method.
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4978/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/4978/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4978",
"html_url": "https://github.com/huggingface/transformers/pull/4978",
"diff_url": "https://github.com/huggingface/transformers/pull/4978.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4978.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4977/comments | https://api.github.com/repos/huggingface/transformers/issues/4977/events | https://github.com/huggingface/transformers/pull/4977 | 638,142,142 | MDExOlB1bGxSZXF1ZXN0NDMzOTkyMDQ1 | 4,977 | [model card] model card for bart-large-finetuned-squadv1 | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"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/4977?src=pr&el=h1) Report\n> Merging [#4977](https://codecov.io/gh/huggingface/transformers/pull/4977?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ca5e1cdf8e314288bd0242a531815a6c75d8178e&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4977/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/4977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4977",
"html_url": "https://github.com/huggingface/transformers/pull/4977",
"diff_url": "https://github.com/huggingface/transformers/pull/4977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4977.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4976/comments | https://api.github.com/repos/huggingface/transformers/issues/4976/events | https://github.com/huggingface/transformers/pull/4976 | 638,138,200 | MDExOlB1bGxSZXF1ZXN0NDMzOTg5MjM4 | 4,976 | Fix parameter 'output_attentions' docstring | {
"login": "ZhuBaohe",
"id": 35796307,
"node_id": "MDQ6VXNlcjM1Nzk2MzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/35796307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuBaohe",
"html_url": "https://github.com/ZhuBaohe",
"followers_url": "https://api.github.com/users/Zhu... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4976?src=pr&el=h1) Report\n> Merging [#4976](https://codecov.io/gh/huggingface/transformers/pull/4976?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ca5e1cdf8e314288bd0242a531815a6c75d8178e&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR fixes parameter 'output_attentions' docstring as follow:
1. Remove duplicate parameter docstring in class OpenAIGPTModel.
2. Fix docstring due to web page display problems. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4976/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/4976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4976",
"html_url": "https://github.com/huggingface/transformers/pull/4976",
"diff_url": "https://github.com/huggingface/transformers/pull/4976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4976.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4975/comments | https://api.github.com/repos/huggingface/transformers/issues/4975/events | https://github.com/huggingface/transformers/pull/4975 | 638,117,028 | MDExOlB1bGxSZXF1ZXN0NDMzOTc0MTMx | 4,975 | Create README.md | {
"login": "ipuneetrathore",
"id": 10783869,
"node_id": "MDQ6VXNlcjEwNzgzODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/10783869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ipuneetrathore",
"html_url": "https://github.com/ipuneetrathore",
"followers_url": "https://api.gi... | [
{
"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/4975?src=pr&el=h1) Report\n> Merging [#4975](https://codecov.io/gh/huggingface/transformers/pull/4975?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ca5e1cdf8e314288bd0242a531815a6c75d8178e&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Adding readme file for the model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4975/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/4975/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4975",
"html_url": "https://github.com/huggingface/transformers/pull/4975",
"diff_url": "https://github.com/huggingface/transformers/pull/4975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4975.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4974/comments | https://api.github.com/repos/huggingface/transformers/issues/4974/events | https://github.com/huggingface/transformers/pull/4974 | 638,116,201 | MDExOlB1bGxSZXF1ZXN0NDMzOTczNTI4 | 4,974 | Patch 4 | {
"login": "ipuneetrathore",
"id": 10783869,
"node_id": "MDQ6VXNlcjEwNzgzODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/10783869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ipuneetrathore",
"html_url": "https://github.com/ipuneetrathore",
"followers_url": "https://api.gi... | [
{
"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 | [] | [
"Merging readme file. "
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4974/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/4974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4974",
"html_url": "https://github.com/huggingface/transformers/pull/4974",
"diff_url": "https://github.com/huggingface/transformers/pull/4974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4974.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4973/comments | https://api.github.com/repos/huggingface/transformers/issues/4973/events | https://github.com/huggingface/transformers/issues/4973 | 638,109,341 | MDU6SXNzdWU2MzgxMDkzNDE= | 4,973 | How to make my own dataset to use BART summarization? | {
"login": "laetokang",
"id": 49485939,
"node_id": "MDQ6VXNlcjQ5NDg1OTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/49485939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laetokang",
"html_url": "https://github.com/laetokang",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4973/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/4973/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4972/comments | https://api.github.com/repos/huggingface/transformers/issues/4972/events | https://github.com/huggingface/transformers/issues/4972 | 638,108,893 | MDU6SXNzdWU2MzgxMDg4OTM= | 4,972 | Run run_tf_glue.py has bugs | {
"login": "ltang666",
"id": 3445470,
"node_id": "MDQ6VXNlcjM0NDU0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3445470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ltang666",
"html_url": "https://github.com/ltang666",
"followers_url": "https://api.github.com/users/ltang... | [] | closed | false | null | [] | [] | 1,592 | 1,593 | 1,593 | NONE | null | do as https://github.com/huggingface/transformers/tree/master/examples/text-classification suggests, but has following bugs showing **/home/admin/tensorflow_datasets/glue/cola/1.0.0/glue-train.tfrecord-00000-of-00001; No such file or directory**
my dataset_info.json copy from https://github.com/tensorflow/datasets/b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4972/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/4972/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4971/comments | https://api.github.com/repos/huggingface/transformers/issues/4971/events | https://github.com/huggingface/transformers/issues/4971 | 638,093,892 | MDU6SXNzdWU2MzgwOTM4OTI= | 4,971 | huggingface distillbert classification using multiprocessing | {
"login": "avinash-indix",
"id": 28525421,
"node_id": "MDQ6VXNlcjI4NTI1NDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/28525421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avinash-indix",
"html_url": "https://github.com/avinash-indix",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"hi, did you find a solution to this problem?"
] | 1,592 | 1,595 | 1,592 | NONE | null | I am trying to use torch multiprocessing to parallelize the predictions from two separate huggingface distillbert classification models. It seems to be deadlocked at the prediction step. I am using python 3.6.5, torch 1.5.0 and huggingface transformers version 2.11.0. The output from running the code is
```
Tree enc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4971/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/4971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4970/comments | https://api.github.com/repos/huggingface/transformers/issues/4970/events | https://github.com/huggingface/transformers/pull/4970 | 638,092,766 | MDExOlB1bGxSZXF1ZXN0NDMzOTU2MzY0 | 4,970 | Handle unexpected weights in checkpoint loading (tf to pytorch) | {
"login": "leogao2",
"id": 54557097,
"node_id": "MDQ6VXNlcjU0NTU3MDk3",
"avatar_url": "https://avatars.githubusercontent.com/u/54557097?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leogao2",
"html_url": "https://github.com/leogao2",
"followers_url": "https://api.github.com/users/leogao... | [
{
"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,592 | 1,599 | 1,599 | CONTRIBUTOR | null | If checkpoint has additional weights, then the current code will fail to load ignoring those weights. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4970/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/4970/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4970",
"html_url": "https://github.com/huggingface/transformers/pull/4970",
"diff_url": "https://github.com/huggingface/transformers/pull/4970.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4970.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4969/comments | https://api.github.com/repos/huggingface/transformers/issues/4969/events | https://github.com/huggingface/transformers/issues/4969 | 638,050,018 | MDU6SXNzdWU2MzgwNTAwMTg= | 4,969 | Request: pretrained distilgpt2-medium, distilgpt2-large models | {
"login": "joeyism",
"id": 7503144,
"node_id": "MDQ6VXNlcjc1MDMxNDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7503144?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeyism",
"html_url": "https://github.com/joeyism",
"followers_url": "https://api.github.com/users/joeyism/... | [
{
"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'd also be interested in this. The current distilgpt2 is great for use-cases that need cheap/fast compute, but distilled versions of t... | 1,592 | 1,652 | 1,598 | NONE | null | # Plans for distilgpt2-medium and distilgpt2-large
## Motivation
While distilgpt2 is useful, I was wondering if there are any plans to create a distilgpt2-medium and distilgpt2-large. I'm also wondering how the result of distilgpt2-medium compare to gpt2, and distilgpt2-large compare to gpt2-medium, in size and per... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4969/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4969/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4968/comments | https://api.github.com/repos/huggingface/transformers/issues/4968/events | https://github.com/huggingface/transformers/pull/4968 | 638,045,517 | MDExOlB1bGxSZXF1ZXN0NDMzOTE5MzY4 | 4,968 | Eli5 examples | {
"login": "yjernite",
"id": 10469459,
"node_id": "MDQ6VXNlcjEwNDY5NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yjernite",
"html_url": "https://github.com/yjernite",
"followers_url": "https://api.github.com/users/yje... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4968?src=pr&el=h1) Report\n> Merging [#4968](https://codecov.io/gh/huggingface/transformers/pull/4968?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/439aa1d6e9c953069f75fc23c737221d0df2c977&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | This PR adds Explain Like I'm Five scripts and models to Transformers.
The `examples/eli5` folder contains training code for the dense retriever and to fine-tune a BART model, the jupyter notebook for the [blog post](https://yjernite.github.io/lfqa.html), and the code for the live demo.
The RetriBert model impl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4968/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/4968/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4968",
"html_url": "https://github.com/huggingface/transformers/pull/4968",
"diff_url": "https://github.com/huggingface/transformers/pull/4968.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4968.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4967/comments | https://api.github.com/repos/huggingface/transformers/issues/4967/events | https://github.com/huggingface/transformers/issues/4967 | 638,043,727 | MDU6SXNzdWU2MzgwNDM3Mjc= | 4,967 | Add Linformer model | {
"login": "AaronFriel",
"id": 788800,
"node_id": "MDQ6VXNlcjc4ODgwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/788800?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AaronFriel",
"html_url": "https://github.com/AaronFriel",
"followers_url": "https://api.github.com/users/A... | [
{
"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 | [] | [
"Here is an pytorch implementation\r\nhttps://github.com/tatp22/linformer-pytorch",
"Just another implementation by the authors\r\nhttps://github.com/facebookresearch/pytext/pull/1407\r\n",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further... | 1,592 | 1,606 | 1,601 | NONE | null | # 🌟 New model addition
## Model description
### Linformer: Self-Attention with Linear Complexity
Paper published June 9th on ArXiv: https://arxiv.org/abs/2006.04768
Large transformer models have shown extraordinary success in achieving state-of-the-art results in many natural language processing applicatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4967/reactions",
"total_count": 56,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 16,
"confused": 0,
"heart": 0,
"rocket": 24,
"eyes": 11
} | https://api.github.com/repos/huggingface/transformers/issues/4967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4966/comments | https://api.github.com/repos/huggingface/transformers/issues/4966/events | https://github.com/huggingface/transformers/issues/4966 | 638,012,658 | MDU6SXNzdWU2MzgwMTI2NTg= | 4,966 | Spanbert TACRED model not found, despite model card | {
"login": "michaelroyzen",
"id": 45830328,
"node_id": "MDQ6VXNlcjQ1ODMwMzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelroyzen",
"html_url": "https://github.com/michaelroyzen",
"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 | [] | [
"Vocab file for that model is indeed missig, /cc @mrm8488 \r\n\r\nBut in the meantime I think you can use:\r\n\r\n```python\r\ntokenizer = AutoTokenizer.from_pretrained(\"SpanBERT/spanbert-base-cased\")\r\n```",
"I will upload it ASAP. Thank you for letting me know!",
"Tokenizer files have been uploaded!!! @mic... | 1,591 | 1,598 | 1,598 | NONE | null | I am trying to load this model: https://huggingface.co/mrm8488/spanbert-large-finetuned-tacred in Transformers 2.11.0. My exact code is:
` tokenizer = AutoTokenizer.from_pretrained("mrm8488/spanbert-large-finetuned-tacred") model = AutoModel.from_pretrained("mrm8488/spanbert-large-finetuned-tacred")`.
However, I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4966/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/4966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4965/comments | https://api.github.com/repos/huggingface/transformers/issues/4965/events | https://github.com/huggingface/transformers/issues/4965 | 638,010,501 | MDU6SXNzdWU2MzgwMTA1MDE= | 4,965 | How to Paraphrase with GPT2? | {
"login": "BigSalmon2",
"id": 61605789,
"node_id": "MDQ6VXNlcjYxNjA1Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigSalmon2",
"html_url": "https://github.com/BigSalmon2",
"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 | [] | [
"You should rather use a seq2seq model for paraphrasing like T5 or BART. But if you want to do it using GPT-2 then maybe you can use this format\r\n\r\n`input: input_text paraphrase: parahrase_text`\r\n\r\n while training, set attention mask to 0 on the paraphrased text\r\n\r\nand when generating just pass `input:... | 1,591 | 1,618 | 1,600 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4965/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/4965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4964/comments | https://api.github.com/repos/huggingface/transformers/issues/4964/events | https://github.com/huggingface/transformers/issues/4964 | 638,003,308 | MDU6SXNzdWU2MzgwMDMzMDg= | 4,964 | GPT: Weights not being initialized | {
"login": "phaniram-sayapaneni",
"id": 20259719,
"node_id": "MDQ6VXNlcjIwMjU5NzE5",
"avatar_url": "https://avatars.githubusercontent.com/u/20259719?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phaniram-sayapaneni",
"html_url": "https://github.com/phaniram-sayapaneni",
"followers_url": ... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Never mind, resolved now!!\r\nThanks!! ",
"How did you resolve?"
] | 1,591 | 1,593 | 1,591 | NONE | null | Hello covid-19 survivors,
I have been trying to use GPT for token classification, however currently there is none from hugging face, hence I copied your code from berttokenclassification and stitched the below code. But it says all the weights not initialized. Did I make a mistake, please help me!!!
`
class GPTC... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4964/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/4964/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4963/comments | https://api.github.com/repos/huggingface/transformers/issues/4963/events | https://github.com/huggingface/transformers/issues/4963 | 637,947,824 | MDU6SXNzdWU2Mzc5NDc4MjQ= | 4,963 | Cannot load optimizer and lr_scheduler states with TPU training | {
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.... | [] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Thanks @misrasaurabh1, I'll look into it.\r\nWe'll have to add such a test into the TPU CI once we have it (sooner rather than later).",
"Any updates on getting rid of this error?\r\nMakes it hard to use TPUs because preemptible machines cannot be used in Google Cloud if there is no way to resume from checkpoint... | 1,591 | 1,603 | 1,603 | CONTRIBUTOR | null | # 🐛 Bug
When restarting training and loading the optimizer.pt and scheduler.pt, the training crashes as the existing code does not know how to load it with TPU.
## Information
The stacktrace -
```
Exception in device=TPU:5: don't know how to restore data location of torch.FloatStorage (tagged with xla:0)
Trac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4963/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/4963/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4962/comments | https://api.github.com/repos/huggingface/transformers/issues/4962/events | https://github.com/huggingface/transformers/issues/4962 | 637,946,366 | MDU6SXNzdWU2Mzc5NDYzNjY= | 4,962 | How to implement differential learning rates and still ensure "weight_decay" = 0 for the the parameters it should? | {
"login": "ohmeow",
"id": 14000,
"node_id": "MDQ6VXNlcjE0MDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/14000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ohmeow",
"html_url": "https://github.com/ohmeow",
"followers_url": "https://api.github.com/users/ohmeow/followers",
... | [
{
"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,591 | 1,598 | 1,598 | CONTRIBUTOR | null | I notice that most models are trained with the following parameter groups:
```
no_decay = ["bias", "LayerNorm.weight"]
optimizer_grouped_parameters = [
{
"params": [p for n, p in model.named_parameters() if not any(nd in n for nd in no_decay)],
"weight_decay": 1e-5,
},
{
"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4962/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/4962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4961/comments | https://api.github.com/repos/huggingface/transformers/issues/4961/events | https://github.com/huggingface/transformers/issues/4961 | 637,910,097 | MDU6SXNzdWU2Mzc5MTAwOTc= | 4,961 | Extending Encoder Decoder to GPT-2 | {
"login": "satwikkottur",
"id": 3007753,
"node_id": "MDQ6VXNlcjMwMDc3NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3007753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/satwikkottur",
"html_url": "https://github.com/satwikkottur",
"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 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"It's on the roadmap :-) ",
"Thank you! Look forward to it :)",
"Hi - I've actually been working on this myself the past couple days, should I submit a PR when finished? ",
"That'd be great!",
"Will do - likely sometime this week. ",
"@djw1809 Any update on the PR? :)",
"@patrickvonplaten Hello Patrick... | 1,591 | 1,604 | 1,604 | NONE | null | Adding GPT2 initialization for EncoderDecoder model as pointed out in the issue below.
> Currently, only Bert works as a decoder. We might add GPT2 in a couple of weeks. Note that no model has `cross-attention` layers if it is not already an encoder-decoder model (like Bart or T5) and in this case it does not make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4961/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/4961/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4960/comments | https://api.github.com/repos/huggingface/transformers/issues/4960/events | https://github.com/huggingface/transformers/issues/4960 | 637,873,847 | MDU6SXNzdWU2Mzc4NzM4NDc= | 4,960 | unexpected keyword argument 'lm_labels' when using BertModel as Decoder with EncoderDecoderModel | {
"login": "utkd",
"id": 2101558,
"node_id": "MDQ6VXNlcjIxMDE1NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2101558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/utkd",
"html_url": "https://github.com/utkd",
"followers_url": "https://api.github.com/users/utkd/followers",
... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I'm facing the same problem. Since #4874 it seems like it should be just `labels` instead of `lm_labels`. According to the documentation it should do masked language modeling-loss, but from my debugging it seems like it actually does next word prediction-loss.",
"This issue has been automatically marked as stale... | 1,591 | 1,598 | 1,598 | NONE | null | The `BertModel.forward()` method does not expect a `lm_labels` and `masked_lm_labels` arguments. Yet, it looks like the `EncoderDecoderModel.forward()` method calls it's decoder's `forward()` method with those arguments which throws a TypeError when a BertModel is used as a decoder.
Am I using the BertModel incorrec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4960/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/4960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4959/comments | https://api.github.com/repos/huggingface/transformers/issues/4959/events | https://github.com/huggingface/transformers/pull/4959 | 637,765,350 | MDExOlB1bGxSZXF1ZXN0NDMzNjkxOTA5 | 4,959 | Add AlbertForMultipleChoice | {
"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/4959?src=pr&el=h1) Report\n> Merging [#4959](https://codecov.io/gh/huggingface/transformers/pull/4959?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02e5f79662d72cccdca81a47e3001a5f6d36e5b1&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | Cleaning up the rebase and opening a fresh PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4959/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/4959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4959",
"html_url": "https://github.com/huggingface/transformers/pull/4959",
"diff_url": "https://github.com/huggingface/transformers/pull/4959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4959.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4958/comments | https://api.github.com/repos/huggingface/transformers/issues/4958/events | https://github.com/huggingface/transformers/issues/4958 | 637,683,576 | MDU6SXNzdWU2Mzc2ODM1NzY= | 4,958 | Issue with an inline code comment | {
"login": "manishiitg",
"id": 1370315,
"node_id": "MDQ6VXNlcjEzNzAzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1370315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manishiitg",
"html_url": "https://github.com/manishiitg",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,591 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [x ] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* [ x] an offi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4958/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/4958/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4957/comments | https://api.github.com/repos/huggingface/transformers/issues/4957/events | https://github.com/huggingface/transformers/issues/4957 | 637,619,157 | MDU6SXNzdWU2Mzc2MTkxNTc= | 4,957 | Memory leakage with bert-large-uncased-whole-word-masking-finetuned-squad | {
"login": "ashispapu",
"id": 9023527,
"node_id": "MDQ6VXNlcjkwMjM1Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9023527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashispapu",
"html_url": "https://github.com/ashispapu",
"followers_url": "https://api.github.com/users/as... | [] | closed | false | null | [] | [
"Hi, @ashispapu, you might wanna wrap the inference code with\r\n`with torch.no_grad():`",
"Thanks for the response. Should not it be grad disabled by default like other models in transformer during inference.",
"I don't think so, how would the model know that you are doing training or inference. You can use `... | 1,591 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
I am using 'bert-large-uncased-whole-word-masking-finetuned-squad' and observed an memory leak during the inference. Below the code snippet to reproduce it
tokenizer = AutoTokenizer.from_pretrained("bert-large-uncased-whole-word-masking-finetuned-squad")
model = AutoModelForQuestionAns... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4957/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/4957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4956/comments | https://api.github.com/repos/huggingface/transformers/issues/4956/events | https://github.com/huggingface/transformers/issues/4956 | 637,603,755 | MDU6SXNzdWU2Mzc2MDM3NTU= | 4,956 | RobertaForMaskedLM Failing for example code given on Hugging Face' documentation page | {
"login": "tanulsingh",
"id": 48856885,
"node_id": "MDQ6VXNlcjQ4ODU2ODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/48856885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanulsingh",
"html_url": "https://github.com/tanulsingh",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Which version of the library are you using? The documentation corresponds to the master branch and the change in the argument names was pretty recent, so I don't think it's in the latest release yet. You should either [install from source](https://github.com/huggingface/transformers#from-source) or change the code... | 1,591 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
from transformers import RobertaTokenizer, RobertaForMaskedLM
import torch
tokenizer = RobertaTokenizer.from_pretrained('roberta-base')
model = RobertaForMaskedLM.from_pretrained('roberta-base')
input_ids = torch.tensor(tokenizer.encode("Hello, my dog is cute", add_special_tokens=True)).unsqueeze(0) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4956/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/4956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4955/comments | https://api.github.com/repos/huggingface/transformers/issues/4955/events | https://github.com/huggingface/transformers/issues/4955 | 637,599,851 | MDU6SXNzdWU2Mzc1OTk4NTE= | 4,955 | How to use fine-tuned BERT to fill <mask> | {
"login": "Odimmsun",
"id": 32326519,
"node_id": "MDQ6VXNlcjMyMzI2NTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/32326519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Odimmsun",
"html_url": "https://github.com/Odimmsun",
"followers_url": "https://api.github.com/users/Odi... | [
{
"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 @Odimmsun , `BertForSequenceClassification` is used for classification task and not for mak-filling. You can use the pre-trained BERT model as it is for make-filling. There is pipeline for this task which you can find here https://huggingface.co/transformers/usage.html#masked-language-modeling\r\n\r\nBasically ... | 1,591 | 1,600 | 1,598 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4955/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/4955/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4954/comments | https://api.github.com/repos/huggingface/transformers/issues/4954/events | https://github.com/huggingface/transformers/pull/4954 | 637,557,800 | MDExOlB1bGxSZXF1ZXN0NDMzNTIyMTA5 | 4,954 | ElectraForMultipleChoice | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4954?src=pr&el=h1) Report\n> Merging [#4954](https://codecov.io/gh/huggingface/transformers/pull/4954?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/efeb75b8054cc299698cf8bc09f395ada2660745&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | MEMBER | null | This PR add `ElectraForMultipleChoice`. One of the missing models in this [project](https://github.com/huggingface/transformers/projects/17).
Since, for multiple choice pooled outputs are needed, added `ElectraPooler` class.
@sgugger , @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4954/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/4954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4954",
"html_url": "https://github.com/huggingface/transformers/pull/4954",
"diff_url": "https://github.com/huggingface/transformers/pull/4954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4954.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4953/comments | https://api.github.com/repos/huggingface/transformers/issues/4953/events | https://github.com/huggingface/transformers/pull/4953 | 637,546,349 | MDExOlB1bGxSZXF1ZXN0NDMzNTEzMzI2 | 4,953 | Added feature to move added tokens in vocabulary for Transformer-XL | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4953?src=pr&el=h1) Report\n> Merging [#4953](https://codecov.io/gh/huggingface/transformers/pull/4953?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5620033115e571013325d017bcca92991b0a4ace&el=desc) will **increase... | 1,591 | 1,593 | 1,592 | CONTRIBUTOR | null | As discussed in #3554 the tokens in the tokenizer have to be shifted if adding a new token into aka resizing an embedding layer other than the last one. Of course this applies only for an `AdaptiveEmbedding` with more than one layer.
This implementation adds a function to move an added token in the tokenizer to a sp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4953/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/4953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4953",
"html_url": "https://github.com/huggingface/transformers/pull/4953",
"diff_url": "https://github.com/huggingface/transformers/pull/4953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4953.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4952/comments | https://api.github.com/repos/huggingface/transformers/issues/4952/events | https://github.com/huggingface/transformers/issues/4952 | 637,472,648 | MDU6SXNzdWU2Mzc0NzI2NDg= | 4,952 | Data used for training MarianMT models | {
"login": "yashkant",
"id": 17530895,
"node_id": "MDQ6VXNlcjE3NTMwODk1",
"avatar_url": "https://avatars.githubusercontent.com/u/17530895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yashkant",
"html_url": "https://github.com/yashkant",
"followers_url": "https://api.github.com/users/yas... | [] | closed | false | null | [] | [
"Hi, @yashkant, you might be able to find these details here https://github.com/Helsinki-NLP/Opus-MT"
] | 1,591 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
Are there specifications available on the amount and type of training data used for the released MarianMT [models](https://huggingface.co/transformers/model_doc/marian.html)?
## Details
<!-- Description of your issue -->
I want to use these models for back translation in order to augment my c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4952/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/4952/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4951/comments | https://api.github.com/repos/huggingface/transformers/issues/4951/events | https://github.com/huggingface/transformers/pull/4951 | 637,464,478 | MDExOlB1bGxSZXF1ZXN0NDMzNDQ4NTA2 | 4,951 | [examples] SummarizationModule improvements | {
"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... | [
{
"id": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1NjA5MDE3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq",
"name": "seq2seq",
"color": "fef2c0",
"default": false,
"description": ""
},
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
... | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4951?src=pr&el=h1) Report\n> Merging [#4951](https://codecov.io/gh/huggingface/transformers/pull/4951?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c852036b4abca2c20e1adf92eda48472a7d84ef0&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR makes the SummarizationTrainer much more usable, and when improvements are not unique to summarization, they are implemented in `lightning_base.py` instead.
- **Checkpointing** Before this PR, the code saves 5GB of PL checkpoints per epoch, now SummarizationTrainer saves the best checkpoint based on ROUGE 2 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4951/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4951",
"html_url": "https://github.com/huggingface/transformers/pull/4951",
"diff_url": "https://github.com/huggingface/transformers/pull/4951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4951.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4950/comments | https://api.github.com/repos/huggingface/transformers/issues/4950/events | https://github.com/huggingface/transformers/issues/4950 | 637,422,058 | MDU6SXNzdWU2Mzc0MjIwNTg= | 4,950 | GPTDoubleHeadsModel Unexpected node type: onnx:: Sub | {
"login": "mihail911",
"id": 2789441,
"node_id": "MDQ6VXNlcjI3ODk0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2789441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mihail911",
"html_url": "https://github.com/mihail911",
"followers_url": "https://api.github.com/users/mi... | [] | closed | false | null | [] | [
"Hi @mihail911, thanks for reporting the issue and the script to reproduce.\r\n\r\nI can confirm the issue, as it seems to happen on PyTorch side, I suspect it's a bug on their side. @tianleiwu should we forward the issue on PyTorch issue tracker? \r\n\r\nSlightly updated the script to avoid errors: \r\n\r\n```pyth... | 1,591 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT2DoubleHeadsModel
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am wo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4950/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/4950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4949/comments | https://api.github.com/repos/huggingface/transformers/issues/4949/events | https://github.com/huggingface/transformers/pull/4949 | 637,410,581 | MDExOlB1bGxSZXF1ZXN0NDMzNDA2Mjk0 | 4,949 | [mbart] Fix fp16 testing logic | {
"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/4949?src=pr&el=h1) Report\n> Merging [#4949](https://codecov.io/gh/huggingface/transformers/pull/4949?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/473808da0d476792070f0e7dfebcf1121a12a34f&el=desc) will **not chan... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | the expected logits must be in the same dtype as the resulting logits. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4949/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/4949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4949",
"html_url": "https://github.com/huggingface/transformers/pull/4949",
"diff_url": "https://github.com/huggingface/transformers/pull/4949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4949.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4948/comments | https://api.github.com/repos/huggingface/transformers/issues/4948/events | https://github.com/huggingface/transformers/pull/4948 | 637,409,273 | MDExOlB1bGxSZXF1ZXN0NDMzNDA1MjY0 | 4,948 | [wip] Send slack message if self-scheduled runner fails | {
"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/4948?src=pr&el=h1) Report\n> Merging [#4948](https://codecov.io/gh/huggingface/transformers/pull/4948?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/473808da0d476792070f0e7dfebcf1121a12a34f&el=desc) will **increase... | 1,591 | 1,601 | 1,601 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4948/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/4948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4948",
"html_url": "https://github.com/huggingface/transformers/pull/4948",
"diff_url": "https://github.com/huggingface/transformers/pull/4948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4948.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4947/comments | https://api.github.com/repos/huggingface/transformers/issues/4947/events | https://github.com/huggingface/transformers/issues/4947 | 637,403,720 | MDU6SXNzdWU2Mzc0MDM3MjA= | 4,947 | Trainer.evaluate does not support seq2seq models | {
"login": "Guitaricet",
"id": 2821124,
"node_id": "MDQ6VXNlcjI4MjExMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2821124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Guitaricet",
"html_url": "https://github.com/Guitaricet",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @Guitaricet , if you only want to evaluate for loss (AFAIK this is the case for seq2seq models) then you can set `prediction_loss_only` to `True`",
"Hi! Thank you, but I need the metrics too. Workaround was to inherit from `Trainer` and override `_prediction_loop`. ",
"That sounds like a reasonable solution... | 1,591 | 1,602 | 1,602 | NONE | null | # 🐛 Bug
## Information
Hi! I can't thank you enough for Transformers. I know that the Trainer is still under development, but would like to report this just to know the current status.
Currently `Trainer._prediction_loop` assumes that different batches of data have the same shape.
Specifically, [this line](h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4947/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/4947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4946/comments | https://api.github.com/repos/huggingface/transformers/issues/4946/events | https://github.com/huggingface/transformers/pull/4946 | 637,372,899 | MDExOlB1bGxSZXF1ZXN0NDMzMzc1Nzc2 | 4,946 | feat(TFTrainer): improve logging | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"Integration test error does not seem to be related to this PR.\r\n\r\n@jplu On another note, I got strange results while using `run_tf_glue` as learning rate goes quickly to 0.\r\n\r\nCommand:\r\n`run_tf_glue.py --model_name_or_path bert-base-cased --task_name MRPC --do_train --do_eval --max_seq_length 128 --per_d... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR supersedes PR #4756
I wanted initially to refactor logging between `Trainer` and `TFTrainer` but there seems to be too many differences between them for it to make sense (distributed training, logging methods, `wandb.watch`…).
Logging is now handled directly within each Trainer and all comments from previo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4946/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/4946/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4946",
"html_url": "https://github.com/huggingface/transformers/pull/4946",
"diff_url": "https://github.com/huggingface/transformers/pull/4946.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4946.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4945/comments | https://api.github.com/repos/huggingface/transformers/issues/4945/events | https://github.com/huggingface/transformers/issues/4945 | 637,357,132 | MDU6SXNzdWU2MzczNTcxMzI= | 4,945 | Unable to evaluate on fine-tuned bart for summarization | {
"login": "cshivade",
"id": 43888804,
"node_id": "MDQ6VXNlcjQzODg4ODA0",
"avatar_url": "https://avatars.githubusercontent.com/u/43888804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cshivade",
"html_url": "https://github.com/cshivade",
"followers_url": "https://api.github.com/users/csh... | [] | closed | false | null | [] | [
"Got around this by running the following code to generate the config.json and then running evaluate_cnn.py as above.\r\n\r\n```\r\nfrom lightning_base import BaseTransformer\r\nfrom finetune import SummarizationTrainer\r\nimport torch\r\nfrom argparse import Namespace\r\n\r\nargs = Namespace(adam_epsilon=1e-08, ca... | 1,591 | 1,592 | 1,592 | NONE | null | Hello,
I used the [finetune_bart.sh ](https://github.com/huggingface/transformers/blob/master/examples/summarization/finetune_bart.sh) and was able to finetune the model on my task. I checked the output directory and checkpoints were stored and there were no errors.
Following the training, i ran evaluate_cnn.py u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4945/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/4945/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4944/comments | https://api.github.com/repos/huggingface/transformers/issues/4944/events | https://github.com/huggingface/transformers/pull/4944 | 637,353,574 | MDExOlB1bGxSZXF1ZXN0NDMzMzU5NzQ5 | 4,944 | Refactor proposition for multiple choice models | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"id": 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/4944?src=pr&el=h1) Report\n> Merging [#4944](https://codecov.io/gh/huggingface/transformers/pull/4944?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/473808da0d476792070f0e7dfebcf1121a12a34f&el=desc) will **decrease... | 1,591 | 1,598 | 1,598 | COLLABORATOR | null | Opening the discussion about refactoring the dupe code in all task-specific models. This is a proposal of design that still leaves the specific classes and their docstrings, does not change the name of their attributes for backward compatibility but delegates the actual forward method to a task-specific method in `PreT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4944/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/4944/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4944",
"html_url": "https://github.com/huggingface/transformers/pull/4944",
"diff_url": "https://github.com/huggingface/transformers/pull/4944.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4944.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4943/comments | https://api.github.com/repos/huggingface/transformers/issues/4943/events | https://github.com/huggingface/transformers/pull/4943 | 637,304,752 | MDExOlB1bGxSZXF1ZXN0NDMzMzE5NTc5 | 4,943 | NER: fix construction of input examples for RoBERTa | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4943?src=pr&el=h1) Report\n> Merging [#4943](https://codecov.io/gh/huggingface/transformers/pull/4943?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/473808da0d476792070f0e7dfebcf1121a12a34f&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | COLLABORATOR | null | Hi,
this PR avoids adding an extra `</s>` symbol, so that the final sequence ends with `</s> </s>`.
The documentation clearly states, that ther's only one `</s>` expected at the end of a single sequence:
https://huggingface.co/transformers/model_doc/roberta.html#transformers.RobertaTokenizer.build_inputs_with_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4943/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/4943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4943",
"html_url": "https://github.com/huggingface/transformers/pull/4943",
"diff_url": "https://github.com/huggingface/transformers/pull/4943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4943.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4942/comments | https://api.github.com/repos/huggingface/transformers/issues/4942/events | https://github.com/huggingface/transformers/issues/4942 | 637,293,439 | MDU6SXNzdWU2MzcyOTM0Mzk= | 4,942 | Dataloader in Trainer num_workers > 0 | {
"login": "Diego999",
"id": 1092464,
"node_id": "MDQ6VXNlcjEwOTI0NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1092464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Diego999",
"html_url": "https://github.com/Diego999",
"followers_url": "https://api.github.com/users/Diego... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I also have the same issue.",
"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,591 | 1,602 | 1,602 | NONE | null | # ❓ Questions & Help
I notice that when doing inference/training with a pre-trained language model in a Trainer, only one worker is used. For training it's not a problem as the batch size is usually small, however, for inference, I can largely increase it.
However, it seems that https://github.com/huggingface/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4942/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4942/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4941/comments | https://api.github.com/repos/huggingface/transformers/issues/4941/events | https://github.com/huggingface/transformers/pull/4941 | 637,259,841 | MDExOlB1bGxSZXF1ZXN0NDMzMjgxNTg5 | 4,941 | [Benchmark] fix indentation error | {
"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/4941?src=pr&el=h1) Report\n> Merging [#4941](https://codecov.io/gh/huggingface/transformers/pull/4941?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/699541c4b34479451c91b3c6c204d904f62bed83&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | MEMBER | null | Because of a wrong indentation, the memory usage was calculated incorrectly | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4941/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/4941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4941",
"html_url": "https://github.com/huggingface/transformers/pull/4941",
"diff_url": "https://github.com/huggingface/transformers/pull/4941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4941.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4940/comments | https://api.github.com/repos/huggingface/transformers/issues/4940/events | https://github.com/huggingface/transformers/pull/4940 | 637,243,143 | MDExOlB1bGxSZXF1ZXN0NDMzMjY3Njc4 | 4,940 | Delay decay schedule until the end of warmup | {
"login": "amodaresi",
"id": 15783079,
"node_id": "MDQ6VXNlcjE1NzgzMDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/15783079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amodaresi",
"html_url": "https://github.com/amodaresi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4940?src=pr&el=h1) Report\n> Merging [#4940](https://codecov.io/gh/huggingface/transformers/pull/4940?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6293eb04dfef704e87a6e0b358848ffc41587b4f&el=desc) will **increase... | 1,591 | 1,595 | 1,593 | CONTRIBUTOR | null | The decay schedule should start at the end of the warmup steps. Without this simple edit, learning rate will drop at the end of the warmup steps, like the figure shown below:
<img width="378" alt="image" src="https://user-images.githubusercontent.com/15783079/84426617-c5820500-ac38-11ea-9579-2c0d5f374e33.png">
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4940/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/4940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4940",
"html_url": "https://github.com/huggingface/transformers/pull/4940",
"diff_url": "https://github.com/huggingface/transformers/pull/4940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4940.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4939/comments | https://api.github.com/repos/huggingface/transformers/issues/4939/events | https://github.com/huggingface/transformers/pull/4939 | 637,207,304 | MDExOlB1bGxSZXF1ZXN0NDMzMjM4NDMz | 4,939 | [cleanup] Hoist ModelTester objects to top level | {
"login": "aretius",
"id": 18247856,
"node_id": "MDQ6VXNlcjE4MjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/18247856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aretius",
"html_url": "https://github.com/aretius",
"followers_url": "https://api.github.com/users/aretiu... | [
{
"id": 2139563322,
"node_id": "MDU6TGFiZWwyMTM5NTYzMzIy",
"url": "https://api.github.com/repos/huggingface/transformers/labels/cleanup",
"name": "cleanup",
"color": "e7fc49",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4939?src=pr&el=h1) Report\n> Merging [#4939](https://codecov.io/gh/huggingface/transformers/pull/4939?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f9f8a5312e92541ff9a5f483fc4907ec87da876e&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | Fixes #4902
@sshleifer
All tests seem to pass. Please review!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4939/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/4939/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4939",
"html_url": "https://github.com/huggingface/transformers/pull/4939",
"diff_url": "https://github.com/huggingface/transformers/pull/4939.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4939.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4938/comments | https://api.github.com/repos/huggingface/transformers/issues/4938/events | https://github.com/huggingface/transformers/issues/4938 | 637,115,995 | MDU6SXNzdWU2MzcxMTU5OTU= | 4,938 | T5ForConditionalGeneration fp16 issues | {
"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... | [
{
"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,591 | 1,598 | 1,598 | CONTRIBUTOR | null | This is a continuation of and very related to https://github.com/huggingface/transformers/issues/4586
but the issue here is `NaN` loss during finetuning, rather than `nan` in model outputs.
### Instructions to reproduce
From `examples/summarization`
Setup cnn tiny:
```bash
wget https://s3.amazonaws.com/datas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4938/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/4938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4937/comments | https://api.github.com/repos/huggingface/transformers/issues/4937/events | https://github.com/huggingface/transformers/issues/4937 | 637,061,552 | MDU6SXNzdWU2MzcwNjE1NTI= | 4,937 | What is the different options for pooler_type in Bert config ? | {
"login": "ClementViricel",
"id": 19490120,
"node_id": "MDQ6VXNlcjE5NDkwMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/19490120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ClementViricel",
"html_url": "https://github.com/ClementViricel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi! The pooler is actually a linear layer, that is used on top of the BERT encoder (the hidden layers). It's not doing a pooling operation like average or max pooling.\r\n",
"Ok i read that somewhere. But my is on what component ? If you use a pooler on the last layer of bert encoder you will get an output of si... | 1,591 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4937/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/4937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4936/comments | https://api.github.com/repos/huggingface/transformers/issues/4936/events | https://github.com/huggingface/transformers/pull/4936 | 636,949,805 | MDExOlB1bGxSZXF1ZXN0NDMzMDIzNjgz | 4,936 | [Model card] model card for electra-base QA model | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"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/4936?src=pr&el=h1) Report\n> Merging [#4936](https://codecov.io/gh/huggingface/transformers/pull/4936?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/699541c4b34479451c91b3c6c204d904f62bed83&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4936/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/4936/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4936",
"html_url": "https://github.com/huggingface/transformers/pull/4936",
"diff_url": "https://github.com/huggingface/transformers/pull/4936.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4936.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4935/comments | https://api.github.com/repos/huggingface/transformers/issues/4935/events | https://github.com/huggingface/transformers/issues/4935 | 636,917,712 | MDU6SXNzdWU2MzY5MTc3MTI= | 4,935 | name 'ElectraForSequenceClassification' is not defined | {
"login": "Gemini77",
"id": 40814484,
"node_id": "MDQ6VXNlcjQwODE0NDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/40814484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gemini77",
"html_url": "https://github.com/Gemini77",
"followers_url": "https://api.github.com/users/Gem... | [] | closed | false | null | [] | [
"Hi @Gemini77 , what is your transformers version ? \r\n\r\n`ElectraForSequenceClassification` is available in transformers >=2.10.0 version"
] | 1,591 | 1,592 | 1,592 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4935/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/4935/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4934/comments | https://api.github.com/repos/huggingface/transformers/issues/4934/events | https://github.com/huggingface/transformers/issues/4934 | 636,916,731 | MDU6SXNzdWU2MzY5MTY3MzE= | 4,934 | Using LongformerForQuestionAnswering on large documents (40K+ characters) | {
"login": "zirlman",
"id": 24474083,
"node_id": "MDQ6VXNlcjI0NDc0MDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/24474083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zirlman",
"html_url": "https://github.com/zirlman",
"followers_url": "https://api.github.com/users/zirlma... | [] | 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... | [
"_What model of GPU are you using ?_\r\n\r\nI didn't open your notebook, that's what I was looking for :\r\n```\r\nCUDA out of memory. Tried to allocate 4.92 GiB (GPU 0; 11.17 GiB total capacity; 4.64 GiB already allocated; 3.69 GiB free; 7.12 GiB reserved in total by PyTorch)\r\nDetached cpu cpu\r\n```",
"> What... | 1,591 | 1,592 | 1,592 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarily intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiasts can help you out. Mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4934/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/4934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4933/comments | https://api.github.com/repos/huggingface/transformers/issues/4933/events | https://github.com/huggingface/transformers/pull/4933 | 636,869,702 | MDExOlB1bGxSZXF1ZXN0NDMyOTU3MTM5 | 4,933 | [AutoModel] Split AutoModelWithLMHead into clm, mlm, encoder-decoder | {
"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/4933?src=pr&el=h1) Report\n> Merging [#4933](https://codecov.io/gh/huggingface/transformers/pull/4933?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e80d6c689bd62f805a5c8d77ec0cc3b09f240d14&el=desc) will **increase... | 1,591 | 1,597 | 1,591 | MEMBER | null | This is a follow-up PR of #4874.
In #4874, `BertModelForMaskedLM` , was split into a clm `BertLMHeadModel` and mlm Bert Model `BertForMaskedLM`. In order for the encoder-decoder framework to work correctly, the `BertLMHeadModel` needs to be loaded, when instantiating an `EncoderDecoder.from_encoder_decoder_pretraine... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4933/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/4933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4933",
"html_url": "https://github.com/huggingface/transformers/pull/4933",
"diff_url": "https://github.com/huggingface/transformers/pull/4933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4933.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4932/comments | https://api.github.com/repos/huggingface/transformers/issues/4932/events | https://github.com/huggingface/transformers/issues/4932 | 636,813,821 | MDU6SXNzdWU2MzY4MTM4MjE= | 4,932 | Training ELECTRA model on TPU with the help of Trainer or TFTrainer classes | {
"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/... | [
{
"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,591 | 1,598 | 1,598 | NONE | null | # ❓ Questions & Help
Hi there,
I am trying to train Electra model from scratch using HF's Trainer interface. My primary source is this colab:
https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb#scrollTo=ri2BIQKqjfHm
There are several questions about Electra ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4932/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/4932/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4931/comments | https://api.github.com/repos/huggingface/transformers/issues/4931/events | https://github.com/huggingface/transformers/issues/4931 | 636,776,077 | MDU6SXNzdWU2MzY3NzYwNzc= | 4,931 | BertTokenizer from own vocab meet problem | {
"login": "Yangxiaojun1230",
"id": 59246446,
"node_id": "MDQ6VXNlcjU5MjQ2NDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/59246446?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yangxiaojun1230",
"html_url": "https://github.com/Yangxiaojun1230",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"ok, I fix it by using lower case"
] | 1,591 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
I set up own vocab.txt and the item like 3-213,3A23 and so on. When use BertTokenizer.from_pretrained() it couldn't tokenize the '3-213'. Even when I write 'A' in vocab.txt ,and couldn't encode('A'). Do anyone know how to fix this issue?
<!-- The GitHub issue tracker is primarly intended for b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4931/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/4931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4930/comments | https://api.github.com/repos/huggingface/transformers/issues/4930/events | https://github.com/huggingface/transformers/pull/4930 | 636,769,794 | MDExOlB1bGxSZXF1ZXN0NDMyODc5MzYw | 4,930 | Update setup.py for sentencepiece. | {
"login": "soni-vikas",
"id": 26042392,
"node_id": "MDQ6VXNlcjI2MDQyMzky",
"avatar_url": "https://avatars.githubusercontent.com/u/26042392?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soni-vikas",
"html_url": "https://github.com/soni-vikas",
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4930?src=pr&el=h1) Report\n> Merging [#4930](https://codecov.io/gh/huggingface/transformers/pull/4930?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/699541c4b34479451c91b3c6c204d904f62bed83&el=desc) will **increase... | 1,591 | 1,598 | 1,598 | NONE | null | Now the `sentencepiece` library has upgraded to `0.1.92` version which is incompatible with ` transformers==2.8.0`.
sentencepiece==0.1.92 gives segmentation fault (core dumped). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4930/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4930",
"html_url": "https://github.com/huggingface/transformers/pull/4930",
"diff_url": "https://github.com/huggingface/transformers/pull/4930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4930.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4929/comments | https://api.github.com/repos/huggingface/transformers/issues/4929/events | https://github.com/huggingface/transformers/pull/4929 | 636,763,163 | MDExOlB1bGxSZXF1ZXN0NDMyODc0NTM5 | 4,929 | [ElectraForQuestionAnswering] fix qa example in doc | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4929?src=pr&el=h1) Report\n> Merging [#4929](https://codecov.io/gh/huggingface/transformers/pull/4929?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e80d6c689bd62f805a5c8d77ec0cc3b09f240d14&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | MEMBER | null | This PR fixes the QA example in the doc for `ElectraForQuestionAnswering`. In the last example `token_type_ids` were not used, this PR fixes that
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4929/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/4929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4929",
"html_url": "https://github.com/huggingface/transformers/pull/4929",
"diff_url": "https://github.com/huggingface/transformers/pull/4929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4929.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4928/comments | https://api.github.com/repos/huggingface/transformers/issues/4928/events | https://github.com/huggingface/transformers/issues/4928 | 636,760,845 | MDU6SXNzdWU2MzY3NjA4NDU= | 4,928 | sentencepiece dependency must be a specific version. | {
"login": "soni-vikas",
"id": 26042392,
"node_id": "MDQ6VXNlcjI2MDQyMzky",
"avatar_url": "https://avatars.githubusercontent.com/u/26042392?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soni-vikas",
"html_url": "https://github.com/soni-vikas",
"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,591 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
Now the `sentencepiece` library has upgraded to `0.1.92` version which is incompatible with `transformers==2.8.0`.
## Error
`segmentation fault (core dumped)`
## location.
https://github.com/huggingface/transformers/blob/v2.8.0/setup.py#L113
## configurations
- Platf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4928/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/4928/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4927/comments | https://api.github.com/repos/huggingface/transformers/issues/4927/events | https://github.com/huggingface/transformers/issues/4927 | 636,755,292 | MDU6SXNzdWU2MzY3NTUyOTI= | 4,927 | Incorrect loss values calculated for TPU training. | {
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.... | [
{
"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 | [] | [
"@LysandreJik Any comments on this evaluation behavior with Trainer?",
"Could it be solved by adding a `if self.is_world_master` prior to calling `self._log` (or directly within that function)?",
"I think you are right. I was concerned that the evaluator is calculating all these eval loss values separately but ... | 1,591 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
Currently using Trainer on TPU calculates incorrect training and eval_during_training loss values. This leads to loss values logged on Wandb also being incorrect.
## Information
The problem seems to be that with a PyTorch/XLA training setup with multiprocessing, each processes trains and evals on disjoint (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4927/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/4927/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4926/comments | https://api.github.com/repos/huggingface/transformers/issues/4926/events | https://github.com/huggingface/transformers/pull/4926 | 636,738,653 | MDExOlB1bGxSZXF1ZXN0NDMyODU2MDQx | 4,926 | Fixing TPU training by disabling wandb.watch gradients logging | {
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4926?src=pr&el=h1) Report\n> Merging [#4926](https://codecov.io/gh/huggingface/transformers/pull/4926?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e80d6c689bd62f805a5c8d77ec0cc3b09f240d14&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | Fixes issue https://github.com/huggingface/transformers/issues/4814
PyTorch TPU trainer.py had a bug where the training would freeze up during the logging step. On investigation, the culprit was found to be a wandb.watch call which was trying to log gradients. This operation is suspected to be unsupported by Wandb for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4926/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/4926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4926",
"html_url": "https://github.com/huggingface/transformers/pull/4926",
"diff_url": "https://github.com/huggingface/transformers/pull/4926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4926.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4925/comments | https://api.github.com/repos/huggingface/transformers/issues/4925/events | https://github.com/huggingface/transformers/pull/4925 | 636,669,342 | MDExOlB1bGxSZXF1ZXN0NDMyODAwNjY1 | 4,925 | Use dataloader_drop_last in TF dataset | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4925?src=pr&el=h1) Report\n> Merging [#4925](https://codecov.io/gh/huggingface/transformers/pull/4925?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e80d6c689bd62f805a5c8d77ec0cc3b09f240d14&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | Follows PR #4757, fixes issue #4891. I didn't realize then that `TFTrainingArguments` inherited `TrainingArguments` and all of the same options would be available there as well.
Adding this to get to feature parity across PyTorch and TF trainers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4925/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/4925/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4925",
"html_url": "https://github.com/huggingface/transformers/pull/4925",
"diff_url": "https://github.com/huggingface/transformers/pull/4925.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4925.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4924/comments | https://api.github.com/repos/huggingface/transformers/issues/4924/events | https://github.com/huggingface/transformers/pull/4924 | 636,664,229 | MDExOlB1bGxSZXF1ZXN0NDMyNzk2NTk1 | 4,924 | Fix deprecation warnings due to invalid escape sequences. | {
"login": "tirkarthi",
"id": 3972343,
"node_id": "MDQ6VXNlcjM5NzIzNDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3972343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tirkarthi",
"html_url": "https://github.com/tirkarthi",
"followers_url": "https://api.github.com/users/ti... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4924?src=pr&el=h1) Report\n> Merging [#4924](https://codecov.io/gh/huggingface/transformers/pull/4924?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e80d6c689bd62f805a5c8d77ec0cc3b09f240d14&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | Fixes #3754 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4924/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/4924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4924",
"html_url": "https://github.com/huggingface/transformers/pull/4924",
"diff_url": "https://github.com/huggingface/transformers/pull/4924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4924.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4923/comments | https://api.github.com/repos/huggingface/transformers/issues/4923/events | https://github.com/huggingface/transformers/issues/4923 | 636,637,964 | MDU6SXNzdWU2MzY2Mzc5NjQ= | 4,923 | Documentation doesn't include instructions for applying BertModel to documents using GPU acceleration | {
"login": "rjurney",
"id": 42149,
"node_id": "MDQ6VXNlcjQyMTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/42149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjurney",
"html_url": "https://github.com/rjurney",
"followers_url": "https://api.github.com/users/rjurney/follower... | [] | closed | false | null | [] | [
"This is a pretty basic question that's not really about the library:)\r\n\r\nCheck out the PyTorch doc, in particular, the [60 minute blitz](https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html). TL;DR: You'll need to move your model and inputs to the device you want with `.to(device)` calls.",
... | 1,591 | 1,592 | 1,591 | NONE | null | # 🐛 Bug
## Information
I am using `BertModel` to encode my documents using the representation I've just fine-tuned and it is not using the GPU to do the encoding. This is bad because encoding is very slow. I have it running on many cores but would prefer GPU acceleration. It is not clear from the documentation h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4923/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/4923/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4922/comments | https://api.github.com/repos/huggingface/transformers/issues/4922/events | https://github.com/huggingface/transformers/issues/4922 | 636,547,984 | MDU6SXNzdWU2MzY1NDc5ODQ= | 4,922 | Unexpected behavior encoding token_type_ids in GPT models | {
"login": "sarahwie",
"id": 8027676,
"node_id": "MDQ6VXNlcjgwMjc2NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8027676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarahwie",
"html_url": "https://github.com/sarahwie",
"followers_url": "https://api.github.com/users/sarah... | [] | closed | false | null | [] | [] | 1,591 | 1,598 | 1,594 | NONE | null | # 🐛 Bug
## Information
When `token_type_ids` are passed into the `GPT2Model` and subclasses, they're encoded using the `nn.Embedding` lookup table as the vocabulary ([line](https://github.com/huggingface/transformers/blob/3ae2e86baffc1fea8b8b93695fb5a10941fd63dc/src/transformers/modeling_gpt2.py#L477)). Because ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4922/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/4922/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4921/comments | https://api.github.com/repos/huggingface/transformers/issues/4921/events | https://github.com/huggingface/transformers/pull/4921 | 636,547,069 | MDExOlB1bGxSZXF1ZXN0NDMyNzAwNDAz | 4,921 | Make multiple choice models work with input_embeds | {
"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/4921?src=pr&el=h1) Report\n> Merging [#4921](https://codecov.io/gh/huggingface/transformers/pull/4921?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/466aa57a45bfb9fc47d4b75d22c02c34b4b4b0fc&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | Currently, all the multiple choice models will fail if we pass them `inputs_embeds` instead of `input_ids`. This PR fixes that on the pytorch side and adapts the corresponding test for common models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4921/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/4921/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4921",
"html_url": "https://github.com/huggingface/transformers/pull/4921",
"diff_url": "https://github.com/huggingface/transformers/pull/4921.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4921.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.