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/7621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7621/comments | https://api.github.com/repos/huggingface/transformers/issues/7621/events | https://github.com/huggingface/transformers/pull/7621 | 716,032,978 | MDExOlB1bGxSZXF1ZXN0NDk4ODQ0NTgx | 7,621 | [No merge] TF integration testing | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@LysandreJik Is this PR done with your last changes in the tests?",
"Ah, I had forgotten about this. I'll rebase and ping you for review\r\n",
"should be good for review @jplu ",
"They're not the same as they don't rely on the full checkpoints but on some random tiny ones, to make the CI faster.\r\nIt does t... | 1,602 | 1,605 | 1,605 | MEMBER | null | Adds integrationt tests for BERT, ELECTRA and Longformer to ensure that PR such as https://github.com/huggingface/transformers/pull/7605 do not impact the current state of models. RoBERTa not done because it's already done.
Patches a bug with the `ElectraForPreTraining` when batch size = 1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7621",
"html_url": "https://github.com/huggingface/transformers/pull/7621",
"diff_url": "https://github.com/huggingface/transformers/pull/7621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7621.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7620/comments | https://api.github.com/repos/huggingface/transformers/issues/7620/events | https://github.com/huggingface/transformers/issues/7620 | 716,019,928 | MDU6SXNzdWU3MTYwMTk5Mjg= | 7,620 | Downloading DPR model ('facebook/dpr-ctx_encoder-single-nq-base') | {
"login": "abesalom10",
"id": 57544411,
"node_id": "MDQ6VXNlcjU3NTQ0NDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/57544411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abesalom10",
"html_url": "https://github.com/abesalom10",
"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 | [] | [
"Hi, could you mention the issue you're having?",
"I want to use a natural question dataset and model trained on that. I have seen this code:\r\n```\r\nfrom transformers import DPRReader, DPRReaderTokenizer\r\ntokenizer = DPRReaderTokenizer.from_pretrained('facebook/dpr-reader-single-nq-base')\r\nmodel = DPRReade... | 1,602 | 1,608 | 1,608 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7620/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7619/comments | https://api.github.com/repos/huggingface/transformers/issues/7619/events | https://github.com/huggingface/transformers/pull/7619 | 715,966,976 | MDExOlB1bGxSZXF1ZXN0NDk4Nzg4OTcz | 7,619 | Enhance TFTrainer.save_model() | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"> \r\n> \r\n> Awesome! Did you try it with a usual training example to see if everything is ok?\r\n\r\nYes, with example/text-classification.\r\nI didn't check yet with a usual `tf.keras.models.Model` (i.e. not TFPretrainedModel). But when I continue with `test_trainer_tf.py`, it will be tested.",
"This issue ha... | 1,602 | 1,651 | 1,621 | COLLABORATOR | null | # What does this PR do?
@jplu , could you close PR #7597, please? This PR is a clean one, without the file `modeling_tf_utils` being changed at all.
Currently, TFTrainer.save_model() raises errors if the model is not TFPreTrainedModel . However Trainer works fine with torch.nn.modules.Module.
This is a step to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7619/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7619",
"html_url": "https://github.com/huggingface/transformers/pull/7619",
"diff_url": "https://github.com/huggingface/transformers/pull/7619.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7619.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7618/comments | https://api.github.com/repos/huggingface/transformers/issues/7618/events | https://github.com/huggingface/transformers/issues/7618 | 715,842,402 | MDU6SXNzdWU3MTU4NDI0MDI= | 7,618 | position_ids parameter cannot work with past parameter for GPT2Model during batch inference | {
"login": "gmftbyGMFTBY",
"id": 27548710,
"node_id": "MDQ6VXNlcjI3NTQ4NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/27548710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmftbyGMFTBY",
"html_url": "https://github.com/gmftbyGMFTBY",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @gmftbyGMFTBY - I think the better approach to tackle your problem would actually be this one here: https://github.com/huggingface/transformers/issues/3021#issuecomment-681792104 .\r\n\r\nThis way you should not run into any errors regarding the position_ids",
"Hey, @patrickvonplaten, it works for me. Thank ... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7617/comments | https://api.github.com/repos/huggingface/transformers/issues/7617/events | https://github.com/huggingface/transformers/issues/7617 | 715,840,680 | MDU6SXNzdWU3MTU4NDA2ODA= | 7,617 | OSError: Can't load config for saved_model when deploying on EC2. | {
"login": "katreparitosh",
"id": 42617598,
"node_id": "MDQ6VXNlcjQyNjE3NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/42617598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/katreparitosh",
"html_url": "https://github.com/katreparitosh",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"This can happen if you're fetching a model from S3 but you have no internet access, or if you're using an incorrect URL to a local folder.",
"Hello @LysandreJik \r\n\r\nI have uploaded the saved model in a folder on my EC2 instance. Therefore, the location for the model is from the instance file directory which ... | 1,602 | 1,620 | 1,620 | NONE | null | I was deploying a trained model on AWS EC2 instance (t3a.xlarge) using a dockerized image and Flask. The model was trained using [fast-bert](https://github.com/kaushaltrivedi) that implements transformers as a dependency.
When I passed a sentence on the rendered page, I received
`"In get_config_dict raise Envi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7617/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7616/comments | https://api.github.com/repos/huggingface/transformers/issues/7616/events | https://github.com/huggingface/transformers/pull/7616 | 715,820,702 | MDExOlB1bGxSZXF1ZXN0NDk4NjY1NTQy | 7,616 | Fix wrong reference name/filename in docstring of `SquadProcessor` | {
"login": "phiyodr",
"id": 33572125,
"node_id": "MDQ6VXNlcjMzNTcyMTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/33572125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phiyodr",
"html_url": "https://github.com/phiyodr",
"followers_url": "https://api.github.com/users/phiyod... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7616/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7616",
"html_url": "https://github.com/huggingface/transformers/pull/7616",
"diff_url": "https://github.com/huggingface/transformers/pull/7616.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7616.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7615/comments | https://api.github.com/repos/huggingface/transformers/issues/7615/events | https://github.com/huggingface/transformers/issues/7615 | 715,760,355 | MDU6SXNzdWU3MTU3NjAzNTU= | 7,615 | Feature Request: Support training/evaluation on Squad-format (json) files in SquadDataset for quick Squad fine-tuning | {
"login": "raperry",
"id": 37008135,
"node_id": "MDQ6VXNlcjM3MDA4MTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/37008135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raperry",
"html_url": "https://github.com/raperry",
"followers_url": "https://api.github.com/users/raperr... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,601 | 1,608 | 1,608 | NONE | null | I am currently working on a project using [run_squad_trainer.py](https://github.com/huggingface/transformers/blob/master/examples/question-answering/run_squad_trainer.py)
to quickly fine-tune on new Squad-format (v2.0 json) files. However, the current SquadDataset class only allows training/evaluating on the original ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7615/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7614/comments | https://api.github.com/repos/huggingface/transformers/issues/7614/events | https://github.com/huggingface/transformers/issues/7614 | 715,758,639 | MDU6SXNzdWU3MTU3NTg2Mzk= | 7,614 | Feature Request: Support training and evaluating on Squad-format (json) files in SquadDataset for easy Squad fine-tuning | {
"login": "raperry",
"id": 37008135,
"node_id": "MDQ6VXNlcjM3MDA4MTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/37008135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raperry",
"html_url": "https://github.com/raperry",
"followers_url": "https://api.github.com/users/raperr... | [] | closed | false | null | [] | [
"Sorry duplicated my request."
] | 1,601 | 1,601 | 1,601 | NONE | null | I am currently working on a project using [run_squad_trainer.py](https://github.com/huggingface/transformers/blob/master/examples/question-answering/run_squad_trainer.py)
to quickly fine-tune on new Squad-format (v2.0 json) files. However, the current SquadDataset class only allows training/evaluating on the original ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7614/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7613/comments | https://api.github.com/repos/huggingface/transformers/issues/7613/events | https://github.com/huggingface/transformers/issues/7613 | 715,715,863 | MDU6SXNzdWU3MTU3MTU4NjM= | 7,613 | SquadProcessor: Wrong reference name/filename in docstring | {
"login": "phiyodr",
"id": 33572125,
"node_id": "MDQ6VXNlcjMzNTcyMTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/33572125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phiyodr",
"html_url": "https://github.com/phiyodr",
"followers_url": "https://api.github.com/users/phiyod... | [] | closed | false | null | [] | [
"Indeed! Do you want to open a PR fixing the doc?",
"Yes, I can do that. :)"
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | As the docstring of the function `get_train_examples()` refers to `train-v1.1.json`/`train-v2.0.json`, I guess `get_dev_examples()` should refer to `dev-v1.1.json`/`dev-v2.0.json` (but refers to `train-v1.1.json`/`train-v2.0.json`):
https://github.com/huggingface/transformers/blob/aa6c3c14b4ff8fbd5d40b100f4aae71fb3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7613/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7612/comments | https://api.github.com/repos/huggingface/transformers/issues/7612/events | https://github.com/huggingface/transformers/pull/7612 | 715,621,522 | MDExOlB1bGxSZXF1ZXN0NDk4NDk4MTU1 | 7,612 | updating modelcard with training dataset information. | {
"login": "cedspam",
"id": 7693193,
"node_id": "MDQ6VXNlcjc2OTMxOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7693193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cedspam",
"html_url": "https://github.com/cedspam",
"followers_url": "https://api.github.com/users/cedspam/... | [
{
"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,601 | 1,601 | 1,601 | CONTRIBUTOR | null | updating modelcard with training dataset information.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7612/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7612",
"html_url": "https://github.com/huggingface/transformers/pull/7612",
"diff_url": "https://github.com/huggingface/transformers/pull/7612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7612.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7611/comments | https://api.github.com/repos/huggingface/transformers/issues/7611/events | https://github.com/huggingface/transformers/pull/7611 | 715,583,053 | MDExOlB1bGxSZXF1ZXN0NDk4NDY2NDAz | 7,611 | typo fix | {
"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": 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,601 | 1,601 | 1,601 | CONTRIBUTOR | null | It should be T5-3B not T5-3M.
Fixes # (issue)
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7611",
"html_url": "https://github.com/huggingface/transformers/pull/7611",
"diff_url": "https://github.com/huggingface/transformers/pull/7611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7611.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7610/comments | https://api.github.com/repos/huggingface/transformers/issues/7610/events | https://github.com/huggingface/transformers/pull/7610 | 715,561,668 | MDExOlB1bGxSZXF1ZXN0NDk4NDQ4MjM2 | 7,610 | Fix tokenizer UnboundLocalError when padding is set to PaddingStrategy.MAX_LENGTH | {
"login": "GabrielePicco",
"id": 12031208,
"node_id": "MDQ6VXNlcjEyMDMxMjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12031208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GabrielePicco",
"html_url": "https://github.com/GabrielePicco",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Thanks!"
] | 1,601 | 1,602 | 1,602 | 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/7610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7610/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7610",
"html_url": "https://github.com/huggingface/transformers/pull/7610",
"diff_url": "https://github.com/huggingface/transformers/pull/7610.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7610.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7609/comments | https://api.github.com/repos/huggingface/transformers/issues/7609/events | https://github.com/huggingface/transformers/issues/7609 | 715,557,797 | MDU6SXNzdWU3MTU1NTc3OTc= | 7,609 | Tokenizer: UnboundLocalError with PaddingStrategy MAX_LENGTH | {
"login": "GabrielePicco",
"id": 12031208,
"node_id": "MDQ6VXNlcjEyMDMxMjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12031208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GabrielePicco",
"html_url": "https://github.com/GabrielePicco",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.1.0
- Platform: macOS-10.15.7-x86_64-i386-64bit
- Python version: 3.8.5
- PyTorch version (GPU?): 1.6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7608/comments | https://api.github.com/repos/huggingface/transformers/issues/7608/events | https://github.com/huggingface/transformers/issues/7608 | 715,545,211 | MDU6SXNzdWU3MTU1NDUyMTE= | 7,608 | Ability to pre-train BART model | {
"login": "Hazoom",
"id": 13545154,
"node_id": "MDQ6VXNlcjEzNTQ1MTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/13545154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hazoom",
"html_url": "https://github.com/Hazoom",
"followers_url": "https://api.github.com/users/Hazoom/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 issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"I was wondering if there was any follow up on this topic as I'd also be interested in continued pertaining on bart-base."
] | 1,601 | 1,694 | 1,608 | NONE | null | # 🚀 Feature request
Ability to pre-train BART model, same like there is an ability to pre-train BERT and other models.
## Motivation
I'm using a pre-trained BART model for sequence-to-sequence problem and trained it using my own data, using the examples here: https://github.com/huggingface/transformers/tree/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7608/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/7608/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7607/comments | https://api.github.com/repos/huggingface/transformers/issues/7607/events | https://github.com/huggingface/transformers/pull/7607 | 715,507,014 | MDExOlB1bGxSZXF1ZXN0NDk4NDAyMzQx | 7,607 | Create README.md (LEGAL-BERT Model card) | {
"login": "iliaschalkidis",
"id": 1626984,
"node_id": "MDQ6VXNlcjE2MjY5ODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1626984?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iliaschalkidis",
"html_url": "https://github.com/iliaschalkidis",
"followers_url": "https://api.gith... | [
{
"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 @iliaschalkidis ",
"Thanks @julien-c for your nice comments and for building and improving such a great library. Is there any chance, that we could place all 5 LEGAL-BERT variants in a sub-folder, i.e., `/legal-bert`, inside the account folder `/nlpaueb`? Kind of OCD though... | 1,601 | 1,602 | 1,601 | NONE | null | Model description for all LEGAL-BERT models, published as part of "LEGAL-BERT: The Muppets straight out of Law School". Chalkidis et al., 2018, In Findings of EMNLP 2020
# 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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7607",
"html_url": "https://github.com/huggingface/transformers/pull/7607",
"diff_url": "https://github.com/huggingface/transformers/pull/7607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7607.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7606/comments | https://api.github.com/repos/huggingface/transformers/issues/7606/events | https://github.com/huggingface/transformers/pull/7606 | 715,482,355 | MDExOlB1bGxSZXF1ZXN0NDk4MzgyMjg3 | 7,606 | Add ProtT5-XL-BFD model card | {
"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": 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,601 | 1,601 | 1,601 | CONTRIBUTOR | null | Fixes # (issue)
Create a new card for our ProtT5-XL-BFD model.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7606",
"html_url": "https://github.com/huggingface/transformers/pull/7606",
"diff_url": "https://github.com/huggingface/transformers/pull/7606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7606.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7605/comments | https://api.github.com/repos/huggingface/transformers/issues/7605/events | https://github.com/huggingface/transformers/pull/7605 | 715,477,102 | MDExOlB1bGxSZXF1ZXN0NDk4Mzc3OTUw | 7,605 | TensorFlow training/inference optimization | {
"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 | [] | [
"> If that's all it takes, that's fantastic! Did you manage to obtain the performance improvements that were initially mentioned thanks to this?\r\n\r\nOn my machine with my GPU yes.\r\n\r\n>Also I'm realizing now that we don't have integration testing for our TensorFlow models, and this seems like a situation wher... | 1,601 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a performance issue where some operation was done on CPU instead of GPU and would result to put the GPU in idle mode. This optimization is feasible thanks to the recent update we made on the way we load the TF weights.
@patrickvonplaten I have done few changes in the `TFLongf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7605/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7605",
"html_url": "https://github.com/huggingface/transformers/pull/7605",
"diff_url": "https://github.com/huggingface/transformers/pull/7605.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7605.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7604/comments | https://api.github.com/repos/huggingface/transformers/issues/7604/events | https://github.com/huggingface/transformers/issues/7604 | 715,424,844 | MDU6SXNzdWU3MTU0MjQ4NDQ= | 7,604 | way to make inference Zero Shot pipeline faster? | {
"login": "acul3",
"id": 56231298,
"node_id": "MDQ6VXNlcjU2MjMxMjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/56231298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acul3",
"html_url": "https://github.com/acul3",
"followers_url": "https://api.github.com/users/acul3/follow... | [] | closed | false | null | [] | [
"Closing this and moving the conversation (w/ my answer) to [the forums](https://discuss.huggingface.co/t/way-to-make-inference-zero-shot-pipeline-faster/1384/2?u=joeddav)."
] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | Hi
Can you guys give me tips how to make Zero Shot pipeline inference faster?
My current approach right now is reducing the model size/parameter
(trying to train "base model" instead of "large model)
Is there another approach?
CCing @joeddav | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7604/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7603/comments | https://api.github.com/repos/huggingface/transformers/issues/7603/events | https://github.com/huggingface/transformers/pull/7603 | 715,387,862 | MDExOlB1bGxSZXF1ZXN0NDk4MzA1NDQz | 7,603 | Added model cards for Tagalog BERT models | {
"login": "jcblaisecruz02",
"id": 24757547,
"node_id": "MDQ6VXNlcjI0NzU3NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/24757547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcblaisecruz02",
"html_url": "https://github.com/jcblaisecruz02",
"followers_url": "https://api.gi... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Thanks!"
] | 1,601 | 1,602 | 1,602 | NONE | null | # What does this PR do?
Adds model cards for five Tagalog BERT models:
* jcblaise/bert-tagalog-base-cased
* jcblaise/bert-tagalog-base-uncased
* jcblaise/bert-tagalog-base-cased-WWM
* jcblaise/bert-tagalog-base-uncased-WWM
* jcblaise/distilbert-tagalog-base-uncased
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7603",
"html_url": "https://github.com/huggingface/transformers/pull/7603",
"diff_url": "https://github.com/huggingface/transformers/pull/7603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7603.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7602/comments | https://api.github.com/repos/huggingface/transformers/issues/7602/events | https://github.com/huggingface/transformers/issues/7602 | 715,361,073 | MDU6SXNzdWU3MTUzNjEwNzM= | 7,602 | RAG : Can we fine-tune RAG with update frequency method similar to Fairseq framework? | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | 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 @shamanez - what do you mean by \"update frequency\"? You don't need to use 8 GPUS => you can just reduce the number of gpus as you wish and keep the \"same\" batch size by increasing the `gradient_accumulation_steps` - does this make sense? ",
"Let's say if the effective batch size is 32 with 8 GPUs and I w... | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | RAG fine-tune script needs 8 GPUs to train. Is there any chance that the training can be done with less number of GPUs using the update frequency? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7602/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7601/comments | https://api.github.com/repos/huggingface/transformers/issues/7601/events | https://github.com/huggingface/transformers/issues/7601 | 715,318,475 | MDU6SXNzdWU3MTUzMTg0NzU= | 7,601 | Does tokenizer.from_pretrained tokenize text on CPU even a GPU is available? | {
"login": "BaoshengHeTR",
"id": 60898384,
"node_id": "MDQ6VXNlcjYwODk4Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/60898384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BaoshengHeTR",
"html_url": "https://github.com/BaoshengHeTR",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi, indeed GPUs are not used when doing tokenization. There are no matrix operations and there's no need for heavy parallelization, so no need to rely on GPUs for this operation."
] | 1,601 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7601/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7600/comments | https://api.github.com/repos/huggingface/transformers/issues/7600/events | https://github.com/huggingface/transformers/issues/7600 | 715,280,276 | MDU6SXNzdWU3MTUyODAyNzY= | 7,600 | TFBertMode.pre_trained('bert-base-uncased') --> OSError | {
"login": "sansanai",
"id": 25274898,
"node_id": "MDQ6VXNlcjI1Mjc0ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/25274898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sansanai",
"html_url": "https://github.com/sansanai",
"followers_url": "https://api.github.com/users/san... | [] | closed | false | null | [] | [
"I deleted my virtual environment and workspace, re-installed it, re-runed the above codes, and found that the above codes worked without error\r\n"
] | 1,601 | 1,601 | 1,601 | 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: Linux-3.10.0-1127.el7.x86_64-x86_64-with-centos-7.8.2003-Core
- Python version: 3.7.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7600/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7599/comments | https://api.github.com/repos/huggingface/transformers/issues/7599/events | https://github.com/huggingface/transformers/pull/7599 | 715,259,946 | MDExOlB1bGxSZXF1ZXN0NDk4MTk5MzUw | 7,599 | Support T5 Distillation w/hidden state supervision | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | Support distilling t5 for summarization and translation with hidden state supervision.
cc @patil-suraj @patrickvonplaten
Here are some very simple commands that work for now:
### Yes Teacher/Traditional Distillation
```bash
python distillation.py --teacher t5-small --data_dir cnn_dm \
--student_decoder_l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7599/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7599",
"html_url": "https://github.com/huggingface/transformers/pull/7599",
"diff_url": "https://github.com/huggingface/transformers/pull/7599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7599.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7598/comments | https://api.github.com/repos/huggingface/transformers/issues/7598/events | https://github.com/huggingface/transformers/pull/7598 | 715,197,996 | MDExOlB1bGxSZXF1ZXN0NDk4MTQ3NzUy | 7,598 | Docker GPU Images: Add NVIDIA/apex to the cuda images with pytorch | {
"login": "AdrienDS",
"id": 1977281,
"node_id": "MDQ6VXNlcjE5NzcyODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1977281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdrienDS",
"html_url": "https://github.com/AdrienDS",
"followers_url": "https://api.github.com/users/Adrie... | [] | closed | false | null | [] | [
"Hi @AdrienDS, \r\n\r\nThanks for suggesting the changes.\r\n\r\nDid you try building the image locally? I totally understand the motivation behind the use of the `-devel` layer parent, but I have concern regarding the final image size. Would it be possible for you to include the resulting size for th `devel` based... | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | # What does this PR do?
- Use cuda:10.2 image instead of 10.1 (to address version mismatch warning with pytorch)
- Use `devel` version that is built on the `runtime` and includes headers and development tools (it was otherwise failing to build apex). For a description of the different flavors, see: https://hub.dock... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7598/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7598",
"html_url": "https://github.com/huggingface/transformers/pull/7598",
"diff_url": "https://github.com/huggingface/transformers/pull/7598.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7598.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7597/comments | https://api.github.com/repos/huggingface/transformers/issues/7597/events | https://github.com/huggingface/transformers/pull/7597 | 715,174,856 | MDExOlB1bGxSZXF1ZXN0NDk4MTI4NTMw | 7,597 | Enhance TFTrainer.save_model() | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"Closing in favor of #7619 "
] | 1,601 | 1,651 | 1,602 | COLLABORATOR | null | # What does this PR do?
Currently, `TFTrainer.save_model()` raises errors if the model is not `TFPreTrainedModel` . However `Trainer` works fine with `torch.nn.modules.Module`.
This is a step to make TFTrainer work with usual `tf.keras.models.Model` models. The idea (from @sgugger) is that a user is building the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7597/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7597",
"html_url": "https://github.com/huggingface/transformers/pull/7597",
"diff_url": "https://github.com/huggingface/transformers/pull/7597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7597.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7596/comments | https://api.github.com/repos/huggingface/transformers/issues/7596/events | https://github.com/huggingface/transformers/pull/7596 | 715,151,415 | MDExOlB1bGxSZXF1ZXN0NDk4MTA4ODAz | 7,596 | Trainer callbacks | {
"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 | [] | [
"Finally! Can't wait for this PR to be merged.\r\nI've briefly looked at the code and from my understanding it should support this case, but correct me if I'm wrong:\r\n\r\n_When saving checkpoints (including model weights as well as scheduler and optimizer states), I will be able to attach to this process and stor... | 1,601 | 1,602 | 1,602 | COLLABORATOR | null | # What does this PR do?
This PR does two things: clean up a bit the files supporting `Trainer` and the `Trainer` class, and add callbacks to `Trainer`.
### Callbacks
This PR introduces a new class called `TrainerCallback` that can access the current state of the training loop and make some decisions (shown in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7596/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7596",
"html_url": "https://github.com/huggingface/transformers/pull/7596",
"diff_url": "https://github.com/huggingface/transformers/pull/7596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7596.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7595/comments | https://api.github.com/repos/huggingface/transformers/issues/7595/events | https://github.com/huggingface/transformers/pull/7595 | 715,098,028 | MDExOlB1bGxSZXF1ZXN0NDk4MDY0MDAz | 7,595 | change return dicitonary for DataCollatorForNextSentencePrediction from masked_lm_labels to labels | {
"login": "gmihaila",
"id": 22454783,
"node_id": "MDQ6VXNlcjIyNDU0Nzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/22454783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmihaila",
"html_url": "https://github.com/gmihaila",
"followers_url": "https://api.github.com/users/gmi... | [] | closed | false | null | [] | [] | 1,601 | 1,602 | 1,601 | CONTRIBUTOR | null | # What does this PR do?
The `masked_lm_labels` argument from *DataCollatorForNextSentencePrediction* is deprecated and will be removed in a future version, use `labels` instead. I changed the dictionary key from `masked_lm_labels ` to `labels`.
It will avoid any future errors when `masked_lm_labels` won't be us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7595/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/7595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7595",
"html_url": "https://github.com/huggingface/transformers/pull/7595",
"diff_url": "https://github.com/huggingface/transformers/pull/7595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7595.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7594/comments | https://api.github.com/repos/huggingface/transformers/issues/7594/events | https://github.com/huggingface/transformers/issues/7594 | 715,086,652 | MDU6SXNzdWU3MTUwODY2NTI= | 7,594 | RagTokenForGeneration.from_pretrained fails while running demo script | {
"login": "mthielk",
"id": 56938492,
"node_id": "MDQ6VXNlcjU2OTM4NDky",
"avatar_url": "https://avatars.githubusercontent.com/u/56938492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mthielk",
"html_url": "https://github.com/mthielk",
"followers_url": "https://api.github.com/users/mthiel... | [] | 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... | [
"This may be related to an incompatible pytorch or cuda version",
"@mthielk - this can very well be due to the PyTorch version. Did you try with a more current version of PyTorch? ",
"@patrickvonplaten I face the same issue with PyTorch version 1.4.0. ",
"I can confirm that this error occurs with PyTorch ver... | 1,601 | 1,606 | 1,606 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Linux-4.4.0-1113-aws-x86_64-with-debian-stretch-sid
- Python version: 3.7.9
- PyTorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7594/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7593/comments | https://api.github.com/repos/huggingface/transformers/issues/7593/events | https://github.com/huggingface/transformers/pull/7593 | 715,053,354 | MDExOlB1bGxSZXF1ZXN0NDk4MDI3Mjk1 | 7,593 | [bart] fix config.classif_dropout | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"This breaks backwards compatibility on saved `classif_dropout`, but from my checks this is always set to 0 (so incorrect) anyways and will stay 0, so I'm not too concerned.",
"```python\r\nfrom transformers import BartConfig\r\nconfig_to_save = BartConfig.from_pretrained('facebook/bart-base', classif_dropout=0.4... | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7593",
"html_url": "https://github.com/huggingface/transformers/pull/7593",
"diff_url": "https://github.com/huggingface/transformers/pull/7593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7593.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/7592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7592/comments | https://api.github.com/repos/huggingface/transformers/issues/7592/events | https://github.com/huggingface/transformers/issues/7592 | 715,016,960 | MDU6SXNzdWU3MTUwMTY5NjA= | 7,592 | Using `-1` to mask the loss for the token is deprecated. Please use `-100` instead. | {
"login": "Neptune-Trojans",
"id": 68503564,
"node_id": "MDQ6VXNlcjY4NTAzNTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/68503564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Neptune-Trojans",
"html_url": "https://github.com/Neptune-Trojans",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"@Paul-Trax ,\r\n\r\nThe warning you saw is not because you have some `-1` in the labels. It is because the computation was done inside a tensorflow graph, which was compiled before the computation. While compiling a graph, the different branches are entered, so you saw the warning. Once the real computation begins... | 1,601 | 1,602 | 1,602 | NONE | null | - `transformers` version: 3.3.1
- Platform: Linux-4.15.0-118-generic-x86_64-with-debian-stretch-sid
- Python version: 3.6.8
- PyTorch version (GPU?): 1.3.1 (True)
- Tensorflow version (GPU?): 2.3.1 (True)
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: No
### Who can help
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7592/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7591/comments | https://api.github.com/repos/huggingface/transformers/issues/7591/events | https://github.com/huggingface/transformers/issues/7591 | 715,015,183 | MDU6SXNzdWU3MTUwMTUxODM= | 7,591 | BartConfig saving and loading inconsistency | {
"login": "Liyang90",
"id": 17171233,
"node_id": "MDQ6VXNlcjE3MTcxMjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/17171233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Liyang90",
"html_url": "https://github.com/Liyang90",
"followers_url": "https://api.github.com/users/Liy... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"The input argument for `BartConfig.__init__()` should be named `classif_dropout ` instead of `classifier_dropout`",
"Great catch, thanks!"
] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | ## Environment info
### Who can help
Bart: @sshleifer
## Information
Model I am using (Bert, XLNet ...): Bart
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x ] my own modified scripts: (give details below)
## To reproduce
Steps to reproduce the behav... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7591/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7590/comments | https://api.github.com/repos/huggingface/transformers/issues/7590/events | https://github.com/huggingface/transformers/pull/7590 | 714,968,774 | MDExOlB1bGxSZXF1ZXN0NDk3OTU4NjQz | 7,590 | Update README.md | {
"login": "dartrevan",
"id": 24587263,
"node_id": "MDQ6VXNlcjI0NTg3MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/24587263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dartrevan",
"html_url": "https://github.com/dartrevan",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,601 | 1,602 | 1,602 | 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/7590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7590/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7590",
"html_url": "https://github.com/huggingface/transformers/pull/7590",
"diff_url": "https://github.com/huggingface/transformers/pull/7590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7590.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7589/comments | https://api.github.com/repos/huggingface/transformers/issues/7589/events | https://github.com/huggingface/transformers/issues/7589 | 714,960,020 | MDU6SXNzdWU3MTQ5NjAwMjA= | 7,589 | run_language_modeling.py TPU issue during evaluation | {
"login": "Shiro-LK",
"id": 26505641,
"node_id": "MDQ6VXNlcjI2NTA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shiro-LK",
"html_url": "https://github.com/Shiro-LK",
"followers_url": "https://api.github.com/users/Shi... | [
{
"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 seems like more of a TPU issue than a `huggingface/transformers` issue. Do you mind copying the full output of your command? Maybe in a `pastebin` or a github gist if it doesn't fit here.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no fur... | 1,601 | 1,608 | 1,608 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: ubuntu
- Python version: 3.7
- PyTorch version (GPU?): xla-nightly
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7589/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7588/comments | https://api.github.com/repos/huggingface/transformers/issues/7588/events | https://github.com/huggingface/transformers/pull/7588 | 714,956,404 | MDExOlB1bGxSZXF1ZXN0NDk3OTQ4NjQ3 | 7,588 | [makefile] check only .py files | {
"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,601 | 1,601 | 1,601 | CONTRIBUTOR | null | in the `fixup` target add `egrep .py$` to feed black/isort/flake8 only .py files as apparently some of them complain if that's not the case.
Fixes: #7579
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7588/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7588",
"html_url": "https://github.com/huggingface/transformers/pull/7588",
"diff_url": "https://github.com/huggingface/transformers/pull/7588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7588.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7587/comments | https://api.github.com/repos/huggingface/transformers/issues/7587/events | https://github.com/huggingface/transformers/pull/7587 | 714,940,497 | MDExOlB1bGxSZXF1ZXN0NDk3OTM1NzM2 | 7,587 | Fix squeezebert docs | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | MEMBER | null | Slightly update the SqueezeBERT documentation to fit standards before the documentation gods are angered. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7587/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7587",
"html_url": "https://github.com/huggingface/transformers/pull/7587",
"diff_url": "https://github.com/huggingface/transformers/pull/7587.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7587.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7586/comments | https://api.github.com/repos/huggingface/transformers/issues/7586/events | https://github.com/huggingface/transformers/pull/7586 | 714,917,574 | MDExOlB1bGxSZXF1ZXN0NDk3OTE2NjA1 | 7,586 | Documentation framework toggle should stick | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | MEMBER | null | # What does this PR do?
This PR adds the following feature: when clicking on a `PyTorch` or `TensorFlow` button in the documentation in order to show the corresponding framework code sample, the toggle takes effect on all the current pages' code samples.
TensorFlow users won't need to click on every code sample t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7586/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7586",
"html_url": "https://github.com/huggingface/transformers/pull/7586",
"diff_url": "https://github.com/huggingface/transformers/pull/7586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7586.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7585/comments | https://api.github.com/repos/huggingface/transformers/issues/7585/events | https://github.com/huggingface/transformers/pull/7585 | 714,904,104 | MDExOlB1bGxSZXF1ZXN0NDk3OTA1NzUw | 7,585 | Documentation fixes | {
"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,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
This PR fixes two issues with the documentation:
- wrong type annotation in the configurations (see #7559)
- wrong example for masked LM models (see this [froum post](https://discuss.huggingface.co/t/questions-on-the-bertmodellmheadmodel/1317/6))
Fixes #7559
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7585/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7585",
"html_url": "https://github.com/huggingface/transformers/pull/7585",
"diff_url": "https://github.com/huggingface/transformers/pull/7585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7585.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7584/comments | https://api.github.com/repos/huggingface/transformers/issues/7584/events | https://github.com/huggingface/transformers/issues/7584 | 714,899,717 | MDU6SXNzdWU3MTQ4OTk3MTc= | 7,584 | XLNet evaluation fails if the size of evaluation set can't be divided by a given evaluation batch size | {
"login": "StepinSilence",
"id": 25417535,
"node_id": "MDQ6VXNlcjI1NDE3NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/25417535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StepinSilence",
"html_url": "https://github.com/StepinSilence",
"followers_url": "https://api.githu... | [] | 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... | [
"The XLNet model outputs some past states called `mems` at index 2. Those can't be concatenated together because they have a sequence length that varies. You should pass along `--past_index 2` to your script so that:\r\n1. those `mems` are used\r\n2. they are discarded from the predictions, and thus evaluation shou... | 1,601 | 1,617 | 1,606 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-117-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7584/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/7584/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7583/comments | https://api.github.com/repos/huggingface/transformers/issues/7583/events | https://github.com/huggingface/transformers/issues/7583 | 714,891,990 | MDU6SXNzdWU3MTQ4OTE5OTA= | 7,583 | RagRetriever.from_pretrained doesn't get another cache_dir. | {
"login": "josemlopez",
"id": 4112135,
"node_id": "MDQ6VXNlcjQxMTIxMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4112135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/josemlopez",
"html_url": "https://github.com/josemlopez",
"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 | {
"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... | [
"tagging @patrickvonplaten who will be more suitable to help",
"Hey @josemlopez - thanks for the issue. @lhoestq - I think we should add an argument to the `RagRetriever.from_pretrained(...)` that passes the cache dir to the `load_dataset` function, no? What do you think? ",
"Thanks for your work guys.\r\n\r\n... | 1,601 | 1,608 | 1,608 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Linux-4.19
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6.0
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7583/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7582/comments | https://api.github.com/repos/huggingface/transformers/issues/7582/events | https://github.com/huggingface/transformers/pull/7582 | 714,886,221 | MDExOlB1bGxSZXF1ZXN0NDk3ODkxMTYw | 7,582 | [TF generation] Fix typo | {
"login": "SidJain1412",
"id": 35868478,
"node_id": "MDQ6VXNlcjM1ODY4NDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/35868478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SidJain1412",
"html_url": "https://github.com/SidJain1412",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I see that tests are failing, but shouldn't `min_length` and `top_k` simply not be allowed to go to zero?",
"`min_length` defaults to 0 which is expteced behavior. `top_k` is 0 if it is not used => so I don't think we should do these changes.",
"We can fix the typo though ;-) ",
"My bad, that makes sense 😄 ... | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | # What does this PR do?
Typo + Parameter Assertion Fix
<!--
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 contributi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7582/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7582",
"html_url": "https://github.com/huggingface/transformers/pull/7582",
"diff_url": "https://github.com/huggingface/transformers/pull/7582.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7582.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7581/comments | https://api.github.com/repos/huggingface/transformers/issues/7581/events | https://github.com/huggingface/transformers/pull/7581 | 714,866,355 | MDExOlB1bGxSZXF1ZXN0NDk3ODc0OTk3 | 7,581 | Create README.md | {
"login": "abedkhooli",
"id": 11407254,
"node_id": "MDQ6VXNlcjExNDA3MjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11407254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abedkhooli",
"html_url": "https://github.com/abedkhooli",
"followers_url": "https://api.github.com/use... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Add model card for https://huggingface.co/akhooli/xlm-r-large-arabic-toxic"
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
Model card for https://huggingface.co/akhooli/xlm-r-large-arabic-toxic | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7581/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7581",
"html_url": "https://github.com/huggingface/transformers/pull/7581",
"diff_url": "https://github.com/huggingface/transformers/pull/7581.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7581.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7580/comments | https://api.github.com/repos/huggingface/transformers/issues/7580/events | https://github.com/huggingface/transformers/pull/7580 | 714,855,691 | MDExOlB1bGxSZXF1ZXN0NDk3ODY2MzQ4 | 7,580 | Expand test to locate flakiness | {
"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,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
`test_training_arguments_are_left_untouched` in `test_trainer.py` is a bit flaky, this PR just expands in a loop the assertEqual so we can hopefully locate the source of the flakiness. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7580/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7580",
"html_url": "https://github.com/huggingface/transformers/pull/7580",
"diff_url": "https://github.com/huggingface/transformers/pull/7580.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7580.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7579/comments | https://api.github.com/repos/huggingface/transformers/issues/7579/events | https://github.com/huggingface/transformers/issues/7579 | 714,852,226 | MDU6SXNzdWU3MTQ4NTIyMjY= | 7,579 | make modified_only_fixup complains about non .py files | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"yes, the fix is trivial. Which tool is complaining?",
"I was running `make modified_only_fixup` before merging master and `black` was complaining.\r\nBut after merging master, there is no complaining.\r\nAnd I should be using `make fixup`, so this might just be a UserError.\r\n\r\nShould we merge the linked PR a... | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | easy fix @stas00 ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7579/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7578/comments | https://api.github.com/repos/huggingface/transformers/issues/7578/events | https://github.com/huggingface/transformers/issues/7578 | 714,799,158 | MDU6SXNzdWU3MTQ3OTkxNTg= | 7,578 | RobertaTokenizer.get_special_tokens_mask doesn't check for all special tokens, only for the sep and cls tokens | {
"login": "Muks14x",
"id": 11333048,
"node_id": "MDQ6VXNlcjExMzMzMDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11333048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muks14x",
"html_url": "https://github.com/Muks14x",
"followers_url": "https://api.github.com/users/Muks14... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,601 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2
- Platform: macOS-10.15.6-x86_64-i386-64bit
- Python version: 3.8.3
- PyTorch version (GPU?): 1.5... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7578/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/7578/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7577/comments | https://api.github.com/repos/huggingface/transformers/issues/7577/events | https://github.com/huggingface/transformers/pull/7577 | 714,778,111 | MDExOlB1bGxSZXF1ZXN0NDk3ODAzMjEy | 7,577 | Add support to provide initial tokens to decoder of encoder-decoder type models | {
"login": "ayushtiku5",
"id": 40797286,
"node_id": "MDQ6VXNlcjQwNzk3Mjg2",
"avatar_url": "https://avatars.githubusercontent.com/u/40797286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayushtiku5",
"html_url": "https://github.com/ayushtiku5",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@patrickvonplaten I have made the required changes. Please review",
"@patrickvonplaten I have made the required changes. Please review and merge"
] | 1,601 | 1,603 | 1,603 | 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/7577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7577/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7577",
"html_url": "https://github.com/huggingface/transformers/pull/7577",
"diff_url": "https://github.com/huggingface/transformers/pull/7577.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7577.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7576/comments | https://api.github.com/repos/huggingface/transformers/issues/7576/events | https://github.com/huggingface/transformers/issues/7576 | 714,777,173 | MDU6SXNzdWU3MTQ3NzcxNzM= | 7,576 | Trainer evaluate returns empty dictionary | {
"login": "adamwawrzynski",
"id": 19324675,
"node_id": "MDQ6VXNlcjE5MzI0Njc1",
"avatar_url": "https://avatars.githubusercontent.com/u/19324675?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adamwawrzynski",
"html_url": "https://github.com/adamwawrzynski",
"followers_url": "https://api.gi... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"You did not provide any metrics to your `Trainer` and it looks like your dataset has no labels. `Trainer.evaluate` thus can't return anything useful."
] | 1,601 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: Linux-5.4.0-45-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.5.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7576/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7575/comments | https://api.github.com/repos/huggingface/transformers/issues/7575/events | https://github.com/huggingface/transformers/pull/7575 | 714,750,560 | MDExOlB1bGxSZXF1ZXN0NDk3NzgwMjgz | 7,575 | docs(pretrained_models): fix num parameters | {
"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... | [] | closed | false | null | [] | [] | 1,601 | 1,676 | 1,601 | 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/7575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7575/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7575",
"html_url": "https://github.com/huggingface/transformers/pull/7575",
"diff_url": "https://github.com/huggingface/transformers/pull/7575.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7575.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7574/comments | https://api.github.com/repos/huggingface/transformers/issues/7574/events | https://github.com/huggingface/transformers/issues/7574 | 714,746,805 | MDU6SXNzdWU3MTQ3NDY4MDU= | 7,574 | Some weights of GPT2DoubleHeadsModel were not initialized from the model checkpoint at gpt2 and are newly initialized | {
"login": "ZorrowHu",
"id": 16571479,
"node_id": "MDQ6VXNlcjE2NTcxNDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/16571479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZorrowHu",
"html_url": "https://github.com/ZorrowHu",
"followers_url": "https://api.github.com/users/Zor... | [] | closed | false | null | [] | [
"Hello! I recommend you read [this doc](https://huggingface.co/transformers/task_summary.html) first to get an understanding of different tasks.\r\n\r\nWhat the warning you got means:\r\n\r\n- The model checkpoint (`\"gpt2\"`) was trained on a specific task (here, causal language modelling, or CLM)\r\n- You're load... | 1,601 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
Hi, I'm new to gpt2 and also this project! I was trying to run an example in the tutorials **https://huggingface.co/transformers/model_doc/gpt2.html** as follows:
```
import torch
from transformers import GPT2Tokenizer, GPT2DoubleHeadsModel
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7574/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7573/comments | https://api.github.com/repos/huggingface/transformers/issues/7573/events | https://github.com/huggingface/transformers/pull/7573 | 714,704,706 | MDExOlB1bGxSZXF1ZXN0NDk3NzQyMDQ3 | 7,573 | [model_card] bert-base-5lang-cased | {
"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 | null | [] | [] | 1,601 | 1,602 | 1,602 | 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/7573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7573/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7573",
"html_url": "https://github.com/huggingface/transformers/pull/7573",
"diff_url": "https://github.com/huggingface/transformers/pull/7573.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7573.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7572/comments | https://api.github.com/repos/huggingface/transformers/issues/7572/events | https://github.com/huggingface/transformers/issues/7572 | 714,699,196 | MDU6SXNzdWU3MTQ2OTkxOTY= | 7,572 | Finetuning T5: Keyword arguments not recognized. | {
"login": "MichaelJanz",
"id": 66110831,
"node_id": "MDQ6VXNlcjY2MTEwODMx",
"avatar_url": "https://avatars.githubusercontent.com/u/66110831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichaelJanz",
"html_url": "https://github.com/MichaelJanz",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,601 | 1,607 | 1,607 | CONTRIBUTOR | null | # ❓ Questions & Help
## Details
Hi, I want to finetune the T5-small model for summarization purposes, to finetune the T5-large later. I prepared my data as as shown in the examples but during training i receive the message:
`Keyword arguments {'src_lang': None, 'tgt_lang': None, 'add_prefix_space': False} not rec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7572/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7571/comments | https://api.github.com/repos/huggingface/transformers/issues/7571/events | https://github.com/huggingface/transformers/issues/7571 | 714,691,404 | MDU6SXNzdWU3MTQ2OTE0MDQ= | 7,571 | Sequence Classification One-Hot Encoded Data | {
"login": "moritzblum",
"id": 31183934,
"node_id": "MDQ6VXNlcjMxMTgzOTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/31183934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moritzblum",
"html_url": "https://github.com/moritzblum",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, if you want to implement a custom loss, you should not pass `labels` to the model, but instead retrieve the `hidden_states` and compute them as you would with any other PyTorch model.",
"Thanks for your fast answer. I found out that nn.CrossEntropyLoss expects class indices and does not take one-hot encoded ... | 1,601 | 1,601 | 1,601 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
### Who can help
albert, bert, GPT2, XLM: @LysandreJik
## Information
I am using Bert and Roberta.
The tasks I am working on is:
Sequence Classification
## Problem
The model does not work with "One-Hot Encoded" data. The model only accepts a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7571/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7570/comments | https://api.github.com/repos/huggingface/transformers/issues/7570/events | https://github.com/huggingface/transformers/issues/7570 | 714,688,303 | MDU6SXNzdWU3MTQ2ODgzMDM= | 7,570 | Import error for MarianMTModel | {
"login": "brian-o-mars",
"id": 52781261,
"node_id": "MDQ6VXNlcjUyNzgxMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/52781261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brian-o-mars",
"html_url": "https://github.com/brian-o-mars",
"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, please fill-in the template or we won't be able to help you.",
"Hello, I have updated it. Thanks",
"This part is the most important part, please complete it:\r\n\r\n\r\n> ```\r\n> transformers version:\r\n> Platform:\r\n> Python version:\r\n> PyTorch version (GPU?):\r\n> Tensorflow version (GPU?):\r\n> Usi... | 1,601 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7570/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7569/comments | https://api.github.com/repos/huggingface/transformers/issues/7569/events | https://github.com/huggingface/transformers/pull/7569 | 714,643,140 | MDExOlB1bGxSZXF1ZXN0NDk3NjkyNzM5 | 7,569 | Add Electra unexpected keys | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | MEMBER | null | This PR adds the necessary ELECTRA unexpected keys. Some keys are only used with models that have a different embedding size to their hidden size, in order to do the projection.
Some models (such as the `large` ELECTRA variants), do not leverage these weights, as they have the same embedding/hidden sizes.
Fixes #... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7569/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7569",
"html_url": "https://github.com/huggingface/transformers/pull/7569",
"diff_url": "https://github.com/huggingface/transformers/pull/7569.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7569.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7568/comments | https://api.github.com/repos/huggingface/transformers/issues/7568/events | https://github.com/huggingface/transformers/pull/7568 | 714,488,667 | MDExOlB1bGxSZXF1ZXN0NDk3NTY0MjEz | 7,568 | [Model card] Java Code Summarizer model | {
"login": "ncoop57",
"id": 7613470,
"node_id": "MDQ6VXNlcjc2MTM0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ncoop57",
"html_url": "https://github.com/ncoop57",
"followers_url": "https://api.github.com/users/ncoop57/... | [
{
"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,601 | 1,601 | 1,601 | CONTRIBUTOR | null | Initial version of java code summarizer model for generating code comments. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7568",
"html_url": "https://github.com/huggingface/transformers/pull/7568",
"diff_url": "https://github.com/huggingface/transformers/pull/7568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7568.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7567/comments | https://api.github.com/repos/huggingface/transformers/issues/7567/events | https://github.com/huggingface/transformers/issues/7567 | 714,476,806 | MDU6SXNzdWU3MTQ0NzY4MDY= | 7,567 | Is training distilbert with TPU supported yet? | {
"login": "xinyiz1019",
"id": 32743192,
"node_id": "MDQ6VXNlcjMyNzQzMTky",
"avatar_url": "https://avatars.githubusercontent.com/u/32743192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinyiz1019",
"html_url": "https://github.com/xinyiz1019",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Distillation is not supported (yet) on TPU. You can check the status of different example scripts [here](https://github.com/huggingface/transformers/tree/master/examples). Those supported by `Trainer` or `TFTrainer` or `pytorch-lightning` can be run on TPU, others cannot."
] | 1,601 | 1,601 | 1,601 | NONE | null | # 🚀 Feature request
Hi! I tried training my own distilbert model with [this code](https://github.com/huggingface/transformers/blob/master/examples/distillation/train.py) using GPU, and it was a success.
I'm wondering if training distilbert model with TPU is supported yet, or if there's any plan to release a new ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7567/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7566/comments | https://api.github.com/repos/huggingface/transformers/issues/7566/events | https://github.com/huggingface/transformers/issues/7566 | 714,372,082 | MDU6SXNzdWU3MTQzNzIwODI= | 7,566 | Trainer incorrectly checks pytorch version | {
"login": "Rexhaif",
"id": 5154447,
"node_id": "MDQ6VXNlcjUxNTQ0NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5154447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rexhaif",
"html_url": "https://github.com/Rexhaif",
"followers_url": "https://api.github.com/users/Rexhaif/... | [
{
"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 unsure on why you think this test is wrong: if this test is true, we import APEX. So if we check with `<=`, we will then try to import APEX which is exactly what we are trying to avoid.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no furth... | 1,601 | 1,607 | 1,607 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.1.0
- Platform: Linux-3.10.0-862.el7.x86_64-x86_64-with-glibc2.27
- Python version: 3.8.5
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7566/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7565/comments | https://api.github.com/repos/huggingface/transformers/issues/7565/events | https://github.com/huggingface/transformers/issues/7565 | 714,353,256 | MDU6SXNzdWU3MTQzNTMyNTY= | 7,565 | Two slow deberta test failures | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
}
] | 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... | [] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/runs/1204063498?check_suite_focus=true
```
FAILED tests/test_modeling_deberta.py::DebertaModelIntegrationTest::test_inference_classification_head
FAILED tests/test_tokenization_deberta.py::DebertaTokenizationTest::test_torch_encode_plus_sent_to_model
```
@LysandreJik... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7565/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7564/comments | https://api.github.com/repos/huggingface/transformers/issues/7564/events | https://github.com/huggingface/transformers/pull/7564 | 714,291,898 | MDExOlB1bGxSZXF1ZXN0NDk3NDE2NDY0 | 7,564 | Update normalising method in oneshot classifier | {
"login": "sachinruk",
"id": 1410927,
"node_id": "MDQ6VXNlcjE0MTA5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinruk",
"html_url": "https://github.com/sachinruk",
"followers_url": "https://api.github.com/users/sa... | [] | closed | false | null | [] | [
"Pinging @joeddav ",
"Hey @sachinruk, thanks for taking the time to contribute 🤗\r\n\r\nI take your point and the case that you've described can certainly happen with the current method, but I maintain what I said in the other thread that there's not really a single correct way of doing this. We're highjacking t... | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | Hi, I know I raised this issue before here: https://github.com/huggingface/transformers/pull/5760#issuecomment-673840015 but I do think that it is worth taking a second look atleast.
So my main concern is, since we are dealing with logits, currently all that happens is to take the softmax over the entailment logits.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7564/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7564",
"html_url": "https://github.com/huggingface/transformers/pull/7564",
"diff_url": "https://github.com/huggingface/transformers/pull/7564.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7564.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7563/comments | https://api.github.com/repos/huggingface/transformers/issues/7563/events | https://github.com/huggingface/transformers/issues/7563 | 714,228,016 | MDU6SXNzdWU3MTQyMjgwMTY= | 7,563 | Error Loading Gpt-2 model after training from scratch. | {
"login": "parthplc",
"id": 35425925,
"node_id": "MDQ6VXNlcjM1NDI1OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/35425925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parthplc",
"html_url": "https://github.com/parthplc",
"followers_url": "https://api.github.com/users/par... | [] | closed | false | null | [] | [
"Hello! How did you train your GPT-2 from scratch? Which framework did you use?",
"> Hello! How did you train your GPT-2 from scratch? Which framework did you use?\r\n\r\nUsed PyTorch framework.",
"Used this script\r\n```\r\nimport os\r\nimport gc\r\nimport glob\r\nimport torch\r\nimport pickle\r\nimport joblib... | 1,601 | 1,602 | 1,602 | NONE | null | ```
Error(s) in loading state_dict for GPT2LMHeadModel:
size mismatch for transformer.h.0.mlp.c_fc.weight: copying a param with shape torch.Size([768, 6]) from checkpoint, the shape in current model is torch.Size([768, 3072]).
```
I trained a GPT-2 model from scratch. When I tried loading the model using
```
c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7563/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7562/comments | https://api.github.com/repos/huggingface/transformers/issues/7562/events | https://github.com/huggingface/transformers/pull/7562 | 714,211,864 | MDExOlB1bGxSZXF1ZXN0NDk3MzYxODI3 | 7,562 | Output global_attentions in Longformer models | {
"login": "gui11aume",
"id": 1017195,
"node_id": "MDQ6VXNlcjEwMTcxOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1017195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gui11aume",
"html_url": "https://github.com/gui11aume",
"followers_url": "https://api.github.com/users/gu... | [] | closed | false | null | [] | [
"We are actually having a longer internal discussion about the general handling of different attentions - this might still take a couple of days to be decided.",
"> Cool, wonderful that you added so many tests!\r\n> \r\n> @patrickvonplaten, you say:\r\n> \r\n> > if global attention was used the attentions were se... | 1,601 | 1,604 | 1,604 | 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/7562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7562/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7562",
"html_url": "https://github.com/huggingface/transformers/pull/7562",
"diff_url": "https://github.com/huggingface/transformers/pull/7562.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7562.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7561/comments | https://api.github.com/repos/huggingface/transformers/issues/7561/events | https://github.com/huggingface/transformers/pull/7561 | 714,182,304 | MDExOlB1bGxSZXF1ZXN0NDk3MzQyNTgx | 7,561 | Moved feature generation into getitem to save ram | {
"login": "mariusjohan",
"id": 49961316,
"node_id": "MDQ6VXNlcjQ5OTYxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/49961316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariusjohan",
"html_url": "https://github.com/mariusjohan",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,601 | 1,608 | 1,608 | NONE | null | # What does this PR do?
I had this issue that my Colab Notebook would run out of memory when creating the feature in the SQuAD dataset, so I basically just moved it to the getitem section. I also added a function to force create the features immediatly incase somehow for some reason would want the features created in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7561/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7561",
"html_url": "https://github.com/huggingface/transformers/pull/7561",
"diff_url": "https://github.com/huggingface/transformers/pull/7561.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7561.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7560/comments | https://api.github.com/repos/huggingface/transformers/issues/7560/events | https://github.com/huggingface/transformers/pull/7560 | 714,175,378 | MDExOlB1bGxSZXF1ZXN0NDk3MzM3ODA2 | 7,560 | Remove labels from the RagModel example | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
As pointed out in #7554, the `RagModel` does not accept `labels`. Not sure why they are in the documentation. This PR fixes that.
Fixes #7554 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7560/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7560",
"html_url": "https://github.com/huggingface/transformers/pull/7560",
"diff_url": "https://github.com/huggingface/transformers/pull/7560.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7560.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7559/comments | https://api.github.com/repos/huggingface/transformers/issues/7559/events | https://github.com/huggingface/transformers/issues/7559 | 714,155,124 | MDU6SXNzdWU3MTQxNTUxMjQ= | 7,559 | Is this realy a list or a Dict[str, int]? I think the docstring might be wrong because in the model json file it is stored as a dict. | {
"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... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/blob/9bdce3a4f91c6d53873582b0210e61c92bba8fd3/src/transformers/configuration_utils.py#L117
See here for example: https://s3.amazonaws.com/models.huggingface.co/bert/oliverguhr/german-sentiment-bert/config.json | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7559/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7558/comments | https://api.github.com/repos/huggingface/transformers/issues/7558/events | https://github.com/huggingface/transformers/pull/7558 | 714,145,143 | MDExOlB1bGxSZXF1ZXN0NDk3MzE2NTQw | 7,558 | [Model card] SinhalaBERTo model. | {
"login": "keshan",
"id": 94397,
"node_id": "MDQ6VXNlcjk0Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/94397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keshan",
"html_url": "https://github.com/keshan",
"followers_url": "https://api.github.com/users/keshan/followers",
... | [
{
"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. If you'd like you can contribute sample inputs for Sinhala at https://github.com/huggingface/widgets-server/blob/master/DefaultWidget.ts – Thanks!"
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | This is the model card for keshan/SinhalaBERTo model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7558/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7558",
"html_url": "https://github.com/huggingface/transformers/pull/7558",
"diff_url": "https://github.com/huggingface/transformers/pull/7558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7558.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7557/comments | https://api.github.com/repos/huggingface/transformers/issues/7557/events | https://github.com/huggingface/transformers/pull/7557 | 714,138,844 | MDExOlB1bGxSZXF1ZXN0NDk3MzEyMTEy | 7,557 | Enable debug with TF2 and eager execution | {
"login": "Neptune-Trojans",
"id": 68503564,
"node_id": "MDQ6VXNlcjY4NTAzNTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/68503564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Neptune-Trojans",
"html_url": "https://github.com/Neptune-Trojans",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nThanks for you PR. The reason we used `tf.gradients` is because it handles `None` gradients while `tape.gradients` don't, so for now unless we can find a better way to handle the `None` values for gradients, we will keep it like this.\r\n\r\nAlso the training is forced to be done in graph compilation... | 1,601 | 1,601 | 1,601 | NONE | null | TF2 with eager execution and tf.gradients not supported anymore.
In order to run the code with eager execution and not collapse instead of tf.gradients should be tf.GradientTape.
[how-to-compute-gradient-of-output-wrt-input-in-tensorflow-2-0](https://stackoverflow.com/questions/59145221/how-to-compute-gradient-of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7557/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7557",
"html_url": "https://github.com/huggingface/transformers/pull/7557",
"diff_url": "https://github.com/huggingface/transformers/pull/7557.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7557.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7556/comments | https://api.github.com/repos/huggingface/transformers/issues/7556/events | https://github.com/huggingface/transformers/issues/7556 | 714,112,878 | MDU6SXNzdWU3MTQxMTI4Nzg= | 7,556 | Problem with automatic best model loading. | {
"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... | [] | closed | false | null | [] | [
"It's hard to know what's going on without seeing your code. The error indicates `args.eval_steps = 0` and this argument is not modified by the `Trainer` itself, so you should make sure you did set it to something >0.",
"You are right. I had `eval_steps = 0`. Thanks for the feedback!"
] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | When I provide `load_best_model_at_end=True`, `metric_for_best_model='eval_f1_macro` and `greater_is_better=True` together with `save_total_limit=2` this happens:
```
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/envs/hf/lib/python3.7/site-packages/optuna/study.py", line 778, in _run_trial
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7556/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7555/comments | https://api.github.com/repos/huggingface/transformers/issues/7555/events | https://github.com/huggingface/transformers/pull/7555 | 714,079,519 | MDExOlB1bGxSZXF1ZXN0NDk3MjY4MzU0 | 7,555 | Update Code example according to deprecation of AutoModeWithLMHead | {
"login": "jshamg",
"id": 32615911,
"node_id": "MDQ6VXNlcjMyNjE1OTEx",
"avatar_url": "https://avatars.githubusercontent.com/u/32615911?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jshamg",
"html_url": "https://github.com/jshamg",
"followers_url": "https://api.github.com/users/jshamg/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 | [] | [
"@julien-c what is the test that failed testing? i mean, there is no test that should fail because of my minor changes..."
] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | 'The class `AutoModelWithLMHead` is deprecated and will be removed in a future version. Please use `AutoModelForCausalLM` for causal language models, `AutoModelForMaskedLM` for masked language models and `AutoModelForSeq2SeqLM` for encoder-decoder models.'
I dont know how to change the 'How to use this model directly ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7555/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7555",
"html_url": "https://github.com/huggingface/transformers/pull/7555",
"diff_url": "https://github.com/huggingface/transformers/pull/7555.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7555.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7554/comments | https://api.github.com/repos/huggingface/transformers/issues/7554/events | https://github.com/huggingface/transformers/issues/7554 | 714,076,237 | MDU6SXNzdWU3MTQwNzYyMzc= | 7,554 | RAG: error in outputs = model(input_ids=input_ids, labels=input_dict["labels"]) | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"Yes, the `RagModel` just contains the bare model and has no training objective (like all HF `XxxModel`). It doesn't take a `labels` argument, the example in the documentation is wrong."
] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | I tried the following code given in the documentation.
```
from transformers import RagTokenizer, RagRetriever, RagModel
import torch
tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-base")
retriever = RagRetriever.from_pretrained("facebook/rag-token-base", index_name="exact", use_dummy_dataset=True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7554/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7553/comments | https://api.github.com/repos/huggingface/transformers/issues/7553/events | https://github.com/huggingface/transformers/pull/7553 | 714,070,658 | MDExOlB1bGxSZXF1ZXN0NDk3MjYxODE5 | 7,553 | [model_card] bert-base-5lang-cased | {
"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 | null | [] | [] | 1,601 | 1,601 | 1,601 | 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/7553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7553/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7553",
"html_url": "https://github.com/huggingface/transformers/pull/7553",
"diff_url": "https://github.com/huggingface/transformers/pull/7553.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7553.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7552/comments | https://api.github.com/repos/huggingface/transformers/issues/7552/events | https://github.com/huggingface/transformers/pull/7552 | 714,062,850 | MDExOlB1bGxSZXF1ZXN0NDk3MjU1OTMz | 7,552 | Add batch inferencing support for GPT2LMHeadModel | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [
"This enables significantly faster generation. \r\nHere is a simple test I ran.\r\n| | generate 20 tokens | generate 100 tokens |\r\n|-----------------|---------------|----------------|\r\n| batch size = 1 | 45.2 s | 3min 42s |\r\n| batch size = 32 | 2.25 s (20x) | 8.36 s (26.5x) |\r\... | 1,601 | 1,675 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This adds correct (absolute) positional embedding to the output, when given attention mask. The positional embedding is calculated using attention mask.
Fixes #3021
Here is an example usage:
```python
from transformers import GPT2Tokenizer, GPT2LMHeadModel
tokenizer = GPT2Tokenizer.from_p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7552/reactions",
"total_count": 15,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 5,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7552/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7552",
"html_url": "https://github.com/huggingface/transformers/pull/7552",
"diff_url": "https://github.com/huggingface/transformers/pull/7552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7552.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7551/comments | https://api.github.com/repos/huggingface/transformers/issues/7551/events | https://github.com/huggingface/transformers/issues/7551 | 714,046,914 | MDU6SXNzdWU3MTQwNDY5MTQ= | 7,551 | RAG: NameError: name 'load_dataset' is not defined | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"I think this is a duplicate of #7536. RAG requires datasets and faiss to be installed in your environment to work properly.\r\nThe fix with proper error messages is on in #7537."
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | I tried to load RAG according to the documentation.
` retriever = RagRetriever.from_pretrained("facebook/rag-token-base", index_name="exact", use_dummy_dataset=True)
`
The above line gave the following error.
**/python3.6/site-packages/transformers/retrieval_rag.py", line 220, in __init__
self.dataset =... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7551/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7550/comments | https://api.github.com/repos/huggingface/transformers/issues/7550/events | https://github.com/huggingface/transformers/issues/7550 | 714,021,911 | MDU6SXNzdWU3MTQwMjE5MTE= | 7,550 | Problem with Finetuned GPT-2 | {
"login": "51naa",
"id": 53081885,
"node_id": "MDQ6VXNlcjUzMDgxODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/53081885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/51naa",
"html_url": "https://github.com/51naa",
"followers_url": "https://api.github.com/users/51naa/follow... | [] | closed | false | null | [] | [
"This problem was resolved with 10 epochs of training."
] | 1,601 | 1,601 | 1,601 | NONE | null | Hi,
I have written this code to finetune gpt-2 on a new corpus.
```
from transformers import (
AutoModelWithLMHead,
AutoConfig,
Trainer,
AutoTokenizer,
TextDataset,
DataCollatorForLanguageModeling,
TrainingArguments)
def modelTrainer(text_path, output_dir, batch_size=2, conf='... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7550/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7549/comments | https://api.github.com/repos/huggingface/transformers/issues/7549/events | https://github.com/huggingface/transformers/issues/7549 | 713,952,908 | MDU6SXNzdWU3MTM5NTI5MDg= | 7,549 | Incorrect tokenization with tokens added using tokenizer.add_tokens() | {
"login": "Muks14x",
"id": 11333048,
"node_id": "MDQ6VXNlcjExMzMzMDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11333048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muks14x",
"html_url": "https://github.com/Muks14x",
"followers_url": "https://api.github.com/users/Muks14... | [
{
"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 | [] | [
"Pinging @n1t0 for advice.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,601 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2
- Platform: macOS-10.15.6-x86_64-i386-64bit
- Python version: 3.8.3
- PyTorch version (GPU?): 1.5... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7549/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7548/comments | https://api.github.com/repos/huggingface/transformers/issues/7548/events | https://github.com/huggingface/transformers/issues/7548 | 713,950,660 | MDU6SXNzdWU3MTM5NTA2NjA= | 7,548 | Longformer2Roberta: global_attention_mask is never used | {
"login": "alexyalunin",
"id": 23011284,
"node_id": "MDQ6VXNlcjIzMDExMjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/23011284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexyalunin",
"html_url": "https://github.com/alexyalunin",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"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... | [
"This should be solved soon by the new `generate()` design: https://github.com/huggingface/transformers/pull/6949",
"Probably still takes ~1,2 weeks until merge",
"@patrickvonplaten are you sure you mentioned the correct issue? The issue about the `generate()` function was this one #7489 \r\nIn the current issu... | 1,601 | 1,609 | 1,609 | NONE | null | I was following the Longformer2Roberta tutorial https://github.com/huggingface/transformers/blob/master/model_cards/patrickvonplaten/longformer2roberta-cnn_dailymail-fp16/README.md, it seems like 'global_attention_mask' is never used because this column is removed after https://github.com/huggingface/transformers/blob/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7548/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7547/comments | https://api.github.com/repos/huggingface/transformers/issues/7547/events | https://github.com/huggingface/transformers/issues/7547 | 713,929,722 | MDU6SXNzdWU3MTM5Mjk3MjI= | 7,547 | Converting Tensorflow checkpoint to Pytorch not work for TF models downloaded using TFAutoModel.from_pretrained() | {
"login": "wangyems",
"id": 52801275,
"node_id": "MDQ6VXNlcjUyODAxMjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/52801275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wangyems",
"html_url": "https://github.com/wangyems",
"followers_url": "https://api.github.com/users/wan... | [] | closed | false | null | [] | [
"Could you provide an example code that didn't work?",
"Providing the example for repo as below(e.g. let's try bert):\r\n`from transformers import AutoConfig, TFAutoModel, BertForPreTraining, load_tf_weights_in_bert`\r\n`model_name = \"bert-base-uncased\"`\r\n`config = AutoConfig.from_pretrained(model_name)`\r\n`... | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7547/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7546/comments | https://api.github.com/repos/huggingface/transformers/issues/7546/events | https://github.com/huggingface/transformers/issues/7546 | 713,869,908 | MDU6SXNzdWU3MTM4Njk5MDg= | 7,546 | [s2s] label smoothing loss should be normalized | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1314... | closed | false | null | [] | [
"Hi, I'm interested in taking a look at this. Could you please point out where to start?",
"1) On a branch try to add some logic to `label_smoothed_nll_loss` https://github.com/huggingface/transformers/blob/master/examples/seq2seq/utils.py#L35 such that changing `train_batch_size` doesn't wildly change loss.\r\n2... | 1,601 | 1,610 | 1,610 | CONTRIBUTOR | null | by the number of padding tokens in a batch.
Currently, if you change `--train_batch_size` or `--max_target_length`, your loss value will scale wildly, making it hard to compare runs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7546/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7545/comments | https://api.github.com/repos/huggingface/transformers/issues/7545/events | https://github.com/huggingface/transformers/pull/7545 | 713,865,123 | MDExOlB1bGxSZXF1ZXN0NDk3MTA0NTk3 | 7,545 | [s2s] fix lockfile and peg distillation constants | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7545/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7545",
"html_url": "https://github.com/huggingface/transformers/pull/7545",
"diff_url": "https://github.com/huggingface/transformers/pull/7545.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7545.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/7544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7544/comments | https://api.github.com/repos/huggingface/transformers/issues/7544/events | https://github.com/huggingface/transformers/pull/7544 | 713,773,238 | MDExOlB1bGxSZXF1ZXN0NDk3MDMxMTI5 | 7,544 | Create Model Card For "abhilash1910/french-roberta" Model | {
"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 | [] | [
"Thanks for sharing!",
"Thank you @julien-c !"
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | # Model Card (Roberta MLM on French News Corpus)
Model Card for [abhilash1910/french-roberta](https://huggingface.co/abhilash1910/french-roberta). Contains the model specification and important links which helped me create this . It uses the Roberta MLM on French New corpus (extracted from Leipzig).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7544/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7544",
"html_url": "https://github.com/huggingface/transformers/pull/7544",
"diff_url": "https://github.com/huggingface/transformers/pull/7544.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7544.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7543/comments | https://api.github.com/repos/huggingface/transformers/issues/7543/events | https://github.com/huggingface/transformers/issues/7543 | 713,747,283 | MDU6SXNzdWU3MTM3NDcyODM= | 7,543 | Seq2SeqTrainer: missing features | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"@sshleifer \r\n\r\n2. Done #7532\r\n3. logging can be controlled using `--logging_steps`, default is 500\r\n4. I've also observed this, PL does something different I guess, final metrics should be same IMO\r\n"
] | 1,601 | 1,602 | 1,602 | CONTRIBUTOR | null | These could all be separate issues, if you want to tackle 1 feel free to make a new issue to link to your PR, or not!
1. Configure lr scheduler from the command line https://github.com/huggingface/transformers/blob/master/examples/lightning_base.py#L119
2. Configure dropout, layerdrop from the command line: https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7543/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7542/comments | https://api.github.com/repos/huggingface/transformers/issues/7542/events | https://github.com/huggingface/transformers/pull/7542 | 713,736,850 | MDExOlB1bGxSZXF1ZXN0NDk3MDAyMDkw | 7,542 | Allow nested tensors in predicted logits | {
"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,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
Allow deep-nested list or tuple of tensors in the predicted logits of a model. Also excluded the past from those logits if we have a model using past states.
<!-- Remove if not applicable -->
Fixes #7539 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7542/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7542",
"html_url": "https://github.com/huggingface/transformers/pull/7542",
"diff_url": "https://github.com/huggingface/transformers/pull/7542.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7542.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7541/comments | https://api.github.com/repos/huggingface/transformers/issues/7541/events | https://github.com/huggingface/transformers/issues/7541 | 713,733,677 | MDU6SXNzdWU3MTM3MzM2Nzc= | 7,541 | T5: forward and generate produce different results even for greedy decoding of a single token | {
"login": "Iwontbecreative",
"id": 494951,
"node_id": "MDQ6VXNlcjQ5NDk1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/494951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Iwontbecreative",
"html_url": "https://github.com/Iwontbecreative",
"followers_url": "https://api.git... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 2197722692,
"node_id": "MDU6TGFiZWwyMTk3NzIyNjky",
... | closed | false | null | [] | [
"Part discrepancy here is that during `generate` we put `decoder_start_token_id` at the front of the output, tell the model to predict the next token, then append that next token to the end of the output. \r\nFor `forward`, at the first position, we tell the model to predict the next token conditional on the previ... | 1,601 | 1,607 | 1,607 | CONTRIBUTOR | null | Tagging @sshleifer following earlier discussions.
## Environment info
- `transformers` version: 3.2.0 (also 3.0.2)
- Platform: Linux-4.4.0-17763-Microsoft-x86_64-with-glibc2.10 (WSL, but also on normal Ubuntu)
- Python version: 3.8.5
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7541/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7540/comments | https://api.github.com/repos/huggingface/transformers/issues/7540/events | https://github.com/huggingface/transformers/issues/7540 | 713,691,270 | MDU6SXNzdWU3MTM2OTEyNzA= | 7,540 | Difference between CLS hidden state and pooled_output | {
"login": "datistiquo",
"id": 47474379,
"node_id": "MDQ6VXNlcjQ3NDc0Mzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/47474379?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datistiquo",
"html_url": "https://github.com/datistiquo",
"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 | [] | [
"Yes so BERT (the base model without any heads on top) outputs 2 things: `last_hidden_state `and `pooler_output`.\r\n\r\nFirst question:\r\n* `last_hidden_state` contains the hidden representations for each token in each sequence of the batch. So the size is `(batch_size, seq_len, hidden_size)`. \r\n* `pooler_outpu... | 1,601 | 1,610 | 1,610 | NONE | null | Hi,
The first ouput of the TFBertModel is last_hidden_state. And I assume the CLS embdding is the first element of this object, so last_hidden_state [0]?
But then you have also the pooled_output. In the docs it is written that this comes from a linear layer on top.
1. This comes originally from the pre trainin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7540/reactions",
"total_count": 19,
"+1": 19,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7540/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7539/comments | https://api.github.com/repos/huggingface/transformers/issues/7539/events | https://github.com/huggingface/transformers/issues/7539 | 713,676,580 | MDU6SXNzdWU3MTM2NzY1ODA= | 7,539 | Trainer fails to correctly tackle XLNetForSequenceClassification outputs | {
"login": "StepinSilence",
"id": 25417535,
"node_id": "MDQ6VXNlcjI1NDE3NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/25417535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StepinSilence",
"html_url": "https://github.com/StepinSilence",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Indeed, thanks for flagging this issue! The PR mentioned above should fix it.",
"FYI for anyone else having this issue, I had the same issue using `Trainer.evaluate()` on a `T5ForConditionalGeneration` model.\r\nThe latest `transformers` version `3.3.1` was [released](https://github.com/huggingface/transformers/... | 1,601 | 1,602 | 1,601 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-117-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): 2.2.0 (False)
- Using GPU in script?: Yes, with CUDA_VISIBLE_DEVICES=0
- Using distributed or parallel set-u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7539/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7538/comments | https://api.github.com/repos/huggingface/transformers/issues/7538/events | https://github.com/huggingface/transformers/issues/7538 | 713,675,024 | MDU6SXNzdWU3MTM2NzUwMjQ= | 7,538 | T5 supervised denoising task | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"@patrickvonplaten Any news?",
"Yeah this looks good to me: \r\n\r\ninput_ids: I love <extra_id_0> and Mario.\r\ndecoder_input_ids: `decoder_start_token_id`\r\noutput/label: luca <EOS>",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further ac... | 1,601 | 1,608 | 1,608 | NONE | null | # 🚀 Feature request
Hi everyone!
I'm experimenting with T5 and I would like to fine-tune a specific pre-trained model of mine for tackling the 'filling the mask' task. To be clear, I have the following: I love \<mask> and Mario. Where \<mask> can be a single token or span.
At the moment I framed the problem in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7537/comments | https://api.github.com/repos/huggingface/transformers/issues/7537/events | https://github.com/huggingface/transformers/pull/7537 | 713,621,434 | MDExOlB1bGxSZXF1ZXN0NDk2OTA3MTI1 | 7,537 | Allow soft dependencies in the namespace with ImportErrors at use | {
"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 | [] | [
"> FAISS_IMPORT_ERROR here ;)\r\n\r\nGood catch ;-)",
"(we should have this for TF/PyTorch as well)"
] | 1,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
This PR aims at making errors due to soft dependency (like datasets) easier to understand for users. It aims at making everything available in the namespace and raising an import error at `init` or `from_pretained`
<!-- Remove if not applicable -->
Fixes #7536
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7537/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7537",
"html_url": "https://github.com/huggingface/transformers/pull/7537",
"diff_url": "https://github.com/huggingface/transformers/pull/7537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7537.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7536/comments | https://api.github.com/repos/huggingface/transformers/issues/7536/events | https://github.com/huggingface/transformers/issues/7536 | 713,564,385 | MDU6SXNzdWU3MTM1NjQzODU= | 7,536 | RAG model card code not working in Colab | {
"login": "rbownes",
"id": 58034524,
"node_id": "MDQ6VXNlcjU4MDM0NTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/58034524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbownes",
"html_url": "https://github.com/rbownes",
"followers_url": "https://api.github.com/users/rbowne... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"You need to install `datasets` too for this model:\r\n```\r\n! pip install datasets\r\n```\r\nI'll work on some cleaner error messages.",
"Thanks for responding @sgugger !\r\n\r\nSadly that didn't fix it:\r\n\r\n!pip install transformers\r\n!pip install datasets\r\n```\r\n\r\nNameError ... | 1,601 | 1,705 | 1,601 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7536/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7535/comments | https://api.github.com/repos/huggingface/transformers/issues/7535/events | https://github.com/huggingface/transformers/issues/7535 | 713,522,786 | MDU6SXNzdWU3MTM1MjI3ODY= | 7,535 | TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit' when running run_tf_text_classification.py | {
"login": "pvcastro",
"id": 12713359,
"node_id": "MDQ6VXNlcjEyNzEzMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/12713359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pvcastro",
"html_url": "https://github.com/pvcastro",
"followers_url": "https://api.github.com/users/pvc... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nI think your dataset might have somewhere a row that is malformed. You should check this.",
"Hi @jplu !\r\nI'll check mine, but I'm able to train with it using this tutorial here, adapted to mine: [https://huggingface.co/transformers/custom_datasets.html](https://huggingface.co/transformers/custom_... | 1,601 | 1,601 | 1,601 | 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 (installed from master)
- Platform: Linux-4.15.0-118-generic-x86_64-with-debian-stretch-sid
- Pyth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7535/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7534/comments | https://api.github.com/repos/huggingface/transformers/issues/7534/events | https://github.com/huggingface/transformers/issues/7534 | 713,509,099 | MDU6SXNzdWU3MTM1MDkwOTk= | 7,534 | The links to examples on the website don't work | {
"login": "ekdnam",
"id": 40426312,
"node_id": "MDQ6VXNlcjQwNDI2MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/40426312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekdnam",
"html_url": "https://github.com/ekdnam",
"followers_url": "https://api.github.com/users/ekdnam/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 | [] | [
"Hello! Indeed, you're right. This is because you're looking at an older version of the docs, and the files have since moved around. When clicking on a link, you should replace `master` with `v2.2.0` to get the correct link. For example:\r\n\r\n```\r\nhttps://github.com/huggingface/transformers/blob/master/examples... | 1,601 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
I am looking at the examples part of the docs: https://huggingface.co/transformers/v2.2.0/examples.html
The references to all the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7533/comments | https://api.github.com/repos/huggingface/transformers/issues/7533/events | https://github.com/huggingface/transformers/pull/7533 | 713,505,271 | MDExOlB1bGxSZXF1ZXN0NDk2ODExNzk3 | 7,533 | Add early stopping to trainer_tf.py | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"Thanks @KMFODA!\r\n\r\nI'm not really in favor to do this manually as there are already a Keras callbacks taking care of this https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/EarlyStopping that can monitor multiple values on which to base his early stop.\r\n\r\n@KMFODA if you want to add the feature t... | 1,601 | 1,618 | 1,618 | CONTRIBUTOR | null | ## Summary
This PR adds the early stopping feature to trainer_tf.py.
## Related Issues
Alongside #4186 should close #4894.
## Who can review?
@sgugger & @BramVanroy.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7533/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7533",
"html_url": "https://github.com/huggingface/transformers/pull/7533",
"diff_url": "https://github.com/huggingface/transformers/pull/7533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7533.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7532/comments | https://api.github.com/repos/huggingface/transformers/issues/7532/events | https://github.com/huggingface/transformers/pull/7532 | 713,446,988 | MDExOlB1bGxSZXF1ZXN0NDk2NzY0NDM2 | 7,532 | [s2s] add config params like Dropout in Seq2SeqTrainingArguments | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Yes, will add lr scheduler in separate PR ",
"@sshleifer anything missing in this PR ?"
] | 1,601 | 1,601 | 1,601 | MEMBER | null | # What does this PR do?
1. Adds `config` params (`encoder_layerdrop`, `decoder_layerdrop`, `dropout`, `attention_dropout`) in `Seq2SeqTrainingArguments`
2. Fix T5 warnings (don't pass src_lang, tgt_lang args to `T5Tokenizer`)
3. Correct `vocab_size` for `FSMT`.
4. Fix `test_finetune_trainer_slow`
5. minor code c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7532/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7532",
"html_url": "https://github.com/huggingface/transformers/pull/7532",
"diff_url": "https://github.com/huggingface/transformers/pull/7532.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7532.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7531/comments | https://api.github.com/repos/huggingface/transformers/issues/7531/events | https://github.com/huggingface/transformers/issues/7531 | 713,427,970 | MDU6SXNzdWU3MTM0Mjc5NzA= | 7,531 | Cammembert fine tuning from checkpoint | {
"login": "UrszulaCzerwinska",
"id": 3660462,
"node_id": "MDQ6VXNlcjM2NjA0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3660462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/UrszulaCzerwinska",
"html_url": "https://github.com/UrszulaCzerwinska",
"followers_url": "https:/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Hello, I still didn't solve the problem... anyone?",
"It seems the tokenizer you've provided cannot be loaded. You've provided `--tok... | 1,601 | 1,616 | 1,616 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2
- Platform: Linux-5.3.0-28-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.3
- PyTorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7531/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7530/comments | https://api.github.com/repos/huggingface/transformers/issues/7530/events | https://github.com/huggingface/transformers/issues/7530 | 713,398,556 | MDU6SXNzdWU3MTMzOTg1NTY= | 7,530 | ELECTRA - some weights are not loaded | {
"login": "mdocekal",
"id": 14943272,
"node_id": "MDQ6VXNlcjE0OTQzMjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/14943272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mdocekal",
"html_url": "https://github.com/mdocekal",
"followers_url": "https://api.github.com/users/mdo... | [] | closed | false | null | [] | [
"Hi, indeed, this can scare users even if there is no actual problem. #7569 will fix this."
] | 1,601 | 1,601 | 1,601 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-118-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.5.1 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7529/comments | https://api.github.com/repos/huggingface/transformers/issues/7529/events | https://github.com/huggingface/transformers/issues/7529 | 713,238,914 | MDU6SXNzdWU3MTMyMzg5MTQ= | 7,529 | [GPT-2] How many columns in LM model wte layer are positional embeddings? | {
"login": "changyeli",
"id": 9058204,
"node_id": "MDQ6VXNlcjkwNTgyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9058204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/changyeli",
"html_url": "https://github.com/changyeli",
"followers_url": "https://api.github.com/users/ch... | [] | closed | false | null | [] | [
"I would say that none are. The positions are managed by the position embedding: `transformer.wpe.weight`."
] | 1,601 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7529/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7528/comments | https://api.github.com/repos/huggingface/transformers/issues/7528/events | https://github.com/huggingface/transformers/issues/7528 | 713,215,895 | MDU6SXNzdWU3MTMyMTU4OTU= | 7,528 | QA pipeline fails with long context. | {
"login": "brian8128",
"id": 10691563,
"node_id": "MDQ6VXNlcjEwNjkxNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/10691563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brian8128",
"html_url": "https://github.com/brian8128",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This was fixed in a more recent version."
] | 1,601 | 1,601 | 1,601 | NONE | null | ## Environment info
- `transformers` version: 3.0.2n your GitHub issue and FILL OUT the two last points.
- Platform: Linux-4.15.0-117-generic-x86_64-with-glibc2.10
- Python version: 3.8.2
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: Same result eit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7528/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7527/comments | https://api.github.com/repos/huggingface/transformers/issues/7527/events | https://github.com/huggingface/transformers/pull/7527 | 713,205,458 | MDExOlB1bGxSZXF1ZXN0NDk2NTY0Mzcy | 7,527 | Check and update model list in index.rst automatically | {
"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 | [] | [
"I'll let you rebase!"
] | 1,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
We currently have two lists of the models to maintain (in the main README and in the `index.rst` for the docs) which is painful. This script checks the mode list in the index.rst is a proper converted copy of the model list in the README and can also fix it with the command `make fix-copies` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7527",
"html_url": "https://github.com/huggingface/transformers/pull/7527",
"diff_url": "https://github.com/huggingface/transformers/pull/7527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7527.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7526/comments | https://api.github.com/repos/huggingface/transformers/issues/7526/events | https://github.com/huggingface/transformers/issues/7526 | 713,197,449 | MDU6SXNzdWU3MTMxOTc0NDk= | 7,526 | Almost Have Model Parallelism Working on GPT2 Fine-Tuning | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2627272588,
"node_id": "MDU6TGFiZWwyNjI3MjcyNTg4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20Parallel",
"name": "Model Parallel",
"color": "8B66A5",
"default": false,
"description": "Model Parallelilsm Implementations"
}
] | closed | false | null | [] | [
"Hey @alexorona, it's great that you are working on model parallelism! Could you open a PR with the proposed changes to GPT2 and maybe post a code snippet to reproduce your error with the code in your PR?\r\n\r\nI'm happy to take a look :-) ",
"@patrickvonplaten An update: I managed to get around the problem by c... | 1,601 | 1,610 | 1,606 | CONTRIBUTOR | null | # ❓ Questions & Help
I've managed to get model parallelism working on `gpt2` for forward inference by modifying the `GPT2Model` class and adding a few lines to the `generate` method to ensure that tensors that need to be on the same device always are. It automatically distributes the blocks evenly across any number of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7526/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7525/comments | https://api.github.com/repos/huggingface/transformers/issues/7525/events | https://github.com/huggingface/transformers/pull/7525 | 713,180,242 | MDExOlB1bGxSZXF1ZXN0NDk2NTQzMzYy | 7,525 | Fix post_init of some TrainingArguments | {
"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,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
The `HFArgumentParser` doesn't actually support bools that are None and wants them `True` or `False`. Therefore, some changes I made to a few fields of `TrainingArguments` do not work when invoked on the command line. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7525/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7525",
"html_url": "https://github.com/huggingface/transformers/pull/7525",
"diff_url": "https://github.com/huggingface/transformers/pull/7525.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7525.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7524/comments | https://api.github.com/repos/huggingface/transformers/issues/7524/events | https://github.com/huggingface/transformers/issues/7524 | 713,139,662 | MDU6SXNzdWU3MTMxMzk2NjI= | 7,524 | Training loss suddenly increases and stays the same | {
"login": "gungor2",
"id": 22436319,
"node_id": "MDQ6VXNlcjIyNDM2MzE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22436319?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gungor2",
"html_url": "https://github.com/gungor2",
"followers_url": "https://api.github.com/users/gungor... | [
{
"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, you would probably have more answers if you asked this question on the forums: https://discuss.huggingface.co",
"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",
"> # ❓ 问题与帮助\r... | 1,601 | 1,687 | 1,607 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7524/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7523/comments | https://api.github.com/repos/huggingface/transformers/issues/7523/events | https://github.com/huggingface/transformers/pull/7523 | 713,118,440 | MDExOlB1bGxSZXF1ZXN0NDk2NDkxNzIy | 7,523 | Cleanup documentation for BART, Marian, MBART and Pegasus | {
"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,601 | 1,601 | 1,601 | COLLABORATOR | null | # What does this PR do?
This is a follow-up from #7345 to finishing cleaning up the documentation for all models. Nothing of importance apart from the configurations of the 4 classes (BART, Marian, MBART and Pegasus) that can't have the same docstrings with a choose your own adventure default. They all need their ow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7523/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7523",
"html_url": "https://github.com/huggingface/transformers/pull/7523",
"diff_url": "https://github.com/huggingface/transformers/pull/7523.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7523.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7522/comments | https://api.github.com/repos/huggingface/transformers/issues/7522/events | https://github.com/huggingface/transformers/pull/7522 | 713,111,745 | MDExOlB1bGxSZXF1ZXN0NDk2NDg2MDMz | 7,522 | [s2s] Adafactor support for builtin trainer | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,601 | 1,601 | 1,601 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7522/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7522",
"html_url": "https://github.com/huggingface/transformers/pull/7522",
"diff_url": "https://github.com/huggingface/transformers/pull/7522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7522.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.