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/7821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7821/comments | https://api.github.com/repos/huggingface/transformers/issues/7821/events | https://github.com/huggingface/transformers/issues/7821 | 722,472,461 | MDU6SXNzdWU3MjI0NzI0NjE= | 7,821 | [testing] trainer tests fail - 2 issues | {
"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 | [] | [
"All tests are passing on my side and the CI so it's something in your environment that triggers the failures. Could you add what you have inside it?",
"This?\r\n> the test should skip and not fail if the user doesn't have `Comet.ml`\r\n",
"I don't have `comet.ml` installed in my dev env. I think the problem mi... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | trainer tests seem to have several issues:
```
USE_CUDA=1 pytest tests/test_trainer.py::TrainerIntegrationTest::test_custom_optimizer
```
1.
```
if self.api_key is None:
> raise ValueError(
"Comet.ml requires an API key. Please provide as the "
"first arg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7821/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7820/comments | https://api.github.com/repos/huggingface/transformers/issues/7820/events | https://github.com/huggingface/transformers/pull/7820 | 722,453,734 | MDExOlB1bGxSZXF1ZXN0NTA0MjAxODM2 | 7,820 | Fix small type hinting error | {
"login": "AndreaSottana",
"id": 48888970,
"node_id": "MDQ6VXNlcjQ4ODg4OTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/48888970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreaSottana",
"html_url": "https://github.com/AndreaSottana",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@LysandreJik done, thanks for pointing that out!"
] | 1,602 | 1,603 | 1,603 | CONTRIBUTOR | null | Fix small type hinting error which causes type warnings in some IDEs when using `torch.device` instead of a string | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7820",
"html_url": "https://github.com/huggingface/transformers/pull/7820",
"diff_url": "https://github.com/huggingface/transformers/pull/7820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7820.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7819/comments | https://api.github.com/repos/huggingface/transformers/issues/7819/events | https://github.com/huggingface/transformers/pull/7819 | 722,421,929 | MDExOlB1bGxSZXF1ZXN0NTA0MTc1MjU1 | 7,819 | Create README.md | {
"login": "MichalPleban",
"id": 9946531,
"node_id": "MDQ6VXNlcjk5NDY1MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9946531?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichalPleban",
"html_url": "https://github.com/MichalPleban",
"followers_url": "https://api.github.com... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,602 | 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/7819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7819/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7819",
"html_url": "https://github.com/huggingface/transformers/pull/7819",
"diff_url": "https://github.com/huggingface/transformers/pull/7819.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7819.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7818/comments | https://api.github.com/repos/huggingface/transformers/issues/7818/events | https://github.com/huggingface/transformers/pull/7818 | 722,416,780 | MDExOlB1bGxSZXF1ZXN0NTA0MTcwOTc4 | 7,818 | Remove masked_lm_labels from returned dictionary in DataCollatorForNextSentencePrediction | {
"login": "vblagoje",
"id": 458335,
"node_id": "MDQ6VXNlcjQ1ODMzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/458335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vblagoje",
"html_url": "https://github.com/vblagoje",
"followers_url": "https://api.github.com/users/vblagoj... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This PR removes ```masked_lm_labels``` from dictionary returned in DataCollatorForNextSentencePrediction ```__call__``` method. I noticed the warning while BERT pre-training. I removed the lines (452,453) and the warning was finally gone. See discussion George (@gmihaila) and I already had in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7818/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/7818/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7818",
"html_url": "https://github.com/huggingface/transformers/pull/7818",
"diff_url": "https://github.com/huggingface/transformers/pull/7818.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7818.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7817/comments | https://api.github.com/repos/huggingface/transformers/issues/7817/events | https://github.com/huggingface/transformers/pull/7817 | 722,394,802 | MDExOlB1bGxSZXF1ZXN0NTA0MTUyNzkw | 7,817 | Fix missing reference titles in retrieval evaluation of RAG | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"Great!"
] | 1,602 | 1,602 | 1,602 | MEMBER | null | There's currently a bug in the retrieval evaluation script of RAG where for each sample, the first reference title is discarded.
Moreover only `k` reference titles were taken into account while we need all of them to compute the Precision @ k.
Because of this bug the index provided by the RAG team (hnsw M=128 + SQ8... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7817/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7817",
"html_url": "https://github.com/huggingface/transformers/pull/7817",
"diff_url": "https://github.com/huggingface/transformers/pull/7817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7817.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7816/comments | https://api.github.com/repos/huggingface/transformers/issues/7816/events | https://github.com/huggingface/transformers/issues/7816 | 722,394,158 | MDU6SXNzdWU3MjIzOTQxNTg= | 7,816 | RAG - MissingIndex: Index with index_name 'embeddings' not initialized yet | {
"login": "ioannist",
"id": 6544125,
"node_id": "MDQ6VXNlcjY1NDQxMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6544125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ioannist",
"html_url": "https://github.com/ioannist",
"followers_url": "https://api.github.com/users/ioann... | [] | 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... | [
"I was able to get passed this error by using my own RagRetriever instead of RagPyTorchDistributedRetriever inside \"transformers/examples/rag/finetune.py\"\r\n\r\nI am also using my own custom dataset and index #7763 \r\n\r\nThe following changes got me past the missing index error. However, I have no idea if this... | 1,602 | 1,605 | 1,605 | NONE | null | ## Environment info
transformers version: 3.3.1
Platform: Ubuntu
Python version:3.6.12
PyTorch version (GPU: yes): 1.6.0
Using GPU in script?: 1 gpu
Using distributed or parallel set-up in script?: no
### Who can help
@patrickvonplaten @sgugger
## Information
model name: facebook/rag-sequence-base
The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7815/comments | https://api.github.com/repos/huggingface/transformers/issues/7815/events | https://github.com/huggingface/transformers/issues/7815 | 722,383,634 | MDU6SXNzdWU3MjIzODM2MzQ= | 7,815 | "Cannot re-initialize CUDA in forked subprocess." error when running "transformers/notebooks/05-benchmark.ipynb" notebook | {
"login": "ClaartjeBarkhof",
"id": 25668035,
"node_id": "MDQ6VXNlcjI1NjY4MDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/25668035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ClaartjeBarkhof",
"html_url": "https://github.com/ClaartjeBarkhof",
"followers_url": "https://api... | [
{
"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 | [] | [
"Might be of interest to @patrickvonplaten ",
"Facing same issue here.",
"Try this.\r\nYou can check other parameters for PyTorchBenchmarkArguments at [here](https://github.com/huggingface/transformers/blob/acf56408d81fdc04a32af139a45ae7b76e0c5b0d/src/transformers/benchmark/benchmark_args_utils.py#L34-L123).\r\... | 1,602 | 1,614 | 1,614 | NONE | null | ## Environment info
I am getting this error on a server, but also on Collab, so giving the Collab specs:
- `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)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7814/comments | https://api.github.com/repos/huggingface/transformers/issues/7814/events | https://github.com/huggingface/transformers/issues/7814 | 722,383,263 | MDU6SXNzdWU3MjIzODMyNjM= | 7,814 | BART/TFBart: allow decoder_input_ids.shape[-1] > 1 + use_cache = True | {
"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 | {
"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... | [] | 1,602 | 1,607 | 1,607 | CONTRIBUTOR | null | There is an edge case fixed in https://github.com/huggingface/transformers/pull/4581
Try to apply the same logic to bart/move input_id slicing to prepare_inputs_for_generation | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7814/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7813/comments | https://api.github.com/repos/huggingface/transformers/issues/7813/events | https://github.com/huggingface/transformers/pull/7813 | 722,375,962 | MDExOlB1bGxSZXF1ZXN0NTA0MTM3MTAw | 7,813 | Small fixes to NotebookProgressCallback | {
"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,602 | 1,602 | 1,602 | COLLABORATOR | null | # What does this PR do?
Fixes a few things in the `NotebookProgressCallback`, mainly:
- triggering forced updates after an evaluation (as an evaluation is longer than just a training step)
- fixing the behavior when an evaluation strategy is not epochs
- removing empty except in the `is_in_notebook` test
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7813/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7813",
"html_url": "https://github.com/huggingface/transformers/pull/7813",
"diff_url": "https://github.com/huggingface/transformers/pull/7813.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7813.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7812/comments | https://api.github.com/repos/huggingface/transformers/issues/7812/events | https://github.com/huggingface/transformers/issues/7812 | 722,339,815 | MDU6SXNzdWU3MjIzMzk4MTU= | 7,812 | the results of run_squad.py is terrible | {
"login": "ppyu",
"id": 32732750,
"node_id": "MDQ6VXNlcjMyNzMyNzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/32732750?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ppyu",
"html_url": "https://github.com/ppyu",
"followers_url": "https://api.github.com/users/ppyu/followers"... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Maybe I not use the argument `--version_2_with_negative` while training on Squad V2.0 ?",
"Indeed, not using that clarg would result in such bad results as you're not taking into account impossible answers. Can you let us know if you obtain better results with `--version_2_with_negative`?",
"> Indeed, not usin... | 1,602 | 1,610 | 1,610 | NONE | null | # ❓ the results of run_squad.py is terrible
## I runned run_squad.py and the results is as folllows:
`Results: {'exact': 40.25098964036048, 'f1': 44.224848486777795, 'total': 11873, 'HasAns_exact': 80.61740890688259, 'HasAns_f1': 88.57652261867625, 'HasAns_total': 5928, 'NoAns_exact': 0.0, 'NoAns_f1': 0.0, 'NoAns_tot... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7812/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7811/comments | https://api.github.com/repos/huggingface/transformers/issues/7811/events | https://github.com/huggingface/transformers/pull/7811 | 722,300,755 | MDExOlB1bGxSZXF1ZXN0NTA0MDc0NzIx | 7,811 | Fix issue #7781 | {
"login": "jsilter",
"id": 603941,
"node_id": "MDQ6VXNlcjYwMzk0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/603941?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsilter",
"html_url": "https://github.com/jsilter",
"followers_url": "https://api.github.com/users/jsilter/fo... | [] | closed | false | null | [] | [
"Hey @jsilter - sorry this fix was already pushed yesterday in #7903. Thanks for spotting the bug!!!"
] | 1,602 | 1,603 | 1,603 | NONE | null | `decoder_config` may not be defined at this line, use `kwargs_decoder["config"]` instead. This is also consistent with the rest of the function.
Fixes # 7781
https://github.com/huggingface/transformers/issues/7781
## Who can review?
Anybody can review, though @patrickvonplaten gave an informal approval in the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7811",
"html_url": "https://github.com/huggingface/transformers/pull/7811",
"diff_url": "https://github.com/huggingface/transformers/pull/7811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7811.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7810/comments | https://api.github.com/repos/huggingface/transformers/issues/7810/events | https://github.com/huggingface/transformers/issues/7810 | 722,295,503 | MDU6SXNzdWU3MjIyOTU1MDM= | 7,810 | Metrics calculate error: can only calculate the mean of floating types. Got Bool instead | {
"login": "lucadiliello",
"id": 23355969,
"node_id": "MDQ6VXNlcjIzMzU1OTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/23355969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucadiliello",
"html_url": "https://github.com/lucadiliello",
"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 | [] | [
"Great, this looks like the correct fix! Do you want to open a PR?",
"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,602 | 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 18.04
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6.0 GPU
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7810/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7809/comments | https://api.github.com/repos/huggingface/transformers/issues/7809/events | https://github.com/huggingface/transformers/pull/7809 | 722,295,302 | MDExOlB1bGxSZXF1ZXN0NTA0MDcwMjA3 | 7,809 | [Seq2Seq] Allow EncoderDecoderModels to be trained with Seq2Seq | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"LGTM, thanks for aligning it! We just need some way to pass `eval_beams` and `max_gen_length`.\r\n\r\n>We can have a `Seq2SeqTrainingArguments` that subclasses `TrainingArguments` if that helps.\r\n\r\n@sgugger we do have `Seq2SeqTrainingArguments` class\r\nhttps://github.com/huggingface/transformers/blob/d99ed7a... | 1,602 | 1,603 | 1,603 | MEMBER | null | # What does this PR do?
This PR changes the Seq2Seq Trainer a bit to:
1) Make it work with `EncoderDecoder`
2) Align its API more with the general `Trainer`
@sshleifer @patil-suraj @sgugger - it would be great if you could take a look and give your general opinion on it :-)
If this would be ok for you, I will... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7809/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7809",
"html_url": "https://github.com/huggingface/transformers/pull/7809",
"diff_url": "https://github.com/huggingface/transformers/pull/7809.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7809.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7808/comments | https://api.github.com/repos/huggingface/transformers/issues/7808/events | https://github.com/huggingface/transformers/issues/7808 | 722,290,052 | MDU6SXNzdWU3MjIyOTAwNTI= | 7,808 | Pipeline(summarization): CUDA error: an illegal memory access was encountered | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I would guess that that traceback is either masking OOM or IndexError. You will get a better traceback if you try on CPU."
] | 1,602 | 1,602 | 1,602 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1
- Platform: Ubuntu 18
- Python version: 3.7
- PyTorch version (GPU?): 1.5.0 (YES)
- Tensorflow v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7808/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7807/comments | https://api.github.com/repos/huggingface/transformers/issues/7807/events | https://github.com/huggingface/transformers/issues/7807 | 722,279,985 | MDU6SXNzdWU3MjIyNzk5ODU= | 7,807 | ValueError: too many values to unpack (expected 4) | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"I solved the issue by myself",
"> I solved the issue by myself\r\n\r\nHow?",
"> I solved the issue by myself\r\n\r\n@h56cho Would you mind sharing it? Thanks"
] | 1,602 | 1,618 | 1,602 | NONE | null | Hello,
I am trying to feed in the hidden output of the embedding layer of the `LongformerForMultipleChoice` model directly into the m-th layer of the same model. Each of my multiple-choice question that has 4 options. I am trying to tweak the HuggingFace code for Longformer to carry out my task, but I am rather perpl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7807/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7806/comments | https://api.github.com/repos/huggingface/transformers/issues/7806/events | https://github.com/huggingface/transformers/issues/7806 | 722,260,738 | MDU6SXNzdWU3MjIyNjA3Mzg= | 7,806 | Import error when fine-tuning mbart from master branch | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Could you fill-in the issue template for bugs so that we may help you?",
"Please checkout now.",
"you need to upgrade tokenizers.\r\nIt should happen for you if you run `pip install -e \".[dev]\"` from the root of the repo.",
"Thanks, it worked.",
"> Thanks, it worked.\r\n\r\ncan you tell me how did you s... | 1,602 | 1,607 | 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.3.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7806/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7805/comments | https://api.github.com/repos/huggingface/transformers/issues/7805/events | https://github.com/huggingface/transformers/issues/7805 | 722,196,914 | MDU6SXNzdWU3MjIxOTY5MTQ= | 7,805 | pip3 install issue | {
"login": "Subfly",
"id": 33986248,
"node_id": "MDQ6VXNlcjMzOTg2MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/33986248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Subfly",
"html_url": "https://github.com/Subfly",
"followers_url": "https://api.github.com/users/Subfly/fo... | [] | closed | false | null | [] | [
"This seems to be an error when installing `regex`, can you install it on its own? If you cannot, please open an issue on [their repo](https://bitbucket.org/mrabarnett/mrab-regex/issues?status=new&status=open).",
"Thank you, I was not aware of that even I looked into trace twice. Closing the issue."
] | 1,602 | 1,602 | 1,602 | 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: macOS
- Python version: 3.8.2
- PyTorch version (GPU?):-
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7805/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7804/comments | https://api.github.com/repos/huggingface/transformers/issues/7804/events | https://github.com/huggingface/transformers/issues/7804 | 722,147,025 | MDU6SXNzdWU3MjIxNDcwMjU= | 7,804 | a | {
"login": "JohnPFL",
"id": 56122239,
"node_id": "MDQ6VXNlcjU2MTIyMjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/56122239?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnPFL",
"html_url": "https://github.com/JohnPFL",
"followers_url": "https://api.github.com/users/JohnPF... | [] | closed | false | null | [] | [] | 1,602 | 1,603 | 1,603 | NONE | null | a | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7804/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/7804/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7803/comments | https://api.github.com/repos/huggingface/transformers/issues/7803/events | https://github.com/huggingface/transformers/issues/7803 | 722,132,138 | MDU6SXNzdWU3MjIxMzIxMzg= | 7,803 | TPU pod training with BERT | {
"login": "AmitChaulwar",
"id": 69140048,
"node_id": "MDQ6VXNlcjY5MTQwMDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/69140048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmitChaulwar",
"html_url": "https://github.com/AmitChaulwar",
"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, I believe there is an error in your pytorch/xla install. I would follow the docs shared on [pytorch/xla](https://github.com/pytorch/xla) for best results.",
"Actually, I am using Google cloud for running the training job. And it comes already with torch-xla-1.6 environment and the imagenet example works file... | 1,602 | 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: TPU
- Python version:
- PyTorch version (GPU?): 1.6 TPU v3-32
- Tensorflow version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7803/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7802/comments | https://api.github.com/repos/huggingface/transformers/issues/7802/events | https://github.com/huggingface/transformers/pull/7802 | 721,993,866 | MDExOlB1bGxSZXF1ZXN0NTAzODIwMDky | 7,802 | simple fix for spurious PyTorch->TF BERT weight conversion warning | {
"login": "dslim23",
"id": 3118412,
"node_id": "MDQ6VXNlcjMxMTg0MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3118412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dslim23",
"html_url": "https://github.com/dslim23",
"followers_url": "https://api.github.com/users/dslim23/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@LysandreJik yeah I think you're right, thanks! made the change",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,602 | 1,614 | 1,614 | CONTRIBUTOR | null |
# What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/7797
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7802/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7802",
"html_url": "https://github.com/huggingface/transformers/pull/7802",
"diff_url": "https://github.com/huggingface/transformers/pull/7802.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7802.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7801/comments | https://api.github.com/repos/huggingface/transformers/issues/7801/events | https://github.com/huggingface/transformers/issues/7801 | 721,924,384 | MDU6SXNzdWU3MjE5MjQzODQ= | 7,801 | Can not convert the the custom trained BERT model to pytorch model for further use which should give me .bin file | {
"login": "anidiatm41",
"id": 52837723,
"node_id": "MDQ6VXNlcjUyODM3NzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/52837723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anidiatm41",
"html_url": "https://github.com/anidiatm41",
"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
},
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
... | closed | false | null | [] | [
"Hello! It seems you're running the BART conversion script for a BERT model?",
"Yeah, but I got to fix this.\n-Anirban\n\nOn Thu, 15 Oct, 2020, 2:52 PM Lysandre Debut, <notifications@github.com>\nwrote:\n\n> Hello! It seems you're running the BART conversion script for a BERT model?\n>\n> —\n> You are receiving t... | 1,602 | 1,608 | 1,608 | NONE | null | # 📚 Migration
## Information
I pre trained a bert model from scratch with custom corpus and now want to use that model for further purpose like Qand A, masked word prediction etc. After pre- training I got below files:
bert_config.json bert_model.ckpt.data-00000-of-00001 bert_model.ckpt.index vocab.txt bert_m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7800/comments | https://api.github.com/repos/huggingface/transformers/issues/7800/events | https://github.com/huggingface/transformers/issues/7800 | 721,915,851 | MDU6SXNzdWU3MjE5MTU4NTE= | 7,800 | Empty Conversation Responses | {
"login": "QuantumEntangledAndy",
"id": 13386481,
"node_id": "MDQ6VXNlcjEzMzg2NDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/13386481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QuantumEntangledAndy",
"html_url": "https://github.com/QuantumEntangledAndy",
"followers_url... | [
{
"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 | [] | [
"Also pinging @patrickvonplaten for info",
"Hey @QuantumEntangledAndy, I updated the config parameters of all DialoGPT models to `max_length=1000`, see here: https://github.com/huggingface/transformers/issues/7764 -> this problem should now be solved for the DialoGPT models.\r\n\r\nI think this is the correct way... | 1,602 | 1,614 | 1,614 | NONE | null | ## Environment info
Mac OS 10.14
My work is in rust, and I have an issue open in guillaume-be/rust-bert#87 however the authour of the repo asked that I also open it here to get HugginFace's opinion as it pertains to code that matches the intention of that in this repo.
- `transformers` version: rust-bert 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7800/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7799/comments | https://api.github.com/repos/huggingface/transformers/issues/7799/events | https://github.com/huggingface/transformers/pull/7799 | 721,903,725 | MDExOlB1bGxSZXF1ZXN0NTAzNzQ1ODEw | 7,799 | model card for bert-base-NER | {
"login": "dslim23",
"id": 3118412,
"node_id": "MDQ6VXNlcjMxMTg0MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3118412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dslim23",
"html_url": "https://github.com/dslim23",
"followers_url": "https://api.github.com/users/dslim23/... | [
{
"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,602 | 1,602 | 1,602 | CONTRIBUTOR | null | @julien-c
Model card with some details on training, eval, dataset for my bert-base-NER model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7799",
"html_url": "https://github.com/huggingface/transformers/pull/7799",
"diff_url": "https://github.com/huggingface/transformers/pull/7799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7799.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7798/comments | https://api.github.com/repos/huggingface/transformers/issues/7798/events | https://github.com/huggingface/transformers/pull/7798 | 721,826,486 | MDExOlB1bGxSZXF1ZXN0NTAzNjgxMjUx | 7,798 | Herbert polish model | {
"login": "rmroczkowski",
"id": 64909124,
"node_id": "MDQ6VXNlcjY0OTA5MTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/64909124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rmroczkowski",
"html_url": "https://github.com/rmroczkowski",
"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 | [] | [
"Great point! I've already simplified the code and left only the tokenizer. Ideally, `XLMTokenizer` should have a converter to the appropriate `Fast` class. On second thought, I can see the problem would be to program the Moses pretokenization in the `tokenizers` library.",
"Hi @rmroczkowski \r\n\r\nAs far as I k... | 1,602 | 1,651 | 1,602 | CONTRIBUTOR | null | The HerBERT model is a transformer model pretrained using masked language modeling (MLM) and Sentence Structural (SSO) objectives for the Polish language.
It was added to the library in PyTorch with the following checkpoints:
- `allegro/herbert-base-cased`
- `allegro/herbert-large-cased`
## Before submitti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7798/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7798",
"html_url": "https://github.com/huggingface/transformers/pull/7798",
"diff_url": "https://github.com/huggingface/transformers/pull/7798.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7798.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7797/comments | https://api.github.com/repos/huggingface/transformers/issues/7797/events | https://github.com/huggingface/transformers/issues/7797 | 721,792,036 | MDU6SXNzdWU3MjE3OTIwMzY= | 7,797 | BertForSequenceClassification -> TFBertForSequenceClassification causes 'bert.embeddings.position_ids' not used error | {
"login": "dslim23",
"id": 3118412,
"node_id": "MDQ6VXNlcjMxMTg0MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3118412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dslim23",
"html_url": "https://github.com/dslim23",
"followers_url": "https://api.github.com/users/dslim23/... | [
{
"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",
"Hi, I'm still getting this warning on version 4.3.2."
] | 1,602 | 1,614 | 1,608 | 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.3.1
- Platform: Linux-4.9.0-13-amd64-x86_64-with-debian-9.13
- Python version: 3.7.8
- PyTorch versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7797/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7796/comments | https://api.github.com/repos/huggingface/transformers/issues/7796/events | https://github.com/huggingface/transformers/issues/7796 | 721,791,374 | MDU6SXNzdWU3MjE3OTEzNzQ= | 7,796 | T5 finetune outputting gibberish | {
"login": "jsrozner",
"id": 1113285,
"node_id": "MDQ6VXNlcjExMTMyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1113285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsrozner",
"html_url": "https://github.com/jsrozner",
"followers_url": "https://api.github.com/users/jsroz... | [] | closed | false | null | [] | [
"`some other parameter to change?`: BINGO\r\n\r\n\r\nthere is a `min_length`/`max_length` parameter you can pass to beam search (in many ways) that is affecting your generations.\r\nIf you eval offline with min_length=0, max_length=3 it should work.\r\n",
"Cool! Sorry for the n00biness. \r\n1. Is there somewhere ... | 1,602 | 1,605 | 1,602 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.4.0-116-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: (tried with b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7796/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7795/comments | https://api.github.com/repos/huggingface/transformers/issues/7795/events | https://github.com/huggingface/transformers/pull/7795 | 721,742,284 | MDExOlB1bGxSZXF1ZXN0NTAzNjA4NDM0 | 7,795 | Fix TF savedmodel in Roberta | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,602 | 1,686 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes an issue in the TensorFlow version of Roberta. The issue prevented to save any Roberta model in SavedModel format.
Fixes #7783
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7795/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/7795/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7795",
"html_url": "https://github.com/huggingface/transformers/pull/7795",
"diff_url": "https://github.com/huggingface/transformers/pull/7795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7795.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7794/comments | https://api.github.com/repos/huggingface/transformers/issues/7794/events | https://github.com/huggingface/transformers/pull/7794 | 721,713,252 | MDExOlB1bGxSZXF1ZXN0NTAzNTg0MjAx | 7,794 | Updated Tokenizer to 0.9.1 from prerelease version | {
"login": "dciborow",
"id": 9027725,
"node_id": "MDQ6VXNlcjkwMjc3MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9027725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dciborow",
"html_url": "https://github.com/dciborow",
"followers_url": "https://api.github.com/users/dcibo... | [] | closed | false | null | [] | [
"Why not `>= 0.9.1` or `>=0.8.1.rc2`?",
"Hi, we have a strict requirement on `tokenizers==0.8.1rc2`. We're updating it in https://github.com/huggingface/transformers/pull/7659 but the current `transformers` `master` branch will stay pinned until that PR is merged.\r\n\r\nBoth libraries evolve quickly and generall... | 1,602 | 1,602 | 1,602 | NONE | null | Use latest stable version instead of RC prerelease.
# What does this PR do?
Upgrades Tokenizer to update release version, from pre-release version.
<!-- Remove if not applicable -->
Fixes # (issue)
#7794
## Before submitting
- [ x] This PR fixes a typo or improves the docs (you can dimiss the other ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7794/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7794",
"html_url": "https://github.com/huggingface/transformers/pull/7794",
"diff_url": "https://github.com/huggingface/transformers/pull/7794.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7794.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7793/comments | https://api.github.com/repos/huggingface/transformers/issues/7793/events | https://github.com/huggingface/transformers/pull/7793 | 721,693,363 | MDExOlB1bGxSZXF1ZXN0NTAzNTY3OTM5 | 7,793 | Add specific notebook ProgressCalback | {
"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,602 | 1,602 | 1,602 | COLLABORATOR | null | # What does this PR do?
This PR introduces a new `NotebookProgressCallback` that is more suitable for trainings in notebook. There are two problems with the current use of tqdm:
- tqdm uses widgets, which disappear when you close and reopen your notebook, or download it from github. Instead of seeing
the full p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7793/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7793",
"html_url": "https://github.com/huggingface/transformers/pull/7793",
"diff_url": "https://github.com/huggingface/transformers/pull/7793.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7793.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7792/comments | https://api.github.com/repos/huggingface/transformers/issues/7792/events | https://github.com/huggingface/transformers/issues/7792 | 721,679,819 | MDU6SXNzdWU3MjE2Nzk4MTk= | 7,792 | [stas/sam] Newsroom dataset wierdness | {
"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 | [] | [
"Here is part of the problem\r\n\r\n\r\n\r\nall one line (221 in vim)\r\n",
"Oh, I know - it's \\cM characters. Let me take care of it.\r\n\r\n```\r\nGoogle is still the best company to work for, accordin... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | #### get data
```bash
cd examples/seq2seq/
curl -L -o stas_data.tgz https://www.dropbox.com/sh/ctpx2pflb9nmt0n/AABRTDak-W06RD8KxuCOUdXla\?dl\=0 && unzip stas_data.tgz
tar -xzvf newsroom-test.tgz
```
```python
from utils import Seq2SeqDataset
tok = PegasusTokenizer.from_pretrained('google/pegasus-newsroom')
d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7792/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7791/comments | https://api.github.com/repos/huggingface/transformers/issues/7791/events | https://github.com/huggingface/transformers/issues/7791 | 721,677,219 | MDU6SXNzdWU3MjE2NzcyMTk= | 7,791 | T5 Conversion from Original Tensorflow Produce rubbish Text | {
"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... | [] | 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 @agemagician - did you train your model using the \"newer\" T5 model (see here https://github.com/huggingface/transformers/issues/6285) for reference or is it the \"original\" T5 model?",
"No, this is the original T5 model.\r\n\r\nI just doubled checked the training script as well as the operative_config :\r... | 1,602 | 1,605 | 1,605 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.0.2
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
###... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7791/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7790/comments | https://api.github.com/repos/huggingface/transformers/issues/7790/events | https://github.com/huggingface/transformers/pull/7790 | 721,604,419 | MDExOlB1bGxSZXF1ZXN0NTAzNDk0NzY4 | 7,790 | updated bangla-bert-base model card with evaluation results | {
"login": "sagorbrur",
"id": 10723655,
"node_id": "MDQ6VXNlcjEwNzIzNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10723655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sagorbrur",
"html_url": "https://github.com/sagorbrur",
"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,602 | 1,602 | 1,602 | CONTRIBUTOR | null | Hi,
I just updated bangla-bert-base model card with evolution results.
Also fixed some minor typo.
Please check, if possible please merge.
thanks and regards
Sagor | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7790/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7790",
"html_url": "https://github.com/huggingface/transformers/pull/7790",
"diff_url": "https://github.com/huggingface/transformers/pull/7790.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7790.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7789/comments | https://api.github.com/repos/huggingface/transformers/issues/7789/events | https://github.com/huggingface/transformers/issues/7789 | 721,593,102 | MDU6SXNzdWU3MjE1OTMxMDI= | 7,789 | Recommended Adafactor settings for T5 cause error | {
"login": "OyvindTafjord",
"id": 6453366,
"node_id": "MDQ6VXNlcjY0NTMzNjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6453366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OyvindTafjord",
"html_url": "https://github.com/OyvindTafjord",
"followers_url": "https://api.github.... | [] | closed | false | {
"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... | [
{
"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... | [
"\r\nI think the doc should recommend\r\n```python\r\nAdafactor(model.parameters(), relative_step=True, warmup_init=True, lr=None)\r\n```\r\nwant to fix it?",
"I think what corresponds to the original T5 training code is `Adafactor(model.parameters(), lr=1e-3, relative_step=False, warmup_init=False)`, however tha... | 1,602 | 1,617 | 1,617 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): 2.2.0 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@sshleif... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7789/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7788/comments | https://api.github.com/repos/huggingface/transformers/issues/7788/events | https://github.com/huggingface/transformers/issues/7788 | 721,579,969 | MDU6SXNzdWU3MjE1Nzk5Njk= | 7,788 | error when using the forward() function of the LongformerLayer class from the LongformerForMultipleChoice model | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | NONE | null | Hello,
Sorry if my question sounds a bit silly, but I just have a question:
I am trying to feed in the hidden output of the embedding layer of the `LongformerForMultipleChoice` model directly into the m-th layer of the same model. Each of my multiple-choice question that has 4 options.
When I do:
```Python
my... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7788/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7787/comments | https://api.github.com/repos/huggingface/transformers/issues/7787/events | https://github.com/huggingface/transformers/pull/7787 | 721,578,897 | MDExOlB1bGxSZXF1ZXN0NTAzNDczNTE3 | 7,787 | Fixing beam search output shapes | {
"login": "nicola-decao",
"id": 9703100,
"node_id": "MDQ6VXNlcjk3MDMxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9703100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicola-decao",
"html_url": "https://github.com/nicola-decao",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
`generate` in `generation_utils.py` returns a list of size `batch_size * num_beams` where it is much more practical if it returns a list of lists. The first list of size `batch_size` and all internal lists of size `num_beams`. In this way, one can generate using mini-batches of variable size ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7787/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7787",
"html_url": "https://github.com/huggingface/transformers/pull/7787",
"diff_url": "https://github.com/huggingface/transformers/pull/7787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7787.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7786/comments | https://api.github.com/repos/huggingface/transformers/issues/7786/events | https://github.com/huggingface/transformers/pull/7786 | 721,572,348 | MDExOlB1bGxSZXF1ZXN0NTAzNDY4MDYw | 7,786 | Don't use `store_xxx` on optional bools | {
"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,602 | 1,648 | 1,602 | COLLABORATOR | null | # What does this PR do?
Optional bool fields in `TrainingArguments` are given the `store_true` attribute by `HFArgumentParser` which can yield to bugs (as highlighted in #7755). This PR fixes this and to avoid breaking existing scripts, removes the optional in the `evaluate_during_training` argument.
It also fixe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7786/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7786",
"html_url": "https://github.com/huggingface/transformers/pull/7786",
"diff_url": "https://github.com/huggingface/transformers/pull/7786.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7786.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7785/comments | https://api.github.com/repos/huggingface/transformers/issues/7785/events | https://github.com/huggingface/transformers/issues/7785 | 721,565,107 | MDU6SXNzdWU3MjE1NjUxMDc= | 7,785 | [RAG] RagTokenizer failing in decoding RAG Generator output | {
"login": "lalitpagaria",
"id": 19303690,
"node_id": "MDQ6VXNlcjE5MzAzNjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lalitpagaria",
"html_url": "https://github.com/lalitpagaria",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Sorry it was my mistake, I need to get generated ids calling `model.generate` instead of `model`.\r\n\r\nAdding fix here if anyone search for the same issue -\r\n\r\n```\r\ngenerated_ids = model.generate(input_ids=input_ids, labels=input_dict[\"labels\"])\r\n\r\ngenerated_string = tokenizer.batch_decode(generated_... | 1,602 | 1,602 | 1,602 | 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 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7784/comments | https://api.github.com/repos/huggingface/transformers/issues/7784/events | https://github.com/huggingface/transformers/pull/7784 | 721,561,637 | MDExOlB1bGxSZXF1ZXN0NTAzNDU5MTQ0 | 7,784 | Adding prefix constrained beam search | {
"login": "nicola-decao",
"id": 9703100,
"node_id": "MDQ6VXNlcjk3MDMxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9703100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicola-decao",
"html_url": "https://github.com/nicola-decao",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The failed tests are not from this pull request but from RAG. Can someone review this, please?\r\n@patrickvonplaten , @TevenLeScao",
"Hey @nicola-decao - thanks a lot for your PR here! The failing tests are actually due to this pull request. See a part of the error message here:\r\n\r\n```\r\n )\r\nE ... | 1,602 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds a new decoding strategy that constrains the next token to generate based on a callable function. It mirrors https://github.com/pytorch/fairseq/pull/2646 for fairseq.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dimiss the other check... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7784/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/7784/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7784",
"html_url": "https://github.com/huggingface/transformers/pull/7784",
"diff_url": "https://github.com/huggingface/transformers/pull/7784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7784.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7783/comments | https://api.github.com/repos/huggingface/transformers/issues/7783/events | https://github.com/huggingface/transformers/issues/7783 | 721,556,200 | MDU6SXNzdWU3MjE1NTYyMDA= | 7,783 | Unable to serialize/save TF2.3.1 RobertaSequenceClassification model to saved model format | {
"login": "felipeTypeform",
"id": 22076205,
"node_id": "MDQ6VXNlcjIyMDc2MjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/22076205?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/felipeTypeform",
"html_url": "https://github.com/felipeTypeform",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | 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.13.0-158-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7782/comments | https://api.github.com/repos/huggingface/transformers/issues/7782/events | https://github.com/huggingface/transformers/issues/7782 | 721,555,588 | MDU6SXNzdWU3MjE1NTU1ODg= | 7,782 | RAG finetuning - unexpected keyword argument 'early_stop_callback' | {
"login": "ioannist",
"id": 6544125,
"node_id": "MDQ6VXNlcjY1NDQxMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6544125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ioannist",
"html_url": "https://github.com/ioannist",
"followers_url": "https://api.github.com/users/ioann... | [] | closed | false | null | [] | [
"If you don't need early stopping just comment out `early_stop_callback=early_stopping_callback` on line 379 of `/home/ioannis/Desktop/transformers/examples/lightning_base.py`. You should be able to run your script.\r\n\r\nI think lightning may have changed their api\r\nYou can also just uninstall your pytorch ligh... | 1,602 | 1,602 | 1,602 | NONE | null | ## Environment info
transformers version: 3.3.1
Platform: Ubuntu
Python version:3.6.12
PyTorch version (GPU: yes): 1.6.0
Using GPU in script?: 1 gpu
Using distributed or parallel set-up in script?: no
### Who can help
@patrickvonplaten @sgugger
## Information
model name: facebook/rag-token-base
The pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7782/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7781/comments | https://api.github.com/repos/huggingface/transformers/issues/7781/events | https://github.com/huggingface/transformers/issues/7781 | 721,532,315 | MDU6SXNzdWU3MjE1MzIzMTU= | 7,781 | `decoder_config` variable not defined in EncoderDecoderModel.from_encoder_decoder_pretrained | {
"login": "jsilter",
"id": 603941,
"node_id": "MDQ6VXNlcjYwMzk0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/603941?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsilter",
"html_url": "https://github.com/jsilter",
"followers_url": "https://api.github.com/users/jsilter/fo... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"@jsilter - great catch! I agree 100% with your suggestion! Do you want to open a PR to fix it? :-) ",
"https://github.com/huggingface/transformers/pull/7903 this is already fixed yesterday @jsilter "
] | 1,602 | 1,603 | 1,603 | NONE | null | https://github.com/huggingface/transformers/blob/890e790e16084e58a1ecb9329c98ec3e76c45994/src/transformers/modeling_encoder_decoder.py#L330
Using this function results in an error:
`UnboundLocalError: local variable 'decoder_config' referenced before assignment`
Suggest changing `decoder_config.add_cross_atten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7780/comments | https://api.github.com/repos/huggingface/transformers/issues/7780/events | https://github.com/huggingface/transformers/issues/7780 | 721,490,197 | MDU6SXNzdWU3MjE0OTAxOTc= | 7,780 | How can I tweak the `Longformer` code to control the input of a `Longformer`'s layer? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"The answer you got on the forum is pretty much the only one we have: copy paste the model code and customize it to your needs. If you're not a programmer, then you will need to learn a bit of Python/PyTorch to do this, but apart from making sure each model file contains the full code of each model, there is little... | 1,602 | 1,602 | 1,602 | NONE | null | Hello,
I have asked a similar question on the HuggingFace forum, but I didn't get a clear answer that I was hoping for.
I tried the following to control the input of a `Longformer` layer:
`best_model_longformer.longformer.encoder.layer[layer_index](my_input_hidden_vector)`
which of course, does not work.
Ho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7780/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7779/comments | https://api.github.com/repos/huggingface/transformers/issues/7779/events | https://github.com/huggingface/transformers/issues/7779 | 721,479,074 | MDU6SXNzdWU3MjE0NzkwNzQ= | 7,779 | I'm getting "nan" value for loss, while following a tutorial from the documentation | {
"login": "sunnyville01",
"id": 33743210,
"node_id": "MDQ6VXNlcjMzNzQzMjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/33743210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunnyville01",
"html_url": "https://github.com/sunnyville01",
"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 | [] | [
"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",
"@sunnyville01 \r\nhi, facing the same issue, did you manage to solve this?"
] | 1,602 | 1,608 | 1,608 | CONTRIBUTOR | null | # ❓ Questions & Help
## Details
Hi,
I’m following the “Fine-tuning with Custom Dataset” tutorial for Question Answering on the SQuaD dataset tutorial: [available here](https://huggingface.co/transformers/custom_datasets.html#question-answering-with-squad-2-0). I’ve copy-pasted all the code shown in the tutoria... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7778/comments | https://api.github.com/repos/huggingface/transformers/issues/7778/events | https://github.com/huggingface/transformers/pull/7778 | 721,396,322 | MDExOlB1bGxSZXF1ZXN0NTAzMzIxNjk4 | 7,778 | multi task roberta | {
"login": "oriyor",
"id": 39461788,
"node_id": "MDQ6VXNlcjM5NDYxNzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39461788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oriyor",
"html_url": "https://github.com/oriyor",
"followers_url": "https://api.github.com/users/oriyor/fo... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | NONE | null | add a RobertaForMultiTask model.
the model has both RobertaLMHead and RobertaClassificationHead.
when doing the forward pass, we provide an extra 'task' field.
when doing the 'mlm' task, we use RobertaLMHead similarly to RobertaForMaskedLM.
when doing the 'classification' task we use the RobertaClassification... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7778/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7778",
"html_url": "https://github.com/huggingface/transformers/pull/7778",
"diff_url": "https://github.com/huggingface/transformers/pull/7778.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7778.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7777/comments | https://api.github.com/repos/huggingface/transformers/issues/7777/events | https://github.com/huggingface/transformers/issues/7777 | 721,299,317 | MDU6SXNzdWU3MjEyOTkzMTc= | 7,777 | Adding RAG to text-generation pipeline | {
"login": "lalitpagaria",
"id": 19303690,
"node_id": "MDQ6VXNlcjE5MzAzNjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lalitpagaria",
"html_url": "https://github.com/lalitpagaria",
"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 | {
"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 @lalitpagaria - RAG is quite different to other generation models so we don't have it on the short-term roadmap to add it to pipelines. We are still thinking about how to integrate retrieval augmented models to the pipelines.",
"Thanks @patrickvonplaten \r\nYeah I totally agree with you.\r\nPlease let me kno... | 1,602 | 1,614 | 1,608 | CONTRIBUTOR | null | # 🚀 Feature request
Thank you for the awesome work. I am working on https://github.com/deepset-ai/haystack/issues/443 and just wanted to check whether any plan to add RAG into `text-generation` pipeline.
## Motivation
`text-generation` already have other models, hence it I would be great to have it in there. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7776/comments | https://api.github.com/repos/huggingface/transformers/issues/7776/events | https://github.com/huggingface/transformers/pull/7776 | 721,292,991 | MDExOlB1bGxSZXF1ZXN0NTAzMjM1MDQ5 | 7,776 | Fix bert position ids in DPR convert script | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | MEMBER | null | https://github.com/huggingface/transformers/commit/614fef1691edb806de976756d4948ecbcd0c0ca3 introduced buffers for position ids for BERT that breaks the DPR convert script since the DPR weights don't have those.
To fix that I followed @LysandreJik 's suggestion to manually add the position ids to the state dict befo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7776",
"html_url": "https://github.com/huggingface/transformers/pull/7776",
"diff_url": "https://github.com/huggingface/transformers/pull/7776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7776.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7775/comments | https://api.github.com/repos/huggingface/transformers/issues/7775/events | https://github.com/huggingface/transformers/pull/7775 | 721,243,018 | MDExOlB1bGxSZXF1ZXN0NTAzMTk0NTUx | 7,775 | Create README.md | {
"login": "XiaoqiJiao",
"id": 24711193,
"node_id": "MDQ6VXNlcjI0NzExMTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/24711193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XiaoqiJiao",
"html_url": "https://github.com/XiaoqiJiao",
"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 | [] | [
"This is great, thanks for uploading and sharing.\r\n\r\nWill merge this now, but had two questions:\r\n- should we add a link back to your repo at https://github.com/huawei-noah/Pretrained-Language-Model/tree/master/TinyBERT\r\n- Is this checkpoint version 1 or version 2 from https://github.com/huawei-noah/Pretrai... | 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 w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7775/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7775/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7775",
"html_url": "https://github.com/huggingface/transformers/pull/7775",
"diff_url": "https://github.com/huggingface/transformers/pull/7775.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7775.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7774/comments | https://api.github.com/repos/huggingface/transformers/issues/7774/events | https://github.com/huggingface/transformers/issues/7774 | 721,206,335 | MDU6SXNzdWU3MjEyMDYzMzU= | 7,774 | XLM-RoBERTa model for QA seems not properly work | {
"login": "antoniolanza1996",
"id": 40452030,
"node_id": "MDQ6VXNlcjQwNDUyMDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/40452030?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antoniolanza1996",
"html_url": "https://github.com/antoniolanza1996",
"followers_url": "https://... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thanks for reporting, will investigate.",
"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, this command \" --model_type xlm-roberta \\\" not work for me,\r\ncan you help me?... | 1,602 | 1,643 | 1,608 | 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.3.1 (and I've also tried installing Transformers from `master`, see details below)
- Platform: Linux-4.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7774/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7773/comments | https://api.github.com/repos/huggingface/transformers/issues/7773/events | https://github.com/huggingface/transformers/issues/7773 | 721,200,204 | MDU6SXNzdWU3MjEyMDAyMDQ= | 7,773 | Error in run_ner.py - ModuleNotFoundError: No module named 'tasks' | {
"login": "danaludwig",
"id": 6911685,
"node_id": "MDQ6VXNlcjY5MTE2ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6911685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaludwig",
"html_url": "https://github.com/danaludwig",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Update - this is not a bug in run_ner.py, but sort-of a documentation bug. The page that describes how to do NER does not document that you first need to copy \"tasks.py\" and other scripts, into your local current directory.\r\n\r\nhttps://github.com/huggingface/transformers/tree/master/examples/token-classifica... | 1,602 | 1,608 | 1,608 | NONE | null | ## Environment info
- Google colab notebook.
- `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?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or paralle... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7772/comments | https://api.github.com/repos/huggingface/transformers/issues/7772/events | https://github.com/huggingface/transformers/pull/7772 | 721,186,391 | MDExOlB1bGxSZXF1ZXN0NTAzMTQ4NDc5 | 7,772 | Added gpt2 model parallelism | {
"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 | [] | [
"Very cool implementation that would interest a few of our team, pinging them here :)",
"Indeed, adding a test would be nice! Will trigger the multi-gpu slow tests once the test is added.",
"@LysandreJik @patrickvonplaten @sgugger Glad you like it! Yes, the basic form of the implementation works on T5. I've bee... | 1,602 | 1,609 | 1,606 | CONTRIBUTOR | null | # Model Parallelism for GPT2LMHead
Addresses [issue 7526](https://github.com/huggingface/transformers/issues/7526)
Adds two new methods to `GPT2LMHead` and the `GPT2Model` classes to enable you to generate and fine-tune models using model parallelism. This feature is most applicable for `gpt2-large` and `gpt2-xl`. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7772/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7772",
"html_url": "https://github.com/huggingface/transformers/pull/7772",
"diff_url": "https://github.com/huggingface/transformers/pull/7772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7772.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7771/comments | https://api.github.com/repos/huggingface/transformers/issues/7771/events | https://github.com/huggingface/transformers/issues/7771 | 721,128,273 | MDU6SXNzdWU3MjExMjgyNzM= | 7,771 | Cannot trace_module on models using model's generate function | {
"login": "vikigenius",
"id": 12724810,
"node_id": "MDQ6VXNlcjEyNzI0ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12724810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikigenius",
"html_url": "https://github.com/vikigenius",
"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 | [] | [
"`generate` currently does not support `torch.jit.trace`. This is sadly also not on the short-term roadmap.",
"@patrickvonplaten, thanks for the response. In that case is there no way to trace the inference process of generative models provided here ? So any kind of inference of the form text -> text (for eg: sum... | 1,602 | 1,638 | 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-5.8.14_1-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7771/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7770/comments | https://api.github.com/repos/huggingface/transformers/issues/7770/events | https://github.com/huggingface/transformers/issues/7770 | 721,062,341 | MDU6SXNzdWU3MjEwNjIzNDE= | 7,770 | How to create a QA model where the answer can be from the question text as well? | {
"login": "nrjvarshney",
"id": 19836137,
"node_id": "MDQ6VXNlcjE5ODM2MTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/19836137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nrjvarshney",
"html_url": "https://github.com/nrjvarshney",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Normally there's no difference. You just provide `[CLS] question [SEP] answer [SEP]` examples to the model, and the `start_positions` and `end_positions` can be indexes of the question. ",
"Yes,\r\nCan you point me to such an implementation?\r\nhuggingface Squad Question answering code handles a lot of edge case... | 1,602 | 1,603 | 1,603 | 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/7770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7770/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7769/comments | https://api.github.com/repos/huggingface/transformers/issues/7769/events | https://github.com/huggingface/transformers/issues/7769 | 720,887,012 | MDU6SXNzdWU3MjA4ODcwMTI= | 7,769 | from transformers import RagSequenceForGeneration gives ImportError | {
"login": "mchari",
"id": 30506151,
"node_id": "MDQ6VXNlcjMwNTA2MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mchari",
"html_url": "https://github.com/mchari",
"followers_url": "https://api.github.com/users/mchari/fo... | [] | closed | false | null | [] | [
"You don't have PyTorch installed in your environment. This is a PyTorch model.",
"Indeed , that was the problem.\r\nThe code in https://huggingface.co/transformers/model_doc/rag.html has import torch after the \"from transformers import RagSequenceForGeneration,...\" statement, so I incorrectly concluded that t... | 1,602 | 1,602 | 1,602 | 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
- Python version:3.6.3
- PyTorch version (GPU?):
- Tensorflow version (GPU?):2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7769/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7768/comments | https://api.github.com/repos/huggingface/transformers/issues/7768/events | https://github.com/huggingface/transformers/issues/7768 | 720,848,012 | MDU6SXNzdWU3MjA4NDgwMTI= | 7,768 | Is there any way to control the input of a layer of `Longformer`? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | NONE | null | Hello,
Is there any way that I can directly control the input to a layer of the `Longformer` model, similar to `GPT2.transformer.h[]`?
I tried `best_model_longformer.longformer.encoder.layer[layer_index](input_hidden_state_for_layer)` but it's giving this error:
```python
Traceback (most recent call last):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7768/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7767/comments | https://api.github.com/repos/huggingface/transformers/issues/7767/events | https://github.com/huggingface/transformers/pull/7767 | 720,790,120 | MDExOlB1bGxSZXF1ZXN0NTAyNzk5MDkw | 7,767 | Add predict step accumulation | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Thanks so much @sgugger - you're a legend! 🙇 ",
"> # What does this PR do?\r\n> Currently, the Trainer accumulates all predictions on the host (GPU or TPU) before gathering across all hosts (in case of distributed training) and moving back to the CPU. This can result in OOM errors when users have a big dataset ... | 1,602 | 1,652 | 1,602 | COLLABORATOR | null | # What does this PR do?
Currently, the Trainer accumulates all predictions on the host (GPU or TPU) before gathering across all hosts (in case of distributed training) and moving back to the CPU. This can result in OOM errors when users have a big dataset (the model is already taking up a lot of space on the host) a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7767/reactions",
"total_count": 7,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7767/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7767",
"html_url": "https://github.com/huggingface/transformers/pull/7767",
"diff_url": "https://github.com/huggingface/transformers/pull/7767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7767.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7766/comments | https://api.github.com/repos/huggingface/transformers/issues/7766/events | https://github.com/huggingface/transformers/issues/7766 | 720,710,326 | MDU6SXNzdWU3MjA3MTAzMjY= | 7,766 | Use Marian-MT to evaluate translated outputs by printing out per-word log-probility | {
"login": "JunjieHu",
"id": 5851098,
"node_id": "MDQ6VXNlcjU4NTEwOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5851098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunjieHu",
"html_url": "https://github.com/JunjieHu",
"followers_url": "https://api.github.com/users/Junji... | [
{
"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 | [] | [
"Would love a contribution that implemented it. \r\nCan you paste a working fairseq command to try to emulate?\r\nAlternatively you could just send a PR.",
"Hi @sshleifer \r\n\r\nMarian NMT seems to have such functionality as well. Please check their script [here](https://github.com/marian-nmt/marian-examples/blo... | 1,602 | 1,610 | 1,610 | NONE | null | # ❓ Questions & Help
I am going to evaluate the Marian's opus-mt to evaluate the translated output y given the input x.
I want to get the model's log-probability of y given x, i.e., P(y|x).
I didn't find any usage example in the document [here](https://huggingface.co/transformers/model_doc/marian.html#multilingu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7765/comments | https://api.github.com/repos/huggingface/transformers/issues/7765/events | https://github.com/huggingface/transformers/issues/7765 | 720,642,460 | MDU6SXNzdWU3MjA2NDI0NjA= | 7,765 | Seq2seq finetune example: "Please save or load state of the optimizer" | {
"login": "jsrozner",
"id": 1113285,
"node_id": "MDQ6VXNlcjExMTMyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1113285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsrozner",
"html_url": "https://github.com/jsrozner",
"followers_url": "https://api.github.com/users/jsroz... | [] | closed | false | null | [] | [
"I'll leave it to @sshleifer - haven't really used the seq2seq fine-tuning too much.\r\n\r\nMaybe @patil-suraj has also an idea here :-) ",
"You can safely ignore the `lr_scheduler` warning. `optimzer` is saved, but torch `lr_scheduler` warns you anyway just so you don't forget.\r\n\r\nNot sure about the first wa... | 1,602 | 1,607 | 1,607 | CONTRIBUTOR | null | When running the example scripts in examples/seq2seq/finetune_bart and finetune_t5, get warning messages:
## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-66-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7765/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/7765/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7764/comments | https://api.github.com/repos/huggingface/transformers/issues/7764/events | https://github.com/huggingface/transformers/issues/7764 | 720,558,413 | MDU6SXNzdWU3MjA1NTg0MTM= | 7,764 | Update of DialoGPT `max_length` | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Very true! Thanks for the notification - will upload all DialoGPT configs.",
"Done - note however that the \"task\" name was `conversational` not `dialogue`"
] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | ### Who can help
@patrickvonplaten
## Information
Following https://github.com/huggingface/transformers/pull/5516, the DialoGPT models `max_length` has not been updated, and defaults to the `generate` value of 20. This value is very low for a conversational pipeline and would lead to answers that completely ign... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7764/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/7764/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7763/comments | https://api.github.com/repos/huggingface/transformers/issues/7763/events | https://github.com/huggingface/transformers/pull/7763 | 720,512,850 | MDExOlB1bGxSZXF1ZXN0NTAyNTQ2OTIy | 7,763 | Allow Custom Dataset in RAG Retriever | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"I took your comments into account, let me know if you have other things to improve.\r\nAlso I had to change the DPR encoder from the one trained on Natural Questions to the one trained ont the multiset/hybrid dataset to match the embeddings used by the Rag team.",
"can't wait to try this out. \r\n@lhoestq , can ... | 1,602 | 1,605 | 1,603 | MEMBER | null | As asked in #7725 , #7462 and #7631 , I added a way to let users build and load their own knowledge dataset for RAG.
I also added an example script that shows how to do that from csv files.
Before merging I'd like to make sure it creates the exact same embeddings that the one that were computed by the RAG team. I m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7763",
"html_url": "https://github.com/huggingface/transformers/pull/7763",
"diff_url": "https://github.com/huggingface/transformers/pull/7763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7763.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7762/comments | https://api.github.com/repos/huggingface/transformers/issues/7762/events | https://github.com/huggingface/transformers/pull/7762 | 720,466,961 | MDExOlB1bGxSZXF1ZXN0NTAyNTA1NDU0 | 7,762 | Faster pegasus tokenization test with reduced data size | {
"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,602 | 1,602 | 1,602 | CONTRIBUTOR | null | This used to take 10s (and tokenize 100K words) now tokenizes 1k words and takes 1s.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7762/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7762",
"html_url": "https://github.com/huggingface/transformers/pull/7762",
"diff_url": "https://github.com/huggingface/transformers/pull/7762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7762.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7761/comments | https://api.github.com/repos/huggingface/transformers/issues/7761/events | https://github.com/huggingface/transformers/issues/7761 | 720,402,149 | MDU6SXNzdWU3MjA0MDIxNDk= | 7,761 | Deutsch to English Translation Model by Google doesn't work anymore... | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Do you want to post the full error message? (and the information asked in the issue template)",
"These models have been added last months, so they shouldn't have changed much. The full issue template filled would be very helpful here!",
"This is the error: \r\nValueError: Unrecognized model identifier: bert-ge... | 1,602 | 1,607 | 1,602 | NONE | null | Hi, the model in: https://huggingface.co/google/bert2bert_L-24_wmt_de_en doesn't work anymore. It seems that the library has changed a lot since the model was added, therefore the classes themselves seem to have changed in names etc.
Can anyone tell me how could I apply with the current library functionality?
Thanks... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7761/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7760/comments | https://api.github.com/repos/huggingface/transformers/issues/7760/events | https://github.com/huggingface/transformers/issues/7760 | 720,388,277 | MDU6SXNzdWU3MjAzODgyNzc= | 7,760 | AttributeError: 'tuple' object has no attribute 'detach' | {
"login": "ShivanshuPurohit",
"id": 42869065,
"node_id": "MDQ6VXNlcjQyODY5MDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/42869065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivanshuPurohit",
"html_url": "https://github.com/ShivanshuPurohit",
"followers_url": "https://... | [] | closed | false | null | [] | [
"As the error says, you've applied a `.detach()` method to a model output, which are *always* tuples. You can check the [documentation here](https://huggingface.co/transformers/main_classes/output.html).\r\n\r\nYou probably want the first output of your model so change this line:\r\n```py\r\nbatch_output = model(ba... | 1,602 | 1,602 | 1,602 | 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: bert-base-uncased
- Platform: pytorch
- Python version: 3.6
- PyTorch version (GPU?): 1.6.0
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7760/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7760/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7759/comments | https://api.github.com/repos/huggingface/transformers/issues/7759/events | https://github.com/huggingface/transformers/pull/7759 | 720,338,558 | MDExOlB1bGxSZXF1ZXN0NTAyMzkwNTQ0 | 7,759 | Adding optional trial argument to model_init | {
"login": "madlag",
"id": 272253,
"node_id": "MDQ6VXNlcjI3MjI1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/272253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/madlag",
"html_url": "https://github.com/madlag",
"followers_url": "https://api.github.com/users/madlag/follow... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # Model structure optimization
This PR proposes to add the "trial" argument to the model_init function when using `trainer.hyperparameter_search`.
It's backward compatible using six to check the number of arguments of model_init through Python reflection.
```
def model_init(trial):
if trial != None:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7759/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/7759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7759",
"html_url": "https://github.com/huggingface/transformers/pull/7759",
"diff_url": "https://github.com/huggingface/transformers/pull/7759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7759.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7758/comments | https://api.github.com/repos/huggingface/transformers/issues/7758/events | https://github.com/huggingface/transformers/pull/7758 | 720,286,775 | MDExOlB1bGxSZXF1ZXN0NTAyMzQ0MTI5 | 7,758 | fixed lots of typos. | {
"login": "kwsp",
"id": 30088608,
"node_id": "MDQ6VXNlcjMwMDg4NjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/30088608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kwsp",
"html_url": "https://github.com/kwsp",
"followers_url": "https://api.github.com/users/kwsp/followers"... | [] | 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 w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7758/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7758",
"html_url": "https://github.com/huggingface/transformers/pull/7758",
"diff_url": "https://github.com/huggingface/transformers/pull/7758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7758.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7757/comments | https://api.github.com/repos/huggingface/transformers/issues/7757/events | https://github.com/huggingface/transformers/issues/7757 | 720,214,790 | MDU6SXNzdWU3MjAyMTQ3OTA= | 7,757 | Help with finetuning mBART on an unseen language | {
"login": "laibamehnaz",
"id": 36405283,
"node_id": "MDQ6VXNlcjM2NDA1Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laibamehnaz",
"html_url": "https://github.com/laibamehnaz",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @laibamehnaz , that's a great question for forum\r\nhttps://discuss.huggingface.co/.\r\n\r\nCould you post it there, someone might have tried it and the forum is better to discuss such questions :) ",
"Great. I will post it there. Thanks a lot.",
"This issue has been automatically marked as stale because i... | 1,602 | 1,608 | 1,608 | NONE | null | I wanted to know how could we finetune mBART on summarization task on a different language than that of English. Also, how can we finetune mBART on translation task where one of the languages is not present in the language code list that mBART has been trained on.
Appreciate any help!! Thank you.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7757/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7756/comments | https://api.github.com/repos/huggingface/transformers/issues/7756/events | https://github.com/huggingface/transformers/pull/7756 | 720,071,168 | MDExOlB1bGxSZXF1ZXN0NTAyMTU0OTcz | 7,756 | [Rag] Fix loading of pretrained Rag Tokenizer | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Got 2 offline yes! from @thomwolf and @LysandreJik => merging."
] | 1,602 | 1,602 | 1,602 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7756/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7756",
"html_url": "https://github.com/huggingface/transformers/pull/7756",
"diff_url": "https://github.com/huggingface/transformers/pull/7756.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7756.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7755/comments | https://api.github.com/repos/huggingface/transformers/issues/7755/events | https://github.com/huggingface/transformers/issues/7755 | 720,061,760 | MDU6SXNzdWU3MjAwNjE3NjA= | 7,755 | HfArgumentParser not support optional bools | {
"login": "huhk-sysu",
"id": 14769033,
"node_id": "MDQ6VXNlcjE0NzY5MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/14769033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huhk-sysu",
"html_url": "https://github.com/huhk-sysu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Yes optional bools are not supported by the `HFArgumentParser` because it wants to either `store_true` or `store_false` them. I have fixed the `TrainingArguments` to work around that (e.g., the defaults that come from the parser are okay) but when I have a bit of time I'll try to fix this better.",
"Thanks. I wa... | 1,602 | 1,602 | 1,602 | 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
- Python version: 3.7.3
- PyTorch version (GPU?): 1.6.0 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7755/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7754/comments | https://api.github.com/repos/huggingface/transformers/issues/7754/events | https://github.com/huggingface/transformers/pull/7754 | 720,014,630 | MDExOlB1bGxSZXF1ZXN0NTAyMTA5Mzc2 | 7,754 | ElectraTokenizerFast | {
"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,602 | 1,602 | 1,602 | MEMBER | null | Before the fix, when loading an `ElectraTokenizerFast`:
```py
from transformers import ElectraTokenizerFast
tokenizer = ElectraTokenizerFast.from_pretrained("ahotrod/electra_large_discriminator_squad2_512")
```
```
Traceback (most recent call last):
File "/Users/jik/Library/Application Support/JetBrains/Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7754",
"html_url": "https://github.com/huggingface/transformers/pull/7754",
"diff_url": "https://github.com/huggingface/transformers/pull/7754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7754.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7753/comments | https://api.github.com/repos/huggingface/transformers/issues/7753/events | https://github.com/huggingface/transformers/pull/7753 | 719,942,758 | MDExOlB1bGxSZXF1ZXN0NTAyMDQ5NjY5 | 7,753 | New TF model design | {
"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 | [] | [
"Thanks for your comments! I will try to answer as clearly as possible.\r\n\r\n### From embedding building to `tf.keras.layers.Embedding`\r\n> Would we now be relying on the LM head weights being in the checkpoint?\r\n\r\nExactly, also another difference is to have the `word_embeddings` weights initialized at the m... | 1,602 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to improve the TensorFlow code base of transformers. For sake of simplicity the changes are made only on the BERT model, but the new features can be applied to all the others. The PR brings among some bug fix the following main new features;
1. It is now possible to train an L... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7753/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7753",
"html_url": "https://github.com/huggingface/transformers/pull/7753",
"diff_url": "https://github.com/huggingface/transformers/pull/7753.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7753.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7752/comments | https://api.github.com/repos/huggingface/transformers/issues/7752/events | https://github.com/huggingface/transformers/pull/7752 | 719,925,770 | MDExOlB1bGxSZXF1ZXN0NTAyMDM1MDMx | 7,752 | Model Card | {
"login": "nreimers",
"id": 10706961,
"node_id": "MDQ6VXNlcjEwNzA2OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nreimers",
"html_url": "https://github.com/nreimers",
"followers_url": "https://api.github.com/users/nre... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Looks great!"
] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
New model card for model uploaded to https://huggingface.co/sentence-transformers
## Who can review?
Model Cards: @julien-c
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7752/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7752",
"html_url": "https://github.com/huggingface/transformers/pull/7752",
"diff_url": "https://github.com/huggingface/transformers/pull/7752.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7752.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7751/comments | https://api.github.com/repos/huggingface/transformers/issues/7751/events | https://github.com/huggingface/transformers/issues/7751 | 719,858,490 | MDU6SXNzdWU3MTk4NTg0OTA= | 7,751 | Unicode issue with tokenizer.decode() | {
"login": "kelvin-jiang",
"id": 20145768,
"node_id": "MDQ6VXNlcjIwMTQ1NzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/20145768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kelvin-jiang",
"html_url": "https://github.com/kelvin-jiang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This is not a bug, but a lack of vocabulary diversity in T5's tokenizer. T5's tokenizer was not trained on a corpus containing that character, and therefore cannot encode it: it encodes it to an unknown token which is represented by `⁇`. \r\n\r\nYou can try using other characters that the tokenizer doesn't know ho... | 1,602 | 1,602 | 1,602 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Ubuntu 18.04.1 LTS
- Python version: 3.6.9
- PyTorch version (GPU?): 1.5.0 (No)
- Tensorflow version (GPU?): 1.14.0 (No)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
Since the issue regard... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7751/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7750/comments | https://api.github.com/repos/huggingface/transformers/issues/7750/events | https://github.com/huggingface/transformers/pull/7750 | 719,834,801 | MDExOlB1bGxSZXF1ZXN0NTAxOTU4NjU3 | 7,750 | Update pyarrow to meet datasets 1.1.2 | {
"login": "ncoop57",
"id": 7613470,
"node_id": "MDQ6VXNlcjc2MTM0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ncoop57",
"html_url": "https://github.com/ncoop57",
"followers_url": "https://api.github.com/users/ncoop57/... | [] | closed | false | null | [] | [
"The `datasets` library already has a requirement on `pyarrow>=0.17.1`: https://github.com/huggingface/datasets/blob/master/setup.py#L68, so this line should not be necessary!",
"OH whoops, this must be a colab thing since it already has a `pyarrow` version installed, so what I needed to do was run the pip instal... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
Update pyarrow to meet the requirement of y'alls awesome datasets 1.1.2 library for running the examples (tested on the finetune_tiny_bart.sh seq2seq example). You can see the colab I tested on here: https://colab.research.google.com/drive/12XSQoFRlpXLEd_tfvwC5wUVYJZUPKFwE?usp=sharing
Fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7750/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7750",
"html_url": "https://github.com/huggingface/transformers/pull/7750",
"diff_url": "https://github.com/huggingface/transformers/pull/7750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7750.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7749/comments | https://api.github.com/repos/huggingface/transformers/issues/7749/events | https://github.com/huggingface/transformers/issues/7749 | 719,809,230 | MDU6SXNzdWU3MTk4MDkyMzA= | 7,749 | Does bart need to cache prev_key_padding_mask? | {
"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 | {
"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... | [] | 1,602 | 1,603 | 1,603 | CONTRIBUTOR | null | This is only be used for self attention, presumably to remember to ignore if the last token generated was a pad. But if the last token generated was a pad, we are done with the hypothesis anyways so may not need this.
If this is unnec it will save 5-10 lines of annoying stuff. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7749/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7748/comments | https://api.github.com/repos/huggingface/transformers/issues/7748/events | https://github.com/huggingface/transformers/pull/7748 | 719,797,901 | MDExOlB1bGxSZXF1ZXN0NTAxOTI5MDc2 | 7,748 | Create README.md | {
"login": "sarahlintang",
"id": 6174505,
"node_id": "MDQ6VXNlcjYxNzQ1MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6174505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarahlintang",
"html_url": "https://github.com/sarahlintang",
"followers_url": "https://api.github.com... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Thank you! You can add more metadata and/or links to eval results if necessary."
] | 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 w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7748/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7748",
"html_url": "https://github.com/huggingface/transformers/pull/7748",
"diff_url": "https://github.com/huggingface/transformers/pull/7748.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7748.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7747/comments | https://api.github.com/repos/huggingface/transformers/issues/7747/events | https://github.com/huggingface/transformers/issues/7747 | 719,794,427 | MDU6SXNzdWU3MTk3OTQ0Mjc= | 7,747 | BertTokenizer meet multilingual corpus, it fails to work.@mfuntowicz | {
"login": "qhd1996",
"id": 24516022,
"node_id": "MDQ6VXNlcjI0NTE2MDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/24516022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qhd1996",
"html_url": "https://github.com/qhd1996",
"followers_url": "https://api.github.com/users/qhd199... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7747/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/7746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7746/comments | https://api.github.com/repos/huggingface/transformers/issues/7746/events | https://github.com/huggingface/transformers/issues/7746 | 719,759,205 | MDU6SXNzdWU3MTk3NTkyMDU= | 7,746 | Keep getting the same `Target 1 is out of bounds` error with `LongformerForMultipleChoice` | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"Hey there. Please just reply on the previous issue you posted, rather than opening a new issue. \r\n\r\nI made a mistake in my previous answer, you shouldn't `unsqueeze` the answer, because it's just a tensor of shape (batch_size,).\r\n\r\nI've created a notebook that illustrates how to use BertForMultipleChoice (... | 1,602 | 1,602 | 1,602 | NONE | null | Hello,
I am a Transformer user who posted the similar question yesterday.
I am trying to use `LongformerForMultipleChoice` model, I've updated my code according to the answer that was provided. However, I am still getting the same error `Target out of bounds`. The correct answers are coded correctly, like my multiple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7746/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7745/comments | https://api.github.com/repos/huggingface/transformers/issues/7745/events | https://github.com/huggingface/transformers/issues/7745 | 719,691,929 | MDU6SXNzdWU3MTk2OTE5Mjk= | 7,745 | Attention masks are ignored when using model.generate() in batch setting for GPT-2 | {
"login": "rohit497",
"id": 16389162,
"node_id": "MDQ6VXNlcjE2Mzg5MTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/16389162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rohit497",
"html_url": "https://github.com/rohit497",
"followers_url": "https://api.github.com/users/roh... | [] | 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 can you help with this?",
"Hey @rohit497,\r\n\r\nCould you please take a look at this entry in the forum:\r\nhttps://discuss.huggingface.co/t/batch-generation-with-gpt2/1517\r\n? \r\n\r\nIt also links to a test verifying that batch generation works correctly",
"@patrickvonplaten I tried modif... | 1,602 | 1,603 | 1,603 | NONE | null | ## Environment info
- `transformers` version: '3.3.1' and '2.1.0' (Tested on both)
- Platform: Linux Azure VM
- Python version: 3.6.8
- PyTorch version (GPU?): 1.3.0 (Yes)
- Tensorflow version (GPU?): N/A
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
@Ly... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7745/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7744/comments | https://api.github.com/repos/huggingface/transformers/issues/7744/events | https://github.com/huggingface/transformers/issues/7744 | 719,608,760 | MDU6SXNzdWU3MTk2MDg3NjA= | 7,744 | cannot load "layoutlm-base-uncased" | {
"login": "rzhao6",
"id": 31970475,
"node_id": "MDQ6VXNlcjMxOTcwNDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/31970475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rzhao6",
"html_url": "https://github.com/rzhao6",
"followers_url": "https://api.github.com/users/rzhao6/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYes the error message is right, you have to add \"microsoft/\" before the name:\r\n```\r\nLayoutLMTokenizer.from_pretrained('microsoft/layoutlm-base-uncased')\r\n```",
"ah i see, i directly used the line in the example here https://huggingface.co/transformers/model_doc/layoutlm.html#layoutlmmodel\r\n\... | 1,602 | 1,602 | 1,602 | NONE | null | hi,
im trying to do "LayoutLMTokenizer.from_pretrained('layoutlm-base-uncased')", and got an error saying "OSError: Model name 'layoutlm-base-uncased' was not found in tokenizers model name list (microsoft/layoutlm-base-uncased, microsoft/layoutlm-large-uncased). We assumed 'layoutlm-base-uncased' was a path, a model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7744/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7743/comments | https://api.github.com/repos/huggingface/transformers/issues/7743/events | https://github.com/huggingface/transformers/issues/7743 | 719,529,537 | MDU6SXNzdWU3MTk1Mjk1Mzc= | 7,743 | should PegasusTokenizer replace `/n` with `<n>`? | {
"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": 2368374212,
"node_id": "MDU6TGFiZWwyMzY4Mzc0MjEy",
"url": "https://api.github.com/repos/huggingface/transformers/labels/pegasus",
"name": "pegasus",
"color": "1f76a8",
"default": false,
"description": ""
}
] | closed | false | {
"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... | [
{
"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... | [
"Yes, will have to ensure we add a test then. you can assign this to me, @sshleifer ",
"Mildly off topic: \r\nI wonder if there is a way to read in a file one \"line\" at a time, where the system for deciding line numbers is the one text-editors use rather than splitting by '\\n'.\r\nHere `vim` allows me to write... | 1,602 | 1,677 | 1,603 | CONTRIBUTOR | null | On the `encode`/text -> ids side I'm certain.
On the `decode`/ids -> text side, I'm worried about breaking `run_eval.py`, which reads the generations from disk before calculating rouge [here](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/run_eval.py#L141)
cc @stas00
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7743/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7742/comments | https://api.github.com/repos/huggingface/transformers/issues/7742/events | https://github.com/huggingface/transformers/pull/7742 | 719,515,437 | MDExOlB1bGxSZXF1ZXN0NTAxNjg5NjE0 | 7,742 | Avoid unnecessary DDP synchronization when gradient_accumulation_steps > 1 | {
"login": "noamwies",
"id": 3121971,
"node_id": "MDQ6VXNlcjMxMjE5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3121971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noamwies",
"html_url": "https://github.com/noamwies",
"followers_url": "https://api.github.com/users/noamw... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This PR avoid unnecessary ```DistributedDataParallel``` synchronization when gradient_accumulation_steps > 1 by using ```DistributedDataParallel.no_sync```.
This lead to speedup when training with multiple gpu's for example the ```run_language_modeling.py``` complete wiki-2 epoch in 8... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7742/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7742",
"html_url": "https://github.com/huggingface/transformers/pull/7742",
"diff_url": "https://github.com/huggingface/transformers/pull/7742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7742.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7741/comments | https://api.github.com/repos/huggingface/transformers/issues/7741/events | https://github.com/huggingface/transformers/pull/7741 | 719,509,257 | MDExOlB1bGxSZXF1ZXN0NTAxNjg0NjA2 | 7,741 | Avoid unnecessary DDP synchronization when gradient_accumulation_steps > 1 | {
"login": "noamwies",
"id": 3121971,
"node_id": "MDQ6VXNlcjMxMjE5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3121971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noamwies",
"html_url": "https://github.com/noamwies",
"followers_url": "https://api.github.com/users/noamw... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This PR avoid unnecessary ```DistributedDataParallel``` synchronization when gradient_accumulation_steps > 1 by using ```DistributedDataParallel.no_sync```.
This lead to speedup when training with multiple gpu's for example the ```run_language_modeling.py``` complete wiki-2 epoch in 8... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7741/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7741",
"html_url": "https://github.com/huggingface/transformers/pull/7741",
"diff_url": "https://github.com/huggingface/transformers/pull/7741.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7741.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7740/comments | https://api.github.com/repos/huggingface/transformers/issues/7740/events | https://github.com/huggingface/transformers/issues/7740 | 719,499,080 | MDU6SXNzdWU3MTk0OTkwODA= | 7,740 | examples/seq2seq/finetune_trainer.py: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This happens in every trainer I've ever used and you should just ignore it. It's happening in pytorch so we cant control the type of error.",
"cc @sgugger who may have a different opinion.",
"This is a warning that appears all the time from PyTofh if you save your learning rate scheduler. You should file an is... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.3.1
- I did `pip install -e .` in the repository cloned from
https://github.com/huggingface/transformers/tree/ba4bbd92bcb55febbfa06aaa1551738388ec7eb0
- Platform: Linux
- Python version: 3.8.3 (anaconda3-2020.07)
- PyTorch version (GPU?): 1.6.0 (True)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7740/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7740/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7739/comments | https://api.github.com/repos/huggingface/transformers/issues/7739/events | https://github.com/huggingface/transformers/issues/7739 | 719,495,661 | MDU6SXNzdWU3MTk0OTU2NjE= | 7,739 | Cannot load pretrained microsoft's layoutlm | {
"login": "MaxHoefl",
"id": 14946739,
"node_id": "MDQ6VXNlcjE0OTQ2NzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/14946739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaxHoefl",
"html_url": "https://github.com/MaxHoefl",
"followers_url": "https://api.github.com/users/Max... | [] | closed | false | null | [] | [
"Not a bug, when updating to torch 1.6 it works"
] | 1,602 | 1,602 | 1,602 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-112-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.4.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7739/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7738/comments | https://api.github.com/repos/huggingface/transformers/issues/7738/events | https://github.com/huggingface/transformers/pull/7738 | 719,460,744 | MDExOlB1bGxSZXF1ZXN0NTAxNjQ0NjQ0 | 7,738 | Add license info to nlptown/bert-base-multilingual-uncased-sentiment | {
"login": "alexcombessie",
"id": 4739848,
"node_id": "MDQ6VXNlcjQ3Mzk4NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4739848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcombessie",
"html_url": "https://github.com/alexcombessie",
"followers_url": "https://api.github.... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Thanks Alex!"
] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | PR to close this thread: https://discuss.huggingface.co/t/what-is-the-license-of-nlptown-bert-base-multilingual-uncased-sentiment/1445/4 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7738/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7738",
"html_url": "https://github.com/huggingface/transformers/pull/7738",
"diff_url": "https://github.com/huggingface/transformers/pull/7738.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7738.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7737/comments | https://api.github.com/repos/huggingface/transformers/issues/7737/events | https://github.com/huggingface/transformers/issues/7737 | 719,455,744 | MDU6SXNzdWU3MTk0NTU3NDQ= | 7,737 | blenderbot-3B has wrong model card | {
"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": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | {
"login": "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... | [
"fixed lazily. "
] | 1,602 | 1,604 | 1,604 | CONTRIBUTOR | null | bb90 too | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7737/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7737/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7736/comments | https://api.github.com/repos/huggingface/transformers/issues/7736/events | https://github.com/huggingface/transformers/pull/7736 | 719,423,862 | MDExOlB1bGxSZXF1ZXN0NTAxNjE0MDc5 | 7,736 | Make T5 Supports Gradient Checkpointing | {
"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... | [] | closed | false | null | [] | [
"I've tested your code, it raise an error\r\n`TypeError('CheckpointFunctionBackward.forward: expected Variable (got NoneType) for return value 1') \r\n> /share/home/dwaydwaydway/miniconda3/envs/t5/lib/python3.7/site-packages/torch/utils/checkpoint.py(163)checkpoint()\r\n 162 \r\n--> 163 ... | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
Since T5 3B and 11B models are really huge models to be fine-tuned on a single GPU, Gradient Checkpointing will allow this model to be fine-tuned on a single GPU but at the cost of more training time.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the doc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7736/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7736",
"html_url": "https://github.com/huggingface/transformers/pull/7736",
"diff_url": "https://github.com/huggingface/transformers/pull/7736.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7736.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7735/comments | https://api.github.com/repos/huggingface/transformers/issues/7735/events | https://github.com/huggingface/transformers/issues/7735 | 719,423,550 | MDU6SXNzdWU3MTk0MjM1NTA= | 7,735 | Tokenizer Fast bug: ValueError: TextInputSequence must be str | {
"login": "mariusjohan",
"id": 49961316,
"node_id": "MDQ6VXNlcjQ5OTYxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/49961316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariusjohan",
"html_url": "https://github.com/mariusjohan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi, thanks for opening such a detailed issue with a notebook!\r\n\r\nUnfortunately, fast tokenizers don’t currently work with the QA pipeline. They will in the second pipeline version which is expected in a few weeks to a few months, but right now please use the slow tokenizers for the QA pipeline. \r\n\r\nThanks!... | 1,602 | 1,685 | 1,602 | 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: In a Colab enviroment aswell as on my local windows version
- Python version: 3.7.4
- PyTor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7735/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7734/comments | https://api.github.com/repos/huggingface/transformers/issues/7734/events | https://github.com/huggingface/transformers/issues/7734 | 719,416,327 | MDU6SXNzdWU3MTk0MTYzMjc= | 7,734 | GLUE STS-B on longer sequence lengths doesn't work? | {
"login": "Querela",
"id": 1648294,
"node_id": "MDQ6VXNlcjE2NDgyOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1648294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Querela",
"html_url": "https://github.com/Querela",
"followers_url": "https://api.github.com/users/Querela/... | [
{
"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! Thanks for opening such a detailed issue! You would have more luck asking such an open ended/research question on the [forums](https://discuss.huggingface.co), however!",
"Thank you, I have asked the same question in the forums. I currently only want feedback whether others have the same issue with the st... | 1,602 | 1,614 | 1,614 | 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/7734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7734/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7733/comments | https://api.github.com/repos/huggingface/transformers/issues/7733/events | https://github.com/huggingface/transformers/pull/7733 | 719,360,986 | MDExOlB1bGxSZXF1ZXN0NTAxNTYxNzIw | 7,733 | [Prophetnet] Develop in parallel | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 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,602 | 1,651 | 1,605 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7733/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7733",
"html_url": "https://github.com/huggingface/transformers/pull/7733",
"diff_url": "https://github.com/huggingface/transformers/pull/7733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7733.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/7732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7732/comments | https://api.github.com/repos/huggingface/transformers/issues/7732/events | https://github.com/huggingface/transformers/pull/7732 | 719,353,096 | MDExOlB1bGxSZXF1ZXN0NTAxNTU1MDk0 | 7,732 | Fix #7731 | {
"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,602 | 1,602 | 1,602 | MEMBER | null | Fixes #7731 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7732/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7732",
"html_url": "https://github.com/huggingface/transformers/pull/7732",
"diff_url": "https://github.com/huggingface/transformers/pull/7732.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7732.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7731/comments | https://api.github.com/repos/huggingface/transformers/issues/7731/events | https://github.com/huggingface/transformers/issues/7731 | 719,321,902 | MDU6SXNzdWU3MTkzMjE5MDI= | 7,731 | Pytorch 1.6 DataParallel | {
"login": "NorthGuard",
"id": 12046820,
"node_id": "MDQ6VXNlcjEyMDQ2ODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/12046820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NorthGuard",
"html_url": "https://github.com/NorthGuard",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Fixed by #7732!"
] | 1,602 | 1,602 | 1,602 | NONE | null | I get an error similar to that of [#4189](https://github.com/huggingface/transformers/issues/4189) and [#3936](https://github.com/huggingface/transformers/issues/3936), when using DataParallel with GPT2.
The issue should be resolved in newer versions of transformers, but I still get an error.
## Environment info... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7731/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7731/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7730 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7730/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7730/comments | https://api.github.com/repos/huggingface/transformers/issues/7730/events | https://github.com/huggingface/transformers/pull/7730 | 719,228,374 | MDExOlB1bGxSZXF1ZXN0NTAxNDUxODUx | 7,730 | Upgrading in pipelines TFAutoModelWithLMHead to new Causal/Masked/Seq2Seq LM classes | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
Updates code to remove deprecation warning.
No tests as it simply removes current warnings from tests.
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
Pull R... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7730/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7730",
"html_url": "https://github.com/huggingface/transformers/pull/7730",
"diff_url": "https://github.com/huggingface/transformers/pull/7730.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7730.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7729 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7729/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7729/comments | https://api.github.com/repos/huggingface/transformers/issues/7729/events | https://github.com/huggingface/transformers/pull/7729 | 719,227,929 | MDExOlB1bGxSZXF1ZXN0NTAxNDUxNDk3 | 7,729 | Fix DeBERTa integration tests | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,602 | 1,602 | 1,602 | MEMBER | null | Fix the two DeBERTa integration tests.
- The classification test doesn't actually make sense, since there is no classification head saved in `microsoft/deberta-base`
- Fix to the way the attention was initialized according to the pos type.
closes https://github.com/huggingface/transformers/issues/7565
closes ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7729/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7729/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7729",
"html_url": "https://github.com/huggingface/transformers/pull/7729",
"diff_url": "https://github.com/huggingface/transformers/pull/7729.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7729.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7728 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7728/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7728/comments | https://api.github.com/repos/huggingface/transformers/issues/7728/events | https://github.com/huggingface/transformers/pull/7728 | 719,212,421 | MDExOlB1bGxSZXF1ZXN0NTAxNDM4OTQ5 | 7,728 | Improving Pipelines by defaulting to framework='tf' when pytorch seems unavailable. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"Actually, This introduced a pretty big bug where\r\n\r\n```python\r\nnlp = pipeline(task) \r\n```\r\n\r\nWould not work anymore. I tried a different solution around that."
] | 1,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
When loading a model that was `tf` only and by passing only model by string without framework argument, it would fail with an odd error message:
```python
>>> transformers.AutoModel.from_pretrained('Narsil/small')
OSError: Can't load weights for 'Narsil/small'. Make sure that:
- 'Narsil/small'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7728/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7728",
"html_url": "https://github.com/huggingface/transformers/pull/7728",
"diff_url": "https://github.com/huggingface/transformers/pull/7728.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7728.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7727 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7727/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7727/comments | https://api.github.com/repos/huggingface/transformers/issues/7727/events | https://github.com/huggingface/transformers/issues/7727 | 719,211,157 | MDU6SXNzdWU3MTkyMTExNTc= | 7,727 | what is the perplexity of distilbert-base-uncased ? | {
"login": "OleNet",
"id": 3206718,
"node_id": "MDQ6VXNlcjMyMDY3MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3206718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OleNet",
"html_url": "https://github.com/OleNet",
"followers_url": "https://api.github.com/users/OleNet/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @OleNet ,\r\n\r\nYou probably have a better chance of getting an anwser by posting your question on the discussion forum here: `http://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 ... | 1,602 | 1,608 | 1,608 | NONE | null | # ❓ Questions & Help
## Details
In the [readme](https://github.com/huggingface/transformers/tree/master/examples/distillation) , it is said that distilbert-base-uncased is pretraind on the same data used to pretrain Bert, so I wonder what is the final perplexity or cross entropy of the pretrain?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7727/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7727/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7726 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7726/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7726/comments | https://api.github.com/repos/huggingface/transformers/issues/7726/events | https://github.com/huggingface/transformers/pull/7726 | 719,209,343 | MDExOlB1bGxSZXF1ZXN0NTAxNDM2NDY5 | 7,726 | Do not softmax when num_labels==1 | {
"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,602 | 1,602 | 1,602 | MEMBER | null | When `config.num_labels=1`, the text classification pipeline shouldn't softmax over the results as it will always return 1. Instead, when the number of labels is 1, this will run a sigmoid over the result.
cf https://github.com/huggingface/transformers/issues/7493#issuecomment-706413792 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7726/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7726/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7726",
"html_url": "https://github.com/huggingface/transformers/pull/7726",
"diff_url": "https://github.com/huggingface/transformers/pull/7726.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7726.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7725/comments | https://api.github.com/repos/huggingface/transformers/issues/7725/events | https://github.com/huggingface/transformers/issues/7725 | 719,204,750 | MDU6SXNzdWU3MTkyMDQ3NTA= | 7,725 | how we can replace/swap the Wikipedia data with our custom data for knowledge retrieval in the RAG model and the format of the retrieval data. | {
"login": "Madhuri05thorat",
"id": 56575589,
"node_id": "MDQ6VXNlcjU2NTc1NTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/56575589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Madhuri05thorat",
"html_url": "https://github.com/Madhuri05thorat",
"followers_url": "https://api... | [
{
"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... | [
"I am also playing with RAG model and I am trying to understand how to replace the Wikipedia data with my custom data. From transformes/model-cards/facebook/rag-sequence-nq I see that the train dataset is wiki_dpr. So I loaded it with the following\r\n`\r\nfrom datasets import load_dataset\r\ndataset = load_datase... | 1,602 | 1,662 | 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/7725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7725/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7724/comments | https://api.github.com/repos/huggingface/transformers/issues/7724/events | https://github.com/huggingface/transformers/pull/7724 | 719,192,969 | MDExOlB1bGxSZXF1ZXN0NTAxNDIzNTQw | 7,724 | Fix tf text class | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,602 | 1,686 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes an issue in the `run_tf_text_classification.py` where the tokenizer was raising an error when the CSV file had 3 columns.
Fixes #7706 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7724/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7724",
"html_url": "https://github.com/huggingface/transformers/pull/7724",
"diff_url": "https://github.com/huggingface/transformers/pull/7724.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7724.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/7723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7723/comments | https://api.github.com/repos/huggingface/transformers/issues/7723/events | https://github.com/huggingface/transformers/issues/7723 | 719,184,340 | MDU6SXNzdWU3MTkxODQzNDA= | 7,723 | T5: Finetuning the language modelling objective on a new dataset | {
"login": "sb1992",
"id": 10261100,
"node_id": "MDQ6VXNlcjEwMjYxMTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10261100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sb1992",
"html_url": "https://github.com/sb1992",
"followers_url": "https://api.github.com/users/sb1992/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 | [] | [
"have a look on: https://github.com/huggingface/transformers/tree/master/examples\r\n\r\nfor conditional generation in the folder seq2seq is an example for finetuning",
"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... | 1,602 | 1,608 | 1,608 | NONE | null | # ❓ Questions & Help
I was wondering if there is a way I could fine tune T5 model on my own dataset. There are scripts for fine tuning help for GPT2, BERT and XLNET in language modelling examples, so was thinking if that could be extended to T5 as well?
<!-- The GitHub issue tracker is primarly intended for bugs,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7723/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/7722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/7722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/7722/comments | https://api.github.com/repos/huggingface/transformers/issues/7722/events | https://github.com/huggingface/transformers/pull/7722 | 719,150,110 | MDExOlB1bGxSZXF1ZXN0NTAxMzg5MjYy | 7,722 | Create Model-card for LIMIT-BERT | {
"login": "cooelf",
"id": 7037265,
"node_id": "MDQ6VXNlcjcwMzcyNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7037265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cooelf",
"html_url": "https://github.com/cooelf",
"followers_url": "https://api.github.com/users/cooelf/foll... | [
{
"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,602 | 1,602 | 1,602 | CONTRIBUTOR | null | # What does this PR do?
Adds a model card Readme for the LIMIT-BERT language model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/7722/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/7722/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/7722",
"html_url": "https://github.com/huggingface/transformers/pull/7722",
"diff_url": "https://github.com/huggingface/transformers/pull/7722.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/7722.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.