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/8625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8625/comments | https://api.github.com/repos/huggingface/transformers/issues/8625/events | https://github.com/huggingface/transformers/pull/8625 | 745,855,893 | MDExOlB1bGxSZXF1ZXN0NTIzMzQ3MzY5 | 8,625 | Model Card for abhilash1910/financial_roberta | {
"login": "abhilash1910",
"id": 30946547,
"node_id": "MDQ6VXNlcjMwOTQ2NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/30946547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhilash1910",
"html_url": "https://github.com/abhilash1910",
"followers_url": "https://api.github.c... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | 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/8625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8625",
"html_url": "https://github.com/huggingface/transformers/pull/8625",
"diff_url": "https://github.com/huggingface/transformers/pull/8625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8625.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8624/comments | https://api.github.com/repos/huggingface/transformers/issues/8624/events | https://github.com/huggingface/transformers/pull/8624 | 745,820,816 | MDExOlB1bGxSZXF1ZXN0NTIzMzE3NjQx | 8,624 | Fixes the training resuming with gradient accumulation | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
As #5605 pointed out, there was a mistake in the way the number of steps to skip was computed when the `Trainer` wants to resume training from a checkpoint with gradient accumulation activated. This PR fixes that and adds more tests. More specifically:
1. It tests a regular gradient accumu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8624/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8624",
"html_url": "https://github.com/huggingface/transformers/pull/8624",
"diff_url": "https://github.com/huggingface/transformers/pull/8624.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8624.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8623/comments | https://api.github.com/repos/huggingface/transformers/issues/8623/events | https://github.com/huggingface/transformers/pull/8623 | 745,801,537 | MDExOlB1bGxSZXF1ZXN0NTIzMzAxNTYx | 8,623 | Fix training from scratch in new scripts | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR fixes a test in the new example scripts when the model can be trained from scratch and the `model_name_or_path` argument can be None. It also updates the template accordingly.
Fixes #8590 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8623",
"html_url": "https://github.com/huggingface/transformers/pull/8623",
"diff_url": "https://github.com/huggingface/transformers/pull/8623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8623.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8622/comments | https://api.github.com/repos/huggingface/transformers/issues/8622/events | https://github.com/huggingface/transformers/pull/8622 | 745,747,624 | MDExOlB1bGxSZXF1ZXN0NTIzMjU2Mzc3 | 8,622 | [Tokenizer Doc] Improve tokenizer summary | {
"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,605 | 1,605 | 1,605 | 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/8622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8622/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8622",
"html_url": "https://github.com/huggingface/transformers/pull/8622",
"diff_url": "https://github.com/huggingface/transformers/pull/8622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8622.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8621/comments | https://api.github.com/repos/huggingface/transformers/issues/8621/events | https://github.com/huggingface/transformers/pull/8621 | 745,725,596 | MDExOlB1bGxSZXF1ZXN0NTIzMjM4NTM2 | 8,621 | Fix DataCollatorForLanguageModeling | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
A clone was removed by mistake, this PR adds it back.
Fixes #8619
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8621",
"html_url": "https://github.com/huggingface/transformers/pull/8621",
"diff_url": "https://github.com/huggingface/transformers/pull/8621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8621.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8620/comments | https://api.github.com/repos/huggingface/transformers/issues/8620/events | https://github.com/huggingface/transformers/pull/8620 | 745,722,504 | MDExOlB1bGxSZXF1ZXN0NTIzMjM2MDc5 | 8,620 | Create model_cards for Chinese Couplet and Poem GPT2 models | {
"login": "hhou435",
"id": 59219579,
"node_id": "MDQ6VXNlcjU5MjE5NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/59219579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hhou435",
"html_url": "https://github.com/hhou435",
"followers_url": "https://api.github.com/users/hhou43... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Really cool, and great that you inputed custom widget inputs. Merging.",
"cc'ing @JetRunner for info"
] | 1,605 | 1,605 | 1,605 | 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/8620/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/8620/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8620",
"html_url": "https://github.com/huggingface/transformers/pull/8620",
"diff_url": "https://github.com/huggingface/transformers/pull/8620.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8620.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8619/comments | https://api.github.com/repos/huggingface/transformers/issues/8619/events | https://github.com/huggingface/transformers/issues/8619 | 745,702,454 | MDU6SXNzdWU3NDU3MDI0NTQ= | 8,619 | `DataCollatorForLanguageModeling` modifies `input_ids` via `labels` variable | {
"login": "sveitser",
"id": 1040871,
"node_id": "MDQ6VXNlcjEwNDA4NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1040871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sveitser",
"html_url": "https://github.com/sveitser",
"followers_url": "https://api.github.com/users/sveit... | [] | closed | false | null | [] | [
"Ah yes, only the detach was supposed to be removed but I guess I went a bit too far with my mouse, sorry about that. Will fix right now, thanks for flagging!"
] | 1,605 | 1,605 | 1,605 | NONE | null | The cloning step was removed in https://github.com/huggingface/transformers/pull/8308 at https://github.com/huggingface/transformers/pull/8308/files#diff-046566f2b40a246c7d533457cd7f6f07830516da845b904086f36b3cfe0d5965L201 so now the code that sets padded labels to `-100` is operating on the `input_ids` tensor directly... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8619/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8618/comments | https://api.github.com/repos/huggingface/transformers/issues/8618/events | https://github.com/huggingface/transformers/issues/8618 | 745,692,452 | MDU6SXNzdWU3NDU2OTI0NTI= | 8,618 | seq2seq_trainer optimization issue on TPU | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I'm not sure your first stacktrace shows an actual error? Just deprecation warnings.\r\n\r\nAlso, without your code we have no way of understanding what might have happened here.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity... | 1,605 | 1,628 | 1,614 | NONE | null | Hi
I am running seq2seq_trainer.py model on TPU v3-8 instance with pytorch xla 1.7, using adafactor, here are the logs, could you please assist? thanks
```
/root/anaconda3/envs/pytorch/lib/python3.6/site-packages/transformers/optimization.py:506: UserWarning: This overload of add_ is deprecated:
add_(Num... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8617/comments | https://api.github.com/repos/huggingface/transformers/issues/8617/events | https://github.com/huggingface/transformers/pull/8617 | 745,572,071 | MDExOlB1bGxSZXF1ZXN0NTIzMTEyMTY1 | 8,617 | Add cards for all Geotrend models | {
"login": "amineabdaoui",
"id": 17952908,
"node_id": "MDQ6VXNlcjE3OTUyOTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/17952908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amineabdaoui",
"html_url": "https://github.com/amineabdaoui",
"followers_url": "https://api.github.c... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"Awesome, thank you!"
] | 1,605 | 1,605 | 1,605 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8617/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8617",
"html_url": "https://github.com/huggingface/transformers/pull/8617",
"diff_url": "https://github.com/huggingface/transformers/pull/8617.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8617.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8616/comments | https://api.github.com/repos/huggingface/transformers/issues/8616/events | https://github.com/huggingface/transformers/pull/8616 | 745,541,886 | MDExOlB1bGxSZXF1ZXN0NTIzMDg3MzI5 | 8,616 | Add pip install update to resolve import error in transformers notebook | {
"login": "jessicayung",
"id": 11069586,
"node_id": "MDQ6VXNlcjExMDY5NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/11069586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jessicayung",
"html_url": "https://github.com/jessicayung",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"You are right, thanks!"
] | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | Add pip install upgrade tensorflow-gpu to remove error below:
```
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-2-094fadb93f3f> in <module>()
1 import torch
----> 2 from transformers impo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8616/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8616",
"html_url": "https://github.com/huggingface/transformers/pull/8616",
"diff_url": "https://github.com/huggingface/transformers/pull/8616.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8616.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8615/comments | https://api.github.com/repos/huggingface/transformers/issues/8615/events | https://github.com/huggingface/transformers/issues/8615 | 745,479,020 | MDU6SXNzdWU3NDU0NzkwMjA= | 8,615 | Batch Size error | {
"login": "bhavaygg",
"id": 43617111,
"node_id": "MDQ6VXNlcjQzNjE3MTEx",
"avatar_url": "https://avatars.githubusercontent.com/u/43617111?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhavaygg",
"html_url": "https://github.com/bhavaygg",
"followers_url": "https://api.github.com/users/bha... | [] | closed | false | null | [] | [
"It would be great to have all the information relative to your environment, as asked in the template, as well as the full error stack trace so that we may help you.",
"```\r\ntrainer.train()\r\n File \"/home/bhavay18384/.conda/envs/myenv/lib/python3.7/site-packages/transformers/trainer.py\", line 499, in train\... | 1,605 | 1,605 | 1,605 | NONE | null | Hello,
I wanted to use Roberta for Sentence classification on protein sequences which I have converted into sentences. So first I train a tokenizer for my custom vocabulary.
```tokenizer = CharBPETokenizer()
tokenizer.train("bert_vocab.txt",vocab_size=8000,special_tokens=[
"[CLS]",
"[SEP]",
"[UNK]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8615/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8614/comments | https://api.github.com/repos/huggingface/transformers/issues/8614/events | https://github.com/huggingface/transformers/issues/8614 | 745,413,717 | MDU6SXNzdWU3NDU0MTM3MTc= | 8,614 | ValueError while running run_glue.py with xlnet model. | {
"login": "wuaibo",
"id": 43171029,
"node_id": "MDQ6VXNlcjQzMTcxMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/43171029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wuaibo",
"html_url": "https://github.com/wuaibo",
"followers_url": "https://api.github.com/users/wuaibo/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This is a duplicate of #7584 I think. Some workarounds are mentioned in that issue and a fix is on its way.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"This issue has been au... | 1,605 | 1,614 | 1,614 | NONE | null | ## Environment info
+ transformers version: 3.5.1
+ Platform: Linux version 3.10.107-1-tlinux2-0050
+ Python version: 3.7.6
+ PyTorch version (GPU?): 1.6.0+cu101
+ Tensorflow version (GPU?): no
+ Using GPU in script?: yes
+ Using distributed or parallel set-up in script?: yes
## Who can help
@sgugger
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8614/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8613/comments | https://api.github.com/repos/huggingface/transformers/issues/8613/events | https://github.com/huggingface/transformers/pull/8613 | 745,396,420 | MDExOlB1bGxSZXF1ZXN0NTIyOTY4ODg0 | 8,613 | [s2s] multigpu skip | {
"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 | [] | [
"Hi\r\nI am getting this issue during eval on multiple gpus, is there a temporary fix I could run the codes on multiple gpus? thanks ",
"Fixed in https://github.com/huggingface/transformers/pull/8716",
"Hi\ncould you tell me in which version it is fixed?\nthanks\nRabeeh\n\nOn Sun, Nov 22, 2020 at 8:45 PM Stas B... | 1,605 | 1,606 | 1,605 | CONTRIBUTOR | null | I have a hard time remembering whether this test worked on multi-gpu or not, it currently fails there, but work on a single gpu. So putting a band-aid `require_torch_non_multi_gpu_but_fix_me` skip for now, unless someone wants to work on it. For some reason I thought it was fine - I think it used to be fine.
The err... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8613/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8613",
"html_url": "https://github.com/huggingface/transformers/pull/8613",
"diff_url": "https://github.com/huggingface/transformers/pull/8613.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8613.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8612/comments | https://api.github.com/repos/huggingface/transformers/issues/8612/events | https://github.com/huggingface/transformers/pull/8612 | 745,378,791 | MDExOlB1bGxSZXF1ZXN0NTIyOTUzNTI5 | 8,612 | [s2s] fix finetune.py to adjust for #8530 changes | {
"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 | [] | [
"@sgugger if you want to see why `.logits` isn't working you can try:\r\n```\r\ncd examples/seq2seq\r\nPYTHONPATH=\"../../src\" CUDA_VISIBLE_DEVICES=0 python finetune.py --learning_rate 3e-5 --gpus 1 --do_train --val_check_interval 1 --num_train_epochs 1 --freeze_encoder --freeze_embeds --data_dir cnn_dm --max_targ... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Making the script work again after https://github.com/huggingface/transformers/pull/8530 change.
As mentioned in https://github.com/huggingface/transformers/pull/8612 `.logits` doesn't seem to work with apex/PL. No idea why.
So `distillation.py` is probably a problem too since it uses `.logits`. I haven't checked i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8612/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8612",
"html_url": "https://github.com/huggingface/transformers/pull/8612",
"diff_url": "https://github.com/huggingface/transformers/pull/8612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8612.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8611/comments | https://api.github.com/repos/huggingface/transformers/issues/8611/events | https://github.com/huggingface/transformers/pull/8611 | 745,308,227 | MDExOlB1bGxSZXF1ZXN0NTIyODk0MjI4 | 8,611 | tf_bart typo - self.self.activation_dropout | {
"login": "ratthachat",
"id": 56621342,
"node_id": "MDQ6VXNlcjU2NjIxMzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ratthachat",
"html_url": "https://github.com/ratthachat",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"LGTM, cc @LysandreJik. I won't merge on my own anymore."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Fix one line typo in `modeling_tf_bart` :
`self.self.activation_dropout` -> `self.activation_dropout`
BTW, there's no error in forward pass.
I met the error when I played around with `model.fit()` :)
## Who can review ?
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8611",
"html_url": "https://github.com/huggingface/transformers/pull/8611",
"diff_url": "https://github.com/huggingface/transformers/pull/8611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8611.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8610/comments | https://api.github.com/repos/huggingface/transformers/issues/8610/events | https://github.com/huggingface/transformers/issues/8610 | 745,300,390 | MDU6SXNzdWU3NDUzMDAzOTA= | 8,610 | How to train EncoderDecoderModel using bert for seq-to-seq model | {
"login": "jithincheriyan",
"id": 52187221,
"node_id": "MDQ6VXNlcjUyMTg3MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/52187221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jithincheriyan",
"html_url": "https://github.com/jithincheriyan",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey @jithincheriyan, \r\n\r\nPlease note that `.eval()` and `.train()` are not used to evaluate / train the model in PyTorch. In PyTorch `.eval()` and `.train()` are simply used to set the model into \"training\" or \"evaluation\" model. See the functions' API here: https://pytorch.org/docs/master/generated/torch.... | 1,605 | 1,605 | 1,605 | NONE | null | Hi @patrickvonplaten,
I am trying to make a sequence to sequence model using EncoderDecodermodel and BERT
Please find the following code,
```python
import pandas as pd
from transformers import EncoderDecoderModel
train_data = [
["one", "1"],
["two", "2"],
]
train_df = pd.DataFrame(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8609/comments | https://api.github.com/repos/huggingface/transformers/issues/8609/events | https://github.com/huggingface/transformers/issues/8609 | 745,299,793 | MDU6SXNzdWU3NDUyOTk3OTM= | 8,609 | Missing `tokenizers` file? | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi,\r\n\r\ntokenizers is not a file. It's an entire [library](https://github.com/huggingface/tokenizers) built by the Hugging Face team. The code that you show will import some functions from that library, if it's available."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | In latest https://github.com/huggingface/transformers/blob/master/src/transformers/tokenization_utils_base.py

But there is no `tokenizers` file | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8608/comments | https://api.github.com/repos/huggingface/transformers/issues/8608/events | https://github.com/huggingface/transformers/issues/8608 | 745,188,735 | MDU6SXNzdWU3NDUxODg3MzU= | 8,608 | Extracting word representations from BPE-tokenization-based models (GPT-2, RoBERTa, etc.) | {
"login": "kanishkamisra",
"id": 10777197,
"node_id": "MDQ6VXNlcjEwNzc3MTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/10777197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kanishkamisra",
"html_url": "https://github.com/kanishkamisra",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"SOLVED! Prefixing spaces before the word seems to do the trick for now. But I will wait to close the issue for people who have more elegant solutions to this problem.",
"> SOLVED! Prefixing spaces before the word seems to do the trick for now. But I will wait to close the issue for people who have more elegant s... | 1,605 | 1,614 | 1,606 | NONE | null | Hi! I am trying to extract representations from models (GPT-2 and RoBERTa) when the words are segmented into pieces. For this issue, let's assume I'm trying to extract the representation of `afoot` in the sentence: `the game is afoot !`
For this I first load my libraries and instantiate the RoBERTa tokenizer:
```... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8608/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/8608/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8607/comments | https://api.github.com/repos/huggingface/transformers/issues/8607/events | https://github.com/huggingface/transformers/pull/8607 | 745,161,880 | MDExOlB1bGxSZXF1ZXN0NTIyNzY4NTQ5 | 8,607 | Fixed link to the wrong paper. | {
"login": "cronoik",
"id": 18630848,
"node_id": "MDQ6VXNlcjE4NjMwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cronoik",
"html_url": "https://github.com/cronoik",
"followers_url": "https://api.github.com/users/cronoi... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | 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/8607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8607",
"html_url": "https://github.com/huggingface/transformers/pull/8607",
"diff_url": "https://github.com/huggingface/transformers/pull/8607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8607.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8606/comments | https://api.github.com/repos/huggingface/transformers/issues/8606/events | https://github.com/huggingface/transformers/issues/8606 | 745,155,826 | MDU6SXNzdWU3NDUxNTU4MjY= | 8,606 | converting REALM tensorflow checkpoints to pytorch | {
"login": "mchari",
"id": 30506151,
"node_id": "MDQ6VXNlcjMwNTA2MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mchari",
"html_url": "https://github.com/mchari",
"followers_url": "https://api.github.com/users/mchari/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I changed --tf_checkpoint_path=\"./cc_news_pretrained/embedder/encoded to \r\n--tf_checkpoint_path=\"./cc_news_pretrained/embedder/encoded/encoded.ckpt.\r\n\r\nand used _convert_bert_original_tf_checkpoint_to_pytorch.py_ .\r\nI see the following messages :\r\nLoading TF weight block_emb with shape [13353718, 128]\... | 1,605 | 1,625 | 1,614 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-3.10.0-1062.12.1.el7.x86_64-x86_64-with-centos-7.7.1908-Core
- Python version: 3.6.3
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: <Yes>
- Using distributed or parallel set-up in scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8606/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8605/comments | https://api.github.com/repos/huggingface/transformers/issues/8605/events | https://github.com/huggingface/transformers/pull/8605 | 745,050,868 | MDExOlB1bGxSZXF1ZXN0NTIyNjc1OTc0 | 8,605 | Add Harry Potter Model Card | {
"login": "ceostroff",
"id": 22174832,
"node_id": "MDQ6VXNlcjIyMTc0ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/22174832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceostroff",
"html_url": "https://github.com/ceostroff",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"That's really cool, thanks for sharing!",
"[model page](https://huggingface.co/ceostroff/harry-potter-gpt2-fanfiction)"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
We made this model that creates new Harry Potter fanfiction based off of popular stories. We hope this will be a fun and useful tool. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8605/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8605",
"html_url": "https://github.com/huggingface/transformers/pull/8605",
"diff_url": "https://github.com/huggingface/transformers/pull/8605.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8605.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8604/comments | https://api.github.com/repos/huggingface/transformers/issues/8604/events | https://github.com/huggingface/transformers/pull/8604 | 745,050,368 | MDExOlB1bGxSZXF1ZXN0NTIyNjc1NTU0 | 8,604 | Remove deprecated | {
"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 | [] | [
"Hi, I noticed that https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_ner_old.py#L294 and https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_ner_old.py#L302 are still referencing is_world_master() instead of using is_world_process_zero()... | 1,605 | 1,606 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR removes old deprecated arguments and adjust tests/examples accordingly.
Co-authored with @LysandreJik. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8604",
"html_url": "https://github.com/huggingface/transformers/pull/8604",
"diff_url": "https://github.com/huggingface/transformers/pull/8604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8604.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8603/comments | https://api.github.com/repos/huggingface/transformers/issues/8603/events | https://github.com/huggingface/transformers/issues/8603 | 745,039,635 | MDU6SXNzdWU3NDUwMzk2MzU= | 8,603 | TFTrainer & Eager mode | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @jplu for TFTrainer.",
"Hello @JulesGM!\r\n\r\nYes, the TF Trainer don't support eager execution, partially because of the usage of `tf.gradients` that we use because sometime when loading a model for a specific task, not all the layers are used and bring some None values when computing the gradients. `tf.gra... | 1,605 | 1,614 | 1,614 | NONE | null | Is eager mode really not supported with TFTrainer? It's telling me that it is using `tf.gradients`, which is not supported with eager mode.
If that's true, then I maybe it could be displayed a lot more prominently in your documentation ... I wasted so much time implementing custom functions, 🤦♂️
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8603/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8602/comments | https://api.github.com/repos/huggingface/transformers/issues/8602/events | https://github.com/huggingface/transformers/pull/8602 | 745,029,095 | MDExOlB1bGxSZXF1ZXN0NTIyNjU3Nzkx | 8,602 | New TF model inputs | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"@sgugger Thanks for these useful comments, I should have addressed them as you proposed. All the modification have been directly integrated in the new `input_processing` function. can you please also check the `modeling_tf_bart.py`, I have updated the documentation, let me know if I did something wrong.\r\n\r\n@pa... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the way the inputs are handled in the TensorFlow models:
- It should be easier now to write a TensorFlow model
- The order of the inputs are now better handled, mostly when using Keras Tensors
- Replace all the occurrences of `inputs` by `input_ids` to make easier to und... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8602",
"html_url": "https://github.com/huggingface/transformers/pull/8602",
"diff_url": "https://github.com/huggingface/transformers/pull/8602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8602.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8601/comments | https://api.github.com/repos/huggingface/transformers/issues/8601/events | https://github.com/huggingface/transformers/issues/8601 | 744,939,658 | MDU6SXNzdWU3NDQ5Mzk2NTg= | 8,601 | Accessing gradients of Bart hidden states | {
"login": "thoppe",
"id": 2707106,
"node_id": "MDQ6VXNlcjI3MDcxMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2707106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thoppe",
"html_url": "https://github.com/thoppe",
"followers_url": "https://api.github.com/users/thoppe/foll... | [] | closed | false | {
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.github.com/users/joeddav/... | [
{
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.githu... | [
"@joeddav - feel free to ping me again if you're too busy. Leaving it up to you for now :-) ",
"Hey thanks for opening the detailed issue. As I mentioned this is a Bart issue, nothing specific to zero shot, so I've renamed it to get the right eyes on it.\r\n\r\nThe problem here is that the hidden states are trans... | 1,605 | 1,606 | 1,606 | NONE | null | The forums suggested that this be filed as a bug report:
https://discuss.huggingface.co/t/finding-gradients-in-zero-shot-learning/2033/5
The solution to the problem was solved on SO:
https://stackoverflow.com/questions/64823332/gradients-returning-none-in-huggingface-module/64866990#64866990
The question an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8601/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8600/comments | https://api.github.com/repos/huggingface/transformers/issues/8600/events | https://github.com/huggingface/transformers/pull/8600 | 744,931,569 | MDExOlB1bGxSZXF1ZXN0NTIyNTc1MDEy | 8,600 | Fix check repo utils | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR fixes the `check_repo` script with the recent repo reorganization. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8600/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8600",
"html_url": "https://github.com/huggingface/transformers/pull/8600",
"diff_url": "https://github.com/huggingface/transformers/pull/8600.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8600.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8599/comments | https://api.github.com/repos/huggingface/transformers/issues/8599/events | https://github.com/huggingface/transformers/pull/8599 | 744,910,633 | MDExOlB1bGxSZXF1ZXN0NTIyNTU3MTgz | 8,599 | Tokenizers should be framework agnostic | {
"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/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Can't ask you to review here @stas00 but would love your review as FSMT is impacted by this.",
"LGTM"
] | 1,605 | 1,605 | 1,605 | MEMBER | null | The `prepare_seq2seq_batch` method should not return PyTorch tensors by default. It does not in the base class, and all our tokenizer methods should be agnostic to the framework.
Updated Marian, Pegasus, mBART, FSMT that had `return_tensors="pt"` and RAG that had `return_tensors="np"`.
The documentation for these... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8599/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8599",
"html_url": "https://github.com/huggingface/transformers/pull/8599",
"diff_url": "https://github.com/huggingface/transformers/pull/8599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8599.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8598/comments | https://api.github.com/repos/huggingface/transformers/issues/8598/events | https://github.com/huggingface/transformers/pull/8598 | 744,898,815 | MDExOlB1bGxSZXF1ZXN0NTIyNTQ3Mjkw | 8,598 | Vectorize RepetitionPenaltyLogitsProcessor to improve performance | {
"login": "bdalal",
"id": 3478378,
"node_id": "MDQ6VXNlcjM0NzgzNzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3478378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bdalal",
"html_url": "https://github.com/bdalal",
"followers_url": "https://api.github.com/users/bdalal/foll... | [] | closed | false | null | [] | [
"```\r\nValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.\r\n```\r\nSeems like a flake. Tests passes locally."
] | 1,605 | 1,605 | 1,605 | 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/8598/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/8598/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8598",
"html_url": "https://github.com/huggingface/transformers/pull/8598",
"diff_url": "https://github.com/huggingface/transformers/pull/8598.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8598.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8597/comments | https://api.github.com/repos/huggingface/transformers/issues/8597/events | https://github.com/huggingface/transformers/pull/8597 | 744,893,665 | MDExOlB1bGxSZXF1ZXN0NTIyNTQyOTI1 | 8,597 | BART & FSMT: fix decoder not returning hidden states from the last layer | {
"login": "MaksymDel",
"id": 8141935,
"node_id": "MDQ6VXNlcjgxNDE5MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8141935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaksymDel",
"html_url": "https://github.com/MaksymDel",
"followers_url": "https://api.github.com/users/Ma... | [] | closed | false | null | [] | [
"yay, a first fsmt user that found an issue! Thank you!\r\n\r\nOK, here I literally copied the bart implementation where it didn't have that line you added:\r\nhttps://github.com/huggingface/transformers/blob/36a19915ea4fc3dc337a310e4a1af43eb3c81c9a/src/transformers/models/bart/modeling_bart.py#L627-L629\r\n\r\nSo ... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
The activations from the last decoder layer accidentally were not a part of the output.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8597/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8597",
"html_url": "https://github.com/huggingface/transformers/pull/8597",
"diff_url": "https://github.com/huggingface/transformers/pull/8597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8597.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8596/comments | https://api.github.com/repos/huggingface/transformers/issues/8596/events | https://github.com/huggingface/transformers/issues/8596 | 744,865,353 | MDU6SXNzdWU3NDQ4NjUzNTM= | 8,596 | Speed up repetition penalty logits processor | {
"login": "bdalal",
"id": 3478378,
"node_id": "MDQ6VXNlcjM0NzgzNzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3478378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bdalal",
"html_url": "https://github.com/bdalal",
"followers_url": "https://api.github.com/users/bdalal/foll... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"PR is up [8598](https://github.com/huggingface/transformers/pull/8598)",
"Can you please check speed of this implementation also:\r\n```\r\n# if score < 0 then repetition penalty has to be multiplied to reduce the previous token probability\r\nscores = torch.where(scores < 0, scores * penalty, scores / penalty)\... | 1,605 | 1,607 | 1,607 | CONTRIBUTOR | null | # 🚀 Feature request
Hey Team, Thanks for the great work on the project to date! This is more of an enhancement so putting it here instead of as a bug.
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
The [`RepetitionPenaltyLogi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8596/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8596/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8595/comments | https://api.github.com/repos/huggingface/transformers/issues/8595/events | https://github.com/huggingface/transformers/pull/8595 | 744,842,260 | MDExOlB1bGxSZXF1ZXN0NTIyNDk5NzQ1 | 8,595 | Fix model templates | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR fixes the model templates that were broken by the recent reorganization (in truth they never worked, it fixes that too :-p). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8595",
"html_url": "https://github.com/huggingface/transformers/pull/8595",
"diff_url": "https://github.com/huggingface/transformers/pull/8595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8595.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8594/comments | https://api.github.com/repos/huggingface/transformers/issues/8594/events | https://github.com/huggingface/transformers/issues/8594 | 744,786,025 | MDU6SXNzdWU3NDQ3ODYwMjU= | 8,594 | PEGASUS do not have mask token | {
"login": "ShichaoSun",
"id": 13548568,
"node_id": "MDQ6VXNlcjEzNTQ4NTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/13548568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShichaoSun",
"html_url": "https://github.com/ShichaoSun",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @ShichaoSun - thanks for the issue! \r\n I agree with you that Pegasus should have some mask tokens defined and I'd set `tokenizer.mask_token` to Pegasus' MLM mask token => `[MASK_2]` and add an additional `mask_token_sent` ... \r\n\r\nI'm still waiting for some more insight on Pegasus of the Pegasus expert @s... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | @mfuntowicz @patrickvonplaten
Hi,
I am using PEGASUS google/pegasus-large
I would like to fill the mask sentence of a document , i.e. try the pretraining task. But I don't find the mask_token.
Steps to reproduce the behavior:
1. from transformers import PegasusTokenizer
2. tok = PegasusTokenizer.from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8594/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8593/comments | https://api.github.com/repos/huggingface/transformers/issues/8593/events | https://github.com/huggingface/transformers/pull/8593 | 744,785,532 | MDExOlB1bGxSZXF1ZXN0NTIyNDUxODQy | 8,593 | Fix missing space in unavailable PyTorch/TensorFlow warning | {
"login": "mipo57",
"id": 22924102,
"node_id": "MDQ6VXNlcjIyOTI0MTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/22924102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mipo57",
"html_url": "https://github.com/mipo57",
"followers_url": "https://api.github.com/users/mipo57/fo... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Fixes missing space in unavailable PyTorch/TensorFlow warning
<!--
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 exte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8593",
"html_url": "https://github.com/huggingface/transformers/pull/8593",
"diff_url": "https://github.com/huggingface/transformers/pull/8593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8593.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8592/comments | https://api.github.com/repos/huggingface/transformers/issues/8592/events | https://github.com/huggingface/transformers/issues/8592 | 744,742,425 | MDU6SXNzdWU3NDQ3NDI0MjU= | 8,592 | Improving performance results for BERT | {
"login": "Stimmot",
"id": 29411999,
"node_id": "MDQ6VXNlcjI5NDExOTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/29411999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stimmot",
"html_url": "https://github.com/Stimmot",
"followers_url": "https://api.github.com/users/Stimmo... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,605 | 1,605 | 1,605 | NONE | null | I'm using the bert-base-german-cased model to perform token classification with custom NER labels on a dataset of German court documents. I have 11 labels in total (including the O label), which are however not tagged in BIO form. I'm letting the model train and evaluate on an NVidia GeForce GTX Titan X.
But despit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8592/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8591/comments | https://api.github.com/repos/huggingface/transformers/issues/8591/events | https://github.com/huggingface/transformers/pull/8591 | 744,717,465 | MDExOlB1bGxSZXF1ZXN0NTIyMzk0MjM4 | 8,591 | Fix init for MT5 | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
Fix the init, the config should be imported outside of tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8591/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8591",
"html_url": "https://github.com/huggingface/transformers/pull/8591",
"diff_url": "https://github.com/huggingface/transformers/pull/8591.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8591.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8590/comments | https://api.github.com/repos/huggingface/transformers/issues/8590/events | https://github.com/huggingface/transformers/issues/8590 | 744,710,669 | MDU6SXNzdWU3NDQ3MTA2Njk= | 8,590 | Cannot train model from scratch using `run_mlm.py`. | {
"login": "GuillemGSubies",
"id": 37592763,
"node_id": "MDQ6VXNlcjM3NTkyNzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/37592763?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GuillemGSubies",
"html_url": "https://github.com/GuillemGSubies",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Mmm, that is weird as `None` is the default for that argument. Will investigate this when I'm finished with v4 stuff, thanks for flagging!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Looks like the trainer does not like when it gets a `None`, so when we train from scratch, there is a `None` in this `if` and crashes:
https://github.com/huggingface/transformers/blob/a6cf9ca00b74a8b2244421a6101b83d8cf43cd6b/examples/language-modeling/run_mlm.py#L357
I solved it by deleting that line, but I guess... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8590/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8589/comments | https://api.github.com/repos/huggingface/transformers/issues/8589/events | https://github.com/huggingface/transformers/pull/8589 | 744,658,841 | MDExOlB1bGxSZXF1ZXN0NTIyMzQ0NTg4 | 8,589 | [MT5] More docs | {
"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 | [] | [
"cc @sgugger for notification."
] | 1,605 | 1,605 | 1,605 | 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/8589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8589/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8589",
"html_url": "https://github.com/huggingface/transformers/pull/8589",
"diff_url": "https://github.com/huggingface/transformers/pull/8589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8589.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8588/comments | https://api.github.com/repos/huggingface/transformers/issues/8588/events | https://github.com/huggingface/transformers/issues/8588 | 744,653,620 | MDU6SXNzdWU3NDQ2NTM2MjA= | 8,588 | Hosting and online deployment of a transformer chatbot (built with huggingface library) | {
"login": "AlexTS1980",
"id": 8479872,
"node_id": "MDQ6VXNlcjg0Nzk4NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8479872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexTS1980",
"html_url": "https://github.com/AlexTS1980",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,605 | 1,605 | 1,605 | NONE | null | I'm building a chatbot using BERT for a startup company. At some point it will be deployed online. It turns out, most chatbot hosting services actually want to sell you a chatbot rather than host the one you developed, which is obviously not an option for us, especially that the solution is opensource (pytorch+huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8588/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8587/comments | https://api.github.com/repos/huggingface/transformers/issues/8587/events | https://github.com/huggingface/transformers/issues/8587 | 744,648,407 | MDU6SXNzdWU3NDQ2NDg0MDc= | 8,587 | The Albert tokenizer file cannot download automatically and the official Albert tokenizer file is wrong, I cannot use it. | {
"login": "probe2",
"id": 27693280,
"node_id": "MDQ6VXNlcjI3NjkzMjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/27693280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/probe2",
"html_url": "https://github.com/probe2",
"followers_url": "https://api.github.com/users/probe2/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Do you mind following and filing in the issue template?\r\nThanks",
"I cannot load the offiline vocab as well:\r\nRuntimeError: Internal: C:\\projects\\sentencepiece\\src\\sentencepiece_processor.cc(824) [model_proto->ParseFromArray(serialized.data(), serialized.size())]\r\nbut it can run for me to download the ... | 1,605 | 1,614 | 1,614 | NONE | null | Have anybody meet the same problem? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8587/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8586/comments | https://api.github.com/repos/huggingface/transformers/issues/8586/events | https://github.com/huggingface/transformers/pull/8586 | 744,630,901 | MDExOlB1bGxSZXF1ZXN0NTIyMzIxMTAz | 8,586 | Tokenizers: ability to load from model subfolder | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | MEMBER | null | Should fix #8447 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8586",
"html_url": "https://github.com/huggingface/transformers/pull/8586",
"diff_url": "https://github.com/huggingface/transformers/pull/8586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8586.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8585/comments | https://api.github.com/repos/huggingface/transformers/issues/8585/events | https://github.com/huggingface/transformers/pull/8585 | 744,619,061 | MDExOlB1bGxSZXF1ZXN0NTIyMzExMzky | 8,585 | Fix rag finetuning + add finetuning test | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"@lhoestq \r\n\r\nHi, I tried to execute finetune.py on two GPUs. It mainly fails with the following error. But when I run with the single GPU it works. I have also attached a screen shot.\r\n\r\n\r\n\r\n**RuntimeError: [/pytorch/third_party/gloo/gloo/transport/tcp/pair.cc:575] Connection closed by peer [130.216.2... | 1,605 | 1,608 | 1,605 | MEMBER | null | Following #7715 we need more test coverage of the RAG example scripts.
In this PR I'm adding a test for the finetuning script.
The test includes a single gpu test and a multi gpu test. Both are passing.
As mentioned in #7816 and #8345 there were some errors in the script that I had to fix.
Moreover since @amogk... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8585/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/8585/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8585",
"html_url": "https://github.com/huggingface/transformers/pull/8585",
"diff_url": "https://github.com/huggingface/transformers/pull/8585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8585.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8584/comments | https://api.github.com/repos/huggingface/transformers/issues/8584/events | https://github.com/huggingface/transformers/pull/8584 | 744,613,687 | MDExOlB1bGxSZXF1ZXN0NTIyMzA2ODM2 | 8,584 | Add output control for TFGPT2LMHeadModel | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nApparently you are rewriting the `output_attentions` and `output_hidden_states` parameters.",
"Thanks for your advice. Yes, so it's a bad idea to only return `last_hidden_state` like this?",
"I mean, why you are not using the `output_attentions` or `output_hidden_states` parameters that basicall... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Hi, guys. This pull request is going to add a parameter for `GPT2Config` and `TFGPT2LMHeadModel`, to control whether return multi-layer logits or not when training and fine-tuning.
Related issue #8503
Before this change, we need to assign the 'special' loss and metric:
```python
class... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8584/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8584",
"html_url": "https://github.com/huggingface/transformers/pull/8584",
"diff_url": "https://github.com/huggingface/transformers/pull/8584.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8584.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8583/comments | https://api.github.com/repos/huggingface/transformers/issues/8583/events | https://github.com/huggingface/transformers/pull/8583 | 744,505,582 | MDExOlB1bGxSZXF1ZXN0NTIyMjE4OTM2 | 8,583 | [RAG] Add Ray implementation for distributed retrieval | {
"login": "amogkam",
"id": 8068268,
"node_id": "MDQ6VXNlcjgwNjgyNjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8068268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amogkam",
"html_url": "https://github.com/amogkam",
"followers_url": "https://api.github.com/users/amogkam/... | [] | closed | false | null | [] | [
"Hi ! This looks awesome :)\r\nI was about to create a PR that fixes the init_ddp_connection in finetune.py and that adds a test script to make sure the finetuning script works as expected. With minimal changes on my side I can easily reduce conflicts between our two changes to finetune.py (I guess I'll just reuse ... | 1,605 | 1,608 | 1,608 | COLLABORATOR | null | # What does this PR do?
This PR adds a new distributed retriever implementation for RAG built on Ray, as an alternative to the current retriever implementation that uses torch.distributed. With Ray it's possible to load the index on multiple processes instead of just the rank 0 training worker, allowing fine tuning to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8583/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8583/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8583",
"html_url": "https://github.com/huggingface/transformers/pull/8583",
"diff_url": "https://github.com/huggingface/transformers/pull/8583.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8583.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8582/comments | https://api.github.com/repos/huggingface/transformers/issues/8582/events | https://github.com/huggingface/transformers/pull/8582 | 744,406,841 | MDExOlB1bGxSZXF1ZXN0NTIyMTM2MTU4 | 8,582 | [examples tests] tests that are fine on multi-gpu | {
"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 | [] | [
"CI failure is unrelated.",
"Hi @stas00! We're currently strongly focusing on the v4.0.0 release. Your proposal here is definitely interesting, and we can take a look at doing this when we do a large test dive, since we have a few things to fix:\r\n- The multi-gpu tests you mention\r\n- The tests for torch v1.3.0... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | This PR removes `require_torch_non_multi_gpu_but_fix_me` for those tests I know should work. Well, they used to work before some recent PRs https://github.com/huggingface/transformers/pull/8073#issuecomment-728677627 - my suspicion is that the problem wasn't detected before it was merged because these tests were skippe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8582/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8582",
"html_url": "https://github.com/huggingface/transformers/pull/8582",
"diff_url": "https://github.com/huggingface/transformers/pull/8582.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8582.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8581/comments | https://api.github.com/repos/huggingface/transformers/issues/8581/events | https://github.com/huggingface/transformers/pull/8581 | 744,405,569 | MDExOlB1bGxSZXF1ZXN0NTIyMTM1MTE5 | 8,581 | Add early stopping callback to pytorch trainer | {
"login": "cbrochtrup",
"id": 24980609,
"node_id": "MDQ6VXNlcjI0OTgwNjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/24980609?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cbrochtrup",
"html_url": "https://github.com/cbrochtrup",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi there. Thanks your PR! When I was designing the callbacks, it was to be them small independent pieces of code. I would prefer if early stopping had its own callback that the user would then choose to add or not. Do you think you could amend your PR in that direction?",
"Hello, thank you for your feedback! I w... | 1,605 | 1,606 | 1,606 | NONE | null | # Summary
Address PyTorch half of https://github.com/huggingface/transformers/issues/4894 by adding early stopping patience and a minimum threshold metrics must improve to prevent early stopping. I piggybacked heavily off of https://github.com/huggingface/transformers/pull/7431/ since the two functions are very simi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8581/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8581",
"html_url": "https://github.com/huggingface/transformers/pull/8581",
"diff_url": "https://github.com/huggingface/transformers/pull/8581.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8581.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8580/comments | https://api.github.com/repos/huggingface/transformers/issues/8580/events | https://github.com/huggingface/transformers/pull/8580 | 744,356,394 | MDExOlB1bGxSZXF1ZXN0NTIyMDk2NjQ1 | 8,580 | Reorganize repo | {
"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 | [] | [
"Got approval offline from @LysandreJik so merging. If anything needs fixing, we'll do so tomorrow morning!",
"The GPU tests throw this error: \r\n\r\n```\r\n2020-11-17 11:24:06.538757: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1\r\nTraceba... | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR reorgnaizes the structure of the repository by putting all model-related files (modeling, configuration, tokenization, conversion) in subfolders.
**Breaking change**
This breaks any import for model/config/tokenizer objects that is not done at the top level:
```
from transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8580/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8580/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8580",
"html_url": "https://github.com/huggingface/transformers/pull/8580",
"diff_url": "https://github.com/huggingface/transformers/pull/8580.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8580.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8579/comments | https://api.github.com/repos/huggingface/transformers/issues/8579/events | https://github.com/huggingface/transformers/pull/8579 | 744,314,101 | MDExOlB1bGxSZXF1ZXN0NTIyMDYzNDMx | 8,579 | Create README.md | {
"login": "fajri91",
"id": 12390478,
"node_id": "MDQ6VXNlcjEyMzkwNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12390478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fajri91",
"html_url": "https://github.com/fajri91",
"followers_url": "https://api.github.com/users/fajri9... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Thanks for sharing, looks really cool!"
] | 1,605 | 1,605 | 1,605 | 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/8579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8579/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8579",
"html_url": "https://github.com/huggingface/transformers/pull/8579",
"diff_url": "https://github.com/huggingface/transformers/pull/8579.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8579.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8578/comments | https://api.github.com/repos/huggingface/transformers/issues/8578/events | https://github.com/huggingface/transformers/issues/8578 | 744,308,305 | MDU6SXNzdWU3NDQzMDgzMDU= | 8,578 | Error: Asking to return token_type_ids while setting add_special_tokens to False | {
"login": "chrk623",
"id": 31636428,
"node_id": "MDQ6VXNlcjMxNjM2NDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/31636428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrk623",
"html_url": "https://github.com/chrk623",
"followers_url": "https://api.github.com/users/chrk62... | [] | closed | false | null | [] | [
"Hi, indeed this seems to be an error. Fixing this in #8854 if it is so."
] | 1,605 | 1,607 | 1,607 | NONE | null | In the code below, while using `batch_encode_plus`, i get the error saying that i asked ***“to return token_type_ids while setting add_special_tokens to False”***, when `return_token_type_ids` is `False`. I'm not sure if i am comprehending the error message correctly. For this specific case, I also found that the behav... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8578/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/8578/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8577/comments | https://api.github.com/repos/huggingface/transformers/issues/8577/events | https://github.com/huggingface/transformers/pull/8577 | 744,155,637 | MDExOlB1bGxSZXF1ZXN0NTIxOTI4NjA2 | 8,577 | [examples/seq2seq] fix PL deprecation warning | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | This PR fixes a PL deprecation warning, since we require PL-1.0.4 this is a safe switch.
Reference: https://pytorch-lightning.readthedocs.io/en/latest/generated/pytorch_lightning.callbacks.ModelCheckpoint.html#pytorch_lightning.callbacks.ModelCheckpoint.params.filepath
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8577/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8577",
"html_url": "https://github.com/huggingface/transformers/pull/8577",
"diff_url": "https://github.com/huggingface/transformers/pull/8577.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8577.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8576/comments | https://api.github.com/repos/huggingface/transformers/issues/8576/events | https://github.com/huggingface/transformers/issues/8576 | 744,086,930 | MDU6SXNzdWU3NDQwODY5MzA= | 8,576 | run_pl_glue.py token_type_id error on fresh install | {
"login": "ethanjperez",
"id": 6402205,
"node_id": "MDQ6VXNlcjY0MDIyMDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6402205?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethanjperez",
"html_url": "https://github.com/ethanjperez",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Ah, indeed. Out of curiosity, have you tried using `run_glue.py` instead of `run_pl_glue.py`? Does the error still happen?",
"Closed by mistake.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contr... | 1,605 | 1,614 | 1,614 | CONTRIBUTOR | null | If you try to run the run_glue.py example with e.g. roberta from a fresh install of the library, it errors out with the following error:
```
Traceback (most recent call last):
File "examples/text-classification/run_pl_glue.py", line 228, in <module>
main()
File "examples/text-classification/run_pl_glue.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8576/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8575/comments | https://api.github.com/repos/huggingface/transformers/issues/8575/events | https://github.com/huggingface/transformers/issues/8575 | 744,081,188 | MDU6SXNzdWU3NDQwODExODg= | 8,575 | REALM checkpoints to pytorch checkpoints | {
"login": "mchari",
"id": 30506151,
"node_id": "MDQ6VXNlcjMwNTA2MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mchari",
"html_url": "https://github.com/mchari",
"followers_url": "https://api.github.com/users/mchari/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | NONE | null | Will it be possible to convert checkpoints in https://console.cloud.google.com/storage/browser/realm-data/cc_news_pretrained to pytorch implementations ?
I am not very familiar with Tensorflow....
I tried using convert_bert_original_tf_checkpoint_to_pytorch.py but I am not sure I am invoking it correctly.
Here is h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8575/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/8575/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8574/comments | https://api.github.com/repos/huggingface/transformers/issues/8574/events | https://github.com/huggingface/transformers/issues/8574 | 744,081,079 | MDU6SXNzdWU3NDQwODEwNzk= | 8,574 | [Improvements] Enable `git push` without requiring login when uploading model | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"Yes. Two ways:\r\n\r\n- you can add your credentials when cloning, e.g. `git clone https://username:password@huggingface.co/user/model_id` (you can also use your token instead of your password if you know it).\r\n- but the cleaner way is to have a credential store set-up in git (https://git-scm.com/book/en/v2/Git-... | 1,605 | 1,661 | 1,605 | CONTRIBUTOR | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
Is there a way to allow `git push` a new model version without requiring login?
`transformers-cli` will auto generate a key for the user. Is there a way ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8574/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8573/comments | https://api.github.com/repos/huggingface/transformers/issues/8573/events | https://github.com/huggingface/transformers/issues/8573 | 744,062,987 | MDU6SXNzdWU3NDQwNjI5ODc= | 8,573 | Bert that receives text triplet as an input | {
"login": "MiriamFarber",
"id": 35157503,
"node_id": "MDQ6VXNlcjM1MTU3NTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/35157503?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MiriamFarber",
"html_url": "https://github.com/MiriamFarber",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Unfortunately we do not have such a method, as it would imply having an opinionated approach on how to do it. The `encode_plus` method follows what was done during each model's training, since our aim is to replicate as closely as possible the original approach.\r\n\r\nI would recommend encoding your sequences by ... | 1,605 | 1,652 | 1,614 | NONE | null | I would like to train bert on triplets of texts as inputs (for example, something like (context, question, answer)). encode_plus (https://huggingface.co/transformers/internal/tokenization_utils.html#transformers.tokenization_utils_base.PreTrainedTokenizerBase.encode_plus) receives either a single text, or a text_pair. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8573/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8572/comments | https://api.github.com/repos/huggingface/transformers/issues/8572/events | https://github.com/huggingface/transformers/pull/8572 | 744,056,234 | MDExOlB1bGxSZXF1ZXN0NTIxODQzMTA0 | 8,572 | Fix mixed precision issue for GPT2 | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR makes GPT2 to be trained and run in any mixed precision.
Fixes # (issue)
#8559
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8572/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8572",
"html_url": "https://github.com/huggingface/transformers/pull/8572",
"diff_url": "https://github.com/huggingface/transformers/pull/8572.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8572.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8571/comments | https://api.github.com/repos/huggingface/transformers/issues/8571/events | https://github.com/huggingface/transformers/pull/8571 | 744,000,638 | MDExOlB1bGxSZXF1ZXN0NTIxNzk3MTY3 | 8,571 | [WIP] Move BERT and ALBERT | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This is a PoC for the reorg of the model on just two files. I didn't update very reference everywhere, just enough to give a sense of what it will render. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8571/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8571",
"html_url": "https://github.com/huggingface/transformers/pull/8571",
"diff_url": "https://github.com/huggingface/transformers/pull/8571.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8571.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8570/comments | https://api.github.com/repos/huggingface/transformers/issues/8570/events | https://github.com/huggingface/transformers/issues/8570 | 743,981,148 | MDU6SXNzdWU3NDM5ODExNDg= | 8,570 | [T5] Add open / closed book answering models | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Done: https://huggingface.co/models?search=ssm"
] | 1,605 | 1,607 | 1,607 | MEMBER | null | # 🌟 New model addition
## Model description
Check here: https://github.com/google-research/google-research/tree/master/t5_closed_book_qa
<!-- Important information -->
## Open source status
* [ ] the model implementation is available: (give details)
* [ ] the model weights are available: (give details)
*... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8570/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/8570/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8569/comments | https://api.github.com/repos/huggingface/transformers/issues/8569/events | https://github.com/huggingface/transformers/issues/8569 | 743,947,097 | MDU6SXNzdWU3NDM5NDcwOTc= | 8,569 | After 2nd iteration: always same result when training in a loop | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Here the same code as a .py script with transformers 3.4.0 (instead of 3.5.1), CUDA 11.0 and torch 1.7.0\r\n\r\n\r\n",
"Same problem also happening with torch 1.6.0+cu101 - see here: https://colab.researc... | 1,605 | 1,611 | 1,611 | CONTRIBUTOR | null | I train a BERT model on a binary classification task. I do the training 4 times in a row. With same train and validation data and with the exact same hyperparameters. I use the default seed in TrainerArguments and set no other seeds.
The results of the 2nd, 3rd and 4th iteration are 100% the same. The result of the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8569/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8568/comments | https://api.github.com/repos/huggingface/transformers/issues/8568/events | https://github.com/huggingface/transformers/pull/8568 | 743,918,603 | MDExOlB1bGxSZXF1ZXN0NTIxNzI5MzQ4 | 8,568 | Update version to v4.0.0-dev | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR puts the right version in the setup and `__init__` and adds one last step to the release guide in the setup.
Fixes #8566 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8568/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8568",
"html_url": "https://github.com/huggingface/transformers/pull/8568",
"diff_url": "https://github.com/huggingface/transformers/pull/8568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8568.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8567/comments | https://api.github.com/repos/huggingface/transformers/issues/8567/events | https://github.com/huggingface/transformers/pull/8567 | 743,915,033 | MDExOlB1bGxSZXF1ZXN0NTIxNzI2MzU1 | 8,567 | [XLNet] Fix mems behavior | {
"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 | [] | [
"> The new arguments are perfectly acceptable, but I think it would be nice to keep backwards compatibility. It should be easy enough by checking if there's a `use_cache` value in the configuration and setting it to the value of `use_mems`.\r\n\r\nYes, true! The problem is that `use_cache` is always in `configurati... | 1,605 | 1,606 | 1,606 | 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/8567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8567/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8567",
"html_url": "https://github.com/huggingface/transformers/pull/8567",
"diff_url": "https://github.com/huggingface/transformers/pull/8567.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8567.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8566/comments | https://api.github.com/repos/huggingface/transformers/issues/8566/events | https://github.com/huggingface/transformers/issues/8566 | 743,904,449 | MDU6SXNzdWU3NDM5MDQ0NDk= | 8,566 | "setup.py" does not seem to have been updated for v3.5.1 | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I found https://github.com/huggingface/transformers/commit/d5b3e56de5376aa85ef46e7f0325139d9e299a41 and it seems the related files are updated there.\r\nIf there is a reason (or rules for releases) not to merge the change into the master branch, I'm sorry for opening this issue that I haven't fully considered.",
... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | ## Environment info
I try
```
!git clone https://github.com/huggingface/transformers.git
%cd transformers/
!pip install -e .
```
on Colaboratory.
- `transformers` version: 3.5.0 <- this seems strange.
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8566/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8565/comments | https://api.github.com/repos/huggingface/transformers/issues/8565/events | https://github.com/huggingface/transformers/pull/8565 | 743,895,036 | MDExOlB1bGxSZXF1ZXN0NTIxNzEwMDMw | 8,565 | replace performance table with markdown | {
"login": "smanjil",
"id": 11598535,
"node_id": "MDQ6VXNlcjExNTk4NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/11598535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/smanjil",
"html_url": "https://github.com/smanjil",
"followers_url": "https://api.github.com/users/smanji... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Thanks! you can also add a sample input for the widget if you'd like (https://huggingface.co/docs#how-can-i-control-my-models-widgets-example-inputs)"
] | 1,605 | 1,605 | 1,605 | 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/8565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8565/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8565",
"html_url": "https://github.com/huggingface/transformers/pull/8565",
"diff_url": "https://github.com/huggingface/transformers/pull/8565.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8565.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8564/comments | https://api.github.com/repos/huggingface/transformers/issues/8564/events | https://github.com/huggingface/transformers/pull/8564 | 743,895,012 | MDExOlB1bGxSZXF1ZXN0NTIxNzEwMDEx | 8,564 | Make BART more ONNX friendly | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I believe @mfuntowicz ran the slow tests on this one and there were no failures, but this PR is so cryptic I don't understand what's happening.",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still... | 1,605 | 1,651 | 1,614 | MEMBER | null | **Major concerns:**
1. ONNX complains about Python raw integer usage.
2. ONNX doesn't support boolean indexing with something else than vector. The code was using 2D Tensor indices (batch, token).
**PR workarounds:**
1. Remove the call to `len(..)` and prefer the use of `.size(-1)`
2. Attempt to index the outp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8564/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/8564/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8564",
"html_url": "https://github.com/huggingface/transformers/pull/8564",
"diff_url": "https://github.com/huggingface/transformers/pull/8564.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8564.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8563/comments | https://api.github.com/repos/huggingface/transformers/issues/8563/events | https://github.com/huggingface/transformers/issues/8563 | 743,805,806 | MDU6SXNzdWU3NDM4MDU4MDY= | 8,563 | Wrong model_max_length for BERTOverflow tokenizer | {
"login": "greav",
"id": 32651336,
"node_id": "MDQ6VXNlcjMyNjUxMzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/32651336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greav",
"html_url": "https://github.com/greav",
"followers_url": "https://api.github.com/users/greav/follow... | [] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Ah, this is an error, indeed. The uploader should have uploaded a `tokenizer_config.json` containing the model maximum length. I see it only contains the `do_lower_case` argument right now.\r\n\r\n@julien-c what should we do here? Should we update that configuration ourselves?\r\n\r\nAlso @thomwolf @julien-c, I fe... | 1,605 | 1,618 | 1,618 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: Linux-5.4.0-52-generic-x86_64-with-glibc2.29
- Python version: 3.8.5
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in script?: N
- Using distributed or parallel set-up in script?: N
## Informatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8563/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8562/comments | https://api.github.com/repos/huggingface/transformers/issues/8562/events | https://github.com/huggingface/transformers/pull/8562 | 743,750,052 | MDExOlB1bGxSZXF1ZXN0NTIxNTkzOTYw | 8,562 | Clearer Model Versioning Example in Model Card | {
"login": "brandenchan",
"id": 33759007,
"node_id": "MDQ6VXNlcjMzNzU5MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33759007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brandenchan",
"html_url": "https://github.com/brandenchan",
"followers_url": "https://api.github.com/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Clearer model card example | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8562/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8562",
"html_url": "https://github.com/huggingface/transformers/pull/8562",
"diff_url": "https://github.com/huggingface/transformers/pull/8562.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8562.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8561/comments | https://api.github.com/repos/huggingface/transformers/issues/8561/events | https://github.com/huggingface/transformers/pull/8561 | 743,749,650 | MDExOlB1bGxSZXF1ZXN0NTIxNTkzNjEx | 8,561 | Reset loss to zero on logging in Trainer to avoid bfloat16 issues | {
"login": "bminixhofer",
"id": 13353204,
"node_id": "MDQ6VXNlcjEzMzUzMjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/13353204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bminixhofer",
"html_url": "https://github.com/bminixhofer",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"No, we don't want to do `loss.item()` at each step since it slows down a lot the training on TPUs. We can cast this scalar to Float if it overflows. Not super familiar with `bfloat16` on TPUs so we may have overlooked something there (on mixed precision for GPUs, the loss is always a float).",
"Oh ok, I hadn't c... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
I have had a weird issue with the logged loss going to zero after some training steps training with `bfloat16` on v3 TPUs:

while it works correctly ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8561/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8561",
"html_url": "https://github.com/huggingface/transformers/pull/8561",
"diff_url": "https://github.com/huggingface/transformers/pull/8561.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8561.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8560/comments | https://api.github.com/repos/huggingface/transformers/issues/8560/events | https://github.com/huggingface/transformers/issues/8560 | 743,732,467 | MDU6SXNzdWU3NDM3MzI0Njc= | 8,560 | Prophetnet - predicted n-future tokens | {
"login": "nsankar",
"id": 431890,
"node_id": "MDQ6VXNlcjQzMTg5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/431890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nsankar",
"html_url": "https://github.com/nsankar",
"followers_url": "https://api.github.com/users/nsankar/fo... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @nsankar - that's a good question for the forum https://discuss.huggingface.co/ I think. Currently we don't really support sampling from the \"n-future\" tokens, but it should not be too difficult - just sample from each of the 1...n logit vectors and then you can use the tokenizer to decode the sampled tokens... | 1,605 | 1,606 | 1,606 | NONE | null | Hi,
How can we get the predicted n-future tokens **as a string** data from the model output. I couldn't find it in the API doc and sample code. Could you please guide / provide the code snippet for ProphetNet and XLM-Prophetnet ? Thanks in advance. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8560/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/8560/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8559/comments | https://api.github.com/repos/huggingface/transformers/issues/8559/events | https://github.com/huggingface/transformers/issues/8559 | 743,724,574 | MDU6SXNzdWU3NDM3MjQ1NzQ= | 8,559 | TFGPT2LMHeadModel fp16 support | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [] | closed | false | null | [] | [
"Hello !\r\n\r\nIt is a known issue that will be fixed in a future release. Sorry.",
"Thanks, I'm looking forward to the future release.",
"Thank @jplu's work! :+1: It works now with the mixed-precision policy when training.\r\nBut I think it still has some problem with `TextGenerationPipeline`, for example:\r... | 1,605 | 1,619 | 1,619 | CONTRIBUTOR | null | ## Environment info
- `transformers` version:
- Platform: ubuntu 18.04
- Python version: python3.8
- Tensorflow version (GPU?): tf-nightly==2.5
- Using GPU in script?: Y
- Using distributed or parallel set-up in script?: N
### Who can help
albert, bert, GPT2, XLM: @LysandreJik
Text Generation: @patric... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8559/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8558/comments | https://api.github.com/repos/huggingface/transformers/issues/8558/events | https://github.com/huggingface/transformers/pull/8558 | 743,657,263 | MDExOlB1bGxSZXF1ZXN0NTIxNTIwMDAz | 8,558 | Readme for Wiki Summary [Persian] bert2bert | {
"login": "m3hrdadfi",
"id": 2601833,
"node_id": "MDQ6VXNlcjI2MDE4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2601833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m3hrdadfi",
"html_url": "https://github.com/m3hrdadfi",
"followers_url": "https://api.github.com/users/m3... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | 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/8558/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/8558/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8558",
"html_url": "https://github.com/huggingface/transformers/pull/8558",
"diff_url": "https://github.com/huggingface/transformers/pull/8558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8558.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8557/comments | https://api.github.com/repos/huggingface/transformers/issues/8557/events | https://github.com/huggingface/transformers/pull/8557 | 743,557,489 | MDExOlB1bGxSZXF1ZXN0NTIxNDM0NDMz | 8,557 | Readme for News Headline Generation (bert2bert) | {
"login": "m3hrdadfi",
"id": 2601833,
"node_id": "MDQ6VXNlcjI2MDE4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2601833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m3hrdadfi",
"html_url": "https://github.com/m3hrdadfi",
"followers_url": "https://api.github.com/users/m3... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Really cool!"
] | 1,605 | 1,605 | 1,605 | 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/8557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8557/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8557",
"html_url": "https://github.com/huggingface/transformers/pull/8557",
"diff_url": "https://github.com/huggingface/transformers/pull/8557.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8557.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8556/comments | https://api.github.com/repos/huggingface/transformers/issues/8556/events | https://github.com/huggingface/transformers/pull/8556 | 743,372,686 | MDExOlB1bGxSZXF1ZXN0NTIxMjc4ODI5 | 8,556 | tokenization_bart.py: return_tensors default should be "pt" | {
"login": "Mehrad0711",
"id": 28717374,
"node_id": "MDQ6VXNlcjI4NzE3Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mehrad0711",
"html_url": "https://github.com/Mehrad0711",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Tokenizers are supposed to be framework (PyTorch/TensorFlow/FLAX) agnostic so we probably don't want to do in that direction.",
"Gotcha. Is this going to be the case for all tokenizers in the future? Because currently they default to PyTorch except for Bart's.\r\nAlso, I think the docstring for Bart tokenizer's ... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | return_tensors default should be "pt" in bart's `prepare_seq2seq_batch`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8556/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8556",
"html_url": "https://github.com/huggingface/transformers/pull/8556",
"diff_url": "https://github.com/huggingface/transformers/pull/8556.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8556.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8555/comments | https://api.github.com/repos/huggingface/transformers/issues/8555/events | https://github.com/huggingface/transformers/issues/8555 | 743,365,483 | MDU6SXNzdWU3NDMzNjU0ODM= | 8,555 | Allow the user to input positional embeddings | {
"login": "anicolson",
"id": 26111230,
"node_id": "MDQ6VXNlcjI2MTExMjMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26111230?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anicolson",
"html_url": "https://github.com/anicolson",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @anicolson,\r\n\r\nI'm really not sure whether such a functionality is general enough to be added to the lib. It would also be very different from our current design of the library in that we would allow `torch.nn.Embedding` types as input, so I'd rather not add it. @LysandreJik what do you think? ",
"I thin... | 1,605 | 1,614 | 1,614 | NONE | null | # 🚀 Feature request
Hi,
I think that allowing the user to input positional embeddings in the same way that `inputs_embeds` can be fed directly to the Transformer would be greatly appreciated. (If this is already possible, please let me know :) ).
## Motivation
This is important for multimodal approaches, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8555/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8554/comments | https://api.github.com/repos/huggingface/transformers/issues/8554/events | https://github.com/huggingface/transformers/pull/8554 | 743,353,627 | MDExOlB1bGxSZXF1ZXN0NTIxMjY1OTEx | 8,554 | `disable_ngram_loss` fix for prophetnet | {
"login": "Zhylkaaa",
"id": 18054828,
"node_id": "MDQ6VXNlcjE4MDU0ODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18054828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhylkaaa",
"html_url": "https://github.com/Zhylkaaa",
"followers_url": "https://api.github.com/users/Zhy... | [] | closed | false | null | [] | [
"Hey @Zhylkaaa,\r\n\r\nThanks a lot for your PR! @qiweizhen - could you maybe take a look and give your opinion on this PR? I don't have much experience with training ProphetNet",
"Hi @patrickvonplaten , thanks for informing me. It seems it's still related to the padding tokens (default -100 or **padding_idx**) w... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes `disable_ngram_loss` behaviour for ProphetNetForConditionalGeneration and is related to #8553
<!--
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 sur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8554/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8554",
"html_url": "https://github.com/huggingface/transformers/pull/8554",
"diff_url": "https://github.com/huggingface/transformers/pull/8554.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8554.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8553/comments | https://api.github.com/repos/huggingface/transformers/issues/8553/events | https://github.com/huggingface/transformers/issues/8553 | 743,347,679 | MDU6SXNzdWU3NDMzNDc2Nzk= | 8,553 | `disable_ngram_loss` doesn't work correctly in ProphetNetForConditionalGeneration | {
"login": "Zhylkaaa",
"id": 18054828,
"node_id": "MDQ6VXNlcjE4MDU0ODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18054828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhylkaaa",
"html_url": "https://github.com/Zhylkaaa",
"followers_url": "https://api.github.com/users/Zhy... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | When I am using ProphetNet with `disable_ngram_loss=True` I am getting loss that is greater than with `disable_ngram_loss=False`. It seems to me that this is the problem of setting `fill_(self.padding_idx)` in `_compute_loss` instead of -100 so that ngram part is omitted in loss calculation
Also I think that `loss ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8553/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8552/comments | https://api.github.com/repos/huggingface/transformers/issues/8552/events | https://github.com/huggingface/transformers/pull/8552 | 743,344,336 | MDExOlB1bGxSZXF1ZXN0NTIxMjU5MjEw | 8,552 | T5 & mT5 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"I'm in favor of this solution and happy you selected it :)\r\n\r\nOur philosophy of simple to use and modify standalone code is made not to be a hard requirement but a guide for user-experience and in this case I also think the best is to adapt T5 as you do.",
"Big thanks for integrating mT5! I checked out your ... | 1,605 | 1,605 | 1,605 | 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/8552/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/8552/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8552",
"html_url": "https://github.com/huggingface/transformers/pull/8552",
"diff_url": "https://github.com/huggingface/transformers/pull/8552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8552.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8551/comments | https://api.github.com/repos/huggingface/transformers/issues/8551/events | https://github.com/huggingface/transformers/issues/8551 | 743,342,873 | MDU6SXNzdWU3NDMzNDI4NzM= | 8,551 | "special token {} has to be either str or AddedToken but got: | {
"login": "Shafi2016",
"id": 56795978,
"node_id": "MDQ6VXNlcjU2Nzk1OTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/56795978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shafi2016",
"html_url": "https://github.com/Shafi2016",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I had the same issue while using SentenceTransformers. When I checked with my backed up pretrained model, the tokenizer_config.json file had been altered for some reaon. I changed it back to the original and it was working fine. Probably some issue with SentenceTransformers calling Huggingface functions on the mod... | 1,605 | 1,666 | 1,614 | NONE | null | Hello, two weeks ago I fine-tune the Roberta language model on my data using hugging face (codes given below) and save output at the google drive. Now when using it for semantic search with sentence transformer. I am getting the error that
**"TypeError: special token bos_token has to be either str or AddedToken bu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8551/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8550/comments | https://api.github.com/repos/huggingface/transformers/issues/8550/events | https://github.com/huggingface/transformers/pull/8550 | 743,312,447 | MDExOlB1bGxSZXF1ZXN0NTIxMjM1ODA5 | 8,550 | Create README.md for Chinese RoBERTa Miniatures | {
"login": "zhezhaoa",
"id": 10495098,
"node_id": "MDQ6VXNlcjEwNDk1MDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/10495098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhezhaoa",
"html_url": "https://github.com/zhezhaoa",
"followers_url": "https://api.github.com/users/zhe... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Create model card for Chinese RoBERTa Miniatures."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Create model card for Chinese RoBERTa Miniatures. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8550/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8550",
"html_url": "https://github.com/huggingface/transformers/pull/8550",
"diff_url": "https://github.com/huggingface/transformers/pull/8550.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8550.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8545/comments | https://api.github.com/repos/huggingface/transformers/issues/8545/events | https://github.com/huggingface/transformers/issues/8545 | 743,191,065 | MDU6SXNzdWU3NDMxOTEwNjU= | 8,545 | Pretrain BERT with user defined vocabulary | {
"login": "Jess0-0",
"id": 29790071,
"node_id": "MDQ6VXNlcjI5NzkwMDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/29790071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jess0-0",
"html_url": "https://github.com/Jess0-0",
"followers_url": "https://api.github.com/users/Jess0-... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! Yes, you can definitely do so (not sure about the word level). \r\n\r\nYou can define a custom model configuration:\r\n```py\r\nfrom transformers import BertConfig\r\n\r\nconfig = BertConfig(vocab_size=xxx, num_attention_heads=xxx, ...)\r\n```\r\n\r\nYou can then use that configuration with the `run_mlm.py` sc... | 1,605 | 1,642 | 1,610 | NONE | null | # 🚀 Feature request
I'm wondering if there is a way to pretrain BERT with user-defined vocabulary, number of layers/heads, and use a WordLevel Tokenizer instead of a WordPiece Tokenizer current BERT uses. Thank you!
## Motivation
This could help the BERT mode to adapt to different tasks.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8545/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8544/comments | https://api.github.com/repos/huggingface/transformers/issues/8544/events | https://github.com/huggingface/transformers/pull/8544 | 743,183,791 | MDExOlB1bGxSZXF1ZXN0NTIxMTQ1NzEw | 8,544 | Update README.md | {
"login": "vishxl",
"id": 18505095,
"node_id": "MDQ6VXNlcjE4NTA1MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/18505095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vishxl",
"html_url": "https://github.com/vishxl",
"followers_url": "https://api.github.com/users/vishxl/fo... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"What do you think @mrm8488?",
"Great! The community rocks! So I think I have to update many T5 model cards"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Modified Model in Action section. The class `AutoModelWithLMHead` is deprecated so changed it to `AutoModelForSeq2SeqLM` for encoder-decoder models. Removed duplicate eos token.
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is goi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8544/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8544",
"html_url": "https://github.com/huggingface/transformers/pull/8544",
"diff_url": "https://github.com/huggingface/transformers/pull/8544.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8544.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8543/comments | https://api.github.com/repos/huggingface/transformers/issues/8543/events | https://github.com/huggingface/transformers/issues/8543 | 743,145,475 | MDU6SXNzdWU3NDMxNDU0NzU= | 8,543 | Upload models using Git fails | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @agemagician ,\r\n\r\nI think this is heavily related to #8480 and can only be fixed by HF team at the moment.",
"yep , @stefan-it . It seems to be a similar issue.\r\n\r\nIn this case @julien-c or @patrickvonplaten can someone update ProtT5-XL-BFD Model:\r\nhttps://huggingface.co/Rostlab/prot_t5_xl_bfd\r\n\... | 1,605 | 1,707 | 1,611 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-4.15.0-112-generic-x86_64-with-debian-buster-sid
- Python version: 3.6.12
- PyTorch version (GPU?): 1.7.0 (False)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8543/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8542/comments | https://api.github.com/repos/huggingface/transformers/issues/8542/events | https://github.com/huggingface/transformers/issues/8542 | 743,077,108 | MDU6SXNzdWU3NDMwNzcxMDg= | 8,542 | Failed in predict function after converting xlnet model to onnx format | {
"login": "EricYangCn",
"id": 26324908,
"node_id": "MDQ6VXNlcjI2MzI0OTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/26324908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EricYangCn",
"html_url": "https://github.com/EricYangCn",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I am facing a similar issue. Oddly, it seems to work when input length is 6. Could anyone help out here please? @EricYangCn, were you able to resolve this? Thank you.",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\n... | 1,605 | 1,614 | 1,614 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:ubuntu 18.04
- Python version:3.7.9
- PyTorch version (1.7.0):
- Using GPU in script:No
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8542/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8541/comments | https://api.github.com/repos/huggingface/transformers/issues/8541/events | https://github.com/huggingface/transformers/issues/8541 | 743,075,794 | MDU6SXNzdWU3NDMwNzU3OTQ= | 8,541 | Specify label name | {
"login": "exelents",
"id": 12846582,
"node_id": "MDQ6VXNlcjEyODQ2NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/12846582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/exelents",
"html_url": "https://github.com/exelents",
"followers_url": "https://api.github.com/users/exe... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | NONE | null | I'm trying to train a classification network on T5 encoder from this training code:
https://colab.research.google.com/github/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb
As I have a special output for label, I need to make trainer associate field from batch with field from my net output dictionary, as they re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8540/comments | https://api.github.com/repos/huggingface/transformers/issues/8540/events | https://github.com/huggingface/transformers/pull/8540 | 743,066,469 | MDExOlB1bGxSZXF1ZXN0NTIxMDUxMTYz | 8,540 | Add model_max_length property on fast tokenizers | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I think this is handled in the base tokenizer class, Morgan.",
"I think I've got an issue in my dev env, something fucked up... "
] | 1,605 | 1,605 | 1,605 | MEMBER | null | Fast tokenizers doesn't have model_max_length property as their "slow" counterpart.
```python
>>> t.model_max_len
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'BertTokenizerFast' object has no attribute 'model_max_len'
```
Signed-off-by: Morgan Funtowicz <morga... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8540/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8540",
"html_url": "https://github.com/huggingface/transformers/pull/8540",
"diff_url": "https://github.com/huggingface/transformers/pull/8540.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8540.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8539/comments | https://api.github.com/repos/huggingface/transformers/issues/8539/events | https://github.com/huggingface/transformers/issues/8539 | 743,045,618 | MDU6SXNzdWU3NDMwNDU2MTg= | 8,539 | TFLongformer Error: TypeError: __init__() missing 1 required positional argument: 'last_hidden_state' | {
"login": "SapirWeissbuch",
"id": 44585792,
"node_id": "MDQ6VXNlcjQ0NTg1Nzky",
"avatar_url": "https://avatars.githubusercontent.com/u/44585792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SapirWeissbuch",
"html_url": "https://github.com/SapirWeissbuch",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @SapirWeissbuch - it's very hard for us to debug such long and user-specific examples that also require external files. \r\n\r\nI'd recommend that you either:\r\n\r\n1) Narrow down the error much more and give us a 10-liner to reproduce the error (also making sure that it is in fact an error and not a wrong pr... | 1,605 | 1,658 | 1,611 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.5.0
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
- PyTorch versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8539/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8538/comments | https://api.github.com/repos/huggingface/transformers/issues/8538/events | https://github.com/huggingface/transformers/issues/8538 | 743,022,346 | MDU6SXNzdWU3NDMwMjIzNDY= | 8,538 | TFBertModel not working at all with any type of model | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! Thanks for opening such a detailed issue!\r\n\r\nLet me ping @jplu, the TensorFlow master so that he may help you.",
"Hello!\r\n\r\nThis is because you are not updating your embedding size for `token_type_embeddings`. If you check carefully the config for the `dbmdz/bert-base-italian-xxl-cased` mode you wil... | 1,605 | 1,617 | 1,614 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform: macOS
- Python version: 3.7
- PyTorch version (GPU?): NO
- Tensorflow version (GPU?): 2.3.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8537/comments | https://api.github.com/repos/huggingface/transformers/issues/8537/events | https://github.com/huggingface/transformers/issues/8537 | 742,968,328 | MDU6SXNzdWU3NDI5NjgzMjg= | 8,537 | Add a new model ConvBert | {
"login": "RyanHuangNLP",
"id": 49582480,
"node_id": "MDQ6VXNlcjQ5NTgyNDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/49582480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RyanHuangNLP",
"html_url": "https://github.com/RyanHuangNLP",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [
{
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followe... | [
"there is one implement:https://github.com/JunnYu/ConvBert_huggingface",
"I have implemented this model in [https://github.com/gitabtion/ConvBert-PyTorch](https://github.com/gitabtion/ConvBert-PyTorch), and it pass the unittest right now. :heavy_check_mark:",
"> I have implemented this model in https://github.... | 1,605 | 1,612 | 1,612 | NONE | null | # 🌟 New model addition
Pre-trained language models like BERT and its variants have recently achieved impressive performance in various natural language understanding tasks. However, BERT heavily relies on the global self-attention block and thus suffers large memory footprint and computation cost. Although all its ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8537/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 8,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8537/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8536/comments | https://api.github.com/repos/huggingface/transformers/issues/8536/events | https://github.com/huggingface/transformers/issues/8536 | 742,961,728 | MDU6SXNzdWU3NDI5NjE3Mjg= | 8,536 | Pretrain PEGASUS from scratch | {
"login": "EKebriaei",
"id": 15990021,
"node_id": "MDQ6VXNlcjE1OTkwMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/15990021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EKebriaei",
"html_url": "https://github.com/EKebriaei",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@patil-suraj or @patrickvonplaten can chime in if I'm wrong, but I believe we currently only have fine-tuning & distillation schemes for the BART-family models, no pre-training.",
"Hey @EKebriaei - yeah we sadly don't have any pre-training notebooks for pegasus yet. Are you looking for the summary specific pre-... | 1,605 | 1,663 | 1,622 | NONE | null | I want to pre-train PEGASUS model from scratch on a language other than English. Is there any way to do this using huggingace API's? The source code released by the authors is complicated in use to pre-train. Also little documentation available to do this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8536/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8535/comments | https://api.github.com/repos/huggingface/transformers/issues/8535/events | https://github.com/huggingface/transformers/pull/8535 | 742,937,927 | MDExOlB1bGxSZXF1ZXN0NTIwOTY2OTY2 | 8,535 | [doc] typo fix | {
"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 | [] | [
"Apparently, there is no agreement on the comma: https://www.dailywritingtips.com/comma-after-i-e-and-e-g/, especially after i.e. https://english.stackexchange.com/questions/16172/should-i-always-use-a-comma-after-e-g-or-i-e. \r\n\r\nTherefore it's probably the best to stick to whatever manual of style this project... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | s/e.g./i.e./ as what follows is not an example, but a "that is" statement + fix language
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8535/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8535",
"html_url": "https://github.com/huggingface/transformers/pull/8535",
"diff_url": "https://github.com/huggingface/transformers/pull/8535.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8535.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8534/comments | https://api.github.com/repos/huggingface/transformers/issues/8534/events | https://github.com/huggingface/transformers/issues/8534 | 742,864,462 | MDU6SXNzdWU3NDI4NjQ0NjI= | 8,534 | mBart prefix and suffix for language id | {
"login": "RQuispeC",
"id": 28014561,
"node_id": "MDQ6VXNlcjI4MDE0NTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/28014561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RQuispeC",
"html_url": "https://github.com/RQuispeC",
"followers_url": "https://api.github.com/users/RQu... | [] | closed | false | null | [] | [
"doublechecking the paper, it is expected that the language id as suffix so there is not a bug in the code but a error in the inline documentation.",
"Hey @RQuispeC - thanks a lot for checking! Do you feel like opening a PR to fix the doc? That would be super helpful :-)",
"Just added the PR @patrickvonplaten ... | 1,605 | 1,635 | 1,606 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.5.1
### Who can help
mBART: @patrickvonplaten
documentation: @sgugger
## Information
It seems that there is error or inconsistency between [mbart tokenizer](https://github.com/huggingface/transformers/blob/55e8d0cea25be18b044523b30f4bef58fec63289/src/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8534/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8533/comments | https://api.github.com/repos/huggingface/transformers/issues/8533/events | https://github.com/huggingface/transformers/issues/8533 | 742,853,376 | MDU6SXNzdWU3NDI4NTMzNzY= | 8,533 | Bertabs example: index_select(): Expected dtype int64 for index | {
"login": "TheTimKiely",
"id": 34795732,
"node_id": "MDQ6VXNlcjM0Nzk1NzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/34795732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheTimKiely",
"html_url": "https://github.com/TheTimKiely",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello! The `bert_abs` example is not maintained anymore, and should be moved to `examples/contrib/legacy`.\r\n\r\nThe recommended way of training sequence-to-sequence models is described in the `examples/seq2seq/README.md` file. What are you trying to do with `bertabs`, so that we may help you find what you need?"... | 1,605 | 1,614 | 1,614 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Ubuntu 18.04
- Python version: 3.8.0
- PyTorch version (GPU?): torch==1.7.0
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8533/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8532/comments | https://api.github.com/repos/huggingface/transformers/issues/8532/events | https://github.com/huggingface/transformers/issues/8532 | 742,850,219 | MDU6SXNzdWU3NDI4NTAyMTk= | 8,532 | converting tensorflow checkpoint to pytorch | {
"login": "mchari",
"id": 30506151,
"node_id": "MDQ6VXNlcjMwNTA2MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mchari",
"html_url": "https://github.com/mchari",
"followers_url": "https://api.github.com/users/mchari/fo... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | NONE | null | @LysandreJik , I am trying to convert REALM checkpoints in google-research/language/ to a pytorch checkpoint.
One of the arguments to convert_bert_original_tf_checkpoint_to_pytorch.py is bert config.json file. I don't see this file in the model directory. Just wanted to confirm that I can use any bert_config.json ? ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8532/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8531/comments | https://api.github.com/repos/huggingface/transformers/issues/8531/events | https://github.com/huggingface/transformers/issues/8531 | 742,773,824 | MDU6SXNzdWU3NDI3NzM4MjQ= | 8,531 | [models website: files section] various issues/suggestions for a better UI | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"Our assumption was that git-lfs was pretty widespread, but it's an assumption we'd like to check in the coming weeks, and if not, explain/document better. I like the official website: https://git-lfs.github.com/\r\n\r\nLet's keep this issue open to find out if many users have issues/questions?\r\n\r\nOn your secon... | 1,605 | 1,616 | 1,616 | CONTRIBUTOR | null | Models website - files section: suggestions/issues:
1. [ ] `git lfs install` not working
I tried to download a model as instructed here:
https://huggingface.co/facebook/bart-large/tree/main#how-to-use
```
$ git lfs install
git: 'lfs' is not a git command. See 'git --help'.
The most similar commands are
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8531/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8530/comments | https://api.github.com/repos/huggingface/transformers/issues/8530/events | https://github.com/huggingface/transformers/pull/8530 | 742,764,600 | MDExOlB1bGxSZXF1ZXN0NTIwODMxMTE0 | 8,530 | Switch `return_dict` to `True` by default. | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"> You can still index with integers or a slice:\r\n> loss = outputs[0]\r\n\r\nDoesn't seem to be the case if I use fp16/apex (possibly any fp16):\r\n\r\n`finetune.py` currently fails with:\r\n\r\n```\r\n File \"finetune.py\", line 170, in training_step\r\n loss_tensors = self._step(batch)\r\n File \"finetune.... | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
As part of the main changes we want to bring to Transformers v4, this PR switches the `return_dict` argument default from `False` to `True`. Most of the examples and documentation were already using this value (the PR removes `return_dict=True` in all those instances since this is now the def... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8530/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8530",
"html_url": "https://github.com/huggingface/transformers/pull/8530",
"diff_url": "https://github.com/huggingface/transformers/pull/8530.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8530.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8529/comments | https://api.github.com/repos/huggingface/transformers/issues/8529/events | https://github.com/huggingface/transformers/pull/8529 | 742,744,344 | MDExOlB1bGxSZXF1ZXN0NTIwODE0MjIz | 8,529 | Adding PrefixConstrainedLogitsProcessor | {
"login": "nicola-decao",
"id": 9703100,
"node_id": "MDQ6VXNlcjk3MDMxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9703100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicola-decao",
"html_url": "https://github.com/nicola-decao",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"@patrickvonplaten I think we are ready to merge now 😊",
"Hey @nicola-decao,\r\n\r\nThanks a lot for re-implementing your PR! A couple of things I think we should improve.\r\n\r\n1) I'm still not 100% sure how the API of `prefix_allowed_tokens_fn` would look like. Does it take one or two arguments? Also it would... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds a new decoding strategy that constrains the next token to generate based on a callable function. It is a new PR that fixes https://github.com/huggingface/transformers/pull/7784 since the generate function went trough refactoring. @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8529/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8529",
"html_url": "https://github.com/huggingface/transformers/pull/8529",
"diff_url": "https://github.com/huggingface/transformers/pull/8529.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8529.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8528/comments | https://api.github.com/repos/huggingface/transformers/issues/8528/events | https://github.com/huggingface/transformers/pull/8528 | 742,726,519 | MDExOlB1bGxSZXF1ZXN0NTIwNzk5NTgz | 8,528 | [T5] Fix load weights function | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Failing tests are unrelated",
"Thanks again @patrickvonplaten , you made my weekend 😄 \r\n"
] | 1,605 | 1,605 | 1,605 | 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/8528/reactions",
"total_count": 4,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8528/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8528",
"html_url": "https://github.com/huggingface/transformers/pull/8528",
"diff_url": "https://github.com/huggingface/transformers/pull/8528.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8528.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8527/comments | https://api.github.com/repos/huggingface/transformers/issues/8527/events | https://github.com/huggingface/transformers/pull/8527 | 742,679,005 | MDExOlB1bGxSZXF1ZXN0NTIwNzU3MzQ2 | 8,527 | Add bart-large-mnli model card | {
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.github.com/users/joeddav/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"looks good!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Adds a model card for facebook/bart-large-mnli. Since this model is currently the default for the zero-shot pipeline/widget, it adds an introduction to zero-shot text classification with references & example snippets. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8527",
"html_url": "https://github.com/huggingface/transformers/pull/8527",
"diff_url": "https://github.com/huggingface/transformers/pull/8527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8527.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8526/comments | https://api.github.com/repos/huggingface/transformers/issues/8526/events | https://github.com/huggingface/transformers/issues/8526 | 742,654,658 | MDU6SXNzdWU3NDI2NTQ2NTg= | 8,526 | Problem while pretraining MLM from scratch using Transformers | {
"login": "meysamgh",
"id": 34138742,
"node_id": "MDQ6VXNlcjM0MTM4NzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/34138742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meysamgh",
"html_url": "https://github.com/meysamgh",
"followers_url": "https://api.github.com/users/mey... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"It looks like you're using Transformers v3.1.0. There have been quite q few improvements/bug fixes on Trainer since then. Could you check you still have the issue with the latest version?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further ... | 1,605 | 1,611 | 1,611 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.1.0
- Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
- Python version: 3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8526/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8525/comments | https://api.github.com/repos/huggingface/transformers/issues/8525/events | https://github.com/huggingface/transformers/issues/8525 | 742,590,889 | MDU6SXNzdWU3NDI1OTA4ODk= | 8,525 | `TypeError: unhashable type: 'list'` when using DataCollatorForWholeWordMask | {
"login": "sikfeng",
"id": 9458918,
"node_id": "MDQ6VXNlcjk0NTg5MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9458918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sikfeng",
"html_url": "https://github.com/sikfeng",
"followers_url": "https://api.github.com/users/sikfeng/... | [] | closed | false | null | [] | [
"Can reproduce, working on a fix right now.",
"So, `DataCollatorForWholeWordMask` has a few deisgn flaws (it only works for BERT for instance) and fixing it is not directly doable (basically what it tries to do should be done at the tokenization level). I will adapt the `run_mlm_wwm` example to stop using it and ... | 1,605 | 1,605 | 1,605 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.5.0
- Platform: Linux-5.9.1-arch1-1-x86_64-with-arch
- Python version: 3.7.3
- PyTorch version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8525/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8524/comments | https://api.github.com/repos/huggingface/transformers/issues/8524/events | https://github.com/huggingface/transformers/issues/8524 | 742,565,829 | MDU6SXNzdWU3NDI1NjU4Mjk= | 8,524 | LayoutLM Token Classification not learning | {
"login": "AntPeixe",
"id": 21229140,
"node_id": "MDQ6VXNlcjIxMjI5MTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/21229140?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AntPeixe",
"html_url": "https://github.com/AntPeixe",
"followers_url": "https://api.github.com/users/Ant... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Is there any update on this issue?",
"Hi there!\r\n\r\nI have been investigating the model by making [integration tests](https://github.com/NielsRogge/transformers/blob/e5431da34ab2d03d6114303f18fd70192c880913/tests/test_modeling_layoutlm.py#L318), and turns out it outputs the same tensors as the original reposi... | 1,605 | 1,614 | 1,614 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: in docker based on image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
- Python version: 3.7.9
- PyTorch version (GPU?): 1.5.1+cu92 (True)
- Tensorflow version (GPU?): 2.2.0-rc0 (True)
- Using GPU in script?: True
- Using distributed or parallel set-up... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8524/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/8524/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8523/comments | https://api.github.com/repos/huggingface/transformers/issues/8523/events | https://github.com/huggingface/transformers/issues/8523 | 742,506,205 | MDU6SXNzdWU3NDI1MDYyMDU= | 8,523 | Reformer model crashes during casual LM evaluation | {
"login": "qbeer",
"id": 24634931,
"node_id": "MDQ6VXNlcjI0NjM0OTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/24634931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qbeer",
"html_url": "https://github.com/qbeer",
"followers_url": "https://api.github.com/users/qbeer/follow... | [] | closed | false | null | [] | [
"Mmm, looks like the reformer model is outputing some `None`s, which it shouldn't do. Can make a fix for that in `Trainer` but the model itself should not do that. Looks like there is work for both of us @patrickvonplaten :-)"
] | 1,605 | 1,605 | 1,605 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: Linux-5.4.0-47-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.6.12
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: -
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8522/comments | https://api.github.com/repos/huggingface/transformers/issues/8522/events | https://github.com/huggingface/transformers/pull/8522 | 742,498,478 | MDExOlB1bGxSZXF1ZXN0NTIwNjE5ODMw | 8,522 | Update deepset/roberta-base-squad2 model card | {
"login": "brandenchan",
"id": 33759007,
"node_id": "MDQ6VXNlcjMzNzU5MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33759007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brandenchan",
"html_url": "https://github.com/brandenchan",
"followers_url": "https://api.github.com/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Really cool!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Update model card since our v1 and v2 of the model are in this repo.
Note that accessing models doesn't seem to be working when referencing tag name #8521 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8522/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8522",
"html_url": "https://github.com/huggingface/transformers/pull/8522",
"diff_url": "https://github.com/huggingface/transformers/pull/8522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8522.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.