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/7421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7421/comments
https://api.github.com/repos/huggingface/transformers/issues/7421/events
https://github.com/huggingface/transformers/issues/7421
710,102,458
MDU6SXNzdWU3MTAxMDI0NTg=
7,421
"Sequence Classification with IMDb Reviews " error, when using "bert-base-multilingual-cased" model.
{ "login": "baiziyuandyufei", "id": 20787650, "node_id": "MDQ6VXNlcjIwNzg3NjUw", "avatar_url": "https://avatars.githubusercontent.com/u/20787650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/baiziyuandyufei", "html_url": "https://github.com/baiziyuandyufei", "followers_url": "https://api...
[]
closed
false
null
[]
[ "It looks like you are using a model for language modeling (`AutoModelWithLMHead`) instead of a model for sequence classification (`AutoModelForSequenceClassification`) which is why you have that shape error.", "@sgugger thank you!\r\nI modify my code, then everything well.\r\n```\r\n# coding:utf-8\r\n\"\"\"\r\n\...
1,601
1,601
1,601
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.1.0 - Platform:macos - Python version:3.6 - PyTorch version (GPU?):CPU - Tensorflow version (GPU?):C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7421/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7420/comments
https://api.github.com/repos/huggingface/transformers/issues/7420/events
https://github.com/huggingface/transformers/pull/7420
710,086,584
MDExOlB1bGxSZXF1ZXN0NDkzOTk5MDI1
7,420
[RAG] Model cards - clean cards
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
MEMBER
null
Clean the four model cards
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7420/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7420", "html_url": "https://github.com/huggingface/transformers/pull/7420", "diff_url": "https://github.com/huggingface/transformers/pull/7420.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7420.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7419/comments
https://api.github.com/repos/huggingface/transformers/issues/7419/events
https://github.com/huggingface/transformers/issues/7419
709,987,840
MDU6SXNzdWU3MDk5ODc4NDA=
7,419
Cannot reproduce example token classification GermEval 2014 (German NER) dataset
{ "login": "GarrettLee", "id": 22522377, "node_id": "MDQ6VXNlcjIyNTIyMzc3", "avatar_url": "https://avatars.githubusercontent.com/u/22522377?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GarrettLee", "html_url": "https://github.com/GarrettLee", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I find that after deleting the cache, the results can be reproduced. I guess that is because in my first attempt, I used the wrong arguments setting, and something is cached. Then although I fixed the setting later, the code alway loads from the wrong cache. " ]
1,601
1,601
1,601
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.2.0 - Platform: Linux-4.4.0-131-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.8 - Py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7419/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7418/comments
https://api.github.com/repos/huggingface/transformers/issues/7418/events
https://github.com/huggingface/transformers/pull/7418
709,945,429
MDExOlB1bGxSZXF1ZXN0NDkzODgwNTg1
7,418
Blenderbot
{ "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
[]
[ "I don't really understand why we don't completely separate Blenderbot from Bart here. I thought we kind of agreed on not adding any if statements to existing models (also if it's only one) to make them work with new models.\r\n\r\nWith @sgugger's recent PRs that completely separate model files from each other (Rob...
1,601
1,613
1,602
CONTRIBUTOR
null
Continued from https://github.com/huggingface/transformers/pull/4803 Co-authored by @mariamabarham New models: `facebook/blenderbot-3B` and `facebook/blenderbot-90M`. They produce similar, but not always identical outputs to their facebook counterparts, with the differences due to length penalty implementation...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7418/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7418", "html_url": "https://github.com/huggingface/transformers/pull/7418", "diff_url": "https://github.com/huggingface/transformers/pull/7418.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7418.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7417/comments
https://api.github.com/repos/huggingface/transformers/issues/7417/events
https://github.com/huggingface/transformers/issues/7417
709,940,207
MDU6SXNzdWU3MDk5NDAyMDc=
7,417
Add adapter support
{ "login": "salimmj", "id": 22433912, "node_id": "MDQ6VXNlcjIyNDMzOTEy", "avatar_url": "https://avatars.githubusercontent.com/u/22433912?v=4", "gravatar_id": "", "url": "https://api.github.com/users/salimmj", "html_url": "https://github.com/salimmj", "followers_url": "https://api.github.com/users/salimm...
[ { "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
[]
[ "That'd be great!", "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", "Just voicing my support of this too. Not sure yet if adapter-hub will end up having the resources to merge back i...
1,601
1,614
1,607
NONE
null
# 🚀 Feature request Add [adapter](https://arxiv.org/abs/1902.00751) support to transformers. ## Motivation Adapters are great time-and-memory-savers for multitask use cases and would be a great addition to this library. Some very kind folks added support for them ([AdapterHub](https://adapterhub.ml/)) on top ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7417/reactions", "total_count": 10, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7417/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7416/comments
https://api.github.com/repos/huggingface/transformers/issues/7416/events
https://github.com/huggingface/transformers/issues/7416
709,857,672
MDU6SXNzdWU3MDk4NTc2NzI=
7,416
Possible error in MBart Tokenization script -- target lang code is only present in seq once
{ "login": "Sun694", "id": 9062244, "node_id": "MDQ6VXNlcjkwNjIyNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9062244?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sun694", "html_url": "https://github.com/Sun694", "followers_url": "https://api.github.com/users/Sun694/foll...
[ { "id": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Note: I did find (https://github.com/pytorch/fairseq/issues/2258), a related issue.\r\n\r\nAs far as I can tell, the behavior there (attempting to zero-shot translate without the model having translated before, and merely getting the input as output regardless of language ID in target), is expected behavior (some ...
1,601
1,602
1,602
NONE
null
## Environment info - `transformers` version: current - 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) - Using GPU in script?: No. - Using distributed or parallel set-up in script?: No. ### Who can help MBart: @sshleifer ## I...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7416/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/7416/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7415/comments
https://api.github.com/repos/huggingface/transformers/issues/7415/events
https://github.com/huggingface/transformers/issues/7415
709,796,948
MDU6SXNzdWU3MDk3OTY5NDg=
7,415
Colab pro -fine RoBERTa error tcmalloc: large alloc 6325288960
{ "login": "Shafi2016", "id": 56795978, "node_id": "MDQ6VXNlcjU2Nzk1OTc4", "avatar_url": "https://avatars.githubusercontent.com/u/56795978?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shafi2016", "html_url": "https://github.com/Shafi2016", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Got the same with StyleGAN using Colab Pro", "What is your data size? First, try it with 2GB of data. Also check again by decreasing the GPU batch size to 8 or 4.", "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,601
1,619
1,619
NONE
null
I want to fine-tune RoBERTa on my newspaper data (around 8GB) using Colab pro. It works fine on small data. I have given my codes below. Are my codes correct? **Is there any way to handle this memory problem**? The error crushes the colab. tcmalloc: large alloc 6325288960 bytes == 0x447fa000 @ 0x7f3438dcc1e7 0x592...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7415/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7415/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7414/comments
https://api.github.com/repos/huggingface/transformers/issues/7414/events
https://github.com/huggingface/transformers/issues/7414
709,769,902
MDU6SXNzdWU3MDk3Njk5MDI=
7,414
GPT2LMHeadModel forward input
{ "login": "manzar96", "id": 38495091, "node_id": "MDQ6VXNlcjM4NDk1MDkx", "avatar_url": "https://avatars.githubusercontent.com/u/38495091?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manzar96", "html_url": "https://github.com/manzar96", "followers_url": "https://api.github.com/users/man...
[ { "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! Your question would get more answers if you asked it over at https://discuss.huggingface.co, which are the forums for broad questions like this one. Thanks!", "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 y...
1,601
1,607
1,607
NONE
null
# ❓ Questions & Help Hello, I would like to fine-tune the GPT2 model on EmpatheticDialogues doing kind of conditional generation as like in this paper: https://arxiv.org/pdf/1911.11161.pdf What concerns me is the format of the input_ids and labels in the forward function. I think that concatenating the input with t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7414/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7413/comments
https://api.github.com/repos/huggingface/transformers/issues/7413/events
https://github.com/huggingface/transformers/pull/7413
709,765,489
MDExOlB1bGxSZXF1ZXN0NDkzNzQwMzI2
7,413
[RAG] Clean Rag readme in examples
{ "login": "ola13", "id": 1528523, "node_id": "MDQ6VXNlcjE1Mjg1MjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1528523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ola13", "html_url": "https://github.com/ola13", "followers_url": "https://api.github.com/users/ola13/follower...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7413?src=pr&el=h1) Report\n> Merging [#7413](https://codecov.io/gh/huggingface/transformers/pull/7413?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e50a931c118b9f55f77a743bf703f436bf7a7c29?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
Improving RAG README. Additionally I'm adding a script creating a standalone RAG checkpoint from a generator and a question encoder checkpoints.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7413/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/7413/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7413", "html_url": "https://github.com/huggingface/transformers/pull/7413", "diff_url": "https://github.com/huggingface/transformers/pull/7413.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7413.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7412/comments
https://api.github.com/repos/huggingface/transformers/issues/7412/events
https://github.com/huggingface/transformers/issues/7412
709,749,506
MDU6SXNzdWU3MDk3NDk1MDY=
7,412
Unable to load pipeline for question answering
{ "login": "prince14322", "id": 19497571, "node_id": "MDQ6VXNlcjE5NDk3NTcx", "avatar_url": "https://avatars.githubusercontent.com/u/19497571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prince14322", "html_url": "https://github.com/prince14322", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello! Do you have internet access in the environment where your script is run? Can you do the following:\r\n\r\n```py\r\nfrom transformers import DistilBertModel\r\n\r\nmodel = DistilBertModel.from_pretrained(\"distilbert-base-cased\")\r\n```\r\n?", "Sorry my bad.\r\nInternet was off.\r\nIt is working fine.\r\n...
1,601
1,601
1,601
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 2.11.0 - Platform: Linux-4.19.112+-x86_64-with-debian-buster-sid - Python version: 3.7.6 - PyTorch vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7412/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7411/comments
https://api.github.com/repos/huggingface/transformers/issues/7411/events
https://github.com/huggingface/transformers/issues/7411
709,635,467
MDU6SXNzdWU3MDk2MzU0Njc=
7,411
Error: isTensor() INTERNAL ASSERT FAILED from traced RoBERTa model on iOS using LibTorch
{ "login": "jbmaxwell", "id": 15166432, "node_id": "MDQ6VXNlcjE1MTY2NDMy", "avatar_url": "https://avatars.githubusercontent.com/u/15166432?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbmaxwell", "html_url": "https://github.com/jbmaxwell", "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
[]
[ "Ack! The error was actually in my Obj-C++ code, which had `auto outputTensor = _impl.forward({tensor}).toTensor();`... that will have to become `auto outputTuple = _impl.forward({tensor}).toTuple();`. Apologies for the spam, but hopefully this helps someone else some day. I found the hint here: https://github.com/...
1,601
1,607
1,607
NONE
null
I've exported RoBERTa from a traced model for running on iOS using LibTorch and I'm getting this error when running prediction in the app: `isTensor() INTERNAL ASSERT FAILED at /Users/distiller/project/aten/src/ATen/core/ivalue_inl.h:86, please report a bug to PyTorch. Expected Tensor but got Tuple (toTensor at /Users/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7411/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7410/comments
https://api.github.com/repos/huggingface/transformers/issues/7410/events
https://github.com/huggingface/transformers/pull/7410
709,621,880
MDExOlB1bGxSZXF1ZXN0NDkzNjM1NzMy
7,410
[s2s] rougeLSum expects \n between sentences
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7410?src=pr&el=h1) Report\n> Merging [#7410](https://codecov.io/gh/huggingface/transformers/pull/7410?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eab5f59682cf197cd5fd19d499b3670dbef67000?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #6808 Continues #7356 from @swethmandava Coauthor: @swethmandava + `add_newline_sep` kwarg controls whether to add newlines between sentences + test coverage + can pass bootstrap=False to see raw scores, make scoring dete...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7410/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7410", "html_url": "https://github.com/huggingface/transformers/pull/7410", "diff_url": "https://github.com/huggingface/transformers/pull/7410.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7410.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7409/comments
https://api.github.com/repos/huggingface/transformers/issues/7409/events
https://github.com/huggingface/transformers/pull/7409
709,589,908
MDExOlB1bGxSZXF1ZXN0NDkzNjEzNTY2
7,409
[T5] allow config.decoder_layers to control decoder 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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7409?src=pr&el=h1) Report\n> Merging [#7409](https://codecov.io/gh/huggingface/transformers/pull/7409?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2c8ecdf8a87019c438262d8c692e1bdffe05149f?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> #### Problem arxiv.org/abs/2006.10369, among others, shows that models with fewer decoder layers than encoder layers can perform well and run generation much faster. Right now it is difficult to do distillation on t5 because there is ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7409/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7409", "html_url": "https://github.com/huggingface/transformers/pull/7409", "diff_url": "https://github.com/huggingface/transformers/pull/7409.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7409.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7408/comments
https://api.github.com/repos/huggingface/transformers/issues/7408/events
https://github.com/huggingface/transformers/issues/7408
709,582,299
MDU6SXNzdWU3MDk1ODIyOTk=
7,408
Allow creation of asymmetrical T5
{ "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,601
1,601
1,601
CONTRIBUTOR
null
https://arxiv.org/abs/2006.10369, among others, shows that models with fewer decoder layers than encoder layers can perform well and run generation much faster. Right now it is difficult to do distillation on t5 because there is only `T5Config.num_layers`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7408/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7407/comments
https://api.github.com/repos/huggingface/transformers/issues/7407/events
https://github.com/huggingface/transformers/issues/7407
709,545,205
MDU6SXNzdWU3MDk1NDUyMDU=
7,407
How to train a model based on CTRL
{ "login": "nooralahzadeh", "id": 1093791, "node_id": "MDQ6VXNlcjEwOTM3OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1093791?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nooralahzadeh", "html_url": "https://github.com/nooralahzadeh", "followers_url": "https://api.github....
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
NONE
null
# ❓ Questions & Help I am wondering how to train A Conditional Transformer Language Model for Controllable Generation (CTRL)? Thanks <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7407/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7406/comments
https://api.github.com/repos/huggingface/transformers/issues/7406/events
https://github.com/huggingface/transformers/issues/7406
709,523,009
MDU6SXNzdWU3MDk1MjMwMDk=
7,406
Bert base chinese model gives error :- EagerTensor object has no attribute 'size'
{ "login": "akanyaani", "id": 11317416, "node_id": "MDQ6VXNlcjExMzE3NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/11317416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akanyaani", "html_url": "https://github.com/akanyaani", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "You are mixing the Pytorch and tf API. You should have \"return_tensors=\"pt\"\" if you use PyTorch or use TFAutoModel for TensorFlow.", "@esp32wrangler is correct!" ]
1,601
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.2.0 - Platform: - Python version: 3.7 - PyTorch version (GPU?): - Tensorflow version (GPU?): 3.2.1 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7406/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7405/comments
https://api.github.com/repos/huggingface/transformers/issues/7405/events
https://github.com/huggingface/transformers/pull/7405
709,417,863
MDExOlB1bGxSZXF1ZXN0NDkzNDgxNzI3
7,405
Add summarization support to ONNX conversion
{ "login": "sagarreddypatil", "id": 16482184, "node_id": "MDQ6VXNlcjE2NDgyMTg0", "avatar_url": "https://avatars.githubusercontent.com/u/16482184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sagarreddypatil", "html_url": "https://github.com/sagarreddypatil", "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7405?src=pr&el=h1) Report\n> Merging [#7405](https://codecov.io/gh/huggingface/transformers/pull/7405?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e50a931c118b9f55f77a743bf703f436bf7a7c29?el=desc) will **decrease...
1,601
1,608
1,608
NONE
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7404
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7405/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7405", "html_url": "https://github.com/huggingface/transformers/pull/7405", "diff_url": "https://github.com/huggingface/transformers/pull/7405.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7405.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7404/comments
https://api.github.com/repos/huggingface/transformers/issues/7404/events
https://github.com/huggingface/transformers/issues/7404
709,300,069
MDU6SXNzdWU3MDkzMDAwNjk=
7,404
Add support for exporting summarization models to ONNX
{ "login": "sagarreddypatil", "id": 16482184, "node_id": "MDQ6VXNlcjE2NDgyMTg0", "avatar_url": "https://avatars.githubusercontent.com/u/16482184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sagarreddypatil", "html_url": "https://github.com/sagarreddypatil", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I just realized that the triu operation was fixed recently, sorry about that. I will create a PR to add summarization to the ONNX conversion script.", "@sagarreddypatil Did you need to make any other changes to get summarization working with ONNX Runtime? It only appears to work for text with five tokens for me,...
1,601
1,626
1,626
NONE
null
# 🚀 Feature request Add support for exporting summarization models to ONNX. ## Motivation I want to serve summarization models on edge, through an ONNX runtime. However, I am unable to convert facebook/bart-large-cnn(using class BartModelForConditionalGeneration) to ONNX as the provided script doesn't support t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7404/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7403/comments
https://api.github.com/repos/huggingface/transformers/issues/7403/events
https://github.com/huggingface/transformers/pull/7403
709,228,630
MDExOlB1bGxSZXF1ZXN0NDkzMzI3NzY0
7,403
[makefile] 10x speed up checking/fixing
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7403?src=pr&el=h1) Report\n> Merging [#7403](https://codecov.io/gh/huggingface/transformers/pull/7403?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e50a931c118b9f55f77a743bf703f436bf7a7c29?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
I present to you an updated `fixup` target which is now super-fast, as it only fixes and validates files that were modified since the branching point, which usually is ~5 out of ~1000. Whoah! Give it a try: ``` make fixup ``` Because of the start up overhead and the 2 customs scripts aren't optimized yet (to chec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7403/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7403/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7403", "html_url": "https://github.com/huggingface/transformers/pull/7403", "diff_url": "https://github.com/huggingface/transformers/pull/7403.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7403.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7402/comments
https://api.github.com/repos/huggingface/transformers/issues/7402/events
https://github.com/huggingface/transformers/issues/7402
709,207,896
MDU6SXNzdWU3MDkyMDc4OTY=
7,402
Tokenizers as an optional dependency
{ "login": "jeanm", "id": 107696, "node_id": "MDQ6VXNlcjEwNzY5Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/107696?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jeanm", "html_url": "https://github.com/jeanm", "followers_url": "https://api.github.com/users/jeanm/followers"...
[]
closed
false
null
[]
[ "Sounds reasonable, but – if you're at liberty to share – and out of curiosity, would also like to know why you can't install Rust-built native deps", "Thanks for the quick response. Rust is generally fine – what's causing issues is specifically the `pyo3` crate, which has a somewhat involved build script which d...
1,601
1,603
1,603
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Would it be possible to make `tokenizers` an optional dependency? I see this was already attempted here by @thomwolf: https://github.com/huggingface/transfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7402/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7402/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7401/comments
https://api.github.com/repos/huggingface/transformers/issues/7401/events
https://github.com/huggingface/transformers/pull/7401
709,207,225
MDExOlB1bGxSZXF1ZXN0NDkzMzA5NzI3
7,401
Catch PyTorch warning when saving/loading scheduler
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7401?src=pr&el=h1) Report\n> Merging [#7401](https://codecov.io/gh/huggingface/transformers/pull/7401?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e50a931c118b9f55f77a743bf703f436bf7a7c29?el=desc) will **increase...
1,601
1,602
1,601
COLLABORATOR
null
When saving or loading the scheduler, PyTorch **always** sends a warning to save/load the optimizer state as well (with a typo). We are saving/loading the optimizer state along the scheduler but there is no way to tell that to PyTorch and avoid the annoying warning (and its typo). This PR fixes that by catching all ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7401/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7401", "html_url": "https://github.com/huggingface/transformers/pull/7401", "diff_url": "https://github.com/huggingface/transformers/pull/7401.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7401.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7400/comments
https://api.github.com/repos/huggingface/transformers/issues/7400/events
https://github.com/huggingface/transformers/pull/7400
709,204,292
MDExOlB1bGxSZXF1ZXN0NDkzMzA3Mjc4
7,400
remove codecov PR comments
{ "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
[]
[ "The page is nice but the data seems wrong -- \r\nhttps://codecov.io/gh/huggingface/transformers/src/master/src/transformers/modeling_layoutlm.py\r\nsays that `__init__` is not covered, but I checked and it is.. in `test_modeling_layoutlm.py`.\r\n\r\nI can also just disable PR comments if that works better for you....
1,601
1,601
1,601
CONTRIBUTOR
null
#### Problem + @stas00 has tried very hard to get codecov working to no avail in https://github.com/huggingface/transformers/issues/6317 + Files that are not affected by a PR show changes in coverage. + Codecoverage information is rarely/never useful + lots of distracting spam emails + lots of vertical space t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7400/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/7400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7400", "html_url": "https://github.com/huggingface/transformers/pull/7400", "diff_url": "https://github.com/huggingface/transformers/pull/7400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7400.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7399/comments
https://api.github.com/repos/huggingface/transformers/issues/7399/events
https://github.com/huggingface/transformers/pull/7399
709,148,607
MDExOlB1bGxSZXF1ZXN0NDkzMjU3NTY4
7,399
[Rag] fix rag retriever save_pretrained method
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
MEMBER
null
This PR fixes a typo in `RagRetriever`. `generator_tokenizer` was renamed to just `generator` in `RagTokenizer`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7399", "html_url": "https://github.com/huggingface/transformers/pull/7399", "diff_url": "https://github.com/huggingface/transformers/pull/7399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7399.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7398/comments
https://api.github.com/repos/huggingface/transformers/issues/7398/events
https://github.com/huggingface/transformers/issues/7398
709,128,731
MDU6SXNzdWU3MDkxMjg3MzE=
7,398
Uploading/Sharing large models to HuggingFace
{ "login": "MXueguang", "id": 34487581, "node_id": "MDQ6VXNlcjM0NDg3NTgx", "avatar_url": "https://avatars.githubusercontent.com/u/34487581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MXueguang", "html_url": "https://github.com/MXueguang", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "There is no limit to the file sizes on the model hub, however, for uploads that large and if your connection is even slightly unstable, it can indeed fail.\r\n\r\nIf you have another host (S3 bucket or whatever) you can upload the file to, I can handle `cp`ing it to your namespace on huggingface.co", "Actually I...
1,601
1,601
1,601
NONE
null
Hi, I am trying to upload a `t5-3b` based model to HuggingFace. The folder to upload has 11G. When I am uploading, it will gives `'Connection aborted.', BrokenPipeError(32, 'Broken pipe')`. Does it because the model is too large and there is a limitation? How could I deal with that? Thank you for your help!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7398/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7397/comments
https://api.github.com/repos/huggingface/transformers/issues/7397/events
https://github.com/huggingface/transformers/issues/7397
709,106,701
MDU6SXNzdWU3MDkxMDY3MDE=
7,397
Add DistilBERTGeneration comparable to BertGeneration
{ "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...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
open
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 @jsilter - yes we could definitely add a `DistilForCausalLM` model. I think instead of doing something similar to `BertGeneration` it would be easier to just add a `DistilBertForCausalLM` to `modeling_distilbert.py` similar to `BertLMHeadModel` or `RobertaForCausalLM`. This could actually be an interesting `Go...
1,601
1,610
null
NONE
null
# 🚀 Feature request I noticed the new `BertGeneration` class, which uses BERT-style models as both encoder and decoder, as well as the more general `EncoderDecoder` class. This is all great stuff! It would also be great to be able to use distilled models. I believe this is possible for the encoder, but for the deco...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7397/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/7396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7396/comments
https://api.github.com/repos/huggingface/transformers/issues/7396/events
https://github.com/huggingface/transformers/issues/7396
709,104,275
MDU6SXNzdWU3MDkxMDQyNzU=
7,396
(GPT2) Running out of GPU memory(24G) on WSL2 but not on native linux.
{ "login": "Sheraf1", "id": 9618331, "node_id": "MDQ6VXNlcjk2MTgzMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/9618331?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sheraf1", "html_url": "https://github.com/Sheraf1", "followers_url": "https://api.github.com/users/Sheraf1/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I can train the bert-base-multilingual-cased model and its taking almost all my memory (21109MiB / 24576MiB) on WSL2 meanwhile only taking about 8G on native linux..\r\n\r\n", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occur...
1,601
1,607
1,607
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: WSL2 Debian - Python version: 3.7 - PyTorch version (GPU?): 1.3.1 - Tensorflow version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7396/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7395/comments
https://api.github.com/repos/huggingface/transformers/issues/7395/events
https://github.com/huggingface/transformers/pull/7395
709,040,581
MDExOlB1bGxSZXF1ZXN0NDkzMTYwNTUy
7,395
[RAG] Remove dependency on `examples/seq2seq` from rag
{ "login": "ola13", "id": 1528523, "node_id": "MDQ6VXNlcjE1Mjg1MjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1528523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ola13", "html_url": "https://github.com/ola13", "followers_url": "https://api.github.com/users/ola13/follower...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7395?src=pr&el=h1) Report\n> Merging [#7395](https://codecov.io/gh/huggingface/transformers/pull/7395?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cf1c88e0921243e760d306e63a5938e1bac880f3?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
We were importing some functionality from `examples/seq2seq`, however, it seems more HugginFace-like and less error-prone to just copy-paste. Tested by launching evaluation and training runs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7395/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/7395/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7395", "html_url": "https://github.com/huggingface/transformers/pull/7395", "diff_url": "https://github.com/huggingface/transformers/pull/7395.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7395.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7394/comments
https://api.github.com/repos/huggingface/transformers/issues/7394/events
https://github.com/huggingface/transformers/pull/7394
709,038,970
MDExOlB1bGxSZXF1ZXN0NDkzMTU5MjA5
7,394
Speedup check_copies script
{ "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
[]
[ "Whoah! That's blazing fast! Thanks, @sgugger!\r\n\r\nI think that's why `flake8` is slow - it runs black in some slow mode (`black` itself is very fast)\r\n\r\nYou can always add a flag that activates that disabled function, so it's there if needed.", "This is no longer needed: `--line-length 119 --target-versio...
1,601
1,601
1,601
COLLABORATOR
null
Checking the copies by using black was slowing down the script quite a lot, so removing this check makes the script way faster. Removing `blackify` use could make the script less robust though, so leaving the function for now even if we don't use it anymore. If a situation arises where we see the script fail, I can cod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7394/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/7394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7394", "html_url": "https://github.com/huggingface/transformers/pull/7394", "diff_url": "https://github.com/huggingface/transformers/pull/7394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7394.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7393/comments
https://api.github.com/repos/huggingface/transformers/issues/7393/events
https://github.com/huggingface/transformers/issues/7393
709,029,525
MDU6SXNzdWU3MDkwMjk1MjU=
7,393
[trainer] Training from scratch
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "@sshleifer Definitely possible, except we'll need to use `AutoModelForSeq2SeqLM` 😉\r\nWe can also pass a different `config` if we don't want to use `pretrained config` using `config_name` argument.\r\n\r\nHappy to open a PR if it's needed :). Let me know", "@sgugger is this possible with existing `Trainer? It ...
1,601
1,601
1,601
CONTRIBUTOR
null
@patil-suraj is this possible in the new `Seq2SeqTrainer`? Possible solution sketch: Where we call: ``` AutoSeq2SeqModelWithLMHead.from_pretrained(model_name) ``` Switch to ``` if args.from_scratch: model = AutoSeq2SeqModelWithLMHead(config) else: model = AutoSeq2SeqModelWithLMHead.from_pretrained(mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7393/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7392/comments
https://api.github.com/repos/huggingface/transformers/issues/7392/events
https://github.com/huggingface/transformers/pull/7392
709,026,977
MDExOlB1bGxSZXF1ZXN0NDkzMTQ5MjA1
7,392
Pull request template
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
MEMBER
null
The goal of this PR is to complete the existing pull request template with some additional information, some useful comments for the contributor, as well as the helpful tagging suggestions that already exist in the issue template. co-authored-by: sgugger <sylvain.gugger@gmail.com>
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7392/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7392", "html_url": "https://github.com/huggingface/transformers/pull/7392", "diff_url": "https://github.com/huggingface/transformers/pull/7392.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7392.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7391/comments
https://api.github.com/repos/huggingface/transformers/issues/7391/events
https://github.com/huggingface/transformers/pull/7391
708,981,146
MDExOlB1bGxSZXF1ZXN0NDkzMTEwOTE3
7,391
Remove unhelpful bart warning
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7391?src=pr&el=h1) Report\n> Merging [#7391](https://codecov.io/gh/huggingface/transformers/pull/7391?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cf1c88e0921243e760d306e63a5938e1bac880f3?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
This gets hit at the first step of generate. My bad. The CI Failures are spurious.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7391/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7391", "html_url": "https://github.com/huggingface/transformers/pull/7391", "diff_url": "https://github.com/huggingface/transformers/pull/7391.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7391.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7390/comments
https://api.github.com/repos/huggingface/transformers/issues/7390/events
https://github.com/huggingface/transformers/pull/7390
708,955,432
MDExOlB1bGxSZXF1ZXN0NDkzMDg4OTky
7,390
Fix BartModel output documentation
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7390?src=pr&el=h1) Report\n> Merging [#7390](https://codecov.io/gh/huggingface/transformers/pull/7390?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/571c7a11c17bd00ba3e79f4d853cc51428a14e45?el=desc) will **decrease...
1,601
1,601
1,601
COLLABORATOR
null
As mentioned in #7380, the output documented for `BartModel` was wrong. This PR should fix this.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7390/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7390", "html_url": "https://github.com/huggingface/transformers/pull/7390", "diff_url": "https://github.com/huggingface/transformers/pull/7390.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7390.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7389/comments
https://api.github.com/repos/huggingface/transformers/issues/7389/events
https://github.com/huggingface/transformers/issues/7389
708,925,892
MDU6SXNzdWU3MDg5MjU4OTI=
7,389
Custom preprocessing of text
{ "login": "datistiquo", "id": 47474379, "node_id": "MDQ6VXNlcjQ3NDc0Mzc5", "avatar_url": "https://avatars.githubusercontent.com/u/47474379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/datistiquo", "html_url": "https://github.com/datistiquo", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "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", "It shouldn't be necessary as it performs byte pair encoding (BPE) when a word isn't in it's vocabulary. For example \"Gallbladder palpa...
1,601
1,666
1,607
NONE
null
I feel like this a silly question. But I just thought in using BERT, wait, before working with fasttext for example I had to do preprocessing like word stemming/lemmatization and stopwords. How is the advise for using BERT models? Does it makes problems if I do stemming or lemmatization before feeding to BERT tokeni...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7389/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/7389/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7388/comments
https://api.github.com/repos/huggingface/transformers/issues/7388/events
https://github.com/huggingface/transformers/pull/7388
708,925,675
MDExOlB1bGxSZXF1ZXN0NDkzMDYzMzc0
7,388
Update LayoutLM doc
{ "login": "av-maslov", "id": 71869629, "node_id": "MDQ6VXNlcjcxODY5NjI5", "avatar_url": "https://avatars.githubusercontent.com/u/71869629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/av-maslov", "html_url": "https://github.com/av-maslov", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7388?src=pr&el=h1) Report\n> Merging [#7388](https://codecov.io/gh/huggingface/transformers/pull/7388?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9e68d075a4100906509170498480823e7e61874a?el=desc) will **decrease...
1,601
1,601
1,601
CONTRIBUTOR
null
Minor update to model_doc/layoutlm.rs # 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 con...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7388/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7388", "html_url": "https://github.com/huggingface/transformers/pull/7388", "diff_url": "https://github.com/huggingface/transformers/pull/7388.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7388.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7387/comments
https://api.github.com/repos/huggingface/transformers/issues/7387/events
https://github.com/huggingface/transformers/pull/7387
708,837,432
MDExOlB1bGxSZXF1ZXN0NDkyOTg4OTA2
7,387
Fix tokenization in SQuAD for RoBERTa, Longformer, BART
{ "login": "tholor", "id": 1563902, "node_id": "MDQ6VXNlcjE1NjM5MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/1563902?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tholor", "html_url": "https://github.com/tholor", "followers_url": "https://api.github.com/users/tholor/foll...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7387?src=pr&el=h1) Report\n> Merging [#7387](https://codecov.io/gh/huggingface/transformers/pull/7387?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2dd652d757132d97e43173fb048849685ecccb68?el=desc) will **increase...
1,601
1,601
1,601
CONTRIBUTOR
null
Originating from this discussion: https://github.com/huggingface/transformers/pull/4615#issuecomment-697725357 **Issue:** Tokenization of context in `squad_convert_example_to_features()` for RoBERTA-like tokenizers is not preserving whitespace, because we call the tokenizer on previously splitted, individual words...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7387/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/7387/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7387", "html_url": "https://github.com/huggingface/transformers/pull/7387", "diff_url": "https://github.com/huggingface/transformers/pull/7387.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7387.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7386/comments
https://api.github.com/repos/huggingface/transformers/issues/7386/events
https://github.com/huggingface/transformers/pull/7386
708,788,678
MDExOlB1bGxSZXF1ZXN0NDkyOTQ4NTY0
7,386
[Rag] Fix wrong usage of `num_beams` and `bos_token_id` in Rag Sequence generation
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7386?src=pr&el=h1) Report\n> Merging [#7386](https://codecov.io/gh/huggingface/transformers/pull/7386?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8d3bb781ee2643ad1076f4cbcc6f417245671e94?el=desc) will **increase...
1,601
1,601
1,601
MEMBER
null
Small changes => big impact. Hopefully e2e results are better now @ola13
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7386/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7386/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7386", "html_url": "https://github.com/huggingface/transformers/pull/7386", "diff_url": "https://github.com/huggingface/transformers/pull/7386.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7386.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7385/comments
https://api.github.com/repos/huggingface/transformers/issues/7385/events
https://github.com/huggingface/transformers/pull/7385
708,785,764
MDExOlB1bGxSZXF1ZXN0NDkyOTQ2MTQ2
7,385
[s2s, examples] minor doc changes
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7385?src=pr&el=h1) Report\n> Merging [#7385](https://codecov.io/gh/huggingface/transformers/pull/7385?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7cdd9da5bf28c53c214e22d082dd62032f9b00fc?el=desc) will **decrease...
1,601
1,601
1,601
MEMBER
null
Updates `The Big Table of Tasks`, and note about `fp16` with torch 1.6 for `Seq2SeqTrainer`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7385/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/7385/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7385", "html_url": "https://github.com/huggingface/transformers/pull/7385", "diff_url": "https://github.com/huggingface/transformers/pull/7385.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7385.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7384/comments
https://api.github.com/repos/huggingface/transformers/issues/7384/events
https://github.com/huggingface/transformers/pull/7384
708,755,071
MDExOlB1bGxSZXF1ZXN0NDkyOTIxODg4
7,384
Flos fix
{ "login": "marrrcin", "id": 6958772, "node_id": "MDQ6VXNlcjY5NTg3NzI=", "avatar_url": "https://avatars.githubusercontent.com/u/6958772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marrrcin", "html_url": "https://github.com/marrrcin", "followers_url": "https://api.github.com/users/marrr...
[]
closed
false
null
[]
[ "Please merge at will, as this fix is blocking us (https://github.com/huggingface/transformers/issues/7146#issuecomment-698852274). " ]
1,601
1,601
1,601
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7146 This basically unwraps the model that is used during training and can be either plain `Module` or `DataParallel`/`DistributedDataParallel`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7384/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7384", "html_url": "https://github.com/huggingface/transformers/pull/7384", "diff_url": "https://github.com/huggingface/transformers/pull/7384.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7384.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7383/comments
https://api.github.com/repos/huggingface/transformers/issues/7383/events
https://github.com/huggingface/transformers/issues/7383
708,752,159
MDU6SXNzdWU3MDg3NTIxNTk=
7,383
Missing keys when loading weights in TF are not useful
{ "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": 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
[]
[ "Fixed in #7422 ", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,601
1,607
1,607
MEMBER
null
## This concerns all TF models If one loads weights of a tensorflow model these lines are run: https://github.com/huggingface/transformers/blob/9e68d075a4100906509170498480823e7e61874a/src/transformers/modeling_tf_utils.py#L627 to check which layers are in the model weights file and which layer names of the model...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7382/comments
https://api.github.com/repos/huggingface/transformers/issues/7382/events
https://github.com/huggingface/transformers/pull/7382
708,714,086
MDExOlB1bGxSZXF1ZXN0NDkyODkwOTY1
7,382
[RAG] Add missing doc and attention_mask to rag
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,601
1,601
1,601
MEMBER
null
Adds docs to the newly added `attention_mask` (hope Sylvain is not gonna be too mad that I forgot!) and corrects evaluation for RAG fine-tuning.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7382/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7382/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7382", "html_url": "https://github.com/huggingface/transformers/pull/7382", "diff_url": "https://github.com/huggingface/transformers/pull/7382.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7382.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7381/comments
https://api.github.com/repos/huggingface/transformers/issues/7381/events
https://github.com/huggingface/transformers/pull/7381
708,571,113
MDExOlB1bGxSZXF1ZXN0NDkyNzc5NjYy
7,381
modeling_bart: 3 small cleanups that dont change outputs
{ "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": 2139563322, "node_id": "MDU6TGFiZWwyMTM5NTYzMzIy", "url": "https://api.github.com/repos/huggingface/transformers/labels/cleanup", "name": "cleanup", "color": "e7fc49", "default": false, "description": "" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7381?src=pr&el=h1) Report\n> Merging [#7381](https://codecov.io/gh/huggingface/transformers/pull/7381?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0ccb6f5c6da9e703766e8053581fddfc6dcc71a9?el=desc) will **decrease...
1,600
1,601
1,601
CONTRIBUTOR
null
+ Fixes #6259 + allows a better diff if the mbart integration test breaks + raises a Warning in the classic "use cache when call forward" mixup (test_benchmark triggers this warning).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7381/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7381", "html_url": "https://github.com/huggingface/transformers/pull/7381", "diff_url": "https://github.com/huggingface/transformers/pull/7381.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7381.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7380/comments
https://api.github.com/repos/huggingface/transformers/issues/7380/events
https://github.com/huggingface/transformers/issues/7380
708,519,608
MDU6SXNzdWU3MDg1MTk2MDg=
7,380
Incorrect output fields names in docs
{ "login": "visheratin", "id": 3251552, "node_id": "MDQ6VXNlcjMyNTE1NTI=", "avatar_url": "https://avatars.githubusercontent.com/u/3251552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/visheratin", "html_url": "https://github.com/visheratin", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "Actually, the root of the problem might be related to the fact that the documentation states that the forward pass returns `BaseModelOutputWithPast` but in fact in returns `Seq2SeqModelOutput` ([source code](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bart.py#L947-L955)).", ...
1,600
1,601
1,601
NONE
null
## Environment info - `transformers` version: 3.2.0 - Platform: Linux-5.4.0-7642-generic-x86_64-with-glibc2.29 - Python version: 3.8.2 - 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?: no ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7379/comments
https://api.github.com/repos/huggingface/transformers/issues/7379/events
https://github.com/huggingface/transformers/issues/7379
708,508,033
MDU6SXNzdWU3MDg1MDgwMzM=
7,379
Movement Pruning for GPT2
{ "login": "snaik2016", "id": 18183245, "node_id": "MDQ6VXNlcjE4MTgzMjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/18183245?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snaik2016", "html_url": "https://github.com/snaik2016", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,607
1,607
NONE
null
# ❓ Questions & Help Is it possible to make the movement pruning work for GPT2 model? Principally it should work as it is, did anyone try it and can we have it in examples? Thanks <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7379/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7379/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7378/comments
https://api.github.com/repos/huggingface/transformers/issues/7378/events
https://github.com/huggingface/transformers/issues/7378
708,492,726
MDU6SXNzdWU3MDg0OTI3MjY=
7,378
how to customize the position encoding
{ "login": "FTD007", "id": 14077015, "node_id": "MDQ6VXNlcjE0MDc3MDE1", "avatar_url": "https://avatars.githubusercontent.com/u/14077015?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FTD007", "html_url": "https://github.com/FTD007", "followers_url": "https://api.github.com/users/FTD007/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,607
1,607
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7378/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7377/comments
https://api.github.com/repos/huggingface/transformers/issues/7377/events
https://github.com/huggingface/transformers/pull/7377
708,477,273
MDExOlB1bGxSZXF1ZXN0NDkyNzAxNzQ3
7,377
Document RAG again
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7377?src=pr&el=h1) Report\n> Merging [#7377](https://codecov.io/gh/huggingface/transformers/pull/7377?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eadd870b2f503047dd81b8dcd9d115dc1b4a9196?el=desc) will **increase...
1,600
1,601
1,601
COLLABORATOR
null
Do not merge before Monday
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7377/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/7377/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7377", "html_url": "https://github.com/huggingface/transformers/pull/7377", "diff_url": "https://github.com/huggingface/transformers/pull/7377.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7377.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7376/comments
https://api.github.com/repos/huggingface/transformers/issues/7376/events
https://github.com/huggingface/transformers/pull/7376
708,466,440
MDExOlB1bGxSZXF1ZXN0NDkyNjkyNjk0
7,376
Remove mentions of RAG from the docs
{ "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,600
1,600
1,600
COLLABORATOR
null
You haven't seen anything. Those are not the droids you are looking for.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7376/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 3, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7376/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7376", "html_url": "https://github.com/huggingface/transformers/pull/7376", "diff_url": "https://github.com/huggingface/transformers/pull/7376.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7376.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7375/comments
https://api.github.com/repos/huggingface/transformers/issues/7375/events
https://github.com/huggingface/transformers/issues/7375
708,462,148
MDU6SXNzdWU3MDg0NjIxNDg=
7,375
CUDA out of memory error for Bert Model
{ "login": "Backpackerice", "id": 7083541, "node_id": "MDQ6VXNlcjcwODM1NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/7083541?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Backpackerice", "html_url": "https://github.com/Backpackerice", "followers_url": "https://api.github....
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "I agree, I had a stable training pipeline for training on TPU and suddenly it broke because it ran out of memory when using the newer versions of Huggingface. I am using the Trainer class. For me the crash happens either during the first evaluation step or right after it.", "Also because the Trainer is such a cr...
1,600
1,610
1,610
NONE
null
Hi there, I am building a BERT binary classification on SageMaker using Pytorch. Previously when I ran the model, I set the Batch size to 16 and the model were able to run successfully. However, yesterday after I stopped SageMaker and restarted the this morning, I can't run the model with Batch size as 16 any more. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7375/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/7375/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7374/comments
https://api.github.com/repos/huggingface/transformers/issues/7374/events
https://github.com/huggingface/transformers/pull/7374
708,425,036
MDExOlB1bGxSZXF1ZXN0NDkyNjU4ODM4
7,374
Fix FP16 and attention masks in FunnelTransformer
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7374?src=pr&el=h1) Report\n> Merging [#7374](https://codecov.io/gh/huggingface/transformers/pull/7374?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0ccb6f5c6da9e703766e8053581fddfc6dcc71a9?el=desc) will **decrease...
1,600
1,601
1,601
COLLABORATOR
null
This `.float()` should have been removed, it was necessary before I converted the attention masks to floating types at the beginning of the forward of the Encoder, but it's now useless (and bad for mixed precision as shown in #7371). Also, the attentions masks were used the wrong way (0 for non-masked tokens, 1 for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7374", "html_url": "https://github.com/huggingface/transformers/pull/7374", "diff_url": "https://github.com/huggingface/transformers/pull/7374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7374.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7373/comments
https://api.github.com/repos/huggingface/transformers/issues/7373/events
https://github.com/huggingface/transformers/pull/7373
708,367,260
MDExOlB1bGxSZXF1ZXN0NDkyNjEwMzY1
7,373
[RAG] Add `attention_mask` to RAG generate
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7373?src=pr&el=h1) Report\n> Merging [#7373](https://codecov.io/gh/huggingface/transformers/pull/7373?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8d3bb781ee2643ad1076f4cbcc6f417245671e94?el=desc) will **increase...
1,600
1,600
1,600
MEMBER
null
Previously the attention mask was not passed to the generate function so that the encoder_outputs were possibly working if the batch has different sizes of input ids. @ola13 Also fixed in eval script
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7373/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/7373/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7373", "html_url": "https://github.com/huggingface/transformers/pull/7373", "diff_url": "https://github.com/huggingface/transformers/pull/7373.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7373.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7372/comments
https://api.github.com/repos/huggingface/transformers/issues/7372/events
https://github.com/huggingface/transformers/pull/7372
708,305,591
MDExOlB1bGxSZXF1ZXN0NDkyNTU4NTg4
7,372
[RAG] Fix retrieval offset in RAG's HfIndex and better integration tests
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7372?src=pr&el=h1) Report\n> Merging [#7372](https://codecov.io/gh/huggingface/transformers/pull/7372?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/571c7a11c17bd00ba3e79f4d853cc51428a14e45?el=desc) will **decrease...
1,600
1,601
1,601
MEMBER
null
Address @yjernite 's comment in https://github.com/huggingface/transformers/pull/7129#discussion_r488904472 Indeed the retriever was returning the indexes offset by one. Cc @ola13
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7372/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7372", "html_url": "https://github.com/huggingface/transformers/pull/7372", "diff_url": "https://github.com/huggingface/transformers/pull/7372.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7372.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7371/comments
https://api.github.com/repos/huggingface/transformers/issues/7371/events
https://github.com/huggingface/transformers/issues/7371
708,305,304
MDU6SXNzdWU3MDgzMDUzMDQ=
7,371
FunnelTransformerForSequenceClassification crashes when fine tuning with mixed precision flag
{ "login": "iAlex97", "id": 12383594, "node_id": "MDQ6VXNlcjEyMzgzNTk0", "avatar_url": "https://avatars.githubusercontent.com/u/12383594?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iAlex97", "html_url": "https://github.com/iAlex97", "followers_url": "https://api.github.com/users/iAlex9...
[]
closed
false
null
[]
[ "Thanks for flagging!\r\nI think I have found the cause for this. Model runs fine on my end in half precision when it's applied.", "Thanks for the quick fix, but unfortunately I checked out that branch (and installed from source) and I still get the issue at this line: https://github.com/huggingface/transformers/...
1,600
1,601
1,601
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.2.0 - Platform: Linux-4.15.0-45-generic-x86_64-with-debian-buster-sid - Python version: Python 3.7.7 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7371/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7370/comments
https://api.github.com/repos/huggingface/transformers/issues/7370/events
https://github.com/huggingface/transformers/issues/7370
708,279,452
MDU6SXNzdWU3MDgyNzk0NTI=
7,370
Add new PET Model
{ "login": "sagarreddypatil", "id": 16482184, "node_id": "MDQ6VXNlcjE2NDgyMTg0", "avatar_url": "https://avatars.githubusercontent.com/u/16482184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sagarreddypatil", "html_url": "https://github.com/sagarreddypatil", "followers_url": "https://api...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg...
open
false
null
[]
[ "The readme in the repo still says this:\r\n\r\n> :rotating_light: This repository does not yet contain the modifications to PET introduced in \"[It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners](https://arxiv.org/abs/2009.07118)\" but will be updated soon.", "Looks like the autho...
1,600
1,615
null
NONE
null
# 🌟 New model addition ## Model description A new article just landed on ArXiv: https://arxiv.org/pdf/2009.07118.pdf An implementation will eventually be available at https://github.com/timoschick/pet Authors are @timoschick and Hinrich Schutze. I didn't see any pre-trained models linked on the GitHub REA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7370/reactions", "total_count": 7, "+1": 7, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7370/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/7369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7369/comments
https://api.github.com/repos/huggingface/transformers/issues/7369/events
https://github.com/huggingface/transformers/issues/7369
708,267,832
MDU6SXNzdWU3MDgyNjc4MzI=
7,369
The absence of source/target language parameters when using MBart in Summarization example
{ "login": "shiningliang", "id": 11460366, "node_id": "MDQ6VXNlcjExNDYwMzY2", "avatar_url": "https://avatars.githubusercontent.com/u/11460366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shiningliang", "html_url": "https://github.com/shiningliang", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "add \r\n```\r\n self.dataset_kwargs[\"src_lang\"] = hparams.src_lang\r\n self.dataset_kwargs[\"tgt_lang\"] = hparams.tgt_lang\r\n```\r\nhere https://github.com/huggingface/transformers/blob/master/examples/seq2seq/finetune.py#L70" ]
1,600
1,600
1,600
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.2.0 - Platform: Ubuntu 16.04 - Python version: 3.7 - PyTorch version (GPU?): 1.6.0+cu101 - Tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7369/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7368/comments
https://api.github.com/repos/huggingface/transformers/issues/7368/events
https://github.com/huggingface/transformers/pull/7368
708,222,744
MDExOlB1bGxSZXF1ZXN0NDkyNDg5NjYy
7,368
Formatter
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7368?src=pr&el=h1) Report\n> Merging [#7368](https://codecov.io/gh/huggingface/transformers/pull/7368?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0cffa424f855cbbd657c4f1b57f94a51b7aa8d6d?el=desc) will **decrease...
1,600
1,600
1,600
MEMBER
null
Add two new methods to the logging utility to automatically set the format like it is done in the `examples/` folder.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7368/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7368", "html_url": "https://github.com/huggingface/transformers/pull/7368", "diff_url": "https://github.com/huggingface/transformers/pull/7368.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7368.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7367/comments
https://api.github.com/repos/huggingface/transformers/issues/7367/events
https://github.com/huggingface/transformers/issues/7367
708,215,158
MDU6SXNzdWU3MDgyMTUxNTg=
7,367
Finetuning Pegasus for summarization task
{ "login": "banunitte", "id": 6847024, "node_id": "MDQ6VXNlcjY4NDcwMjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6847024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/banunitte", "html_url": "https://github.com/banunitte", "followers_url": "https://api.github.com/users/ba...
[]
closed
false
null
[]
[ "notebook link :\r\nhttps://colab.research.google.com/drive/1c7G1WXE6mgl2rwA-VR7q8DAqmbVqB62m?usp=sharing#scrollTo=VRzl54I-5isw ", "![isuue](https://user-images.githubusercontent.com/6847024/94158117-a0d83300-fe9f-11ea-84b4-feec3b3b0b6d.png)\r\n", "Facing the same issue. A reply on this will be highly appreciat...
1,600
1,619
1,619
NONE
null
i have been trying to fine tune Pegasus for summarization task, it worked fine without getting any error. but when i tried to generate the summary i was getting only empty list as a output. i am not able to figure it out, is anything wrong with my fine tuning script? ```py def label_smoothed_nll_loss(lprobs, targ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7367/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7366/comments
https://api.github.com/repos/huggingface/transformers/issues/7366/events
https://github.com/huggingface/transformers/issues/7366
708,190,388
MDU6SXNzdWU3MDgxOTAzODg=
7,366
test_rag_sequence_generate_batch failing on CUDA
{ "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": 2373468354, "node_id": "MDU6TGFiZWwyMzczNDY4MzU0", "url": "https://api.github.com/repos/huggingface/transformers/labels/rag", "name": "rag", "color": "e58e85", "default": false, "description": "" } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Yeah, If you run on CPU the test passes - I added a comment that the test fails on GPU: https://github.com/huggingface/transformers/blob/9e68d075a4100906509170498480823e7e61874a/tests/test_modeling_rag.py#L659\r\n\r\nBeam search seems very sensible to small changes.", "you mean sensitive, but OK. Maybe we should...
1,600
1,601
1,601
CONTRIBUTOR
null
https://github.com/huggingface/transformers/runs/1157849932?check_suite_focus=true ``` > self.assertEqual(output_text_1, EXPECTED_OUTPUT_TEXT_1) E AssertionError: 'The song peaked at number 17 in the' != '"I Know Him So Well"' ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7366/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7365/comments
https://api.github.com/repos/huggingface/transformers/issues/7365/events
https://github.com/huggingface/transformers/pull/7365
708,186,057
MDExOlB1bGxSZXF1ZXN0NDkyNDU5MjUy
7,365
Fixing case in which `Trainer` hung while saving model in distributed training
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7365?src=pr&el=h1) Report\n> Merging [#7365](https://codecov.io/gh/huggingface/transformers/pull/7365?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/28cf873036d078b47fb9dd38ac3421a7c874da44?el=desc) will **increase...
1,600
1,601
1,600
CONTRIBUTOR
null
As found thanks to the great @mfuntowicz , the call to `store_flos` in `Trainer` can hang indefinitely, as it was only executed in the main thread and in some cases the other threads were already past this point. This PR moves this call in order to avoid this behaviour.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7365/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7365/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7365", "html_url": "https://github.com/huggingface/transformers/pull/7365", "diff_url": "https://github.com/huggingface/transformers/pull/7365.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7365.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7364/comments
https://api.github.com/repos/huggingface/transformers/issues/7364/events
https://github.com/huggingface/transformers/issues/7364
708,115,983
MDU6SXNzdWU3MDgxMTU5ODM=
7,364
Getting "TypeError: forward() got multiple values for argument 'attention_mask'" when replacing pytorch_transformers with transformers
{ "login": "wailoktam", "id": 12331528, "node_id": "MDQ6VXNlcjEyMzMxNTI4", "avatar_url": "https://avatars.githubusercontent.com/u/12331528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wailoktam", "html_url": "https://github.com/wailoktam", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1897896961, "node_id": "MDU6TGFiZWwxODk3ODk2OTYx", ...
closed
false
null
[]
[ "Hi, I believe this is the cause of your issue: https://huggingface.co/transformers/migration.html#positional-order-of-some-models-keywords-inputs-attention-mask-token-type-ids-changed", "Thanks. I agree. Can you suggest where I should fix in the codes given in the error log?", "I can't really see where's your ...
1,600
1,608
1,608
NONE
null
# 📚 Migration ## Information <!-- Important information --> Model I am using (Bert): Language I am using the model on (Japanese): The problem arises when using: * [ ] the official example scripts: (give details below) * [* ] my own modified scripts: (give details below) The tasks I am working on is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7364/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/7364/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7363/comments
https://api.github.com/repos/huggingface/transformers/issues/7363/events
https://github.com/huggingface/transformers/pull/7363
708,067,314
MDExOlB1bGxSZXF1ZXN0NDkyMzU5NTE5
7,363
Check config type using `type` instead of `isinstance`
{ "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
[]
[ "In that case we can even remove the for loops entirely, no?", "I agree with @julien-c, we can directly check if `type(config)` is in the dict.", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7363?src=pr&el=h1) Report\n> Merging [#7363](https://codecov.io/gh/huggingface/transformers/pull/7363...
1,600
1,601
1,601
MEMBER
null
This seems like the textbook case where using `type` should be preferred over using `isinstance`. Thanks to @hjptriplebee for showing the way in https://github.com/huggingface/transformers/pull/6870, this PR does the same for all remaining cases.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7363/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7363", "html_url": "https://github.com/huggingface/transformers/pull/7363", "diff_url": "https://github.com/huggingface/transformers/pull/7363.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7363.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7362/comments
https://api.github.com/repos/huggingface/transformers/issues/7362/events
https://github.com/huggingface/transformers/issues/7362
708,058,196
MDU6SXNzdWU3MDgwNTgxOTY=
7,362
Difference between tokenize chinese char
{ "login": "wlhgtc", "id": 16603773, "node_id": "MDQ6VXNlcjE2NjAzNzcz", "avatar_url": "https://avatars.githubusercontent.com/u/16603773?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wlhgtc", "html_url": "https://github.com/wlhgtc", "followers_url": "https://api.github.com/users/wlhgtc/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,607
1,607
CONTRIBUTOR
null
The function `BertTokenizer` has a parameter `tokenize_chinese_chars` and default True. When I set it to false, I got different result as follows: ``` 1. tokenize chinese char: ['任', '务'] 2. not tokenize chinese char: ['任', '##务'] ``` The code is as follows(and 任务 means task in English): ``` vocab_file = ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7361/comments
https://api.github.com/repos/huggingface/transformers/issues/7361/events
https://github.com/huggingface/transformers/issues/7361
708,051,001
MDU6SXNzdWU3MDgwNTEwMDE=
7,361
ImportError: cannot import name 'AutoModelForTokenClassification'
{ "login": "ganeshkharad2", "id": 20132026, "node_id": "MDQ6VXNlcjIwMTMyMDI2", "avatar_url": "https://avatars.githubusercontent.com/u/20132026?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ganeshkharad2", "html_url": "https://github.com/ganeshkharad2", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi, what is your transformers version? Can you run `transformers-cli env` and paste the result here?", "Here is the output for transformers-cli env\n\n2020-09-24 16:56:51.133770: W\ntensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not\nload dynamic library 'libcudart.so.10.1'; dlerror: libcud...
1,600
1,662
1,600
CONTRIBUTOR
null
# was trying to use below model but got import error for AutoModelForTokenClassification from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-large-discriminator-finetuned-conll03-english") model = AutoModelForTokenClassification.fro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7361/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7360/comments
https://api.github.com/repos/huggingface/transformers/issues/7360/events
https://github.com/huggingface/transformers/issues/7360
707,952,755
MDU6SXNzdWU3MDc5NTI3NTU=
7,360
How to add some parameters in T5 (in T5Block layer) and initialize the original T5 parameters with pre-trained model and the new introduced parameters randomly?
{ "login": "SuHe36", "id": 22442305, "node_id": "MDQ6VXNlcjIyNDQyMzA1", "avatar_url": "https://avatars.githubusercontent.com/u/22442305?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuHe36", "html_url": "https://github.com/SuHe36", "followers_url": "https://api.github.com/users/SuHe36/fo...
[]
closed
false
null
[]
[ "Hi! The simplest way to do this would be simply to update the `modeling_t5.py` file. You should first clone the repo and install that version in your virtual environment:\r\n\r\n```bash\r\ngit clone https://github.com/huggingface/transformers\r\ncd transformers\r\npip install -e \".[dev]\"\r\n```\r\n\r\nRight now ...
1,600
1,632
1,600
NONE
null
Hi, I want to add a new layer in T5Block, However, I want to initialize all original parameters with pre-trained T5 and the newly added ones randomly. Can someone guide me how that's possible or point me to the right direction? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7360/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7359/comments
https://api.github.com/repos/huggingface/transformers/issues/7359/events
https://github.com/huggingface/transformers/pull/7359
707,911,464
MDExOlB1bGxSZXF1ZXN0NDkyMjMwODYy
7,359
Update modeling_tf_longformer.py
{ "login": "Line290", "id": 26078517, "node_id": "MDQ6VXNlcjI2MDc4NTE3", "avatar_url": "https://avatars.githubusercontent.com/u/26078517?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Line290", "html_url": "https://github.com/Line290", "followers_url": "https://api.github.com/users/Line29...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7359?src=pr&el=h1) Report\n> Merging [#7359](https://codecov.io/gh/huggingface/transformers/pull/7359?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/38f17037957d325b5540a8031f065e6f23c9e265?el=desc) will **increase...
1,600
1,600
1,600
CONTRIBUTOR
null
correct a very small mistake <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7359/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7359", "html_url": "https://github.com/huggingface/transformers/pull/7359", "diff_url": "https://github.com/huggingface/transformers/pull/7359.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7359.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7358/comments
https://api.github.com/repos/huggingface/transformers/issues/7358/events
https://github.com/huggingface/transformers/issues/7358
707,850,089
MDU6SXNzdWU3MDc4NTAwODk=
7,358
Example for T5 model from doc is not working.
{ "login": "jayendra13", "id": 651057, "node_id": "MDQ6VXNlcjY1MTA1Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jayendra13", "html_url": "https://github.com/jayendra13", "followers_url": "https://api.github.com/users/j...
[]
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...
[ "Hi, you're using the wrong model. `labels` cannot work with the `TFT5Model` as that's just the base model. You're probably looking for `TFT5ForConditionalGeneration`, which is the T5 base model with a language modeling head:\r\n\r\n```py\r\nimport tensorflow as tf\r\nfrom transformers import TFT5ForConditionalGene...
1,600
1,601
1,601
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: 2.3.0 - Platform: Linux - Python version: 3.6 - PyTorch version (GPU?): No - Tensorflow version (GPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7358/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7357/comments
https://api.github.com/repos/huggingface/transformers/issues/7357/events
https://github.com/huggingface/transformers/issues/7357
707,827,308
MDU6SXNzdWU3MDc4MjczMDg=
7,357
how can i convert bert pytorch to tf2 ?
{ "login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "f...
[]
closed
false
null
[]
[ "You can save it and reload it:\r\n\r\n```py\r\npytorch_model.save_pretrained(\"here\")\r\ntf_model = TFBertModel.from_pretrained(\"here\")\r\n```", "> You can save it and reload it:\r\n> \r\n> ```python\r\n> pytorch_model.save_pretrained(\"here\")\r\n> tf_model = TFBertModel.from_pretrained(\"here\")\r\n> ```\r\...
1,600
1,601
1,600
NONE
null
how can i convert bert pytorch to tf2 ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7357/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7356/comments
https://api.github.com/repos/huggingface/transformers/issues/7356/events
https://github.com/huggingface/transformers/pull/7356
707,804,696
MDExOlB1bGxSZXF1ZXN0NDkyMTQzODI3
7,356
Fix eval to compute rouge correctly for rouge_score
{ "login": "swethmandava", "id": 17828952, "node_id": "MDQ6VXNlcjE3ODI4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/swethmandava", "html_url": "https://github.com/swethmandava", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi, for the code quality test to pass you should run `make style` (to apply the style changes) and check with `make quality` (to make sure there is none left) at the root of your `transformers` directory.", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7356?src=pr&el=h1) Report\n> Merging [#73...
1,600
1,601
1,601
CONTRIBUTOR
null
Fixes #6808
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7356/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7356", "html_url": "https://github.com/huggingface/transformers/pull/7356", "diff_url": "https://github.com/huggingface/transformers/pull/7356.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7356.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7355/comments
https://api.github.com/repos/huggingface/transformers/issues/7355/events
https://github.com/huggingface/transformers/pull/7355
707,757,483
MDExOlB1bGxSZXF1ZXN0NDkyMTA2MjI4
7,355
Add token_type_ids to prepare_inputs_for_generation for gpt/gpt2
{ "login": "bhedayat", "id": 13006899, "node_id": "MDQ6VXNlcjEzMDA2ODk5", "avatar_url": "https://avatars.githubusercontent.com/u/13006899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhedayat", "html_url": "https://github.com/bhedayat", "followers_url": "https://api.github.com/users/bhe...
[]
closed
false
null
[]
[ "Maybe related to https://github.com/huggingface/transformers/pull/6601 and https://github.com/huggingface/transformers/pull/7552", "Yes seems to be related to both. https://github.com/huggingface/transformers/pull/7355 doesn't seem to have token_type_ids passed in though, but if those PRs get merged in I'll clos...
1,600
1,619
1,619
NONE
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7355/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7355", "html_url": "https://github.com/huggingface/transformers/pull/7355", "diff_url": "https://github.com/huggingface/transformers/pull/7355.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7355.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7354/comments
https://api.github.com/repos/huggingface/transformers/issues/7354/events
https://github.com/huggingface/transformers/issues/7354
707,725,658
MDU6SXNzdWU3MDc3MjU2NTg=
7,354
Faster Pegasus tokenizer tests
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" }, { "id": 1834...
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...
[ "Any interest @stas00 ?", "Yes, please, you can assign this to me, but most likely will be able to start on it in a few weeks when I have free time.", "We can start this, but if we do we should wait for @thomwolf 's fast tokenizer PR to merge before we merge the fix.", "This is unblocked, thom merged!" ]
1,600
1,602
1,602
CONTRIBUTOR
null
Current test_tokenization_pegasus.py takes more than a minute to run because it uses a full size tokenizer [here](https://github.com/huggingface/transformers/blob/master/tests/test_tokenization_pegasus.py#L19) It should use "fixtures/test_sentencepiece.model" like `tests/test_tokenization_t5.py`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7354/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7353/comments
https://api.github.com/repos/huggingface/transformers/issues/7353/events
https://github.com/huggingface/transformers/pull/7353
707,693,361
MDExOlB1bGxSZXF1ZXN0NDkyMDUyMTQ4
7,353
enable add_tokens for mbart tokenizer
{ "login": "znculee", "id": 15342165, "node_id": "MDQ6VXNlcjE1MzQyMTY1", "avatar_url": "https://avatars.githubusercontent.com/u/15342165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/znculee", "html_url": "https://github.com/znculee", "followers_url": "https://api.github.com/users/zncule...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,607
1,607
NONE
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7222
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7353", "html_url": "https://github.com/huggingface/transformers/pull/7353", "diff_url": "https://github.com/huggingface/transformers/pull/7353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7353.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7352/comments
https://api.github.com/repos/huggingface/transformers/issues/7352/events
https://github.com/huggingface/transformers/pull/7352
707,680,277
MDExOlB1bGxSZXF1ZXN0NDkyMDQxMDI2
7,352
Make PyTorch model files independent from each other
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7352?src=pr&el=h1) Report\n> Merging [#7352](https://codecov.io/gh/huggingface/transformers/pull/7352?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/129fdae04033fe4adfe013b734deaec6ec34ae2e?el=desc) will **increase...
1,600
1,600
1,600
COLLABORATOR
null
As discussed after the survey and expressed in the project README, our goal is to have independent model files even if it means some code is duplicated. This PR fixes this for all PyTorch models except: - the full subclasses (CamemBERT, FlauBERT, XLM-RoBERTa), - the BART-like models (BART, mBART, marian, Pegasus) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7352/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7352", "html_url": "https://github.com/huggingface/transformers/pull/7352", "diff_url": "https://github.com/huggingface/transformers/pull/7352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7352.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7351/comments
https://api.github.com/repos/huggingface/transformers/issues/7351/events
https://github.com/huggingface/transformers/issues/7351
707,644,479
MDU6SXNzdWU3MDc2NDQ0Nzk=
7,351
generic text classification with TensorFlow error (AttributeError: 'TFTrainingArguments' object has no attribute 'args')
{ "login": "c-col", "id": 12224330, "node_id": "MDQ6VXNlcjEyMjI0MzMw", "avatar_url": "https://avatars.githubusercontent.com/u/12224330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/c-col", "html_url": "https://github.com/c-col", "followers_url": "https://api.github.com/users/c-col/follow...
[]
closed
false
null
[]
[ "Hello!\n\nThis is fixed in master.", " @jplu Sorry, but I'm facing the same issue, and have version 3.2 installed. Can you please elaborate on how I might fix this? Thanks.", "@sunnyville01 Just install the version on master with `pip install git+https://github.com/huggingface/transformers.git`", "@jplu Than...
1,600
1,601
1,600
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.2.0 - Platform: Linux-4.15.0-1091-oem-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7351/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7350/comments
https://api.github.com/repos/huggingface/transformers/issues/7350/events
https://github.com/huggingface/transformers/pull/7350
707,643,936
MDExOlB1bGxSZXF1ZXN0NDkyMDEwNjgz
7,350
Expand a bit the documentation doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7350?src=pr&el=h1) Report\n> Merging [#7350](https://codecov.io/gh/huggingface/transformers/pull/7350?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/129fdae04033fe4adfe013b734deaec6ec34ae2e?el=desc) will **increase...
1,600
1,600
1,600
COLLABORATOR
null
Add a few more instructions for people who do read the doc :-)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7350/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7350", "html_url": "https://github.com/huggingface/transformers/pull/7350", "diff_url": "https://github.com/huggingface/transformers/pull/7350.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7350.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7349/comments
https://api.github.com/repos/huggingface/transformers/issues/7349/events
https://github.com/huggingface/transformers/pull/7349
707,627,738
MDExOlB1bGxSZXF1ZXN0NDkxOTk3MjE3
7,349
Create README.md
{ "login": "abedkhooli", "id": 11407254, "node_id": "MDQ6VXNlcjExNDA3MjU0", "avatar_url": "https://avatars.githubusercontent.com/u/11407254?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abedkhooli", "html_url": "https://github.com/abedkhooli", "followers_url": "https://api.github.com/use...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[]
1,600
1,601
1,601
CONTRIBUTOR
null
Model card for akhooli/personachat-arabic
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7349", "html_url": "https://github.com/huggingface/transformers/pull/7349", "diff_url": "https://github.com/huggingface/transformers/pull/7349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7349.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7348/comments
https://api.github.com/repos/huggingface/transformers/issues/7348/events
https://github.com/huggingface/transformers/pull/7348
707,612,995
MDExOlB1bGxSZXF1ZXN0NDkxOTg0ODM2
7,348
Clean RAG docs and template docs
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7348?src=pr&el=h1) Report\n> Merging [#7348](https://codecov.io/gh/huggingface/transformers/pull/7348?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/129fdae04033fe4adfe013b734deaec6ec34ae2e?el=desc) will **decrease...
1,600
1,600
1,600
COLLABORATOR
null
Followup from #7345, this cleans up the documentation for RAG (since it was merged while I was working) and update the templates to the new docstrings.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7348", "html_url": "https://github.com/huggingface/transformers/pull/7348", "diff_url": "https://github.com/huggingface/transformers/pull/7348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7348.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7347/comments
https://api.github.com/repos/huggingface/transformers/issues/7347/events
https://github.com/huggingface/transformers/issues/7347
707,558,740
MDU6SXNzdWU3MDc1NTg3NDA=
7,347
[s2s] can distributed eval intiate model download on each rank
{ "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...
[ "No it can't `from_pretrained` uses `FileLock`" ]
1,600
1,602
1,602
CONTRIBUTOR
null
+ `from_pretrained` uses a FileLock to avoid this, but I wonder if there is a race condition. + Verify, then fix. Fix non-trivial because have to block other processes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7347/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7346/comments
https://api.github.com/repos/huggingface/transformers/issues/7346/events
https://github.com/huggingface/transformers/issues/7346
707,553,010
MDU6SXNzdWU3MDc1NTMwMTA=
7,346
Difference between bart-large and bart-large-cnn vocabulary
{ "login": "swethmandava", "id": 17828952, "node_id": "MDQ6VXNlcjE3ODI4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/swethmandava", "html_url": "https://github.com/swethmandava", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The reason is the mask token, see https://github.com/huggingface/transformers/issues/3108.\r\nYou could try to use the resize_token_embeddings method, but even easier would be to pass the config changes you want to init\r\n```python\r\nBartForConditionalGeneration.from_pretrained('bart-large', num_beams=4, min_len...
1,600
1,603
1,603
CONTRIBUTOR
null
Trying to finetune from pretrained bart checkpoint as follows: ``` config = BartConfig(**json.load(open(args.config_path, "r"))) #pointing to bart-large-cnn/config.json model = BartForConditionalGeneration.from_pretrained('facebook/bart-large', config=config) #use pretrained bart model's weights tokenizer = BartT...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7346/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7345/comments
https://api.github.com/repos/huggingface/transformers/issues/7345/events
https://github.com/huggingface/transformers/pull/7345
707,513,036
MDExOlB1bGxSZXF1ZXN0NDkxOTAxODAx
7,345
Models doc
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7345?src=pr&el=h1) Report\n> Merging [#7345](https://codecov.io/gh/huggingface/transformers/pull/7345?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/28cf873036d078b47fb9dd38ac3421a7c874da44?el=desc) will **increase...
1,600
1,600
1,600
COLLABORATOR
null
Do not review this PR unless you're masochistic or @LysandreJik. This PR does a big clean-up of all models/tokenizers/config docstrings.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7345/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7345", "html_url": "https://github.com/huggingface/transformers/pull/7345", "diff_url": "https://github.com/huggingface/transformers/pull/7345.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7345.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7344/comments
https://api.github.com/repos/huggingface/transformers/issues/7344/events
https://github.com/huggingface/transformers/pull/7344
707,510,707
MDExOlB1bGxSZXF1ZXN0NDkxODk5ODQ2
7,344
Remove reference to args in XLA check
{ "login": "ZeroCool2u", "id": 3961523, "node_id": "MDQ6VXNlcjM5NjE1MjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3961523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZeroCool2u", "html_url": "https://github.com/ZeroCool2u", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7344?src=pr&el=h1) Report\n> Merging [#7344](https://codecov.io/gh/huggingface/transformers/pull/7344?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/28cf873036d078b47fb9dd38ac3421a7c874da44?el=desc) will **increase...
1,600
1,600
1,600
CONTRIBUTOR
null
Previously, the TFTrainingArguments object did a check to see if XLA was enabled, but did this by referencing `self.args.xla`, when it should be `self.xla`, because it is the args object. This can be verified a few lines above, where the XLA field is set. <!-- This line specifies which issue to close after the pull ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7344/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7344", "html_url": "https://github.com/huggingface/transformers/pull/7344", "diff_url": "https://github.com/huggingface/transformers/pull/7344.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7344.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7343/comments
https://api.github.com/repos/huggingface/transformers/issues/7343/events
https://github.com/huggingface/transformers/issues/7343
707,510,167
MDU6SXNzdWU3MDc1MTAxNjc=
7,343
AttributeError: 'TFTrainingArguments' object has no attribute 'args'
{ "login": "ZeroCool2u", "id": 3961523, "node_id": "MDQ6VXNlcjM5NjE1MjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3961523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZeroCool2u", "html_url": "https://github.com/ZeroCool2u", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,600
1,600
1,600
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.2.0 - 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/7343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7342/comments
https://api.github.com/repos/huggingface/transformers/issues/7342/events
https://github.com/huggingface/transformers/issues/7342
707,481,867
MDU6SXNzdWU3MDc0ODE4Njc=
7,342
CentOS Error installing Transformers
{ "login": "KimYar", "id": 26006890, "node_id": "MDQ6VXNlcjI2MDA2ODkw", "avatar_url": "https://avatars.githubusercontent.com/u/26006890?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KimYar", "html_url": "https://github.com/KimYar", "followers_url": "https://api.github.com/users/KimYar/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
[]
[ "The error message indicated that you need to first install Rust compiler (https://www.rust-lang.org/tools/install).", "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,600
1,607
1,607
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: CentOS - Python version: 3.6.3 - PyTorch version (GPU?):1.6.0 - Tensorflow version (GPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7341/comments
https://api.github.com/repos/huggingface/transformers/issues/7341/events
https://github.com/huggingface/transformers/issues/7341
707,420,180
MDU6SXNzdWU3MDc0MjAxODA=
7,341
data_collator.py - line 326, in mask tokens - xlnet finetuning error
{ "login": "GenTxt", "id": 22547261, "node_id": "MDQ6VXNlcjIyNTQ3MjYx", "avatar_url": "https://avatars.githubusercontent.com/u/22547261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GenTxt", "html_url": "https://github.com/GenTxt", "followers_url": "https://api.github.com/users/GenTxt/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
[]
[ "@sgugger might be interested in this issue as well.", "I have the same issue. \r\nDoes anybody know any \"workarounds\" to bypass this issue? ", "@GenTxt did you find any workaround for this error ?", "No, unfortuantely. Was hoping others more familiar with the problem would\noffer solutions.\n\nOn Wed, Oct ...
1,600
1,694
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: version: 3.2.0 - Platform: Linux-4.15.0-118-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7340/comments
https://api.github.com/repos/huggingface/transformers/issues/7340/events
https://github.com/huggingface/transformers/pull/7340
707,403,903
MDExOlB1bGxSZXF1ZXN0NDkxODEyNjQz
7,340
Fixed evaluation_strategy on epoch end bug
{ "login": "WissamAntoun", "id": 44616226, "node_id": "MDQ6VXNlcjQ0NjE2MjI2", "avatar_url": "https://avatars.githubusercontent.com/u/44616226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WissamAntoun", "html_url": "https://github.com/WissamAntoun", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7340?src=pr&el=h1) Report\n> Merging [#7340](https://codecov.io/gh/huggingface/transformers/pull/7340?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/28cf873036d078b47fb9dd38ac3421a7c874da44?el=desc) will **increase...
1,600
1,600
1,600
CONTRIBUTOR
null
moved the evaluation script outside the iteration loop <!-- This line specifies which issue to close after the pull request is merged. --> Fixes #7339
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7340/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7340", "html_url": "https://github.com/huggingface/transformers/pull/7340", "diff_url": "https://github.com/huggingface/transformers/pull/7340.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7340.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7339/comments
https://api.github.com/repos/huggingface/transformers/issues/7339/events
https://github.com/huggingface/transformers/issues/7339
707,368,925
MDU6SXNzdWU3MDczNjg5MjU=
7,339
Trainer Evaluates at each step (Not of epoch end) , indentation bug
{ "login": "WissamAntoun", "id": 44616226, "node_id": "MDQ6VXNlcjQ0NjE2MjI2", "avatar_url": "https://avatars.githubusercontent.com/u/44616226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WissamAntoun", "html_url": "https://github.com/WissamAntoun", "followers_url": "https://api.github.c...
[]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[]
1,600
1,600
1,600
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.2.0 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.6.0+cu101 (True) - Tensorflow version (GPU?): 2.3.0 (True) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: NA ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7339/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7338/comments
https://api.github.com/repos/huggingface/transformers/issues/7338/events
https://github.com/huggingface/transformers/issues/7338
707,331,604
MDU6SXNzdWU3MDczMzE2MDQ=
7,338
BufferedWriter takes most of the time
{ "login": "entron", "id": 3742499, "node_id": "MDQ6VXNlcjM3NDI0OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3742499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/entron", "html_url": "https://github.com/entron", "followers_url": "https://api.github.com/users/entron/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
[]
[ "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,600
1,607
1,607
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 3.1.0 - Platform: macOS-10.14.6-x86_64-i386-64bit - Python version: 3.8.5 - PyTorch version (GPU?): 1.6...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7338/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7337/comments
https://api.github.com/repos/huggingface/transformers/issues/7337/events
https://github.com/huggingface/transformers/issues/7337
707,213,756
MDU6SXNzdWU3MDcyMTM3NTY=
7,337
Trainer.py module 'datasets' has no attribute 'Dataset'
{ "login": "FrancoisMentec", "id": 22057576, "node_id": "MDQ6VXNlcjIyMDU3NTc2", "avatar_url": "https://avatars.githubusercontent.com/u/22057576?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancoisMentec", "html_url": "https://github.com/FrancoisMentec", "followers_url": "https://api.gi...
[]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "I'm not sure which `datasets` module is installed in your env, but the Hugging Face `datasets` definitely has a `Dataset` attribute. And no, this part is not using PyTorch `Dataset`.", "Apparently, the `datasets` module wasn't even installed on my environment. But installing it just replaced the error by another...
1,600
1,688
1,600
NONE
null
I'm trying to use a Trainer, but I get this error: ``` c:\users\francois\appdata\local\programs\python\python37\lib\site-packages\transformers\trainer.py in __init__(self, model, args, data_collator, train_dataset, eval_dataset, tokenizer, model_init, compute_metrics, tb_writer, optimizers, **kwargs) 287 2...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7337/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7336/comments
https://api.github.com/repos/huggingface/transformers/issues/7336/events
https://github.com/huggingface/transformers/issues/7336
707,150,342
MDU6SXNzdWU3MDcxNTAzNDI=
7,336
Error when fine-tune RoBERTa on NSP using Trainer
{ "login": "adamwawrzynski", "id": 19324675, "node_id": "MDQ6VXNlcjE5MzI0Njc1", "avatar_url": "https://avatars.githubusercontent.com/u/19324675?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adamwawrzynski", "html_url": "https://github.com/adamwawrzynski", "followers_url": "https://api.gi...
[ { "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 @adamwawrzynski,\r\n\r\nCould you create a google-colab where we can reproduce the error? It is quite difficult to reproduce your error since it seems to be very specific to your usecase.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no furt...
1,600
1,643
1,607
NONE
null
## Environment info - `transformers` version: 3.1.0 - Platform: Linux-5.4.0-45-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.5.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: IDK. - Using distributed or parallel set-up in script?: IDK. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7336/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7335/comments
https://api.github.com/repos/huggingface/transformers/issues/7335/events
https://github.com/huggingface/transformers/issues/7335
706,974,441
MDU6SXNzdWU3MDY5NzQ0NDE=
7,335
is there a tokenizer only used whitespace for spliting chinese sentence?
{ "login": "lw00245", "id": 24726347, "node_id": "MDQ6VXNlcjI0NzI2MzQ3", "avatar_url": "https://avatars.githubusercontent.com/u/24726347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lw00245", "html_url": "https://github.com/lw00245", "followers_url": "https://api.github.com/users/lw0024...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,606
1,606
NONE
null
i want to use bert masked language model to pre train for chinese sentence, i have alweady splited chinese sentence into meaninful word, the data file like follows: 我 是 一个 队员 他 不是 一个 合格 的 老师 ...... i only want to use whitespace split them, but BertWordPieceTokenizer will split them to character level , t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7335/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/7335/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7334/comments
https://api.github.com/repos/huggingface/transformers/issues/7334/events
https://github.com/huggingface/transformers/pull/7334
706,824,218
MDExOlB1bGxSZXF1ZXN0NDkxMzA5NDk1
7,334
[testing] skip decorators: docs, tests, bugs
{ "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
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7334?src=pr&el=h1) Report\n> Merging [#7334](https://codecov.io/gh/huggingface/transformers/pull/7334?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/25b0463d0ba3fcbcf7fff8aa4027a2d8e959364b?el=desc) will **decrease...
1,600
1,600
1,600
CONTRIBUTOR
null
This PR: * fixes a bug in `require_torch_and_cuda` * makes all skip decorators consistent code-wise * adds a test for testing combinations of skip decorators and other decorators * clarifies `testing.rst` notes OK, so other than a small bug in `require_torch_and_cuda` our skip decorators can be used in any or...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7334/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7334", "html_url": "https://github.com/huggingface/transformers/pull/7334", "diff_url": "https://github.com/huggingface/transformers/pull/7334.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7334.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7333/comments
https://api.github.com/repos/huggingface/transformers/issues/7333/events
https://github.com/huggingface/transformers/issues/7333
706,764,619
MDU6SXNzdWU3MDY3NjQ2MTk=
7,333
Cannot import transformers with TF version 2.1.0
{ "login": "amogkam", "id": 8068268, "node_id": "MDQ6VXNlcjgwNjgyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/8068268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amogkam", "html_url": "https://github.com/amogkam", "followers_url": "https://api.github.com/users/amogkam/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834054694, "node_id": "MDU6TGFiZWwxODM0MDU0Njk0", ...
closed
false
{ "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", ...
[ { "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...
[ "Hello !\r\n\r\nIndeed, the requirements have to be updated.", "Has the problem been solved? I met the same issue when loading the transformers.", "Hello, you have to have TF 2.3 at min. This will be fixed in the next release.", "This breaks at least a couple of the tutorial notebooks. Even with TF 2.3.0 I ge...
1,600
1,619
1,619
COLLABORATOR
null
The installation README says that transformers library requires Tensorflow version >2.0, but I can't seem to import the latest transformers 3.2 release even with Tensorflow v2.1. ``` >>> import transformers wandb: WARNING W&B installed but not logged in. Run `wandb login` or set the WANDB_API_KEY env variable. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7333/reactions", "total_count": 16, "+1": 16, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7333/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7332/comments
https://api.github.com/repos/huggingface/transformers/issues/7332/events
https://github.com/huggingface/transformers/issues/7332
706,742,316
MDU6SXNzdWU3MDY3NDIzMTY=
7,332
data_collator error: AttributeError: 'dict' object has no attribute 'size'
{ "login": "gungor2", "id": 22436319, "node_id": "MDQ6VXNlcjIyNDM2MzE5", "avatar_url": "https://avatars.githubusercontent.com/u/22436319?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gungor2", "html_url": "https://github.com/gungor2", "followers_url": "https://api.github.com/users/gungor...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "It looks like you're not using the latest version of transformers (from the stack trace). This bug as been fixed, so you shouldn't have the problems with transformers 3.1.1.\r\nIn general, when reporting a bug/asking a question, make sure you include your version of transformers so we can help more efficiently. Yo...
1,600
1,610
1,610
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/7332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7332/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7331/comments
https://api.github.com/repos/huggingface/transformers/issues/7331/events
https://github.com/huggingface/transformers/pull/7331
706,727,360
MDExOlB1bGxSZXF1ZXN0NDkxMjIzNDIw
7,331
[s2s] only save metrics.json from rank zero
{ "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,600
1,600
1,600
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #{issue number}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7331/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7331", "html_url": "https://github.com/huggingface/transformers/pull/7331", "diff_url": "https://github.com/huggingface/transformers/pull/7331.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7331.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7330/comments
https://api.github.com/repos/huggingface/transformers/issues/7330/events
https://github.com/huggingface/transformers/pull/7330
706,721,191
MDExOlB1bGxSZXF1ZXN0NDkxMjE4NDQz
7,330
Ensure that integrations are imported before transformers or ml libs
{ "login": "dsblank", "id": 168568, "node_id": "MDQ6VXNlcjE2ODU2OA==", "avatar_url": "https://avatars.githubusercontent.com/u/168568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dsblank", "html_url": "https://github.com/dsblank", "followers_url": "https://api.github.com/users/dsblank/fo...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/7330?src=pr&el=h1) Report\n> Merging [#7330](https://codecov.io/gh/huggingface/transformers/pull/7330?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f5518e56318a79056ba3c80cbece29d9fe98558c?el=desc) will **decrease...
1,600
1,600
1,600
CONTRIBUTOR
null
This PR fixes a problem with some 3rd-party integrations that need to be imported before any transformers or other machine learning framework Python modules. This PR makes the following changes: 1. Moves `import .integrations` in `__init__.py` before any other transformers imports 2. Moves ML imports in .integra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7330/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7330", "html_url": "https://github.com/huggingface/transformers/pull/7330", "diff_url": "https://github.com/huggingface/transformers/pull/7330.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7330.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7329/comments
https://api.github.com/repos/huggingface/transformers/issues/7329/events
https://github.com/huggingface/transformers/issues/7329
706,700,603
MDU6SXNzdWU3MDY3MDA2MDM=
7,329
Problem loading a dynamic quantized distilbert model.
{ "login": "MarwenJ12", "id": 71731530, "node_id": "MDQ6VXNlcjcxNzMxNTMw", "avatar_url": "https://avatars.githubusercontent.com/u/71731530?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MarwenJ12", "html_url": "https://github.com/MarwenJ12", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "I got the same issue here, it would be great to know why", "You are trying to load into a not-quantized module (ModelForTokenClassification) some quantized weights (`quantized_model = torch.quantization.quantize_dynamic(model, {torch.nn.Linear}, dtype=torch.qint8)`)\r\nYou should make sure first that the instanc...
1,600
1,611
1,611
NONE
null
Hello and thanks for your awesome library, ## Environment info - `transformers` version: 3.0.2 - Platform: Linux-4.15.0-117-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.6.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/7329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7329/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7328/comments
https://api.github.com/repos/huggingface/transformers/issues/7328/events
https://github.com/huggingface/transformers/issues/7328
706,674,197
MDU6SXNzdWU3MDY2NzQxOTc=
7,328
Add PRADO model
{ "login": "ierezell", "id": 30974685, "node_id": "MDQ6VXNlcjMwOTc0Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ierezell", "html_url": "https://github.com/ierezell", "followers_url": "https://api.github.com/users/ier...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", ...
closed
false
null
[]
[ "Yeah, This is a good model to go with if the the text sequence is too long.", "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,600
1,609
1,609
CONTRIBUTOR
null
# 🌟 New model addition ## Model description PRADO is a model made by google, performing as bert with 100x less parameters [link to the paper](https://www.aclweb.org/anthology/D19-1506.pdf) [git to the model code](https://github.com/tensorflow/models/tree/master/research/sequence_projection) ## Open source s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7328/reactions", "total_count": 16, "+1": 16, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7328/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7327/comments
https://api.github.com/repos/huggingface/transformers/issues/7327/events
https://github.com/huggingface/transformers/issues/7327
706,586,081
MDU6SXNzdWU3MDY1ODYwODE=
7,327
PegasusTokenizer: Newline symbol
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1834056635, "node_id": "MDU6TGFiZWwxODM0MDU2NjM1", ...
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,600
1,606
1,606
CONTRIBUTOR
null
Ported models generate the `<n>` token at the beginning of sentences, whereas ours do not. The pegasus [original code](https://github.com/google-research/pegasus/blob/master/pegasus/ops/public_parsing_ops.py#L40) replaces `\n` newline symbol with `<n>`. `PegasusTokenizer` should probably do this. ```python _NEWLIN...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7327/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7326/comments
https://api.github.com/repos/huggingface/transformers/issues/7326/events
https://github.com/huggingface/transformers/pull/7326
706,547,623
MDExOlB1bGxSZXF1ZXN0NDkxMDc1MjAx
7,326
Check decorator order
{ "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
[]
[ "@sgugger, let me investigate this. @slow should be the same as any other skip decorators, so the order there shouldn't matter. They should be able to stack up. If they don't, it's probably a bug somewhere.\r\n\r\nIt's possible that some other decorators don't play well with our skip decorators, which would require...
1,600
1,600
1,600
COLLABORATOR
null
As @stas00 pointed out, the slow decorator is ignore if it's not put last. To make sure we don't make the mistake unintentionally and to fix the places where this si not the case, I wrote a script to check the decorators order and fail on `make quality` if there is a wrong order somewhere.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7326", "html_url": "https://github.com/huggingface/transformers/pull/7326", "diff_url": "https://github.com/huggingface/transformers/pull/7326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7326.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7325/comments
https://api.github.com/repos/huggingface/transformers/issues/7325/events
https://github.com/huggingface/transformers/pull/7325
706,520,492
MDExOlB1bGxSZXF1ZXN0NDkxMDUyODU0
7,325
Mark big downloads slow
{ "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,600
1,600
1,600
COLLABORATOR
null
This PR adds the slow decorator for models we don't want to download at each CI run.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7325/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7325", "html_url": "https://github.com/huggingface/transformers/pull/7325", "diff_url": "https://github.com/huggingface/transformers/pull/7325.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7325.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7324/comments
https://api.github.com/repos/huggingface/transformers/issues/7324/events
https://github.com/huggingface/transformers/issues/7324
706,514,554
MDU6SXNzdWU3MDY1MTQ1NTQ=
7,324
[s2s] Marian beam search slow for en-de
{ "login": "orendar", "id": 24236024, "node_id": "MDQ6VXNlcjI0MjM2MDI0", "avatar_url": "https://avatars.githubusercontent.com/u/24236024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orendar", "html_url": "https://github.com/orendar", "followers_url": "https://api.github.com/users/orenda...
[ { "id": 2009457320, "node_id": "MDU6TGFiZWwyMDA5NDU3MzIw", "url": "https://api.github.com/repos/huggingface/transformers/labels/translation", "name": "translation", "color": "b2d2f4", "default": false, "description": "machine translation utilities and models" }, { "id": 203904487...
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...
[ "Interesting, a few pointers:\r\n\r\n+ Beam search happens by default -- the fancy eval flags (`--eval_beams=2 --eval_max_gen_length=128 --num_val_sanity_steps=0`) make beam search faster.\r\n+ fp16 should work with or without apex.\r\n+ Shorter sequences make val faster.\r\n+ When the marian models are not well tr...
1,600
1,600
1,600
NONE
null
Hey @sshleifer (tagging because of translation) - I'm not sure whether I am misunderstanding something or this is an actual issue so apologies, but it seems like validation/eval is significantly slower than training and is a serious bottleneck when fine-tuning translation models. I am running on Colab with V100, and...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7324/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/7324/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7323/comments
https://api.github.com/repos/huggingface/transformers/issues/7323/events
https://github.com/huggingface/transformers/issues/7323
706,498,960
MDU6SXNzdWU3MDY0OTg5NjA=
7,323
T5 Cross-attention Decoder - Possible bug with relative_bias
{ "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
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[]
1,600
1,601
1,601
MEMBER
null
@patrickvonplaten - investigate whether this is a possible bug: https://github.com/google-research/text-to-text-transfer-transformer/issues/415
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7323/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7322/comments
https://api.github.com/repos/huggingface/transformers/issues/7322/events
https://github.com/huggingface/transformers/pull/7322
706,486,728
MDExOlB1bGxSZXF1ZXN0NDkxMDI0OTg1
7,322
Add num workers cli arg
{ "login": "chadykamar", "id": 8629969, "node_id": "MDQ6VXNlcjg2Mjk5Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/8629969?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chadykamar", "html_url": "https://github.com/chadykamar", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I've addressed the comments regarding the docstring and help message. \r\n\r\nI'm a little less familiar with TensorFlow 2.0, but it seems like any preprocessing is done by the user before passing `train_dataset` and `eval_dataset` to the `TFTrainer` so there isn't an opportunity to set `num_parallel_calls` (I was...
1,600
1,600
1,600
CONTRIBUTOR
null
<!-- This line specifies which issue to close after the pull request is merged. --> Fixes #6316
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7322/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7322/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7322", "html_url": "https://github.com/huggingface/transformers/pull/7322", "diff_url": "https://github.com/huggingface/transformers/pull/7322.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7322.patch", "merged_at": 1...