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/15160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15160/comments | https://api.github.com/repos/huggingface/transformers/issues/15160/events | https://github.com/huggingface/transformers/pull/15160 | 1,103,659,016 | PR_kwDOCUB6oc4xCULx | 15,160 | Fix typo in test_configuration_common.py | {
"login": "novice03",
"id": 44259234,
"node_id": "MDQ6VXNlcjQ0MjU5MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/novice03",
"html_url": "https://github.com/novice03",
"followers_url": "https://api.github.com/users/nov... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
Fixes a small typo in test_configuration_common.py | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15160/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15160",
"html_url": "https://github.com/huggingface/transformers/pull/15160",
"diff_url": "https://github.com/huggingface/transformers/pull/15160.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15160.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15159/comments | https://api.github.com/repos/huggingface/transformers/issues/15159/events | https://github.com/huggingface/transformers/pull/15159 | 1,103,603,329 | PR_kwDOCUB6oc4xCH3y | 15,159 | Fix RuntimeError on generation_utils.py | {
"login": "ipari",
"id": 3617005,
"node_id": "MDQ6VXNlcjM2MTcwMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3617005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ipari",
"html_url": "https://github.com/ipari",
"followers_url": "https://api.github.com/users/ipari/follower... | [] | closed | false | null | [] | [
"Think https://github.com/huggingface/transformers/pull/15498 superseeds this PR a bit as it corrects all occurances of PyTorch's integer divison. Hope it's ok if we go for https://github.com/huggingface/transformers/pull/15498 instead :sweat_smile: "
] | 1,642 | 1,644 | 1,644 | NONE | null | This PR fixes a below runtime error on generation_utils.py
```
RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15159/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15159",
"html_url": "https://github.com/huggingface/transformers/pull/15159",
"diff_url": "https://github.com/huggingface/transformers/pull/15159.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15159.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15158/comments | https://api.github.com/repos/huggingface/transformers/issues/15158/events | https://github.com/huggingface/transformers/pull/15158 | 1,103,559,326 | PR_kwDOCUB6oc4xB-Gk | 15,158 | fix BertTokenizerFast `tokenize_chinese_chars` arg | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"Very nice :)"
] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15158/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15158",
"html_url": "https://github.com/huggingface/transformers/pull/15158",
"diff_url": "https://github.com/huggingface/transformers/pull/15158.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15158.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15157/comments | https://api.github.com/repos/huggingface/transformers/issues/15157/events | https://github.com/huggingface/transformers/pull/15157 | 1,103,554,715 | PR_kwDOCUB6oc4xB9Gj | 15,157 | Fix RuntimeError on generation_utils.py | {
"login": "ipari",
"id": 3617005,
"node_id": "MDQ6VXNlcjM2MTcwMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3617005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ipari",
"html_url": "https://github.com/ipari",
"followers_url": "https://api.github.com/users/ipari/follower... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | NONE | null | This PR fix a below runtime error on generation_utils.py
```
RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15157/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15157",
"html_url": "https://github.com/huggingface/transformers/pull/15157",
"diff_url": "https://github.com/huggingface/transformers/pull/15157.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15157.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15156/comments | https://api.github.com/repos/huggingface/transformers/issues/15156/events | https://github.com/huggingface/transformers/issues/15156 | 1,103,551,472 | I_kwDOCUB6oc5Bxtvw | 15,156 | the `tokenize_chinese_chars` argument is not always taken into account with the fast version of the bert tokenizer | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [
{
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github... | [] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.0.dev0
- Platform: Linux-5.11.0-46-generic-x86_64-with-glibc2.17
- Python version: 3.8.12
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15156/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15155/comments | https://api.github.com/repos/huggingface/transformers/issues/15155/events | https://github.com/huggingface/transformers/pull/15155 | 1,103,526,878 | PR_kwDOCUB6oc4xB2-R | 15,155 | [Robust Speech Event] Add guides | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15155/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15155",
"html_url": "https://github.com/huggingface/transformers/pull/15155",
"diff_url": "https://github.com/huggingface/transformers/pull/15155.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15155.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15154/comments | https://api.github.com/repos/huggingface/transformers/issues/15154/events | https://github.com/huggingface/transformers/pull/15154 | 1,103,435,002 | PR_kwDOCUB6oc4xBi49 | 15,154 | Fixing flaky test (hopefully). | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
Fixed flaky test:
```
RUN_PIPELINE_TESTS=1 pytest -sv tests/test_pipelines_question_answering.py::QAPipelineTests::test_pt_XLNetConfig_XLNetForQuestionAnsweringSimple_XLNetTokenizer_nofeature_extractor
```
This was a real bug (contrary to `p_mask` invalid padding which was linked to a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15154/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15154",
"html_url": "https://github.com/huggingface/transformers/pull/15154",
"diff_url": "https://github.com/huggingface/transformers/pull/15154.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15154.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15153/comments | https://api.github.com/repos/huggingface/transformers/issues/15153/events | https://github.com/huggingface/transformers/issues/15153 | 1,103,270,122 | I_kwDOCUB6oc5BwpDq | 15,153 | It is better to add a function to train additon tokens for the pre_trained tokenizer. esp. for the language like Chinese. | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"it use the source code for generating bert tokenizer , i am finding the src.",
"Have you tried with the `bert-base-chinese` checkpoint?\r\n\r\nAlso cc @SaulLu :)",
"> Have you tried with the `bert-base-chinese` checkpoint?\r\n> \r\n> Also cc @SaulLu :)\r\n\r\nSure , i have tryed some examle is 锶 is not in be... | 1,642 | 1,646 | 1,646 | NONE | null | https://github.com/huggingface/transformers/blob/96881729ce83cfc8e5fa04c903ee4296ad17cfbb/src/transformers/models/bert/tokenization_bert.py#L117
Lately, I use bert to train a NER model for Chinese.
I found many Chinese Charaters in my data can not be tokenize by the bert model. Literally, it is tokened to [PAD], ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15153/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15152/comments | https://api.github.com/repos/huggingface/transformers/issues/15152/events | https://github.com/huggingface/transformers/pull/15152 | 1,103,245,090 | PR_kwDOCUB6oc4xA4Zb | 15,152 | [Fix doc example] UniSpeechSatForPreTraining | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,642 | 1,651 | 1,642 | COLLABORATOR | null | # What does this PR do?
In `UniSpeechSatForPreTraining`, this doc example fails
```
>>> feature_extractor = UniSpeechSatFeatureEncoder.from_pretrained("patrickvonplaten/unispeech_sat-base")
>>> model = UniSpeechSatForPreTraining.from_pretrained("patrickvonplaten/unispeech_sat-base")
```
(can't find this check... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15152/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15152",
"html_url": "https://github.com/huggingface/transformers/pull/15152",
"diff_url": "https://github.com/huggingface/transformers/pull/15152.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15152.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15151/comments | https://api.github.com/repos/huggingface/transformers/issues/15151/events | https://github.com/huggingface/transformers/pull/15151 | 1,103,180,621 | PR_kwDOCUB6oc4xAp3D | 15,151 | Build dev doc | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thank you for your PR. The documentation will now be removed from the staging environment - feel free to reopen this PR to recreate it.",
"Thank you for your PR. The documentation will now be removed from the staging environment - feel free to reopen this PR to recreate it.",
"Thank you for your PR! The docs f... | 1,642 | 1,651 | 1,643 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15151/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15151",
"html_url": "https://github.com/huggingface/transformers/pull/15151",
"diff_url": "https://github.com/huggingface/transformers/pull/15151.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15151.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15150/comments | https://api.github.com/repos/huggingface/transformers/issues/15150/events | https://github.com/huggingface/transformers/pull/15150 | 1,102,440,012 | PR_kwDOCUB6oc4w-BOx | 15,150 | [summarization example] better error message | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Wait, this is an optional argument that only needs to be set if MBart is used as a model.\r\n\r\nThere is an assert later on in the script, so this test should just be removed from the postinit.",
"you're saying it was invalid logic in the first place in the original PR, correct?\r\n\r\nNeed more tests then sinc... | 1,642 | 1,651 | 1,642 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/15125 introduced a new required arg.
This PR improves on the error message that is easier to act on as the original is not actionable unless one intimately knows the script.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15150/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15150",
"html_url": "https://github.com/huggingface/transformers/pull/15150",
"diff_url": "https://github.com/huggingface/transformers/pull/15150.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15150.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15149/comments | https://api.github.com/repos/huggingface/transformers/issues/15149/events | https://github.com/huggingface/transformers/pull/15149 | 1,102,420,347 | PR_kwDOCUB6oc4w98yF | 15,149 | [deepspeed tests] fix summarization | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"(rushed to merge as it unbreaks Deepspeed's live CI that uses our tests)"
] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/15125 has broken deepspeed tests by introducing a new required flag in summarization examples. This PR adapts to this change. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15149/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15149/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15149",
"html_url": "https://github.com/huggingface/transformers/pull/15149",
"diff_url": "https://github.com/huggingface/transformers/pull/15149.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15149.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15148/comments | https://api.github.com/repos/huggingface/transformers/issues/15148/events | https://github.com/huggingface/transformers/pull/15148 | 1,102,383,257 | PR_kwDOCUB6oc4w90b9 | 15,148 | Better dummies | {
"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 | [] | [
"Yes, it will send the imprt error for any attribute, but at the same time the object should just not be used if the right frameworks are not installed.",
"Failure is non-related so merging."
] | 1,642 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
This PR reworks how the dummy objects work by using a metaclass to build them, and make sure that any classmethod used will raise the appropriate error message.
Fixes the bad error message when trying to do something like:
```python
FlaxVisionEncoderDecoderModel.from_encoder_decoder_pret... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15148/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/15148/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15148",
"html_url": "https://github.com/huggingface/transformers/pull/15148",
"diff_url": "https://github.com/huggingface/transformers/pull/15148.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15148.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15147/comments | https://api.github.com/repos/huggingface/transformers/issues/15147/events | https://github.com/huggingface/transformers/pull/15147 | 1,102,288,524 | PR_kwDOCUB6oc4w9fAy | 15,147 | [doc] performance: Efficient Software Prebuilds | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | This PR is adding a section on PyTorch NGC docker images for those who don't want to waste time figuring out their own builds.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15147/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15147",
"html_url": "https://github.com/huggingface/transformers/pull/15147",
"diff_url": "https://github.com/huggingface/transformers/pull/15147.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15147.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15146/comments | https://api.github.com/repos/huggingface/transformers/issues/15146/events | https://github.com/huggingface/transformers/pull/15146 | 1,102,284,253 | PR_kwDOCUB6oc4w9eDC | 15,146 | Add TF glu activation function | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"A little late but looks good to me!"
] | 1,642 | 1,646 | 1,642 | MEMBER | null | # What does this PR do?
Bite-sized PR that adds the GLU activation function for TF, as defined in the original paper. It is a requirement for a few speech models, like `Speech2Text`.
We can see that it matches PyTorch's implementation
```python
import numpy as np
import torch
from transformers.activations_tf ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15146/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15146",
"html_url": "https://github.com/huggingface/transformers/pull/15146",
"diff_url": "https://github.com/huggingface/transformers/pull/15146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15146.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15145/comments | https://api.github.com/repos/huggingface/transformers/issues/15145/events | https://github.com/huggingface/transformers/issues/15145 | 1,102,238,560 | I_kwDOCUB6oc5BstNg | 15,145 | Is it possible to use ONNX for summarisation with BART yet? | {
"login": "HenryDashwood",
"id": 17177967,
"node_id": "MDQ6VXNlcjE3MTc3OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/17177967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryDashwood",
"html_url": "https://github.com/HenryDashwood",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I haven't run the script, but reading off of your code, is there a reason why you put `None` in `onnx_outputs = ort_session.run(None, dict(inputs))`? My understanding is that you would need something like `outputs = ort_session.run([\"last_hidden_state\"], dict(inputs))` instead, where the string key is obtained f... | 1,642 | 1,646 | 1,645 | CONTRIBUTOR | null | Hi there, I've been trying out the latest iteration of ONNX support for BART because it looks like it now supports past key values which I think means I could generate summaries from an ONNX version of my BART models.
I seem to be able to get the model converting nicely as you can see here
```python
import numpy a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15145/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15144/comments | https://api.github.com/repos/huggingface/transformers/issues/15144/events | https://github.com/huggingface/transformers/pull/15144 | 1,102,141,193 | PR_kwDOCUB6oc4w899O | 15,144 | Make sure all submodules are properly registered | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
We have seen some mysterious bugs in Python 3.8 linked to the lazy init in Transformers, where some of the submodules are not properly registered as such because they don't appear in the `_import_structure` dict. This PR fixes that and adds a check to make sure newly added modules are always ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15144/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15144",
"html_url": "https://github.com/huggingface/transformers/pull/15144",
"diff_url": "https://github.com/huggingface/transformers/pull/15144.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15144.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15143/comments | https://api.github.com/repos/huggingface/transformers/issues/15143/events | https://github.com/huggingface/transformers/pull/15143 | 1,102,069,310 | PR_kwDOCUB6oc4w8uYy | 15,143 | [Fix doc example] - OpenAIGPTDoubleHeadsModel | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
This line fails
https://github.com/huggingface/transformers/blob/7b83feb50a8965e9d8f13b6c4042239710b97c76/src/transformers/models/openai/modeling_openai.py#L690
Should change from `lm_logits` to `logits` (See `OpenAIGPTDoubleHeadsModelOutput`)
## Who can review
@patrickvonplaten, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15143/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15143",
"html_url": "https://github.com/huggingface/transformers/pull/15143",
"diff_url": "https://github.com/huggingface/transformers/pull/15143.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15143.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15142/comments | https://api.github.com/repos/huggingface/transformers/issues/15142/events | https://github.com/huggingface/transformers/pull/15142 | 1,102,065,078 | PR_kwDOCUB6oc4w8tei | 15,142 | Update model_sharing.mdx | {
"login": "carlos-aguayo",
"id": 338917,
"node_id": "MDQ6VXNlcjMzODkxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/338917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carlos-aguayo",
"html_url": "https://github.com/carlos-aguayo",
"followers_url": "https://api.github.co... | [] | closed | false | null | [] | [
"@sgugger simple typo fix"
] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | Fix typo
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15142/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15142",
"html_url": "https://github.com/huggingface/transformers/pull/15142",
"diff_url": "https://github.com/huggingface/transformers/pull/15142.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15142.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15141/comments | https://api.github.com/repos/huggingface/transformers/issues/15141/events | https://github.com/huggingface/transformers/pull/15141 | 1,101,988,016 | PR_kwDOCUB6oc4w8dGf | 15,141 | Check the repo consistency in model templates test | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,642 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
Since the split of quality in two, the repo consistency was not checked anymore in the template tests. This PR fixes that.
Some failures coming from the template docs are then caught and fixed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15141",
"html_url": "https://github.com/huggingface/transformers/pull/15141",
"diff_url": "https://github.com/huggingface/transformers/pull/15141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15141.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15140/comments | https://api.github.com/repos/huggingface/transformers/issues/15140/events | https://github.com/huggingface/transformers/issues/15140 | 1,101,952,063 | I_kwDOCUB6oc5BrnQ_ | 15,140 | AutoTokenizer | TypeError: an integer is required (got type NoneType) | {
"login": "danielbellhv",
"id": 84714841,
"node_id": "MDQ6VXNlcjg0NzE0ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielbellhv",
"html_url": "https://github.com/danielbellhv",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @danielbellhv, you're switching from BERT, which has the concept of token type IDs, to DistilBERT, which doesn't. In most cases that isn't important as our API should be able to handle that behind the scenes.\r\n\r\nIn this notebook however, there's a very explicit conversion of all token IDs here:\r\n```\r\na... | 1,642 | 1,642 | 1,642 | NONE | null | Wasn't sure if this was for `Transformers` or `Tokenizers` libraries.
Based on [SO post](https://stackoverflow.com/q/70699247/17840900).
Goal: Amend this [Notebook][1] to work with **distilbert-base-uncased** model
Error occurs in **Section 1.3**.
Kernel: `conda_pytorch_p36`. I did Restart & Run All, and re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15139/comments | https://api.github.com/repos/huggingface/transformers/issues/15139/events | https://github.com/huggingface/transformers/issues/15139 | 1,101,937,594 | I_kwDOCUB6oc5Brju6 | 15,139 | Error when running TFT5ForConditionalGeneration with tensorflow-cpu==2.8.0-rc0 | {
"login": "tdomagal",
"id": 41364371,
"node_id": "MDQ6VXNlcjQxMzY0Mzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/41364371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdomagal",
"html_url": "https://github.com/tdomagal",
"followers_url": "https://api.github.com/users/tdo... | [] | closed | false | null | [] | [
"I'm seeing the same issue on official example: examples/tensorflow/question-answering",
"Can you confirm if this issue still occurs when using TF 2.6 or 2.7?",
"In case of 2.7.0 issue does not reproduce.\r\n\r\nThe following steps allow of easy reproduce using transformers/examples/tensorflow/question-answerin... | 1,642 | 1,642 | 1,642 | NONE | null | ### Environment info
- `transformers` version: 4.15.0
- Platform: Linux-5.4.0-88-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.8.0-rc0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15139/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15138/comments | https://api.github.com/repos/huggingface/transformers/issues/15138/events | https://github.com/huggingface/transformers/issues/15138 | 1,101,928,090 | I_kwDOCUB6oc5Brhaa | 15,138 | [TBD] discrepancy regarding the `tokenize` method behavior - should the unknown token be included or not | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"Hi @SaulLu, thank you for opening an issue! IMO the `tokenize` methods should behave somewhat consistently across tokenizers - but from what I understood this may be impossible given the different tokenization methods.\r\n\r\nMy opinion on the matter is:\r\n- We should try to have all `tokenize` methods conform\r\... | 1,642 | 1,652 | 1,652 | CONTRIBUTOR | null | It seems that not all tokenizers have the same behavior regarding the `tokenize` method, in particular some tokenizers will show the token unknow if the token does not belong to the vocabulary and other tokenizers will show the snippet corresponding to this token unknow in the initial text.
I've created a [google co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15137/comments | https://api.github.com/repos/huggingface/transformers/issues/15137/events | https://github.com/huggingface/transformers/issues/15137 | 1,101,916,307 | I_kwDOCUB6oc5BreiT | 15,137 | Add test suite for flaubert tokenizer | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,642 | 1,649 | 1,649 | CONTRIBUTOR | null | This is tragic, the flaubert tokenizer has no tests. :crying_cat_face:
Details to accompany this issue are coming soon, including a template to add these missing tests. This will probably be a good first issue. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15136/comments | https://api.github.com/repos/huggingface/transformers/issues/15136/events | https://github.com/huggingface/transformers/issues/15136 | 1,101,876,413 | I_kwDOCUB6oc5BrUy9 | 15,136 | AutoTokenizer | ValueError: Couldn't instantiate the backend tokenizer from one of: | {
"login": "danielbellhv",
"id": 84714841,
"node_id": "MDQ6VXNlcjg0NzE0ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielbellhv",
"html_url": "https://github.com/danielbellhv",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Do you have `sentencepiece` installed? If you do, have you restarted the notebook kernel after installing it?",
"Thanks for getting back, @LysandreJik \r\n\r\nI ran `pip install sentincepiece`. Progress has been made, that error is not there anymore.\r\n\r\nHowever, in the same code line, I get an error with `se... | 1,642 | 1,708 | 1,642 | NONE | null | Wasn't sure if this was for `Transformers` or `Tokenizers` libraries.
Based on [SO post](https://stackoverflow.com/q/70698407/17840900).
Goal: Amend this [Notebook][1] to work with **albert-base-v2** model.
Error occurs in **Section 1.3**.
Kernel: `conda_pytorch_p36`. I did Restart & Run All, and refreshed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15136/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15135/comments | https://api.github.com/repos/huggingface/transformers/issues/15135/events | https://github.com/huggingface/transformers/issues/15135 | 1,101,657,172 | I_kwDOCUB6oc5BqfRU | 15,135 | Error when running a wandb sweeps on run_summarization.py | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"The stack trace only shows errors coming from WandB, not the example, so I'm not sure what you want us to fix.",
"Hi @sgugger, you're right it doesn't. The reason I raised it with HF rather than WandB is that I can run a sweep on a function with a trainer in it just fine but whenever I try and run a sweep on the... | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.16.0.dev0
- Platform: Linux-5.11.0-37-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.8.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15134/comments | https://api.github.com/repos/huggingface/transformers/issues/15134/events | https://github.com/huggingface/transformers/pull/15134 | 1,101,500,495 | PR_kwDOCUB6oc4w6xqV | 15,134 | doc-builder -> doc-build | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Just want to make sure [this feature](https://huggingface.slack.com/archives/C02GLJ5S0E9/p1639171159299300) is unrelated to this PR",
"> Just want to make sure this feature is unrelated to this PR\r\n\r\nI have not touched the notebook part of the PR, the notebooks will still get automatically updated AFAICT"
] | 1,642 | 1,642 | 1,642 | MEMBER | null | Changes the repository on which the documentation builds will be pushed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15134",
"html_url": "https://github.com/huggingface/transformers/pull/15134",
"diff_url": "https://github.com/huggingface/transformers/pull/15134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15133/comments | https://api.github.com/repos/huggingface/transformers/issues/15133/events | https://github.com/huggingface/transformers/pull/15133 | 1,101,448,640 | PR_kwDOCUB6oc4w6mcq | 15,133 | Add from_encoder_decoder_pretrained to some dummy obj | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"`check_dummies.py` need to be adjusted to make it work\r\n\r\nhttps://github.com/huggingface/transformers/blob/9a94bb8e218033cffa1ef380010b528410ba3ca7/utils/check_dummies.py#L36-L52",
"Info: should not edit these dummy files manually\r\n\r\n```\r\n# This file is autogenerated by the command `make fix-copies`, d... | 1,642 | 1,651 | 1,642 | COLLABORATOR | null | # What does this PR do?
Fix
https://discuss.huggingface.co/t/flaxvisionencoderdecodermodel-decoder-start-token-id/13635
## Who can review?
@NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15133/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15133",
"html_url": "https://github.com/huggingface/transformers/pull/15133",
"diff_url": "https://github.com/huggingface/transformers/pull/15133.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15133.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15132/comments | https://api.github.com/repos/huggingface/transformers/issues/15132/events | https://github.com/huggingface/transformers/pull/15132 | 1,101,419,494 | PR_kwDOCUB6oc4w6gO0 | 15,132 | Faster model templates | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,642 | 1,651 | 1,645 | MEMBER | null | Changes the container for the model templates to speed up significantly the environment setup. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15132/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15132",
"html_url": "https://github.com/huggingface/transformers/pull/15132",
"diff_url": "https://github.com/huggingface/transformers/pull/15132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15132.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15131/comments | https://api.github.com/repos/huggingface/transformers/issues/15131/events | https://github.com/huggingface/transformers/issues/15131 | 1,101,365,713 | I_kwDOCUB6oc5BpYHR | 15,131 | Electra model class support loading weights from other types of BERTs | {
"login": "congchan",
"id": 18083731,
"node_id": "MDQ6VXNlcjE4MDgzNzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/18083731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/congchan",
"html_url": "https://github.com/congchan",
"followers_url": "https://api.github.com/users/con... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue and feature request! Could you enlighten me as to why you'd like that feature? \r\n\r\nI haven't thought deeply about it, but you're right that these models do share a very similar architecture! As we try to have our tools be as model agnostic as possible, I'm wondering what purp... | 1,642 | 1,645 | 1,645 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
## Motivation
<!-- Please outline the motivation for the proposal. Is your feature request
related to a problem? e.g., I'm always frustrated when [.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15131/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15131/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15130/comments | https://api.github.com/repos/huggingface/transformers/issues/15130/events | https://github.com/huggingface/transformers/issues/15130 | 1,101,186,147 | I_kwDOCUB6oc5BosRj | 15,130 | run_summarization.py download datasets error | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [] | closed | false | null | [] | [
"Hey @cyk1337, I cannot reproduce this error sadly. The code you provided:\r\n\r\n```bash\r\npython run_summarization_no_trainer.py \\\r\n --model_name_or_path t5-small \\\r\n --dataset_name cnn_dailymail \\\r\n --dataset_config \"3.0.0\" \\\r\n --source_prefix \"summarize: \" \\\r\n --output_dir ./t... | 1,642 | 1,645 | 1,645 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.15.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15130/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15129/comments | https://api.github.com/repos/huggingface/transformers/issues/15129/events | https://github.com/huggingface/transformers/pull/15129 | 1,100,858,641 | PR_kwDOCUB6oc4w4lMT | 15,129 | [examples/flax/language-modeling] set loglevel | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Thanks so much @stas00 , problem is solved now! Level is not correctly `INFO` during training!",
"Thank you for confirming that, @stefan-it.",
"Not the main person on the Flax examples so will let @patil-suraj or @patrickvonplaten chime in on the PR :-)"
] | 1,642 | 1,642 | 1,642 | CONTRIBUTOR | null | This PR sets the unset loglevel to a `info` like the rest of flax examples where it wasn't done so.
Fixes a report in https://github.com/huggingface/transformers/pull/14909#issuecomment-1011467609
@patil-suraj, @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15129/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15129",
"html_url": "https://github.com/huggingface/transformers/pull/15129",
"diff_url": "https://github.com/huggingface/transformers/pull/15129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15129.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15128/comments | https://api.github.com/repos/huggingface/transformers/issues/15128/events | https://github.com/huggingface/transformers/issues/15128 | 1,100,826,069 | I_kwDOCUB6oc5BnUXV | 15,128 | Example script to edit kenlm arpa file does not work correctly in kaggle notebook | {
"login": "R4ZZ3",
"id": 25264037,
"node_id": "MDQ6VXNlcjI1MjY0MDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/25264037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/R4ZZ3",
"html_url": "https://github.com/R4ZZ3",
"followers_url": "https://api.github.com/users/R4ZZ3/follow... | [] | closed | false | null | [] | [
"I see thanks a lot for reporting the problem here! Indeed, the regex I use in the blog is not general enough. I'll change it! Thanks a lot for reporting it here and seems like you solved your problem already :-)",
"Should be fixed here: https://github.com/huggingface/blog/pull/206",
"This issue has been automa... | 1,642 | 1,644 | 1,644 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
Kaggle Python environment with GPU acceleration
- `transformers` version: 4.12.5
- Platform: Linux-5.10.68+-x86_64-with-debian-bullseye... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15128/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15127/comments | https://api.github.com/repos/huggingface/transformers/issues/15127/events | https://github.com/huggingface/transformers/issues/15127 | 1,100,627,538 | I_kwDOCUB6oc5Bmj5S | 15,127 | [Community Event] Robust Speech Challenge | {
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,642 | 1,645 | 1,645 | MEMBER | null | Hey everybody,
We have organized a new speech recognition community event and would love to have you there!
During the event we want to teach you how to build robust speech recognition systems in your favorite language 🌍🌎🌏.
The event will focus on [XLS-R](https://huggingface.co/facebook/wav2vec2-xls-r-1b), [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15127/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15126/comments | https://api.github.com/repos/huggingface/transformers/issues/15126/events | https://github.com/huggingface/transformers/issues/15126 | 1,100,626,094 | I_kwDOCUB6oc5Bmjiu | 15,126 | Text generation with TAPAS as encoder | {
"login": "perlitz",
"id": 4630195,
"node_id": "MDQ6VXNlcjQ2MzAxOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4630195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/perlitz",
"html_url": "https://github.com/perlitz",
"followers_url": "https://api.github.com/users/perlitz/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,642 | 1,645 | 1,645 | NONE | null | Hi @NielsRogge,
Thanks for the TAPAS implementation!
I'm trying to to train the model to perform text generation conditioned on tables.
Since TAPAS can encode the semi-structured meaning in tables, I guessed it was a good choice to use it as an encoder and say GPT2 as a decoder.
I however encountered a problem ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15126/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15125/comments | https://api.github.com/repos/huggingface/transformers/issues/15125/events | https://github.com/huggingface/transformers/pull/15125 | 1,100,410,126 | PR_kwDOCUB6oc4w3I0j | 15,125 | mBART support for run_summarization.py | {
"login": "banda-larga",
"id": 49756048,
"node_id": "MDQ6VXNlcjQ5NzU2MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/49756048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/banda-larga",
"html_url": "https://github.com/banda-larga",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"So, it appears that this PR introduced a new issue by forcing all models to include `--lang`, @banda-larga would you like to fix it in a new PR and assert on lack of `--lang` only with mbart model type? see: https://github.com/huggingface/transformers/pull/15150#issuecomment-1012553262\r\n\r\nand while at it to in... | 1,641 | 1,642 | 1,642 | CONTRIBUTOR | null | Added support for multilingual tokenizer and mBART for run_summarization.py
-> run_summarization.py not working with mBART | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15125",
"html_url": "https://github.com/huggingface/transformers/pull/15125",
"diff_url": "https://github.com/huggingface/transformers/pull/15125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15124/comments | https://api.github.com/repos/huggingface/transformers/issues/15124/events | https://github.com/huggingface/transformers/pull/15124 | 1,100,372,634 | PR_kwDOCUB6oc4w3A_B | 15,124 | [Fix doc example] - ProphetNetDecoder | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,641 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
The doc example in `ProphetNetDecoder` will fail
https://github.com/huggingface/transformers/blob/68cc4ccde25b1ed8a9b77fdf6f78c833bdff0e9c/src/transformers/models/prophetnet/modeling_prophetnet.py#L1473-L1474
ProphetNetDecoder never set `is_decoder = True`. It is set only at the level... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15124",
"html_url": "https://github.com/huggingface/transformers/pull/15124",
"diff_url": "https://github.com/huggingface/transformers/pull/15124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15123/comments | https://api.github.com/repos/huggingface/transformers/issues/15123/events | https://github.com/huggingface/transformers/issues/15123 | 1,100,349,288 | I_kwDOCUB6oc5Blf9o | 15,123 | Error while converting distilbart-mnli-12-1 model to ONNX | {
"login": "farzanehnakhaee70",
"id": 30573681,
"node_id": "MDQ6VXNlcjMwNTczNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/30573681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/farzanehnakhaee70",
"html_url": "https://github.com/farzanehnakhaee70",
"followers_url": "https... | [] | closed | false | null | [] | [
"cc @lewtun @michaelbenayoun ",
"Hi @farzanehnakhaee70 and thank you for raising this issue!\r\n\r\nFYI we recently merged a major overhaul of the ONNX export for BART in #14700 which we've tested for various topologies / tasks, e.g. this works:\r\n\r\n```bash\r\n# Install from source with extra ONNX dependencies... | 1,641 | 1,643 | 1,643 | NONE | null | After converting `distilbart-mnli-12-1` to ONNX, while testing the onnx model, I get this issue:
```
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: \[ONNXRuntimeError\] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running Expand node. Name:'Expand_74' Status Message: invalid expand shape... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15123/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15122/comments | https://api.github.com/repos/huggingface/transformers/issues/15122/events | https://github.com/huggingface/transformers/pull/15122 | 1,100,156,687 | PR_kwDOCUB6oc4w2Tmy | 15,122 | fix: switch from slow to generic tokenizer class | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | # What does this PR do?
This PR fixes #15077 where the slow tokenizer version is loaded which does not have a `train_new_from_iterator` method by replacing it with `AutoTokenizer` that loads the fast version by default. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15122",
"html_url": "https://github.com/huggingface/transformers/pull/15122",
"diff_url": "https://github.com/huggingface/transformers/pull/15122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15121/comments | https://api.github.com/repos/huggingface/transformers/issues/15121/events | https://github.com/huggingface/transformers/pull/15121 | 1,100,150,748 | PR_kwDOCUB6oc4w2SWv | 15,121 | Add ONNX configuration classes to docs | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [] | 1,641 | 1,642 | 1,642 | MEMBER | null | # What does this PR do?
This PR adds the ONNX configuration classes to the main doc. I've also removed the permalinks in the ONNX guide that we had included in #14904 to link to the configuration source code. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15121",
"html_url": "https://github.com/huggingface/transformers/pull/15121",
"diff_url": "https://github.com/huggingface/transformers/pull/15121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15121.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15120/comments | https://api.github.com/repos/huggingface/transformers/issues/15120/events | https://github.com/huggingface/transformers/pull/15120 | 1,100,102,992 | PR_kwDOCUB6oc4w2Id0 | 15,120 | Add MAE | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,641 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
This PR implements [MAE](https://github.com/facebookresearch/mae) (Masked Autoencoders are Scalable Vision Learners) by Facebook AI.
I've implemented it as a separate model in the library, as the model is quite specific (encoder only operates on visual patches, next a mask token is added a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15120/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15120",
"html_url": "https://github.com/huggingface/transformers/pull/15120",
"diff_url": "https://github.com/huggingface/transformers/pull/15120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15120.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15119/comments | https://api.github.com/repos/huggingface/transformers/issues/15119/events | https://github.com/huggingface/transformers/pull/15119 | 1,100,087,676 | PR_kwDOCUB6oc4w2FFj | 15,119 | add model scaling section | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"We could definitely make a TF/Keras section! I believe Keras doesn't support gradient accumulation or gradient checkpointing out of the box, though, but mixed precision, Adafactor, etc. are all very doable.",
"Hi @sgugger I integrated your feedback, let me know if this is what you had in mind. ",
"In the case ... | 1,641 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR adds a practical scaling guide to the documentation. When starting to work with large transformer models one of the most common issues is running out of GPU memory. There are several easy to implement strategies to counteract this. This guide shows how to use gradient accumulation, gr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15119",
"html_url": "https://github.com/huggingface/transformers/pull/15119",
"diff_url": "https://github.com/huggingface/transformers/pull/15119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15118/comments | https://api.github.com/repos/huggingface/transformers/issues/15118/events | https://github.com/huggingface/transformers/issues/15118 | 1,100,042,761 | I_kwDOCUB6oc5BkVIJ | 15,118 | ImportError: cannot import name 'CpmTokenizer' from 'transformers' | {
"login": "Biaocsu",
"id": 45280752,
"node_id": "MDQ6VXNlcjQ1MjgwNzUy",
"avatar_url": "https://avatars.githubusercontent.com/u/45280752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Biaocsu",
"html_url": "https://github.com/Biaocsu",
"followers_url": "https://api.github.com/users/Biaocs... | [] | closed | false | null | [] | [
"Probably `sentencepiece` is not installed. `CpmTokenizer` depends on `sentencepiece`, so make sure you have `sentencepiece` installed. You could install it using:\r\n`pip install sentencepiece`",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still ne... | 1,641 | 1,645 | 1,645 | NONE | null | ```
nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.118.02 Driver Version: 440.118.02 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Vol... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15117/comments | https://api.github.com/repos/huggingface/transformers/issues/15117/events | https://github.com/huggingface/transformers/issues/15117 | 1,100,003,545 | I_kwDOCUB6oc5BkLjZ | 15,117 | Reason for returning dequantized (fp.32) value at every layer of I-BERT. | {
"login": "Sutapa-Dutta",
"id": 50777899,
"node_id": "MDQ6VXNlcjUwNzc3ODk5",
"avatar_url": "https://avatars.githubusercontent.com/u/50777899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sutapa-Dutta",
"html_url": "https://github.com/Sutapa-Dutta",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,641 | 1,645 | 1,645 | NONE | null | In I-Bert(/src/transformers/models/ibert/quant_modules.py#L114)
Kindly let me know the reason to return the dequantized(fp.32) value (quantized_input*scaling_factor) at every quantized-layer as seen below:-
`classQuantAct(nn.Module):
.
.
return quant_act_int * correct_output_scale, self.act_scaling_factor
`cla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15116/comments | https://api.github.com/repos/huggingface/transformers/issues/15116/events | https://github.com/huggingface/transformers/pull/15116 | 1,099,989,608 | PR_kwDOCUB6oc4w1wtW | 15,116 | Fix QA trainer to properly log eval metrics | {
"login": "nannullna",
"id": 71133810,
"node_id": "MDQ6VXNlcjcxMTMzODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/71133810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nannullna",
"html_url": "https://github.com/nannullna",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The prefix is added in the lines above.",
"Oh, I guess I used the older version of the QA trainer... \r\nI feel sorry for bothering you and not fully checking the code. Actually, it was my first public PR...\r\nAnyway, I really appreciate your reply and your efforts to create and maintain this library.\r\n",
"... | 1,641 | 1,642 | 1,642 | NONE | null | # What does this PR do?
This PR updates the custom `QuestionAnsweringTrainer` in the examples. Previously, the trainer used `self.log()`, which does not add a prefix `"eval"`. This was a problem especially when reporting metrics to WanDB. Without a prefix, WanDB assumes the metrics come from training data, not evalu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15116",
"html_url": "https://github.com/huggingface/transformers/pull/15116",
"diff_url": "https://github.com/huggingface/transformers/pull/15116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15115/comments | https://api.github.com/repos/huggingface/transformers/issues/15115/events | https://github.com/huggingface/transformers/issues/15115 | 1,099,962,056 | I_kwDOCUB6oc5BkBbI | 15,115 | OOM error on Pretraining Albert with batch size 8 | {
"login": "tkngoutham",
"id": 3364180,
"node_id": "MDQ6VXNlcjMzNjQxODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3364180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkngoutham",
"html_url": "https://github.com/tkngoutham",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Have you read the following guide on performance? https://huggingface.co/docs/transformers/master/performance\r\n\r\ncc @sgugger @stas00 ",
"since you have multiple GPUs most likely you want to use a proper scalability solution like [Deepspeed](https://huggingface.co/docs/transformers/master/main_classes/deepspe... | 1,641 | 1,647 | 1,647 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.15.0
- Platform: Ubuntu 18.1
- Python version: 3.7
- PyTorch version (GPU?): 1.6+cuda 10.1
- Tensorflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15115/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15114/comments | https://api.github.com/repos/huggingface/transformers/issues/15114/events | https://github.com/huggingface/transformers/issues/15114 | 1,099,620,017 | I_kwDOCUB6oc5Bit6x | 15,114 | Trying to train the TFWav2Vec2ForCTC model | {
"login": "lucasagrizzi",
"id": 30624187,
"node_id": "MDQ6VXNlcjMwNjI0MTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/30624187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasagrizzi",
"html_url": "https://github.com/lucasagrizzi",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Interesting! cc @anton-l and TF squad {@Rocketknight1, @gante} ",
"Taking a look",
"After some exploration, here are some findings:\r\n\r\n@lucasagrizzi, thank you for the provided script, it was very helpful to debug 🙏 There were a few minor issues in the original script -- the generated random labels were ... | 1,641 | 1,657 | 1,657 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.15.0
- Platform: Colab
### Who can help: @patrickvonplaten @anton-l
<!-- Your issue will be replied to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15114/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15113/comments | https://api.github.com/repos/huggingface/transformers/issues/15113/events | https://github.com/huggingface/transformers/pull/15113 | 1,099,609,015 | PR_kwDOCUB6oc4w0kWI | 15,113 | Add TFSpeech2Text | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | closed | false | null | [] | [
"Tagging @sgugger as a core dev, @patil-suraj as a core dev + original creator of our `Speech2Text`, and @Rocketknight1 as the TensorFlow boy. Feel free to redirect the reviews if you know of better people to review.\r\n\r\nSome pipeline tests are failing almost surely due to the changes in `generation_tf_utils.py`... | 1,641 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR adds a TF port of Speech2Text. A summary of the changes:
- This model borrows a lot of code from TFBart, just like Speech2Text borrowed from Bart;
- Tried to follow the changes in other PRs to enable smooth interoperation with other parts of transformers (e.g. auto classes), might b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15113/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/15113/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15113",
"html_url": "https://github.com/huggingface/transformers/pull/15113",
"diff_url": "https://github.com/huggingface/transformers/pull/15113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15113.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15112/comments | https://api.github.com/repos/huggingface/transformers/issues/15112/events | https://github.com/huggingface/transformers/issues/15112 | 1,099,563,634 | I_kwDOCUB6oc5BigJy | 15,112 | How to efficiently tokenize unknown tokens in GPT2 | {
"login": "soumya-ranjan-sahoo",
"id": 36735094,
"node_id": "MDQ6VXNlcjM2NzM1MDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/36735094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soumya-ranjan-sahoo",
"html_url": "https://github.com/soumya-ranjan-sahoo",
"followers_url": ... | [] | closed | false | null | [] | [
"Hi, @soumya-ranjan-sahoo This is a more general question, so would be awesome if you could ask this on the [forum ](https://discuss.huggingface.co/). We use issues for bug reports or feature requests. Thanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you thin... | 1,641 | 1,645 | 1,645 | NONE | null | I am trying to train a dialog system using GPT2. For tokenization, I am using the following configuration for adding the special tokens.
```
from transformers import (
AdamW,
AutoConfig,
AutoTokenizer,
PreTrainedModel,
PreTrainedTokenizer,
get_linear_schedule_with_warmup,
)
SP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15111/comments | https://api.github.com/repos/huggingface/transformers/issues/15111/events | https://github.com/huggingface/transformers/pull/15111 | 1,099,448,877 | PR_kwDOCUB6oc4w0DEw | 15,111 | Update TF test_step to match train_step | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15111",
"html_url": "https://github.com/huggingface/transformers/pull/15111",
"diff_url": "https://github.com/huggingface/transformers/pull/15111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15111.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15110/comments | https://api.github.com/repos/huggingface/transformers/issues/15110/events | https://github.com/huggingface/transformers/pull/15110 | 1,099,444,152 | PR_kwDOCUB6oc4w0CB3 | 15,110 | Build dev doc | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This should be nearly good to go, only need to check that on close it doesn't actually regenerate the modifications of the PR.\r\n\r\nWill take a stab at that tomorrow morning cc @sgugger @mishig25 ",
"Will only need to change the target of the `git add` directive and it should be good to go",
"As said in priv... | 1,641 | 1,651 | 1,642 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15110/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/15110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15110",
"html_url": "https://github.com/huggingface/transformers/pull/15110",
"diff_url": "https://github.com/huggingface/transformers/pull/15110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15109/comments | https://api.github.com/repos/huggingface/transformers/issues/15109/events | https://github.com/huggingface/transformers/issues/15109 | 1,099,437,243 | I_kwDOCUB6oc5BiBS7 | 15,109 | Why is Marian to Torch converter hardcoded for tied vocab ? | {
"login": "GokulNC",
"id": 10559293,
"node_id": "MDQ6VXNlcjEwNTU5Mjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/10559293?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GokulNC",
"html_url": "https://github.com/GokulNC",
"followers_url": "https://api.github.com/users/GokulN... | [] | closed | false | null | [] | [
"I understand that this was created only to add support for [baseline models released from Tatoeba Challenge](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models).\r\nBut it would be great if we can generalize it. Thanks!",
"cc @patil-suraj ",
"Hi @sshleifer\r\nJust saw your comment on this thr... | 1,641 | 1,661 | 1,646 | NONE | null | I see the following condition:
https://github.com/huggingface/transformers/blob/16f0b7d72c6d4e122957392c342b074aa2c5c519/src/transformers/models/marian/convert_marian_to_pytorch.py#L462
While training my Marian model, I do not want to tie my source and target embeddings.
How do I convert such a model? (This is a v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15108/comments | https://api.github.com/repos/huggingface/transformers/issues/15108/events | https://github.com/huggingface/transformers/issues/15108 | 1,099,393,707 | I_kwDOCUB6oc5Bh2qr | 15,108 | Support custom StoppingCriteria in model.generate | {
"login": "Linyxus",
"id": 11204124,
"node_id": "MDQ6VXNlcjExMjA0MTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/11204124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Linyxus",
"html_url": "https://github.com/Linyxus",
"followers_url": "https://api.github.com/users/Linyxu... | [] | closed | false | null | [] | [
"Hi @Linyxus , passing custom criteria is now supported, see #14779",
"Thank you! :D"
] | 1,641 | 1,641 | 1,641 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
It could be helpful to support custom StoppingCriteria in `model.generate`.
Currently, `model.generate` implemented in generation_utils.py ([permlink](htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15107/comments | https://api.github.com/repos/huggingface/transformers/issues/15107/events | https://github.com/huggingface/transformers/issues/15107 | 1,099,392,599 | I_kwDOCUB6oc5Bh2ZX | 15,107 | Weird evaluation result when using distributed training | {
"login": "nguyenvulebinh",
"id": 8703196,
"node_id": "MDQ6VXNlcjg3MDMxOTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8703196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nguyenvulebinh",
"html_url": "https://github.com/nguyenvulebinh",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hey @nguyenvulebinh,\r\n\r\nCould you please share the bash command that you used to start your training? Also how many gpus do you use? 2?",
"BTW, we'll announce an event tomorrow where we'll teach you how to train Wav2Vec2 - see: https://github.com/huggingface/transformers/tree/master/examples/research_project... | 1,641 | 1,646 | 1,646 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.15.0
- Platform: Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.11
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15107/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15106/comments | https://api.github.com/repos/huggingface/transformers/issues/15106/events | https://github.com/huggingface/transformers/pull/15106 | 1,099,361,574 | PR_kwDOCUB6oc4wzxOJ | 15,106 | Add "open in hf spaces" gradio button issue #73 | {
"login": "AK391",
"id": 81195143,
"node_id": "MDQ6VXNlcjgxMTk1MTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/81195143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AK391",
"html_url": "https://github.com/AK391",
"followers_url": "https://api.github.com/users/AK391/follow... | [] | closed | false | null | [] | [
"@AK391 feel free to merge the PR",
"@mishig25 thanks merged "
] | 1,641 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
Closes https://github.com/huggingface/doc-builder/issues/73
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15106/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15106",
"html_url": "https://github.com/huggingface/transformers/pull/15106",
"diff_url": "https://github.com/huggingface/transformers/pull/15106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15105/comments | https://api.github.com/repos/huggingface/transformers/issues/15105/events | https://github.com/huggingface/transformers/pull/15105 | 1,099,306,023 | PR_kwDOCUB6oc4wzleJ | 15,105 | Doc styler tip | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This PR makes sure the doc styler considers the start and end of Tip blocks as paragraph-breakers. For instance
```py
"""
<Tip>
Short tip with no new line
</Tip>
"""
```
is currently restyled on one line (which may or may not work with the frontend).
With this PR, it's restyled lik... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15105",
"html_url": "https://github.com/huggingface/transformers/pull/15105",
"diff_url": "https://github.com/huggingface/transformers/pull/15105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15105.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15104/comments | https://api.github.com/repos/huggingface/transformers/issues/15104/events | https://github.com/huggingface/transformers/pull/15104 | 1,099,147,717 | PR_kwDOCUB6oc4wzEUN | 15,104 | Fix failing W2V2 test | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thank you!"
] | 1,641 | 1,641 | 1,641 | MEMBER | null | This PR fixes a failing test due to the two lists not being ordered. We're checking the content of the list, not the order. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15104",
"html_url": "https://github.com/huggingface/transformers/pull/15104",
"diff_url": "https://github.com/huggingface/transformers/pull/15104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15104.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15103/comments | https://api.github.com/repos/huggingface/transformers/issues/15103/events | https://github.com/huggingface/transformers/pull/15103 | 1,099,141,974 | PR_kwDOCUB6oc4wzDE_ | 15,103 | Add PerceiverForTokenClassification | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc'ing @Narsil as the token classification pipeline currently doesn't work with the Perceiver. Shoud I remove it from the Auto API?",
"@NielsRogge What does happen when it doesn't work ?\r\n\r\nIs it taking text only ? then it should be fixable, no ?",
"This issue has been automatically marked as stale because... | 1,641 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
You can also use the Perceiver to do named-entity recognition! Training for 3 epochs on CoNLL 2003 gives me the following result (using the official example script):
```
***** eval metrics *****
epoch = 3.0
eval_LOC_f1 = 0.8895
eval_LOC_nu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15103",
"html_url": "https://github.com/huggingface/transformers/pull/15103",
"diff_url": "https://github.com/huggingface/transformers/pull/15103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15103.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15102/comments | https://api.github.com/repos/huggingface/transformers/issues/15102/events | https://github.com/huggingface/transformers/pull/15102 | 1,099,129,734 | PR_kwDOCUB6oc4wzAd5 | 15,102 | Print out durations of all scheduled tests | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | Adds an entry in all scheduled tests to print out the durations, so that we may have better visibility over the slow tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15102",
"html_url": "https://github.com/huggingface/transformers/pull/15102",
"diff_url": "https://github.com/huggingface/transformers/pull/15102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15102.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15101/comments | https://api.github.com/repos/huggingface/transformers/issues/15101/events | https://github.com/huggingface/transformers/pull/15101 | 1,098,946,870 | PR_kwDOCUB6oc4wyZk2 | 15,101 | Cleanup load_weight_prefix in TFEncoderDecoderModel | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"Thank you @ydshieh for your contribution!\r\n\r\nFrom recent conversations with @patrickvonplaten and @Rocketknight1, I think this is actually important and cannot be removed, right? I'll let them chime in :)",
"I'm not aware of any reason to keep the `_1`, but then again I don't know why it was there in the fir... | 1,641 | 1,643 | 1,643 | COLLABORATOR | null | # What does this PR do?
## Short
In `TFEncoderDecoderModel`, there is `tf_encoder_decoder_model_1` (with the strange ending `_1`)
https://github.com/huggingface/transformers/blob/68810aa26c083fd97d976cef7ac65fdd9cc9b520/src/transformers/models/encoder_decoder/modeling_tf_encoder_decoder.py#L158
This PR change... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15101",
"html_url": "https://github.com/huggingface/transformers/pull/15101",
"diff_url": "https://github.com/huggingface/transformers/pull/15101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15101.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15100/comments | https://api.github.com/repos/huggingface/transformers/issues/15100/events | https://github.com/huggingface/transformers/pull/15100 | 1,098,919,829 | PR_kwDOCUB6oc4wyT99 | 15,100 | Fix cookiecutter | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | CONTRIBUTOR | null | # What does this PR do?
Super tiny fix, XLNetConfig shouldn't be in the CookieCutter template. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15100/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15100",
"html_url": "https://github.com/huggingface/transformers/pull/15100",
"diff_url": "https://github.com/huggingface/transformers/pull/15100.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15100.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15099/comments | https://api.github.com/repos/huggingface/transformers/issues/15099/events | https://github.com/huggingface/transformers/pull/15099 | 1,098,902,066 | PR_kwDOCUB6oc4wyQTx | 15,099 | change metric_key_prefix in seq2seq_trainer.py | {
"login": "JejuWayfarer",
"id": 49282663,
"node_id": "MDQ6VXNlcjQ5MjgyNjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/49282663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JejuWayfarer",
"html_url": "https://github.com/JejuWayfarer",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | CONTRIBUTOR | null |
# What does this PR do?
In the trainer, the metric_key_prefix of the predict is set as "test", and in the seq2seq trainer, it is set as "eval", so the same result does not come out.
To solve this problem, the metric_key_prefix for the seq2seq trainer was modified to "test".
## Who can review?
--> trainer: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15099",
"html_url": "https://github.com/huggingface/transformers/pull/15099",
"diff_url": "https://github.com/huggingface/transformers/pull/15099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15099.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15098/comments | https://api.github.com/repos/huggingface/transformers/issues/15098/events | https://github.com/huggingface/transformers/pull/15098 | 1,098,204,433 | PR_kwDOCUB6oc4wv-QD | 15,098 | Get started docs | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,641 | 1,643 | 1,643 | MEMBER | null | 🧼 A clean commit of changes of the Get Started documentation (with most of the feedback applied) after I messed up PR #14807. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15098",
"html_url": "https://github.com/huggingface/transformers/pull/15098",
"diff_url": "https://github.com/huggingface/transformers/pull/15098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15098.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15097/comments | https://api.github.com/repos/huggingface/transformers/issues/15097/events | https://github.com/huggingface/transformers/issues/15097 | 1,098,199,542 | I_kwDOCUB6oc5BdTH2 | 15,097 | GPT-J Tokenizer model_max_length=1024 despite n_positions=2048 | {
"login": "oborchers",
"id": 26734737,
"node_id": "MDQ6VXNlcjI2NzM0NzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/26734737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oborchers",
"html_url": "https://github.com/oborchers",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This sounds like its a typo. If you change it to 2048, does the model run without issue?",
"Yes, that’s why I raised the issue 👍🏻",
"Hi, good catch! This is because GPT-J uses `GPT2Tokenizer`which has `model_max_length` set to 1024. Here we could directly update`tokenizer_config.json` file on the hub.\r\n\r... | 1,641 | 1,641 | 1,641 | NONE | null | On the hub the `tokenizer_config.json` states, that GPT-J has a `"model_max_length": 1024`, despite the fact that it can generate up to `2048` tokens, as per `"n_positions": 2048` according to the config.
Is this intended?
Tagging due to knowledge of the original issue:
@StellaAthena @EricHallahan @patrickvonp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15097/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15096/comments | https://api.github.com/repos/huggingface/transformers/issues/15096/events | https://github.com/huggingface/transformers/pull/15096 | 1,098,184,963 | PR_kwDOCUB6oc4wv6Qg | 15,096 | Add test to check reported training loss | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This PR adds a test to check the reported training loss is correct, with various logging_steps values. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15096/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15096",
"html_url": "https://github.com/huggingface/transformers/pull/15096",
"diff_url": "https://github.com/huggingface/transformers/pull/15096.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15096.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15095/comments | https://api.github.com/repos/huggingface/transformers/issues/15095/events | https://github.com/huggingface/transformers/pull/15095 | 1,098,152,863 | PR_kwDOCUB6oc4wvzaW | 15,095 | Take gradient accumulation into account when defining samplers | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This PR takes the gradient accumulation steps into account when defining samplers that use the batch size (like the `LengthGroupedSampler`) so that training with large batch size or training with smaller batch size and gradient accumulation (e.g. batch size 64 or batch size 8 and gradient acc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15095/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15095",
"html_url": "https://github.com/huggingface/transformers/pull/15095",
"diff_url": "https://github.com/huggingface/transformers/pull/15095.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15095.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15094/comments | https://api.github.com/repos/huggingface/transformers/issues/15094/events | https://github.com/huggingface/transformers/pull/15094 | 1,098,130,389 | PR_kwDOCUB6oc4wvucw | 15,094 | Happy New Year! | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This PR updates the Copyright years to 2022 in the templates. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15094/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15094",
"html_url": "https://github.com/huggingface/transformers/pull/15094",
"diff_url": "https://github.com/huggingface/transformers/pull/15094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15094.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15093/comments | https://api.github.com/repos/huggingface/transformers/issues/15093/events | https://github.com/huggingface/transformers/pull/15093 | 1,098,116,648 | PR_kwDOCUB6oc4wvroU | 15,093 | [DOC] fix doc examples for bart-like models | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | # What does this PR do?
Fixes example docs in Bart-like models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15093",
"html_url": "https://github.com/huggingface/transformers/pull/15093",
"diff_url": "https://github.com/huggingface/transformers/pull/15093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15093.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15092/comments | https://api.github.com/repos/huggingface/transformers/issues/15092/events | https://github.com/huggingface/transformers/pull/15092 | 1,098,103,540 | PR_kwDOCUB6oc4wvo7i | 15,092 | [Fix doc example] Speech2TextForConditionalGeneration | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This fails for `Speech2TextForConditionalGeneration`
```
>>> generated_ids = model.generate(input_ids=input_features)
```
I changed it to `model.generate(inputs=input_features)`.
## Who can review?
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15092/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15092",
"html_url": "https://github.com/huggingface/transformers/pull/15092",
"diff_url": "https://github.com/huggingface/transformers/pull/15092.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15092.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15091/comments | https://api.github.com/repos/huggingface/transformers/issues/15091/events | https://github.com/huggingface/transformers/pull/15091 | 1,098,078,199 | PR_kwDOCUB6oc4wvjjk | 15,091 | Add YOSO | {
"login": "novice03",
"id": 44259234,
"node_id": "MDQ6VXNlcjQ0MjU5MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/novice03",
"html_url": "https://github.com/novice03",
"followers_url": "https://api.github.com/users/nov... | [] | closed | false | null | [] | [
"Hey @novice03,\r\n\r\nThanks a lot for adding this complicated model! Looks super cool :-) Also great to see a revival of the LSH mechanism for long-range sequence modeling after Reformer.\r\n\r\nLeft a couple of suggestions above. It would be great if:\r\n\r\n- We could remove the whole `use_cache` logic as the m... | 1,641 | 1,643 | 1,643 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the YOSO Transformer model to the repository.
Paper: [You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Sampling](http://proceedings.mlr.press/v139/zeng21a/zeng21a.pdf)
Code: [Official code](https://github.com/mlpen/YOSO)
Checkpoints: [Uploaded to hub]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15091/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15091",
"html_url": "https://github.com/huggingface/transformers/pull/15091",
"diff_url": "https://github.com/huggingface/transformers/pull/15091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15091.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15090/comments | https://api.github.com/repos/huggingface/transformers/issues/15090/events | https://github.com/huggingface/transformers/pull/15090 | 1,098,014,803 | PR_kwDOCUB6oc4wvWYM | 15,090 | Adding Tensorflow Perceiver Model | {
"login": "elk-cloner",
"id": 5828101,
"node_id": "MDQ6VXNlcjU4MjgxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5828101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elk-cloner",
"html_url": "https://github.com/elk-cloner",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,641 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15090/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/15090/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15090",
"html_url": "https://github.com/huggingface/transformers/pull/15090",
"diff_url": "https://github.com/huggingface/transformers/pull/15090.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15090.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15089/comments | https://api.github.com/repos/huggingface/transformers/issues/15089/events | https://github.com/huggingface/transformers/issues/15089 | 1,097,981,979 | I_kwDOCUB6oc5BceAb | 15,089 | Trainer not keeping best model checkpoint with save_total_limit=1 | {
"login": "erickrf",
"id": 294483,
"node_id": "MDQ6VXNlcjI5NDQ4Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/294483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erickrf",
"html_url": "https://github.com/erickrf",
"followers_url": "https://api.github.com/users/erickrf/fo... | [] | closed | false | null | [] | [
"I am unsure what behavior you are seeing, but `load_best_model_at_end=True` makes sure the best model checkpoint is always kept. That means the absolute best model checkpoint, so if at step 500, you get a model worse then at step 450, and the best model checkpoint was at step 350, the Trainer will delete the check... | 1,641 | 1,673 | 1,641 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.13.0
- Platform: Linux-5.4.109+-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15089/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15088/comments | https://api.github.com/repos/huggingface/transformers/issues/15088/events | https://github.com/huggingface/transformers/pull/15088 | 1,097,958,937 | PR_kwDOCUB6oc4wvK3K | 15,088 | Change assignee for tokenizers | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | Changes the assignee for tokenizers bug reports. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15088/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15088",
"html_url": "https://github.com/huggingface/transformers/pull/15088",
"diff_url": "https://github.com/huggingface/transformers/pull/15088.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15088.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15087/comments | https://api.github.com/repos/huggingface/transformers/issues/15087/events | https://github.com/huggingface/transformers/issues/15087 | 1,097,706,945 | I_kwDOCUB6oc5Bba3B | 15,087 | optimum | ModuleNotFoundError: No module named 'optimum.intel.lpot' | {
"login": "danielbellhv",
"id": 84714841,
"node_id": "MDQ6VXNlcjg0NzE0ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/84714841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielbellhv",
"html_url": "https://github.com/danielbellhv",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @mfuntowicz @michaelbenayoun @lewtun @echarlaix ",
"Hi @danielbellhv, \r\nI think you are making reference to our hardware [page](https://huggingface.co/hardware), which needs to updated, thanks for pointing that out.\r\nThe library previously named LPOT has been renamed to Intel Neural Compressor (INC), whic... | 1,641 | 1,642 | 1,641 | NONE | null | Kernel: `conda_pytorch_p36` .
---
Installations:
```
pip install optimum
```
OR
```
! pip install datasets transformers optimum[intel]
```
Both provide same Traceback:
```
Requirement already satisfied: optimum in /home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages (0.1.3)
Requireme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15087/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15086/comments | https://api.github.com/repos/huggingface/transformers/issues/15086/events | https://github.com/huggingface/transformers/issues/15086 | 1,097,674,923 | I_kwDOCUB6oc5BbTCr | 15,086 | UserWarning: __floordiv__ is deprecated | {
"login": "ypirkani",
"id": 42676982,
"node_id": "MDQ6VXNlcjQyNjc2OTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/42676982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ypirkani",
"html_url": "https://github.com/ypirkani",
"followers_url": "https://api.github.com/users/ypi... | [] | closed | false | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [
{
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.git... | [
"The same warning is shown for LayoutLMv2, see #14577 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://githu... | 1,641 | 1,645 | 1,644 | NONE | null | Dear All,
I am trying to Fine-tune XLSR for Speech Recognition "facebook/wav2vec2-base" model for Urdu Language.
However when I run the trainer, I am getting the following warning:
```
/home/e-team/anaconda3/lib/python3.9/site-packages/transformers/models/wav2vec2/modeling_wav2vec2.py:704: UserWarning: __floor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15085/comments | https://api.github.com/repos/huggingface/transformers/issues/15085/events | https://github.com/huggingface/transformers/pull/15085 | 1,097,601,888 | PR_kwDOCUB6oc4wt_or | 15,085 | Add Swin Transformer | {
"login": "novice03",
"id": 44259234,
"node_id": "MDQ6VXNlcjQ0MjU5MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/novice03",
"html_url": "https://github.com/novice03",
"followers_url": "https://api.github.com/users/nov... | [] | closed | false | null | [] | [
"Thanks for your review. I overlooked the fact the reviewer is made a co-author by GitHub. I'll keep that in mind going forward.",
"> I overlooked the fact the reviewer is made a co-author by GitHub. I'll keep that in mind going forward.\r\n\r\nI'm pretty sure you didn't know, which is why I'm telling you :-)",
... | 1,641 | 1,646 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the Swin Transformer model to the repository.
Paper: [https://arxiv.org/abs/2103.14030](https://arxiv.org/abs/2103.14030)
Code: [Official code](https://github.com/microsoft/Swin-Transformer) and [timm implementation](https://github.com/rwightman/pytorch-image-models/blob/mast... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15085/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15085",
"html_url": "https://github.com/huggingface/transformers/pull/15085",
"diff_url": "https://github.com/huggingface/transformers/pull/15085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15085.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15084/comments | https://api.github.com/repos/huggingface/transformers/issues/15084/events | https://github.com/huggingface/transformers/pull/15084 | 1,097,454,374 | PR_kwDOCUB6oc4wtg88 | 15,084 | electra is added to onnx supported model | {
"login": "arron1227",
"id": 96719527,
"node_id": "U_kgDOBcPSpw",
"avatar_url": "https://avatars.githubusercontent.com/u/96719527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arron1227",
"html_url": "https://github.com/arron1227",
"followers_url": "https://api.github.com/users/arron122... | [] | closed | false | null | [] | [
"> Thank you for this very clean PR @arron1227 🔥 !\r\n> \r\n> Overall it looks great 😃. Could you please:\r\n> \r\n> * add an Electra checkpoint to `test_onnx_v2.py` [here](https://github.com/huggingface/transformers/blob/a54961c5f70ff01ca3d62a56ece083096b7c1a7d/tests/test_onnx_v2.py#L171). I would try something ... | 1,641 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15084/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15084",
"html_url": "https://github.com/huggingface/transformers/pull/15084",
"diff_url": "https://github.com/huggingface/transformers/pull/15084.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15084.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15083/comments | https://api.github.com/repos/huggingface/transformers/issues/15083/events | https://github.com/huggingface/transformers/pull/15083 | 1,097,320,753 | PR_kwDOCUB6oc4wtFt2 | 15,083 | [Wav2Vec2 Speech Event] Add speech event v2 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15083/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15083",
"html_url": "https://github.com/huggingface/transformers/pull/15083",
"diff_url": "https://github.com/huggingface/transformers/pull/15083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15083.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15082/comments | https://api.github.com/repos/huggingface/transformers/issues/15082/events | https://github.com/huggingface/transformers/issues/15082 | 1,097,194,111 | I_kwDOCUB6oc5BZdp_ | 15,082 | Pytorch T5 pre-training script request | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [] | closed | false | null | [] | [
"Hi! For T5 MLM training the most important thing is the Data collator used for T5 span-masked language modeling, which is available here, https://github.com/huggingface/transformers/blob/master/examples/flax/language-modeling/run_t5_mlm_flax.py#L279\r\n\r\nIt's written with numpy so should be easy to port it to Py... | 1,641 | 1,649 | 1,649 | NONE | null | # 🚀 Feature request
Any plan to release a pytorch pre-training script for T5 mlm? @patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15081/comments | https://api.github.com/repos/huggingface/transformers/issues/15081/events | https://github.com/huggingface/transformers/issues/15081 | 1,097,193,504 | I_kwDOCUB6oc5BZdgg | 15,081 | Script run_mlm_no_trainer.py error | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [] | closed | false | null | [] | [
"cc @sgugger ",
"Which command are you running exactly? The logs you produce use distributed training whereas the command you told us (which runs successfully on my side) launches the script with python.",
"I just rerun it on another machine but got the same issue.\r\n\r\nThe exact command is:\r\n```bash\r\n$ p... | 1,641 | 1,641 | 1,641 | NONE | null | ## Environment info
- `transformers` version: 4.14.0.dev0
- Platform: Linux-3.10.0_3-0-0-12-x86_64-with-centos-6.3-Final
- Python version: 3.7.11
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.3.6 (cpu)
- Jax version: 0.2.26
- JaxLib version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15080/comments | https://api.github.com/repos/huggingface/transformers/issues/15080/events | https://github.com/huggingface/transformers/issues/15080 | 1,097,177,227 | I_kwDOCUB6oc5BZZiL | 15,080 | explicitly load local file | {
"login": "sipie800",
"id": 42767079,
"node_id": "MDQ6VXNlcjQyNzY3MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/42767079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sipie800",
"html_url": "https://github.com/sipie800",
"followers_url": "https://api.github.com/users/sip... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,641 | 1,645 | 1,645 | NONE | null | The from_pretrained() pipline is making me very confusing.
Sometime it requires a model_id, sometime it want a local path, and the path can't be similar to the id. Why must I know if the dir I put the download files would conflicts to any model id?what's the point here?
Why don't go for the simplest pipeline, just do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15080/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15079/comments | https://api.github.com/repos/huggingface/transformers/issues/15079/events | https://github.com/huggingface/transformers/pull/15079 | 1,097,147,689 | PR_kwDOCUB6oc4wsm4Q | 15,079 | [Fix doc example] Wrong checkpoint name | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The failure is coming from the fact there is conflict between style and fix-copies\r\n\r\n`style` will change\r\n```\r\n >>> model = BlenderbotSmallForCausalLM.from_pretrained(\"facebook/blenderbot_small-90M\", add_cross_attention=False)\r\n```\r\nto\r\n```\r\n >>> model = BlenderbotSmallForCausalLM.... | 1,641 | 1,642 | 1,642 | COLLABORATOR | null | # What does this PR do?
In a few model scripts, we have something like (MBart/Blenderbot/Marian)
```
>>> from transformers import BlenderbotTokenizer, BlenderbotForCausalLM
>>> tokenizer = BlenderbotTokenizer.from_pretrained("facebook/bart-large")
>>> model = BlenderbotForCausalLM.from_pretrained("facebook/b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15079/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15079",
"html_url": "https://github.com/huggingface/transformers/pull/15079",
"diff_url": "https://github.com/huggingface/transformers/pull/15079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15079.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15078/comments | https://api.github.com/repos/huggingface/transformers/issues/15078/events | https://github.com/huggingface/transformers/issues/15078 | 1,097,057,846 | I_kwDOCUB6oc5BY8Y2 | 15,078 | pegasus | {
"login": "TSalmas",
"id": 91786661,
"node_id": "U_kgDOBXiNpQ",
"avatar_url": "https://avatars.githubusercontent.com/u/91786661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TSalmas",
"html_url": "https://github.com/TSalmas",
"followers_url": "https://api.github.com/users/TSalmas/follow... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis issue does not include any info, therefore closing. Feel free to re-open."
] | 1,641 | 1,641 | 1,641 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15077/comments | https://api.github.com/repos/huggingface/transformers/issues/15077/events | https://github.com/huggingface/transformers/issues/15077 | 1,097,044,973 | I_kwDOCUB6oc5BY5Pt | 15,077 | train_new_from_iterator missing from GPT2Tokenizer | {
"login": "ncoop57",
"id": 7613470,
"node_id": "MDQ6VXNlcjc2MTM0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ncoop57",
"html_url": "https://github.com/ncoop57",
"followers_url": "https://api.github.com/users/ncoop57/... | [] | closed | false | null | [] | [
"Just found if I use `AutoTokenizer` rather than the `GPT2Tokenizer` class it works. Is this expected? If so the codeparrot example will need to change.",
"The `train_new_from_iterator` works with fast tokenizers only. `GPT2Tokenizer` is a slow tokenizer, with `GPT2TokenizerFast` being its fast counterpart.",
"... | 1,641 | 1,657 | 1,641 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.15.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyTorch version (GPU?): 1.10.0+cu111 (False)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15077/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15076/comments | https://api.github.com/repos/huggingface/transformers/issues/15076/events | https://github.com/huggingface/transformers/pull/15076 | 1,096,913,137 | PR_kwDOCUB6oc4wsCuq | 15,076 | [Fix doc example] RagModel | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,641 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
This part fails
https://github.com/huggingface/transformers/blob/623b4f7c63f60cce917677ee704d6c93ee960b4b/src/transformers/models/rag/modeling_rag.py#L308-L310
Change to `from_pretrained_question_encoder_generator` instead in this PR.
## Who can review?
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15076",
"html_url": "https://github.com/huggingface/transformers/pull/15076",
"diff_url": "https://github.com/huggingface/transformers/pull/15076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15076.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15075/comments | https://api.github.com/repos/huggingface/transformers/issues/15075/events | https://github.com/huggingface/transformers/issues/15075 | 1,096,836,241 | I_kwDOCUB6oc5BYGSR | 15,075 | [Benchmark] | {
"login": "MannanRajib",
"id": 97234418,
"node_id": "U_kgDOBcut8g",
"avatar_url": "https://avatars.githubusercontent.com/u/97234418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MannanRajib",
"html_url": "https://github.com/MannanRajib",
"followers_url": "https://api.github.com/users/Ma... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,641 | 1,645 | 1,645 | NONE | null | # 🖥 Benchmarking `transformers`
## Benchmark
Which part of `transformers` did you benchmark?
## Set-up
What did you run your benchmarks on? Please include details, such as: CPU, GPU? If using multiple GPUs, which parallelization did you use?
## Results
Put your results here!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15074/comments | https://api.github.com/repos/huggingface/transformers/issues/15074/events | https://github.com/huggingface/transformers/pull/15074 | 1,096,570,507 | PR_kwDOCUB6oc4wrA0n | 15,074 | TF Bert inference - support `np.ndarray` optional arguments | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"Thanks for your changes, @gante! I think here we should add a TensorFlow common test to ensure that all models pass it, rather than adding a test for BERT only\r\n\r\nAny test defined in this class will be run by all models:\r\nhttps://github.com/huggingface/transformers/blob/9fbf7c87c37e32152428f91038bd46e04a4886... | 1,641 | 1,642 | 1,642 | MEMBER | null | # What does this PR do?
This PR allows running inference with TF Bert when the optional arguments (such as `attention_mask`) are a `np.ndarray`. Although these changes were made in response to particular issues, which were related to TF Bert, other models have the same pattern (e.g. [here](https://github.com/hugging... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15074/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15074",
"html_url": "https://github.com/huggingface/transformers/pull/15074",
"diff_url": "https://github.com/huggingface/transformers/pull/15074.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15074.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15073/comments | https://api.github.com/repos/huggingface/transformers/issues/15073/events | https://github.com/huggingface/transformers/pull/15073 | 1,096,536,435 | PR_kwDOCUB6oc4wq6Wo | 15,073 | [VisionTextDualEncoder] Add token_type_ids param | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,641 | 1,651 | 1,641 | COLLABORATOR | null | # What does this PR do?
This line will fail since there is `token_type_ids` in `inputs` but `get_text_features` has no such param:
https://github.com/huggingface/transformers/blob/ac224bb0797c1ee6522d814139f3eb0a8947267b/src/transformers/models/vision_text_dual_encoder/modeling_vision_text_dual_encoder.py#L235
S... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15073/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15073",
"html_url": "https://github.com/huggingface/transformers/pull/15073",
"diff_url": "https://github.com/huggingface/transformers/pull/15073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15072/comments | https://api.github.com/repos/huggingface/transformers/issues/15072/events | https://github.com/huggingface/transformers/issues/15072 | 1,096,484,360 | I_kwDOCUB6oc5BWwYI | 15,072 | [JAX/FLAX]: CLM Tokenizer Training confusion | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [] | 1,641 | 1,644 | null | COLLABORATOR | null | Hi,
after looking at the current readme of the [CLM tokenizer training example](https://github.com/huggingface/transformers/tree/master/examples/flax/language-modeling#train-tokenizer-1), there's something strange in the model configuration:
The `config.json` file looks like this:
```json
GPT2Config {
"_na... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15072/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15071/comments | https://api.github.com/repos/huggingface/transformers/issues/15071/events | https://github.com/huggingface/transformers/pull/15071 | 1,096,438,235 | PR_kwDOCUB6oc4wqmXK | 15,071 | Pipeline ASR with LM. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"I think it's ready for final review @patrickvonplaten \r\n\r\nNot a lot of changes overall since last time:\r\n\r\n- `pipeline(model=\"...\")` works by default, and fallbacks to regular CTC if `pyctcdecode` missing, or any other error.\r\n- the `decoder` is now a real `decoder` (easier for the fallback actually)."... | 1,641 | 1,642 | 1,641 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15071/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15071",
"html_url": "https://github.com/huggingface/transformers/pull/15071",
"diff_url": "https://github.com/huggingface/transformers/pull/15071.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15071.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15070/comments | https://api.github.com/repos/huggingface/transformers/issues/15070/events | https://github.com/huggingface/transformers/pull/15070 | 1,096,425,369 | PR_kwDOCUB6oc4wqjxv | 15,070 | Update Trainer code example | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Great job merging this PR! the documentation will now be removed from the staging environment."
] | 1,641 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the code example used in the Trainer docs. Previously, it shows how to overwrite the Trainer to do multi-label classification. However, this is not required anymore, as users can now pass the `problem_type` argument to the model's configuration (to use the appropriate loss fun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15070/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15070",
"html_url": "https://github.com/huggingface/transformers/pull/15070",
"diff_url": "https://github.com/huggingface/transformers/pull/15070.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15070.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15069/comments | https://api.github.com/repos/huggingface/transformers/issues/15069/events | https://github.com/huggingface/transformers/issues/15069 | 1,096,350,804 | I_kwDOCUB6oc5BWPxU | 15,069 | How to use an unpretrained model? | {
"login": "jiacheng-ye",
"id": 30772464,
"node_id": "MDQ6VXNlcjMwNzcyNDY0",
"avatar_url": "https://avatars.githubusercontent.com/u/30772464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiacheng-ye",
"html_url": "https://github.com/jiacheng-ye",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"You can initialize a model using a configuration object, like so:\r\n\r\n```\r\nfrom transformers import RobertaConfig, RobertaModel\r\n\r\nconfig = RobertaConfig()\r\nmodel = RobertaModel(config)\r\n```\r\nThis for instance will load the default configuration of RoBERTa, as documented [here](https://huggingface.c... | 1,641 | 1,641 | 1,641 | NONE | null | By using the following codes, I can load a **pretrained** model for fine-tuning on QA tasks. I'm wondering how to load a same (same architecture with roberta-base) **unpretrained** model , and train it on my own data from scratch?
```
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
model = AutoModelForQues... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15069/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15068/comments | https://api.github.com/repos/huggingface/transformers/issues/15068/events | https://github.com/huggingface/transformers/pull/15068 | 1,096,298,069 | PR_kwDOCUB6oc4wqJ4y | 15,068 | fix: #14486 do not use BertPooler in DPR | {
"login": "PaulLerner",
"id": 25532159,
"node_id": "MDQ6VXNlcjI1NTMyMTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/25532159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulLerner",
"html_url": "https://github.com/PaulLerner",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@PaulLerner - thanks a lot for your PR - I took the liberty to fix the final failing tests (hope that was ok)",
"Hi, you welcome, sorry I didn’t notice that some test had failed!"
] | 1,641 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15068",
"html_url": "https://github.com/huggingface/transformers/pull/15068",
"diff_url": "https://github.com/huggingface/transformers/pull/15068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15068.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15067/comments | https://api.github.com/repos/huggingface/transformers/issues/15067/events | https://github.com/huggingface/transformers/pull/15067 | 1,096,272,014 | PR_kwDOCUB6oc4wqEmo | 15,067 | fix CLIP fast tokenizer and change some properties of the slow version | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"@sgugger , your comment makes a lot of sense! Indeed, now that you share the idea of the `tokenizer_vxxx.json` file, Lysandre showed me this a while ago. Have you already implemented this kind of solution for another part of the library (to try to propose something similar)?\r\n\r\nAlso, have you ever had a simila... | 1,641 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
As discussed in Issue #12648, the fast version of the CLIP tokenizer does not give at all the same tokenization as the slow
version.
From my point of view, the tokenization difference is really important and I think it would be important to fix this difference quickly (and as proposed i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15067",
"html_url": "https://github.com/huggingface/transformers/pull/15067",
"diff_url": "https://github.com/huggingface/transformers/pull/15067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15066/comments | https://api.github.com/repos/huggingface/transformers/issues/15066/events | https://github.com/huggingface/transformers/issues/15066 | 1,096,255,941 | I_kwDOCUB6oc5BV4nF | 15,066 | How do I change the classification head of a model from multi-label to multi-class? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"One can replace the head by setting the `ignore_mismatched_sizes` argument to `True` in the `from_pretrained` method, like so:\r\n\r\n```\r\nfrom transformers import AutoModelForSequenceClassification\r\n\r\nmodel = AutoModelForSequenceClassification.from_pretrained(\"unitary/unbiased-toxic-roberta\", num_labels=2... | 1,641 | 1,641 | 1,641 | NONE | null | am downloading the model https://huggingface.co/unitary/unbiased-toxic-roberta/tree/main and then using it.
**Transformer Version: '4.11.3'**
**unbiased-toxic-roberta**
The model is trained on Jigsaw data which has **16 classes ( Multi-label )** and use **BCE** loss function
`Labels is like : sentence1--->... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15065/comments | https://api.github.com/repos/huggingface/transformers/issues/15065/events | https://github.com/huggingface/transformers/issues/15065 | 1,096,224,656 | I_kwDOCUB6oc5BVw-Q | 15,065 | compile error when installing transformers[flax] | {
"login": "bth5032",
"id": 6195617,
"node_id": "MDQ6VXNlcjYxOTU2MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6195617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bth5032",
"html_url": "https://github.com/bth5032",
"followers_url": "https://api.github.com/users/bth5032/... | [] | closed | false | null | [] | [
"This seems to be related to `tokenizers`. Were you able to install the same version of `tokenizers` independently?",
"Thanks for the response, I have `tokenizers` latest, but get the same error if I force the version.",
"I see. Could you then open an issue on the `tokenizers` repo, since it's not related to `t... | 1,641 | 1,641 | 1,641 | NONE | null | ## Environment info
Running on windows 10.
- `transformers` version:
- Platform: Windows 10
- Python version: 3.9.1
- PyTorch version (GPU?): 1.9.1+cu102
### Who can help
@patil-suraj
## Information
I am trying to use `FlaxVisionEncoderDecoderModel` and ran into the same issue as [this dev.](https://g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15065/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15064/comments | https://api.github.com/repos/huggingface/transformers/issues/15064/events | https://github.com/huggingface/transformers/issues/15064 | 1,096,223,560 | I_kwDOCUB6oc5BVwtI | 15,064 | Question: CANINE with (pre-trained) LM head | {
"login": "aitor-garcia-p",
"id": 2588285,
"node_id": "MDQ6VXNlcjI1ODgyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2588285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aitor-garcia-p",
"html_url": "https://github.com/aitor-garcia-p",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nCANINE can do masked language modeling (that's how it was pre-trained). However, the authors did not release their pre-training code (yet) as seen [here](https://github.com/google-research/language/tree/master/language/canine#pre-training-code-coming-later).\r\n\r\nSee also #12892.",
"Ok, that was my ... | 1,641 | 1,641 | 1,641 | NONE | null | # 🚀 Feature request
This is more a question than a request.
Would it be possible to have [CANINE](https://huggingface.co/docs/transformers/model_doc/canine) model with a (pre-trained) LM head to perform word/character prediction? (Just like BERTForMaskedLM and other similar models)
## Motivation
The charac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15064/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15063/comments | https://api.github.com/repos/huggingface/transformers/issues/15063/events | https://github.com/huggingface/transformers/issues/15063 | 1,096,022,566 | I_kwDOCUB6oc5BU_om | 15,063 | Not able to log training and validation loss to visualise in tensor-board as tfevents? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"I am not so sure, but try to run your code **without** `logging_steps=1000,`, it might solve your problem.\r\nYou are training your model for 10 epochs but you are telling it to log it at every 1000th epoch.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think... | 1,641 | 1,644 | 1,644 | NONE | null | I am downloading the model https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384/tree/main microsoft/Multilingual-MiniLM-L12-H384 and then using it.
Transformer Version: '4.11.3'
I have written the below code:
```
def compute_metrics(eval_pred):
logits, labels = eval_pred
prediction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15063/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15062/comments | https://api.github.com/repos/huggingface/transformers/issues/15062/events | https://github.com/huggingface/transformers/issues/15062 | 1,096,014,944 | I_kwDOCUB6oc5BU9xg | 15,062 | Import Error : cannot import name 'create_repo' from 'huggingface_hub' | {
"login": "santanumitra22",
"id": 90890437,
"node_id": "MDQ6VXNlcjkwODkwNDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/90890437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/santanumitra22",
"html_url": "https://github.com/santanumitra22",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@santanumitra22 Which transformers version are you using? ",
"Version: 4.15.0 @frankhart2018 ",
"And is you huggingface_hub version 0.2.1?",
"no, \r\nhuggingface_hub 0.0.8",
"That's probably the issue, can you try upgrading to 0.2.1, its working fine for me when I am using 0.2.1",
"Same issue here, my tr... | 1,641 | 1,700 | 1,647 | NONE | null | Working with BERT Text Classification,i found this error
import torch
from tqdm.notebook import tqdm
from transformers import BertTokenizer
from torch.utils.data import TensorDataset
from transformers import BertForSequenceClassification
**ImportError:** cannot import name 'create_repo' from 'huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15062/reactions",
"total_count": 11,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15062/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15061/comments | https://api.github.com/repos/huggingface/transformers/issues/15061/events | https://github.com/huggingface/transformers/pull/15061 | 1,096,000,605 | PR_kwDOCUB6oc4wpMfk | 15,061 | Add CharacterBERT model [WIP] | {
"login": "jaminsore",
"id": 4375301,
"node_id": "MDQ6VXNlcjQzNzUzMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4375301?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaminsore",
"html_url": "https://github.com/jaminsore",
"followers_url": "https://api.github.com/users/ja... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,641 | 1,660 | 1,650 | NONE | null | # What does this PR do?
Moves work on #10053 over to a new PR
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15061/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15061",
"html_url": "https://github.com/huggingface/transformers/pull/15061",
"diff_url": "https://github.com/huggingface/transformers/pull/15061.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15061.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.