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/9930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9930/comments
https://api.github.com/repos/huggingface/transformers/issues/9930/events
https://github.com/huggingface/transformers/issues/9930
798,522,543
MDU6SXNzdWU3OTg1MjI1NDM=
9,930
Hyperparameter search w/ RayTune BrokenPipeError: [Errno 32] Broken pipe
{ "login": "marcoabrate", "id": 43387597, "node_id": "MDQ6VXNlcjQzMzg3NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/43387597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marcoabrate", "html_url": "https://github.com/marcoabrate", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @marcoabrate it looks like you're seeing the same error as here https://github.com/huggingface/transformers/issues/9146. This should be fixed on transformers master and the latest Ray nightly wheels. Can you try with those and see if that fixes this? You can install the latest Ray nightly wheels by following t...
1,612
1,612
1,612
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.1.1 - Platform: Google Colab - Python version: 3.6.9 - PyTorch version (GPU?): 1.7 - Using GPU in script?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9930/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9930/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9929/comments
https://api.github.com/repos/huggingface/transformers/issues/9929/events
https://github.com/huggingface/transformers/issues/9929
798,482,350
MDU6SXNzdWU3OTg0ODIzNTA=
9,929
Hyperparameter search w/ Optuna CUDA out of memory
{ "login": "marcoabrate", "id": 43387597, "node_id": "MDQ6VXNlcjQzMzg3NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/43387597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marcoabrate", "html_url": "https://github.com/marcoabrate", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I don't think optuna properly optimizes GPU memory. We don't have support from them so you may be better using ray-tune, where the maintainers happily reply to question on our GitHub in case of problems. ", "Thank you. I was using Optuna because with RayTune I get an error even before the first trial starts. I w...
1,612
1,612
1,612
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.1.1 - Platform: Google Colab and Ubuntu - Python version: 3.6.9 - PyTorch version (GPU?): 1.7 - Using GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9929/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9928/comments
https://api.github.com/repos/huggingface/transformers/issues/9928/events
https://github.com/huggingface/transformers/pull/9928
798,472,218
MDExOlB1bGxSZXF1ZXN0NTY1MjgzNjQ4
9,928
[Tokenizer Utils Base] Make pad function more flexible
{ "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,612
1,612
1,612
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9928/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9928/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9928", "html_url": "https://github.com/huggingface/transformers/pull/9928", "diff_url": "https://github.com/huggingface/transformers/pull/9928.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9928.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9927/comments
https://api.github.com/repos/huggingface/transformers/issues/9927/events
https://github.com/huggingface/transformers/issues/9927
798,321,716
MDU6SXNzdWU3OTgzMjE3MTY=
9,927
Missing None verification in the CLM language modeling example
{ "login": "Aunsiels", "id": 7902128, "node_id": "MDQ6VXNlcjc5MDIxMjg=", "avatar_url": "https://avatars.githubusercontent.com/u/7902128?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aunsiels", "html_url": "https://github.com/Aunsiels", "followers_url": "https://api.github.com/users/Aunsi...
[]
closed
false
null
[]
[ "HI @Aunsiels you are right, thanks! Feel free to open PR to fix it :)\r\n\r\nIf `train_file` is `None` it should use `validation_file` to get the extension" ]
1,612
1,612
1,612
NONE
null
Here: https://github.com/huggingface/transformers/blob/1682804ebd504d3381523116773583a52f35afd1/examples/language-modeling/run_clm.py#L230, data_args.train_file can be None (as it is checked some lines above). Therefore, there should be a check to see if it is the case or not.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9927/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9926/comments
https://api.github.com/repos/huggingface/transformers/issues/9926/events
https://github.com/huggingface/transformers/issues/9926
798,291,473
MDU6SXNzdWU3OTgyOTE0NzM=
9,926
Deploying a transformers pipeline into Google Cloud AI-Platform prediction
{ "login": "iElsha", "id": 38140638, "node_id": "MDQ6VXNlcjM4MTQwNjM4", "avatar_url": "https://avatars.githubusercontent.com/u/38140638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iElsha", "html_url": "https://github.com/iElsha", "followers_url": "https://api.github.com/users/iElsha/fo...
[]
closed
false
null
[]
[ "Hmmm I would say the issue here comes from `tqdm`. Do you know how come there is no distribution for `tqdm`? Managing to install it as a standalone would be a good first step imo.", "pinging @philschmid or @n1t0 who might know about Google's AI Platform (and other ways to deploy in the cloud)", "> Hmmm I would...
1,612
1,617
1,612
NONE
null
I am trying to deploy the model "distilbert-base-uncased-finetuned-sst-2-english" into Google Cloud AI-platform with a [customer prediction routine](https://cloud.google.com/ai-platform/prediction/docs/custom-prediction-routines). The code stays pretty simple but I encounter an issue when deploying the model. ```...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9926/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9925/comments
https://api.github.com/repos/huggingface/transformers/issues/9925/events
https://github.com/huggingface/transformers/issues/9925
798,290,297
MDU6SXNzdWU3OTgyOTAyOTc=
9,925
Implementing ELECTRIC training for ELECTRA
{ "login": "stephantul", "id": 8882233, "node_id": "MDQ6VXNlcjg4ODIyMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/8882233?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stephantul", "html_url": "https://github.com/stephantul", "followers_url": "https://api.github.com/users...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[]
1,612
1,615
null
CONTRIBUTOR
null
# 🚀 Feature request Google released Electric this summer at EMNLP (see: [here](https://www.aclweb.org/anthology/2020.emnlp-main.20.pdf)). Electric is like ELECTRA, but trained using a Noise Contrastive Estimation loss instead of a negative sampling loss. ## Motivation Electric is well-suited for modeling per...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9925/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/9925/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/9924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9924/comments
https://api.github.com/repos/huggingface/transformers/issues/9924/events
https://github.com/huggingface/transformers/pull/9924
798,247,951
MDExOlB1bGxSZXF1ZXN0NTY1MDk0NDQz
9,924
[docs] fix auto model docs
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,612
1,612
1,612
MEMBER
null
# What does this PR do? Small doc fixes for auto model classes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9924/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9924", "html_url": "https://github.com/huggingface/transformers/pull/9924", "diff_url": "https://github.com/huggingface/transformers/pull/9924.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9924.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9923/comments
https://api.github.com/repos/huggingface/transformers/issues/9923/events
https://github.com/huggingface/transformers/pull/9923
798,236,875
MDExOlB1bGxSZXF1ZXN0NTY1MDg1MTM0
9,923
Fix bart conversion script
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,612
1,612
1,612
MEMBER
null
# What does this PR do? Fix import and add the `make_linear_from_emb` function in the script.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9923/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9923", "html_url": "https://github.com/huggingface/transformers/pull/9923", "diff_url": "https://github.com/huggingface/transformers/pull/9923.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9923.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9922/comments
https://api.github.com/repos/huggingface/transformers/issues/9922/events
https://github.com/huggingface/transformers/pull/9922
798,233,021
MDExOlB1bGxSZXF1ZXN0NTY1MDgyMDQz
9,922
Tensorflow doc changes on loss output size
{ "login": "janjitse", "id": 16238701, "node_id": "MDQ6VXNlcjE2MjM4NzAx", "avatar_url": "https://avatars.githubusercontent.com/u/16238701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/janjitse", "html_url": "https://github.com/janjitse", "followers_url": "https://api.github.com/users/jan...
[]
closed
false
null
[]
[]
1,612
1,612
1,612
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9922/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9922", "html_url": "https://github.com/huggingface/transformers/pull/9922", "diff_url": "https://github.com/huggingface/transformers/pull/9922.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9922.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9921/comments
https://api.github.com/repos/huggingface/transformers/issues/9921/events
https://github.com/huggingface/transformers/pull/9921
798,134,937
MDExOlB1bGxSZXF1ZXN0NTY1MDAwNTEy
9,921
[Templates] Add template "call-for-model" markdown and "call-for-big-bird" markdown
{ "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,612
1,612
1,612
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9921/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9921/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9921", "html_url": "https://github.com/huggingface/transformers/pull/9921", "diff_url": "https://github.com/huggingface/transformers/pull/9921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9921.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9920/comments
https://api.github.com/repos/huggingface/transformers/issues/9920/events
https://github.com/huggingface/transformers/issues/9920
798,100,137
MDU6SXNzdWU3OTgxMDAxMzc=
9,920
Would you like to add convert the generator script by ConvBert
{ "login": "RyanHuangNLP", "id": 49582480, "node_id": "MDQ6VXNlcjQ5NTgyNDgw", "avatar_url": "https://avatars.githubusercontent.com/u/49582480?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RyanHuangNLP", "html_url": "https://github.com/RyanHuangNLP", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Pinging @abhishekkrthakur ", "@abhishekkrthakur I have try to convert a mlm convbert to transformers one, this is the convert code\r\n\r\n```\r\nimport torch\r\nimport os\r\n\r\nimport tensorflow as tf\r\n\r\nfrom transformers import ConvBertConfig, ConvBertForMaskedLM, ConvBertPreTrainedModel\r\nfrom transforme...
1,612
1,619
1,619
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> ## Motivation <!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9920/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9919/comments
https://api.github.com/repos/huggingface/transformers/issues/9919/events
https://github.com/huggingface/transformers/issues/9919
797,896,287
MDU6SXNzdWU3OTc4OTYyODc=
9,919
AttributeError: module 'torch.utils' has no attribute 'checkpoint' for fine tune LED
{ "login": "mmoya01", "id": 17535683, "node_id": "MDQ6VXNlcjE3NTM1Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/17535683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mmoya01", "html_url": "https://github.com/mmoya01", "followers_url": "https://api.github.com/users/mmoya0...
[]
closed
false
null
[]
[ "Hi @mmoya01 \r\n\r\nThis error happens if `torch.utils.checkpoint` is not imported. This is fixed on master now, see #9626", "@patil-suraj thank you, that work", "I still get the same error (when training DeBERTa-V3-base) on a colab GPU with Trainsformers==4.12\r\n\r\nI using\r\n`model.gradient_checkpointing_...
1,612
1,662
1,612
NONE
null
hello, I fine tuned my own LED model by following this [notebook](https://colab.research.google.com/drive/12LjJazBl7Gam0XBPy_y0CTOJZeZ34c2v?usp=sharing#scrollTo=tLM3niQqhEzP) and I saved it using ```python led.save_pretrained("longformer2Bart") tokenizer.save_pretrained("longformer2Bart") ``` however, whenev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9919/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9918/comments
https://api.github.com/repos/huggingface/transformers/issues/9918/events
https://github.com/huggingface/transformers/issues/9918
797,881,556
MDU6SXNzdWU3OTc4ODE1NTY=
9,918
[doc] transformers.PreTrainedTokenizer.encode() doesn't get resolved to its doc
{ "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
[]
[ "You're right, but changing the class won't help us as `PreTrainedTokenizerBase` is not documented either. A quick fix would be to just add the `encode` method to the doc in `PreTrainedTokenizer` so that the reference gets resolved.\r\n\r\n> Also it seems that all modules have this\r\n> What are input IDs? <../glos...
1,612
1,612
1,612
CONTRIBUTOR
null
There are a few > See: transformers.PreTrainedTokenizer.encode() in the docstrings, but they don't resolve to anything in the online docs, since the `encode` method is in `PreTrainedTokenizerBase` as it can be seen: https://huggingface.co/transformers/internal/tokenization_utils.html#transformers.tokenization_u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9918/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9917/comments
https://api.github.com/repos/huggingface/transformers/issues/9917/events
https://github.com/huggingface/transformers/pull/9917
797,824,342
MDExOlB1bGxSZXF1ZXN0NTY0NzM4NDY0
9,917
distilbert: fix creation of sinusoidal embeddings
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,612
1,612
1,612
COLLABORATOR
null
Hi, similar issue as reported by @stas00 with BART, see #8226. The creation of sinusoidal embeddings is currently not working on PyTorch 1.8+. It fails with: ```bash File "/mnt/europeana-bert/flair/flair/embeddings/token.py", line 820, in __init__ self.model = AutoModel.from_pretrained(model, config...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9917/reactions", "total_count": 4, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9917/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9917", "html_url": "https://github.com/huggingface/transformers/pull/9917", "diff_url": "https://github.com/huggingface/transformers/pull/9917.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9917.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9916/comments
https://api.github.com/repos/huggingface/transformers/issues/9916/events
https://github.com/huggingface/transformers/issues/9916
797,805,601
MDU6SXNzdWU3OTc4MDU2MDE=
9,916
RAG + DPR model performance issues
{ "login": "krishanudb", "id": 11831343, "node_id": "MDQ6VXNlcjExODMxMzQz", "avatar_url": "https://avatars.githubusercontent.com/u/11831343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krishanudb", "html_url": "https://github.com/krishanudb", "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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread." ]
1,612
1,614
1,614
NONE
null
Hi. I am trying to reproduce the results obtained in the Retriever Augmented Generation paper for Question Answering on the Natural Questions (NQ) Dataset (Exact Match accuracy 44%). However, I am not able to reproduce them. Can someone kindly let me know which DPR model, DPR dataset and RAG dataset was used to ob...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9916/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9915/comments
https://api.github.com/repos/huggingface/transformers/issues/9915/events
https://github.com/huggingface/transformers/issues/9915
797,728,536
MDU6SXNzdWU3OTc3Mjg1MzY=
9,915
prediction_step() is not using compute_loss()
{ "login": "hadifar", "id": 7101287, "node_id": "MDQ6VXNlcjcxMDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/7101287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadifar", "html_url": "https://github.com/hadifar", "followers_url": "https://api.github.com/users/hadifar/...
[ { "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
[]
[ "Mmmm probably. This is a bit tricky to make sure it doesn't break anything but makes more sense. I'll try to look at this on Monday.", "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to b...
1,612
1,614
1,614
NONE
null
Hi @sgugger , I think there is an issue with `prediction_step` in `trainer.py`. The problem arises when implementing a custom loss function that requires reshaping input labels. In `training_step`, for loss calculation, it calls `compute_loss()` which is totally fine but in the `prediction_step` it calculates loss with...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9915/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/9915/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9914/comments
https://api.github.com/repos/huggingface/transformers/issues/9914/events
https://github.com/huggingface/transformers/issues/9914
797,691,171
MDU6SXNzdWU3OTc2OTExNzE=
9,914
AttributeError: 'torch.Size' object has no attribute 'as_list'
{ "login": "hiteshsom", "id": 17461216, "node_id": "MDQ6VXNlcjE3NDYxMjE2", "avatar_url": "https://avatars.githubusercontent.com/u/17461216?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hiteshsom", "html_url": "https://github.com/hiteshsom", "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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread.", "I have the same question.", "Hello! You're using TensorFlow models (see the `TF` prefix)...
1,612
1,663
1,614
NONE
null
Hello, I ran the follownig official example script from [longformerforquestionanswering](https://huggingface.co/transformers/model_doc/longformer.html#longformerforquestionanswering) ``` # Tokenizer tokenizer = LongformerTokenizer.from_pretrained('allenai/longformer-large-4096-finetuned-triviaqa') # Model ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9914/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/9914/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9913/comments
https://api.github.com/repos/huggingface/transformers/issues/9913/events
https://github.com/huggingface/transformers/issues/9913
797,662,260
MDU6SXNzdWU3OTc2NjIyNjA=
9,913
Gradient accumulation and distributed parallelism will reduce the effect?
{ "login": "wulaoshi", "id": 27938964, "node_id": "MDQ6VXNlcjI3OTM4OTY0", "avatar_url": "https://avatars.githubusercontent.com/u/27938964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wulaoshi", "html_url": "https://github.com/wulaoshi", "followers_url": "https://api.github.com/users/wul...
[ { "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 following is part of the reference code after my deletion:\r\n\r\n```\r\ndef get_binary_data(args, macro, tokenizer, read_data=False):\r\n if macro.local_rank not in [-1, 0]:\r\n torch.distributed.barrier()\r\n\r\n train_file = [\"a.txt\", \"b.txt\", \"c.txt\"]\r\n valid_file = [\"a_valid.txt\"...
1,612
1,614
1,614
NONE
null
Reference the code: "transformers/examples/legacy/question-answering/run_squad.py" I found: 1. normal results without using distributed code, using only gradient accumulation. 2. using the distributed code with the parameter gradient_accumulation_steps=1, the effect is normal. 3. using the distributed code with the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9913/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9912/comments
https://api.github.com/repos/huggingface/transformers/issues/9912/events
https://github.com/huggingface/transformers/issues/9912
797,646,851
MDU6SXNzdWU3OTc2NDY4NTE=
9,912
How to add more fields in TrainingArguments
{ "login": "g-jing", "id": 44223191, "node_id": "MDQ6VXNlcjQ0MjIzMTkx", "avatar_url": "https://avatars.githubusercontent.com/u/44223191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/g-jing", "html_url": "https://github.com/g-jing", "followers_url": "https://api.github.com/users/g-jing/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
[]
[ "You could subclass the `TrainingArguments` class and add more fields to it. You could refer to `https://github.com/huggingface/transformers/blob/master/src/transformers/training_args_seq2seq.py` for an example https://github.com/huggingface/transformers/blob/master/src/transformers/training_args_seq2seq.py", "Th...
1,612
1,614
1,614
NONE
null
I am using ```from transformers import TrainingArguments```. However, there are more training arguments in my own project. How can I add more fields (parameters) in to the ```args```? Besides, if I have some other ```Arguments Class``` that is similar to ```TrainingArguments```, how to merge them into one ```args```?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9912/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9911/comments
https://api.github.com/repos/huggingface/transformers/issues/9911/events
https://github.com/huggingface/transformers/pull/9911
797,613,181
MDExOlB1bGxSZXF1ZXN0NTY0NTc4NzU1
9,911
[seq2seq] fix logger format for non-main process
{ "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
[]
[ "@LysandreJik knows better for the centralized logging system so I'll defer to him." ]
1,612
1,612
1,612
CONTRIBUTOR
null
Currently, in `finetune_trainer.py` non-main process doesn't have any formatting at all, so we end up with: ``` [WARNING|modeling_t5.py:1645] 2021-01-30 20:01:37,246 >> [p0] got MPU [WARNING|modeling_t5.py:1646] 2021-01-30 20:01:37,246 >> [p0] DP group [0] [p1] got MPU [p1] DP group [1] ``` as you can see th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9911/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9911", "html_url": "https://github.com/huggingface/transformers/pull/9911", "diff_url": "https://github.com/huggingface/transformers/pull/9911.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9911.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9910/comments
https://api.github.com/repos/huggingface/transformers/issues/9910/events
https://github.com/huggingface/transformers/pull/9910
797,562,700
MDExOlB1bGxSZXF1ZXN0NTY0NTM3OTA1
9,910
Doc title in the template
{ "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,612
1,612
1,612
COLLABORATOR
null
# What does this PR do? After reviewing a few PRs post-template, I'm noticing the doc pages are always misnamed -> they should use the cased name of the model, not the uppercase version.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9910/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9910/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9910", "html_url": "https://github.com/huggingface/transformers/pull/9910", "diff_url": "https://github.com/huggingface/transformers/pull/9910.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9910.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9909/comments
https://api.github.com/repos/huggingface/transformers/issues/9909/events
https://github.com/huggingface/transformers/issues/9909
797,553,548
MDU6SXNzdWU3OTc1NTM1NDg=
9,909
run_seq2seq.py : Why we pad labels with -100?
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) for questions like this. We keep issues for bugs or feature requests only." ]
1,612
1,612
1,612
CONTRIBUTOR
null
As mentioned in [this line](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/run_seq2seq.py#L437), why we add -100. Can't we just keep pad_token_id ?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9909/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9908/comments
https://api.github.com/repos/huggingface/transformers/issues/9908/events
https://github.com/huggingface/transformers/issues/9908
797,540,297
MDU6SXNzdWU3OTc1NDAyOTc=
9,908
[seq2seq] some logging for all processes in distributed mode
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "I'm definitely not an expert on logging so I'll leave it to @LysandreJik and @sgugger here. The idea of adding new `multi-process` logging functionality sounds very reasonable to me though!", "I would advocate for using the `logger.warning` in cases where you want to display something from all processes. While i...
1,612
1,618
null
CONTRIBUTOR
null
In 2D Parallelism, e.g. Pipeline + DeepSpeed I need to log unique device maps per process for the user to see, but currently `logger.info()` is only activated for the main process via `if is_main_process`. Currently only in `examples/seq2seq/run_seq2seq.py`, `examples/seq2seq/finetune_trainer.py`, but it'll be needed f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9908/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9908/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/9907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9907/comments
https://api.github.com/repos/huggingface/transformers/issues/9907/events
https://github.com/huggingface/transformers/pull/9907
797,517,412
MDExOlB1bGxSZXF1ZXN0NTY0NTAwODk1
9,907
Remove subclass for sortish sampler
{ "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,612
1,612
1,612
COLLABORATOR
null
# What does this PR do? When putting the sortish sampler in the main `Trainer`, I forgot to remove the overide in `Seq2SeqTrainer` which led to an issue (see #9900). This in turn makes the old `finetune_trainer` script fail because its datasets don't have the right entries (the texts are processed during the data co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9907/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9907/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9907", "html_url": "https://github.com/huggingface/transformers/pull/9907", "diff_url": "https://github.com/huggingface/transformers/pull/9907.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9907.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9906/comments
https://api.github.com/repos/huggingface/transformers/issues/9906/events
https://github.com/huggingface/transformers/issues/9906
797,443,618
MDU6SXNzdWU3OTc0NDM2MTg=
9,906
Error "Expected input batch_size (16) to match target batch_size (1440)" in the WNUT NER example
{ "login": "dr-manhattan", "id": 3458093, "node_id": "MDQ6VXNlcjM0NTgwOTM=", "avatar_url": "https://avatars.githubusercontent.com/u/3458093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dr-manhattan", "html_url": "https://github.com/dr-manhattan", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "I'm guessing you're running the trainer code block from the sequence classification example verbatim. You want `DistilBertForTokenClassification` not `DistilBertForSequenceClassification`, so comment out:\r\n\r\n> model = DistilBertForSequenceClassification.from_pretrained(\"distilbert-base-uncased\") ", "> I'm...
1,612
1,617
1,612
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch version (GPU?): 1.7.0+cu101 (False) - Tensorflow version (GPU?): 2.4.1 (False) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9906/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9905/comments
https://api.github.com/repos/huggingface/transformers/issues/9905/events
https://github.com/huggingface/transformers/issues/9905
797,432,640
MDU6SXNzdWU3OTc0MzI2NDA=
9,905
exe executable file
{ "login": "tang-ed", "id": 61105590, "node_id": "MDQ6VXNlcjYxMTA1NTkw", "avatar_url": "https://avatars.githubusercontent.com/u/61105590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tang-ed", "html_url": "https://github.com/tang-ed", "followers_url": "https://api.github.com/users/tang-e...
[ { "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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread." ]
1,612
1,614
1,614
NONE
null
I want to use pyinstaller to convert my test.py into an exe executable file, but unfortunately, I failed. I checked the reason, it may be that the transformer library did not successfully convert. Could it be that my method is wrong? The command I used is pyinstaller -D test.py, however, there are no transformers in th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9905/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9904/comments
https://api.github.com/repos/huggingface/transformers/issues/9904/events
https://github.com/huggingface/transformers/issues/9904
797,408,932
MDU6SXNzdWU3OTc0MDg5MzI=
9,904
Tokenizer return offsets
{ "login": "borsork377", "id": 70897626, "node_id": "MDQ6VXNlcjcwODk3NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/70897626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borsork377", "html_url": "https://github.com/borsork377", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "All fast tokenizers have this feature, just pass along `return_offsets_mapping=True` in your call to the tokenizer. Also note that fast tokenizers are used by default when `AutoTokenizer` is called.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this sti...
1,612
1,619
1,619
NONE
null
# 🚀 Feature request Request for the feature raised in [Issue #1263](https://github.com/huggingface/transformers/issues/1263). Previous PRs have attempted to address this but none of them were merged - https://github.com/huggingface/transformers/pull/1274 and https://github.com/huggingface/transformers/pull/2178....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9904/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9903/comments
https://api.github.com/repos/huggingface/transformers/issues/9903/events
https://github.com/huggingface/transformers/pull/9903
797,392,530
MDExOlB1bGxSZXF1ZXN0NTY0NDAyOTk3
9,903
Clarify definition of seed argument in TrainingArguments
{ "login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/fo...
[]
closed
false
null
[]
[ "> Thanks for flagging the doc was incorrect! You changes are not entirely correct either so I made some suggestions.\r\n\r\nThanks for fixing my tweaks - I like the changes so committed them 😃 ", "Sorry for missing that last suggestion of yours - should be ready to go now!", "Yes, thanks a lot!" ]
1,612
1,612
1,612
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9903/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9903", "html_url": "https://github.com/huggingface/transformers/pull/9903", "diff_url": "https://github.com/huggingface/transformers/pull/9903.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9903.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9902/comments
https://api.github.com/repos/huggingface/transformers/issues/9902/events
https://github.com/huggingface/transformers/issues/9902
797,385,698
MDU6SXNzdWU3OTczODU2OTg=
9,902
PPLM example - AttributeError issue
{ "login": "OlegDurandin", "id": 7582325, "node_id": "MDQ6VXNlcjc1ODIzMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/7582325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OlegDurandin", "html_url": "https://github.com/OlegDurandin", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hi! Could you install an earlier version of `transformers` to see if it works? I believe it was tested with `transformers==3.0.1`", "It works fine up to and including version v4.2.2 but is broken in versions above that", "This issue has been automatically marked as stale because it has not had recent activity....
1,612
1,619
1,619
NONE
null
Hi all, Thank you for great library. Now I try to understand PPLM model (see reference https://eng.uber.com/pplm/ ), and when I try to start example from HuggingFace repository https://github.com/huggingface/transformers/tree/master/examples/research_projects/pplm (run_pplm.py) - I faced with the next issue: ```...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9902/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9902/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9901/comments
https://api.github.com/repos/huggingface/transformers/issues/9901/events
https://github.com/huggingface/transformers/issues/9901
797,370,567
MDU6SXNzdWU3OTczNzA1Njc=
9,901
Missing model license information
{ "login": "guillaume-be", "id": 27071604, "node_id": "MDQ6VXNlcjI3MDcxNjA0", "avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guillaume-be", "html_url": "https://github.com/guillaume-be", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Pinging @julien-c ", "> I wanted to check if your conditions set a default license under which models are uploaded when not specified?\r\n\r\nNo, that's really the model author's call. But we will try to make it easier/more straightforward for a user to pick one in the future.\r\n\r\n> In order to have a missing...
1,611
1,612
1,612
CONTRIBUTOR
null
Hello, A significant number of models uploaded to the model hub do not contain any license information. I wanted to check if your conditions set a default license under which models are uploaded when not specified? In order to have a missing license added when it is missing, could you please advise on the standar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9901/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9900/comments
https://api.github.com/repos/huggingface/transformers/issues/9900/events
https://github.com/huggingface/transformers/issues/9900
797,351,020
MDU6SXNzdWU3OTczNTEwMjA=
9,900
run_seq2seq.py doesn't work after enabling sortish sampler
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
CONTRIBUTOR
null
It gives an error saying **AttributeError: 'Dataset' object has no attribute 'make_sortish_sampler'**. Seems like something is wrong with the pipeline or versions. I install both transformers and datasets from the sources. [Exact line](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9900/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9900/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9899/comments
https://api.github.com/repos/huggingface/transformers/issues/9899/events
https://github.com/huggingface/transformers/issues/9899
797,330,729
MDU6SXNzdWU3OTczMzA3Mjk=
9,899
Does Sortish Sampler work with multiple GPUs in seq2seq?
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "Currently `SortishSampler` will only work with the `finetune_trainer.py` scripts. It will be supported in `run_seq2seq.py` in the soon. And to answer your question, yes it works with multiple GPUs, and you won't need to enable distributer parameter if the training is launched on multi GPUs using `torch.distributed...
1,611
1,612
1,612
CONTRIBUTOR
null
I am referring to the training script of run_seq2seq.py. I am exactly referring to [this line in seq2seq_trainer.py](https://github.com/huggingface/transformers/blob/1420b5ff675ccdc3296c6776b339a08a22d2e941/src/transformers/trainer_seq2seq.py#L48). So when should I enable **distributed** parameters and how should I d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9899/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9898/comments
https://api.github.com/repos/huggingface/transformers/issues/9898/events
https://github.com/huggingface/transformers/pull/9898
797,327,228
MDExOlB1bGxSZXF1ZXN0NTY0MzU0MDg1
9,898
[doc] nested markup is invalid in rst
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
CONTRIBUTOR
null
Apparently nested markup in RST is invalid: https://docutils.sourceforge.io/FAQ.html#is-nested-inline-markup-possible So currently this line doesn't get rendered properly, leaving inner markdown unrendered, resulting in: ``` You can create a model repo directly from `the /new page on the website <https://huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9898/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9898", "html_url": "https://github.com/huggingface/transformers/pull/9898", "diff_url": "https://github.com/huggingface/transformers/pull/9898.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9898.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9897/comments
https://api.github.com/repos/huggingface/transformers/issues/9897/events
https://github.com/huggingface/transformers/pull/9897
797,313,095
MDExOlB1bGxSZXF1ZXN0NTY0MzQzMTU3
9,897
[t5 tokenizer] add info logs
{ "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
[]
[ "I don't think this is something that should be done in `save_vocabulary`. You have the option in `save_pretrained` to set `legacy_format` to `False` to generate that `tokenizer.json` file. I'm not an expert in the tokenization side with all the stuff that was added for backward compatibility so I don't know if the...
1,611
1,613
1,613
CONTRIBUTOR
null
This PR (was modified from the original): - adds info logs that correlated to saved tokenizer files on `tokenizer.save_pretrained()` -------------------------- original PR note This PR - adds code to save t5 fast tokenizer `tokenizer.json` file on `tokenizer.save_pretrained()` - adds info logs that correlate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9897/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9897", "html_url": "https://github.com/huggingface/transformers/pull/9897", "diff_url": "https://github.com/huggingface/transformers/pull/9897.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9897.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9896/comments
https://api.github.com/repos/huggingface/transformers/issues/9896/events
https://github.com/huggingface/transformers/pull/9896
797,310,874
MDExOlB1bGxSZXF1ZXN0NTY0MzQxMzYx
9,896
[wandb] restore WANDB_DISABLED=true to disable wandb
{ "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
[]
[ "If I understood correctly the user's issue, the problem was that any value was accepted. We can add \"True\" in `ENV_VAR_TRUE_VALUES` which seems to be missing, but if I set `WAND_DISABLED=False` for instance, I would expect wandb to not be disabled.\r\n\r\nIn any case those env variables are now deprecated (have ...
1,611
1,612
1,612
CONTRIBUTOR
null
This PR * extends `ENV_VARS_TRUE_VALUES` with "true" * restores `WANDB_DISABLED=true` to disable wandb * documents this exact setting * syncs trainer_tf with the same solution. Context: we are still dealing with https://github.com/huggingface/transformers/issues/9623 where wandb fails no matter if you have it i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9896/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9896", "html_url": "https://github.com/huggingface/transformers/pull/9896", "diff_url": "https://github.com/huggingface/transformers/pull/9896.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9896.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9895/comments
https://api.github.com/repos/huggingface/transformers/issues/9895/events
https://github.com/huggingface/transformers/issues/9895
797,285,093
MDU6SXNzdWU3OTcyODUwOTM=
9,895
TFGPT2LMHeadModel unknown location
{ "login": "MacVej", "id": 12750987, "node_id": "MDQ6VXNlcjEyNzUwOTg3", "avatar_url": "https://avatars.githubusercontent.com/u/12750987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MacVej", "html_url": "https://github.com/MacVej", "followers_url": "https://api.github.com/users/MacVej/fo...
[]
closed
false
null
[]
[ "Solved it by installing tensorflow-gpu=2.3.0 & cuda 10.1\r\n\r\nFollowing this guide:\r\nhttps://medium.com/analytics-vidhya/tensorflow-2-3-0-with-gpu-support-on-windows-10-f975a552ea7c\r\n\r\nUse this command to install gpu2.3.0\r\npython -m pip install https://storage.googleapis.com/tensorflow/windows/gpu/tensor...
1,611
1,612
1,612
NONE
null
I have been playing around with tensorflow (CPU), and some language model'ing - and it have been a blast so far - everything working great. But after watching my old CPU slowly getting killed from all the model-training - i decided it was time to finally get some use out of my RTX 2080. I have been following the gu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9895/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9895/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9894/comments
https://api.github.com/repos/huggingface/transformers/issues/9894/events
https://github.com/huggingface/transformers/issues/9894
797,275,429
MDU6SXNzdWU3OTcyNzU0Mjk=
9,894
ImportError: cannot import name 'PreTrainedEncoderDecoder' from 'transformers' (unknown location)
{ "login": "gianfilippo", "id": 10429140, "node_id": "MDQ6VXNlcjEwNDI5MTQw", "avatar_url": "https://avatars.githubusercontent.com/u/10429140?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gianfilippo", "html_url": "https://github.com/gianfilippo", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I'm not sure where you have seen those objects: they are nowhere in the transformers library. The library provides `EncoderDecoderModel`, see the [encoder/decoder doc page](https://huggingface.co/transformers/model_doc/encoderdecoder.html).", "Hi, I was reading this (https://medium.com/huggingface/encoder-deco...
1,611
1,612
1,612
NONE
null
Hi, I am using the library to pretrain my model of choice. I am now interested in setting up an encoder-decoder architecture with my pretrained models, and the "combiners" seems quite a straightforward way to do that. Unfortunately, I am getting an import error on both "PreTrainedEncoderDecoder" and "Model2Model" ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9894/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9893/comments
https://api.github.com/repos/huggingface/transformers/issues/9893/events
https://github.com/huggingface/transformers/issues/9893
797,203,374
MDU6SXNzdWU3OTcyMDMzNzQ=
9,893
rfc: new benchmark tool
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "id": 2604155188, "node_id": "MDU6TGFiZWwyNjA0MTU1MTg4", "url": "https://api.github.com/repos/huggingface/transformers/labels/Benchmarks", "name": "Benchmarks", "color": "2DF372", "default": false, "description": "Issues related to Memory regressions in tests and scripts" }, { ...
open
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "I was thinking about one feature if possible,\r\n\r\nHow about when we run an example script a benchmarking script is automatically run and store the results in one file if the user passes an optional argument.\r\n\r\nWhen the user uploads the model on the model hub we can directly sort the model based on benchmar...
1,611
1,623
null
CONTRIBUTOR
null
This issue is to collect notes and ideas on creating a new benchmarking tool. This is not about the other speed/memory regression project we have been discussing elsewhere. This is about integration and various comparisons that we need to run in order to give users the best advice on how to deploy transformers i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9893/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/9893/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/9892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9892/comments
https://api.github.com/repos/huggingface/transformers/issues/9892/events
https://github.com/huggingface/transformers/issues/9892
797,198,206
MDU6SXNzdWU3OTcxOTgyMDY=
9,892
Seeking clarification on T5 prefix for summarization
{ "login": "ari9dam", "id": 14134882, "node_id": "MDQ6VXNlcjE0MTM0ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/14134882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ari9dam", "html_url": "https://github.com/ari9dam", "followers_url": "https://api.github.com/users/ari9da...
[]
closed
false
null
[]
[ "Hi @ari9dam \r\nPlease use the [forum](https://discuss.huggingface.co/) for such questions, and there's a discussion about this in the post \r\nhttps://discuss.huggingface.co/t/t5-finetuning-tips/684" ]
1,611
1,613
1,613
NONE
null
In the paper, I see the the prefix for summarization is "TL;DR:" . If I look into the model [config.json](https://huggingface.co/t5-base/blob/main/config.json) of T5-Base, I see it is "summarization:". "task_specific_params": { "summarization": { "early_stopping": true, "length_penalty": 2.0, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9892/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9891/comments
https://api.github.com/repos/huggingface/transformers/issues/9891/events
https://github.com/huggingface/transformers/issues/9891
797,115,433
MDU6SXNzdWU3OTcxMTU0MzM=
9,891
Remove Token from Vocab?
{ "login": "BigSalmon2", "id": 61605789, "node_id": "MDQ6VXNlcjYxNjA1Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BigSalmon2", "html_url": "https://github.com/BigSalmon2", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,611
1,619
1,619
NONE
null
Is there a way I can remove a token from vocab.json?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9891/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9890/comments
https://api.github.com/repos/huggingface/transformers/issues/9890/events
https://github.com/huggingface/transformers/pull/9890
797,021,708
MDExOlB1bGxSZXF1ZXN0NTY0MDk5OTM0
9,890
Restore TF embeddings and attention layers to their previous version
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "Pinging @mfuntowicz ", "> Morgan was mentioning that the transpose_for_score method was called right after the Q/K/V projection, but that there was no need to split this dimension if we're not doing head masking.\r\nWhat do you think? Maybe that's some work for another PR, though.\r\n\r\nI think it seems doable ...
1,611
1,612
1,612
CONTRIBUTOR
null
# What does this PR do? This PR restores the attention layers and the embeddings as it was in v4.1, even though the embeddings got few improvements compared to their original version to keep XLA compliancy. The reason is because we realized that some used operators were not compatible with some NN SDKs such as the o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9890/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9890", "html_url": "https://github.com/huggingface/transformers/pull/9890", "diff_url": "https://github.com/huggingface/transformers/pull/9890.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9890.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9889/comments
https://api.github.com/repos/huggingface/transformers/issues/9889/events
https://github.com/huggingface/transformers/pull/9889
796,923,988
MDExOlB1bGxSZXF1ZXN0NTY0MDE5NTUw
9,889
m2m_100
{ "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/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,611
1,613
1,613
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9889/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/9889/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9889", "html_url": "https://github.com/huggingface/transformers/pull/9889", "diff_url": "https://github.com/huggingface/transformers/pull/9889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9889.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9888/comments
https://api.github.com/repos/huggingface/transformers/issues/9888/events
https://github.com/huggingface/transformers/issues/9888
796,844,143
MDU6SXNzdWU3OTY4NDQxNDM=
9,888
[Quick poll] Give your opinion on the future of 🤗 transformers: 40k edition!
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 1260952223, "node_id": "MDU6TGFiZWwxMjYwOTUyMjIz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion", "name": "Discussion", "color": "22870e", "default": false, "description": "Discussion on a topic (keep it focused or open a new issue though)" } ...
closed
false
null
[]
[ "Just did, thanks a lot @LysandreJik, the form is super quick to fill-in and interesting!\r\nEveryone, we're waiting for you", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that...
1,611
1,619
1,619
MEMBER
null
Thanks to all of you, Transformers just passed 40k :star2: this week! Our libraries have always been about the community and we need your input to define the direction of the next 40k stars. If you have a couple of minutes and want to participate in shaping the future of the library, please share your thoughts: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9888/reactions", "total_count": 20, "+1": 5, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 4, "rocket": 5, "eyes": 3 }
https://api.github.com/repos/huggingface/transformers/issues/9888/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9887/comments
https://api.github.com/repos/huggingface/transformers/issues/9887/events
https://github.com/huggingface/transformers/pull/9887
796,783,152
MDExOlB1bGxSZXF1ZXN0NTYzOTA0MjE5
9,887
Fit chinese wwm to new datasets
{ "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...
[]
closed
false
null
[]
[ "@sgugger @LysandreJik \r\nCould you help me review these code ?", "> Hi there! Thanks for updating your example. We have now created a `research_projects` project for the examples not directly maintained by the core team, and I think the `run_mlm_wwm` script and the chine_ref file could all go there in a new fo...
1,611
1,612
1,612
CONTRIBUTOR
null
Sorry for my later update. I make my code(especially in chinese mlm_wwm) fit the newest code. Here are the changes: 1. add `chinese_ref` key to avoid miss ref inf. 2. fix the type bug in `data_collator.py` 3. re-add `run_chinese_ref.py` cause it could run with the newest version code (4.2.2). 4. update readme
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9887", "html_url": "https://github.com/huggingface/transformers/pull/9887", "diff_url": "https://github.com/huggingface/transformers/pull/9887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9887.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9886/comments
https://api.github.com/repos/huggingface/transformers/issues/9886/events
https://github.com/huggingface/transformers/issues/9886
796,774,815
MDU6SXNzdWU3OTY3NzQ4MTU=
9,886
Conversion of BPE tokenizer for Marian models
{ "login": "SaricVr", "id": 19590330, "node_id": "MDQ6VXNlcjE5NTkwMzMw", "avatar_url": "https://avatars.githubusercontent.com/u/19590330?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaricVr", "html_url": "https://github.com/SaricVr", "followers_url": "https://api.github.com/users/SaricV...
[ { "id": 1920687293, "node_id": "MDU6TGFiZWwxOTIwNjg3Mjkz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Fast%20Tokenizers", "name": "Fast Tokenizers", "color": "b60205", "default": false, "description": "" } ]
closed
false
null
[]
[ "cc'ing @n1t0 on this in case he didn't see it", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/hu...
1,611
1,619
1,619
NONE
null
Hello, I was searching for the pt-en model of Marian and noticed that it has not been converted for the huggingface library apparently because it uses a BPE tokenizer. Is it possible to convert BPE-based models to be used in huggingface somehow? Thank you
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9886/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9885/comments
https://api.github.com/repos/huggingface/transformers/issues/9885/events
https://github.com/huggingface/transformers/issues/9885
796,713,099
MDU6SXNzdWU3OTY3MTMwOTk=
9,885
Finetune_Trainer Question
{ "login": "caincdiy", "id": 43126828, "node_id": "MDQ6VXNlcjQzMTI2ODI4", "avatar_url": "https://avatars.githubusercontent.com/u/43126828?v=4", "gravatar_id": "", "url": "https://api.github.com/users/caincdiy", "html_url": "https://github.com/caincdiy", "followers_url": "https://api.github.com/users/cai...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead? You'll get more help there.\r\n\r\nThe docs regarding the maintained trainer are available [here](https://github.com/huggingface/tr...
1,611
1,611
1,611
NONE
null
Hi, I'm new to HuggingFace. I want to fine-tune a BARTForConditionalGeneration model by finetunr_trainer.py for the translation task on google colab, but I didn't figure out how to use the script to fine-tune the model. Could anyone help me to show a quick example? Thanks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9884/comments
https://api.github.com/repos/huggingface/transformers/issues/9884/events
https://github.com/huggingface/transformers/issues/9884
796,683,286
MDU6SXNzdWU3OTY2ODMyODY=
9,884
Exporting model to onnx increases the model size
{ "login": "hetpandya", "id": 55797177, "node_id": "MDQ6VXNlcjU1Nzk3MTc3", "avatar_url": "https://avatars.githubusercontent.com/u/55797177?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hetpandya", "html_url": "https://github.com/hetpandya", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I wouldn't be surprised that ONNX serializes each of the layers as independant layers when they're all repeated. I don't know enough about the ONNX export to know it that's the issue or what to do to fix it though.\r\n\r\nDo you get similar increases in size with other models? With BERT for example?", "Hi @Lysan...
1,611
1,613
1,613
NONE
null
Hi, I'm trying to convert some models as mentioned below to onnx as follows: ktrapeznikov/albert-xlarge-v2-squad-v2 albert-xlarge-v1 albert-xlarge-v2 The common issue with exporting all these models is that I get an exception that the protobuf size increases to more than 2gb while all these are less than 800mb. W...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9884/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9883/comments
https://api.github.com/repos/huggingface/transformers/issues/9883/events
https://github.com/huggingface/transformers/issues/9883
796,614,180
MDU6SXNzdWU3OTY2MTQxODA=
9,883
examples/seq2seq , where can I find the definition for the sortish_sampler argument?
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "I am trying to understand the use of sortish sampler. Right now it is not used in the run_seq2seq.py script. ", "I found it. It is in the t**rainer_seq2seq.p**y script." ]
1,611
1,611
1,611
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9883/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9882/comments
https://api.github.com/repos/huggingface/transformers/issues/9882/events
https://github.com/huggingface/transformers/issues/9882
796,538,683
MDU6SXNzdWU3OTY1Mzg2ODM=
9,882
Some weights of {} were not initialized from the model checkpoint
{ "login": "yeounyi", "id": 41869778, "node_id": "MDQ6VXNlcjQxODY5Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/41869778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yeounyi", "html_url": "https://github.com/yeounyi", "followers_url": "https://api.github.com/users/yeouny...
[]
closed
false
null
[]
[ "Hi! Thanks for opening an issue. I see two issues with your setup here:\r\n- Why are you using `from_pretrained` to load the `RobertaModel` inside your pre-trained model? You should just initialize a `RobertaModel` from the configuration imo.\r\n- Instead of `PreTrainedModel`, I would instead use `RobertaPreTraine...
1,611
1,677
1,612
CONTRIBUTOR
null
I keep failing to load model checkpoint. I built a model inheriting PreTrainedModel and have roberta inside initialization. Training this model with trainer works fine, but when I try to load the checkpoint using ```from_pretrained```, it keeps failing to load the checkpoint. Can someone help me out? Thanks St...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9882/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9881/comments
https://api.github.com/repos/huggingface/transformers/issues/9881/events
https://github.com/huggingface/transformers/issues/9881
796,525,169
MDU6SXNzdWU3OTY1MjUxNjk=
9,881
DeBERTa pretraining using MLM: model gradients become NAN
{ "login": "mansimane", "id": 23171195, "node_id": "MDQ6VXNlcjIzMTcxMTk1", "avatar_url": "https://avatars.githubusercontent.com/u/23171195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mansimane", "html_url": "https://github.com/mansimane", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "hi @mansimane \r\n\r\nIn your code in `TrainingArguments`, `adam_epsilon` is set to `1e06`, which quite a large value, I believe it's a typo, should be 1e-6 as mentioned in the comment. This could be the reason for `nan` gradients. ", "Thanks @patil-suraj for the catch. I fixed the Adam epsilon, but still so...
1,611
1,672
1,612
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.0.dev0 - Platform: Ubuntu - Python version: 3.6.12 - PyTorch version : 1.7.1 - Using GPU in script?: Y - Using distributed or parallel set-up in script?: Y, using 8 GPU machine. ### Who can help @BigBird01 @NielsRogge Models: DeBERTa Base ## Informati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9881/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9880/comments
https://api.github.com/repos/huggingface/transformers/issues/9880/events
https://github.com/huggingface/transformers/pull/9880
796,485,945
MDExOlB1bGxSZXF1ZXN0NTYzNjU5NTU5
9,880
[trainer] [deepspeed] refactor deepspeed setup devices
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
Following the discussion at https://github.com/huggingface/transformers/pull/9798#pullrequestreview-578822445 as we now have multiple integrations with complex unique setups, @sgugger and I agreed that it's better to have a small duplication of a few lines of code but to make it much easier to understand what goes on f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9880/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9880", "html_url": "https://github.com/huggingface/transformers/pull/9880", "diff_url": "https://github.com/huggingface/transformers/pull/9880.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9880.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9879/comments
https://api.github.com/repos/huggingface/transformers/issues/9879/events
https://github.com/huggingface/transformers/pull/9879
796,469,627
MDExOlB1bGxSZXF1ZXN0NTYzNjQ2MzEx
9,879
[seq2seq] correctly handle mt5
{ "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
[]
[ "> when you port this to the new run_seq2seq, it would be great to try to find a way to make this not use any special code for a given model\r\n\r\nI'm working on it in #9844, it's not finished though. We might need to add `get_input_embeddings` and `get_pos_embeddings` methods to every s2s model, to avoid special...
1,611
1,611
1,611
CONTRIBUTOR
null
This PR fixes `seq2seq/utils.py` to handle `mt5` like it does `t5`. Ideally there should be a test, which would require creating a tiny model for mt5, but I'm being told this code is going away anyway, so there is no point investing energy into it. Fixes: https://github.com/huggingface/transformers/issues/9865 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9879", "html_url": "https://github.com/huggingface/transformers/pull/9879", "diff_url": "https://github.com/huggingface/transformers/pull/9879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9879.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9878/comments
https://api.github.com/repos/huggingface/transformers/issues/9878/events
https://github.com/huggingface/transformers/issues/9878
796,413,418
MDU6SXNzdWU3OTY0MTM0MTg=
9,878
[DOCS] curl links go to 404 not found in NER tutorial
{ "login": "INF800", "id": 45640029, "node_id": "MDQ6VXNlcjQ1NjQwMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/45640029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/INF800", "html_url": "https://github.com/INF800", "followers_url": "https://api.github.com/users/INF800/fo...
[]
closed
false
null
[]
[ "the doc link you shared if for V2.2.0, we have updated all the examples in a recent version. You can find the new ner examples here https://github.com/huggingface/transformers/tree/master/examples/token-classification", "Thank you @patil-suraj " ]
1,611
1,611
1,611
NONE
null
Hey, in [NER tutorial](https://huggingface.co/transformers/v2.2.0/examples.html#named-entity-recognition) the curl commands seem outdated ``` curl -L 'https://sites.google.com/site/germeval2014ner/data/NER-de-train.tsv?attredirects=0&d=1' \ | grep -v "^#" | cut -f 2,3 | tr '\t' ' ' > train.txt.tmp curl -L 'https:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9878/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9877/comments
https://api.github.com/repos/huggingface/transformers/issues/9877/events
https://github.com/huggingface/transformers/pull/9877
796,403,840
MDExOlB1bGxSZXF1ZXN0NTYzNTkxMzk0
9,877
Fix head masking for TFT5 models
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "@stancld can you please rebase on master in order to solve the conflicts?", "Thanks! The PR should be merged once @LysandreJik and @patrickvonplaten will have reviewed it.", "Thanks for fixing it!" ]
1,611
1,613
1,613
CONTRIBUTOR
null
* This PR fixes head masking in TFT5 models (#9859) * This PR further fixes the name of an error message variable from `__HEAD_MASK_WARNING_MSG` to `_HEAD_MASK_WARNING_MSG` as the former one was not working properly and raised error (double underscore made troubles) <hr> Fixes: #9859 Reviewers: @jplu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9877/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9877", "html_url": "https://github.com/huggingface/transformers/pull/9877", "diff_url": "https://github.com/huggingface/transformers/pull/9877.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9877.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9876/comments
https://api.github.com/repos/huggingface/transformers/issues/9876/events
https://github.com/huggingface/transformers/pull/9876
796,377,159
MDExOlB1bGxSZXF1ZXN0NTYzNTY4MjM3
9,876
When on sagemaker use their env variables for saves
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? When on SageMaker, the content of the env variable "SM_OUTPUT_DATA_DIR" should be used to save training artifacts (such as our checkpoint) so make it overwrite the `output_dir` (and make that argument optional so it doesn't need to be passed for sagemaker training). Then the final model will...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9876/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9876", "html_url": "https://github.com/huggingface/transformers/pull/9876", "diff_url": "https://github.com/huggingface/transformers/pull/9876.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9876.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9875/comments
https://api.github.com/repos/huggingface/transformers/issues/9875/events
https://github.com/huggingface/transformers/pull/9875
796,334,224
MDExOlB1bGxSZXF1ZXN0NTYzNTMwMjIx
9,875
Clarify use of unk_token in slow tokenizers' docstrings
{ "login": "ethch18", "id": 12580176, "node_id": "MDQ6VXNlcjEyNTgwMTc2", "avatar_url": "https://avatars.githubusercontent.com/u/12580176?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ethch18", "html_url": "https://github.com/ethch18", "followers_url": "https://api.github.com/users/ethch1...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? Currently, the docstrings for slow tokenizers' `tokenize()` method claim that unknown tokens will be left in place, in contrast to the fast tokenizers' behavior. In reality, both convert unknown tokens to `unk_token`. Fixes #9714 ## Before submitting - [x] This PR fixes a typo or i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9875", "html_url": "https://github.com/huggingface/transformers/pull/9875", "diff_url": "https://github.com/huggingface/transformers/pull/9875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9875.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9874/comments
https://api.github.com/repos/huggingface/transformers/issues/9874/events
https://github.com/huggingface/transformers/pull/9874
796,248,404
MDExOlB1bGxSZXF1ZXN0NTYzNDU3NTM1
9,874
pin_memory -> dataloader_pin_memory
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Updated with review comments. Please let me know if/when it's okay to merge :) ", "Good for me, thanks a lot!", "this is much better, thank you for the adjustment, @abhishekkrthakur " ]
1,611
1,611
1,611
MEMBER
null
Ref: https://github.com/huggingface/transformers/pull/9857#issuecomment-769256215 This PR adds a new argument `dataloader_pin_memory` to `TrainingArguments`. You can use this to pin memory in `DataLoader`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9874", "html_url": "https://github.com/huggingface/transformers/pull/9874", "diff_url": "https://github.com/huggingface/transformers/pull/9874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9874.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9873/comments
https://api.github.com/repos/huggingface/transformers/issues/9873/events
https://github.com/huggingface/transformers/issues/9873
796,188,222
MDU6SXNzdWU3OTYxODgyMjI=
9,873
Strange hyperparameter warning
{ "login": "avacaondata", "id": 35173563, "node_id": "MDQ6VXNlcjM1MTczNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avacaondata", "html_url": "https://github.com/avacaondata", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @alexvaca0 thanks for bringing this up. Indeed our example is outdated. I updated it here https://github.com/amogkam/ray/blob/hf-pbt/python/ray/tune/examples/pbt_transformers/pbt_transformers.py and when running on the latest Ray wheels and the latest transformer release (4.2.2), I am seeing perturbations happ...
1,611
1,626
1,611
NONE
null
## Environment info - `transformers` version: Master Branch - Platform: Ubuntu 18.04 - Python version: 3.7 - PyTorch version (GPU?): 1.7 (YES) - Tensorflow version (GPU?): - Using GPU in script?: YES - Using distributed or parallel set-up in script?: NO ### Who can help @amogkam ## Information Model...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9873/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9872/comments
https://api.github.com/repos/huggingface/transformers/issues/9872/events
https://github.com/huggingface/transformers/pull/9872
796,166,450
MDExOlB1bGxSZXF1ZXN0NTYzMzkwMjgz
9,872
on_log event should occur *after* the current log is written
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9872", "html_url": "https://github.com/huggingface/transformers/pull/9872", "diff_url": "https://github.com/huggingface/transformers/pull/9872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9872.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9871/comments
https://api.github.com/repos/huggingface/transformers/issues/9871/events
https://github.com/huggingface/transformers/issues/9871
796,003,221
MDU6SXNzdWU3OTYwMDMyMjE=
9,871
Exception: You're trying to run a `Unigram` model but you're file was trained with a different algorithm
{ "login": "jiyanbio", "id": 66310065, "node_id": "MDQ6VXNlcjY2MzEwMDY1", "avatar_url": "https://avatars.githubusercontent.com/u/66310065?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiyanbio", "html_url": "https://github.com/jiyanbio", "followers_url": "https://api.github.com/users/jiy...
[]
closed
false
null
[]
[ "Use \"AlbertTokenizer\" rather than \"AutoTokenizer\", this should solve your issue.\r\nPlease, check the updated notebook version.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease n...
1,611
1,641
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-3.10.107-1-tlinux2_kvm_guest-0049-x86_64-with-glibc2.10 - Python version: 3.8.5 - Py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9871/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9870/comments
https://api.github.com/repos/huggingface/transformers/issues/9870/events
https://github.com/huggingface/transformers/issues/9870
795,993,762
MDU6SXNzdWU3OTU5OTM3NjI=
9,870
IndexError when finetuning barthez on summarization
{ "login": "moussaKam", "id": 28675016, "node_id": "MDQ6VXNlcjI4Njc1MDE2", "avatar_url": "https://avatars.githubusercontent.com/u/28675016?v=4", "gravatar_id": "", "url": "https://api.github.com/users/moussaKam", "html_url": "https://github.com/moussaKam", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hmmmm the -100 id should be linked to the ignored values. It shouldn't try to decode this. Pinging @sgugger ", "Not sure why there would be `-100` in the labels with the old script. Note that we are not maintaining that one anymore and will replace it with `run_seq2seq` which is almost ready for use (misses a fe...
1,611
1,612
1,612
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.3.0.dev0 - Platform: Linux-4.4.0-197-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (GPU?): 1.7.1 (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/9870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9870/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9869/comments
https://api.github.com/repos/huggingface/transformers/issues/9869/events
https://github.com/huggingface/transformers/pull/9869
795,902,907
MDExOlB1bGxSZXF1ZXN0NTYzMTcxOTcx
9,869
Added do_lower_case parameters for tokenizer in mlm training.
{ "login": "K-Mike", "id": 22145213, "node_id": "MDQ6VXNlcjIyMTQ1MjEz", "avatar_url": "https://avatars.githubusercontent.com/u/22145213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/K-Mike", "html_url": "https://github.com/K-Mike", "followers_url": "https://api.github.com/users/K-Mike/fo...
[]
closed
false
null
[]
[ "Hi there, thanks for your PR!\r\nThe examples scripts are kept simple and without too much functionality so users can easily understand and tweak them for their needs (they are just examples, they do not mean to cover **everything**). As you saw, it's super easy to add things like this option, if needed. The PR wi...
1,611
1,611
1,611
NONE
null
Added do_lower_case while training mlm. Useful for training cased BER, for instance.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9869", "html_url": "https://github.com/huggingface/transformers/pull/9869", "diff_url": "https://github.com/huggingface/transformers/pull/9869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9869.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9868/comments
https://api.github.com/repos/huggingface/transformers/issues/9868/events
https://github.com/huggingface/transformers/pull/9868
795,807,978
MDExOlB1bGxSZXF1ZXN0NTYzMDk0Njcw
9,868
Remove submodule
{ "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,611
1,611
1,611
MEMBER
null
Removes the `datasets` submodule that was introduced in https://github.com/huggingface/transformers/pull/9825.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9868", "html_url": "https://github.com/huggingface/transformers/pull/9868", "diff_url": "https://github.com/huggingface/transformers/pull/9868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9868.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9867/comments
https://api.github.com/repos/huggingface/transformers/issues/9867/events
https://github.com/huggingface/transformers/issues/9867
795,785,534
MDU6SXNzdWU3OTU3ODU1MzQ=
9,867
where is position_embedding_type used
{ "login": "awdrgyjilplij", "id": 21336173, "node_id": "MDQ6VXNlcjIxMzM2MTcz", "avatar_url": "https://avatars.githubusercontent.com/u/21336173?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awdrgyjilplij", "html_url": "https://github.com/awdrgyjilplij", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "It is used quite a lot! Here for example:\r\n\r\nhttps://github.com/huggingface/transformers/blob/4c3ae89ad3215c3252ebf8ce964795ba8813d810/src/transformers/models/electra/modeling_electra.py#L194-L196\r\n\r\nActually just Ctrl+F \"position_embedding_type\" in this file and you should be able to find out where it's...
1,611
1,611
1,611
NONE
null
When I was using pytorch Electra Model, I read its source code but I didn't find where position_embedding_type is used. So did I miss something?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9867/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9866/comments
https://api.github.com/repos/huggingface/transformers/issues/9866/events
https://github.com/huggingface/transformers/issues/9866
795,761,153
MDU6SXNzdWU3OTU3NjExNTM=
9,866
Whole word mask in run_mlm_wwm.py
{ "login": "JiachengLi1995", "id": 44625638, "node_id": "MDQ6VXNlcjQ0NjI1NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/44625638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JiachengLi1995", "html_url": "https://github.com/JiachengLi1995", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,611
1,652
1,619
NONE
null
I find that `run_mlm_wwm.py` uses the whole word mask class `DataCollatorForWholeWordMask`. But in this class `_whole_word_mask` function, we recognize if a token is the beginning of a word by this way: ``` cand_indexes = [] for (i, token) in enumerate(input_tokens): if token == "[CLS]" or token == "[SEP]": ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9866/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9865/comments
https://api.github.com/repos/huggingface/transformers/issues/9865/events
https://github.com/huggingface/transformers/issues/9865
795,747,456
MDU6SXNzdWU3OTU3NDc0NTY=
9,865
[trainer] seq2seq doesn't handle mt5 correctly
{ "login": "mxa4646", "id": 37767536, "node_id": "MDQ6VXNlcjM3NzY3NTM2", "avatar_url": "https://avatars.githubusercontent.com/u/37767536?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mxa4646", "html_url": "https://github.com/mxa4646", "followers_url": "https://api.github.com/users/mxa464...
[]
closed
false
null
[]
[ "OK, I can reproduce the problem with just google/mt5-small and 2 gpus:\r\n```\r\nexport BS=1; PYTHONPATH=../../src USE_TF=0 deepspeed --num_gpus=2 ./finetune_trainer.py --model_name_or_path google/mt5-small --output_dir output_dir --adam_eps 1e-06 --data_dir wmt_en_ro --do_eval --do_predict --do_train --evaluation...
1,611
1,647
1,611
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.2 - Platform: Linux-5.4.0-58-generic-x86_64-with-debian-buster-sid - Python version: 3.7.7 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9865/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9864/comments
https://api.github.com/repos/huggingface/transformers/issues/9864/events
https://github.com/huggingface/transformers/issues/9864
795,652,112
MDU6SXNzdWU3OTU2NTIxMTI=
9,864
Longformer: raise TypeError("pred must not be a Python bool", pred)
{ "login": "xuxingya", "id": 13343428, "node_id": "MDQ6VXNlcjEzMzQzNDI4", "avatar_url": "https://avatars.githubusercontent.com/u/13343428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuxingya", "html_url": "https://github.com/xuxingya", "followers_url": "https://api.github.com/users/xux...
[]
closed
false
null
[]
[ "cc @jplu do you maybe have a good idea here?", "Hey @xuxingya !! Thanks a lot for reporting the issue! Indeed Longformer has a bug in the `_pad_to_window_size` method. We will work on fixing this ASAP.\r\n\r\nEven though there is indeed a bug, your piece of code is wrong and should be:\r\n```python\r\nfrom trans...
1,611
1,612
1,612
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Ubuntu 18.04 - Python version: 3.7.6 - PyTorch version (GPU?): None - Tensorflow version (GPU?): 2.3.1, 2.3.2 (with or without GPU) - Using GPU in script?: No - Using distributed or parallel set-up in script?: No ### Who can help@patrick-s-h-le...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9864/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9863/comments
https://api.github.com/repos/huggingface/transformers/issues/9863/events
https://github.com/huggingface/transformers/issues/9863
795,532,336
MDU6SXNzdWU3OTU1MzIzMzY=
9,863
Add support for tf2 encoder_decoder
{ "login": "thevasudevgupta", "id": 53136577, "node_id": "MDQ6VXNlcjUzMTM2NTc3", "avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thevasudevgupta", "html_url": "https://github.com/thevasudevgupta", "followers_url": "https://api...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Shall I start working on it if no one else is doing it?", "Feel free to give it a try and tag me if you encounter any issues along the way! Just to set expectations, such a PR will be a longer project (~1 month) and is a relatively low priority for the library at the moment, so I might not be able to reply daily...
1,611
1,634
1,634
CONTRIBUTOR
null
# 🌟 New model addition I would like to add `TensorFlow-2` support for `encoder_decoder` model. I will soon create a PR, if this is approved.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9863/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9862/comments
https://api.github.com/repos/huggingface/transformers/issues/9862/events
https://github.com/huggingface/transformers/issues/9862
795,486,856
MDU6SXNzdWU3OTU0ODY4NTY=
9,862
AttributeError with T5Tokenizer
{ "login": "snat1505027", "id": 18405970, "node_id": "MDQ6VXNlcjE4NDA1OTcw", "avatar_url": "https://avatars.githubusercontent.com/u/18405970?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snat1505027", "html_url": "https://github.com/snat1505027", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I think the errors could be more explicit here, here I think it comes from the fact that you don't have SentencePiece installed. Can you try to install it and let me know if it fixes your issue?", "Hi @LysandreJik. I had the same issue, with sentencepiece installed. I also notice that my previous notebooks with ...
1,611
1,619
1,619
NONE
null
I am trying to use **T5Tokenizer** and **t5-base** model to fine-tune on **SQuAD** dataset. But each time, when I run the tokenizer code I get errors (e.g, `'NoneType' object has no attribute 'encode'/'batch_encode_plus'/'encode_plus'`). Example code ``` tokenizer = T5Tokenizer.from_pretrained('t5-base') ids_neg ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9862/reactions", "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9862/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9861/comments
https://api.github.com/repos/huggingface/transformers/issues/9861/events
https://github.com/huggingface/transformers/pull/9861
795,457,922
MDExOlB1bGxSZXF1ZXN0NTYyODAyMjQ0
9,861
Rag modification
{ "login": "LouisCastricato", "id": 5066878, "node_id": "MDQ6VXNlcjUwNjY4Nzg=", "avatar_url": "https://avatars.githubusercontent.com/u/5066878?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LouisCastricato", "html_url": "https://github.com/LouisCastricato", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "Erm.... misclicked" ]
1,611
1,611
1,611
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9861", "html_url": "https://github.com/huggingface/transformers/pull/9861", "diff_url": "https://github.com/huggingface/transformers/pull/9861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9861.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9860/comments
https://api.github.com/repos/huggingface/transformers/issues/9860/events
https://github.com/huggingface/transformers/issues/9860
795,456,437
MDU6SXNzdWU3OTU0NTY0Mzc=
9,860
Padding tokens affect MobileBert output
{ "login": "johnmccain", "id": 17013636, "node_id": "MDQ6VXNlcjE3MDEzNjM2", "avatar_url": "https://avatars.githubusercontent.com/u/17013636?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnmccain", "html_url": "https://github.com/johnmccain", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Following up on this, is there anyone in particular that I should tag to take a look at this issue?", "Hi @johnmccain, I'll take a look in the coming days.", "Hi! I ran your example and added an additional relative difference computation: \r\n```py\r\nr_tol = torch.max(torch.abs(out_with_pad - out_without_pad)...
1,611
1,618
1,618
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: Windows-10-10.0.17134-SP0 - Python version: 3.6.8 - PyTorch version (GPU?): 1.7.1+cu110 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: no - Using distributed or parallel set-up in script?: no ## Information Mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9860/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9859/comments
https://api.github.com/repos/huggingface/transformers/issues/9859/events
https://github.com/huggingface/transformers/issues/9859
795,454,777
MDU6SXNzdWU3OTU0NTQ3Nzc=
9,859
Head masking and test_head_masking not working properly for TFT5 models.
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[ "That's an assert we put in T5 because the head mask is not supported. Happy you take care of this!!!" ]
1,611
1,613
1,613
CONTRIBUTOR
null
When removing `test_head_masking` flags during #9858, I found out `test_headmasking` was actually never run for `TFT5Model` and it seems there must be a bug, please see below: ``` _______________________________________________________________________________________________________ TFT5ModelTest.test_headmasking ___...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9859/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9858/comments
https://api.github.com/repos/huggingface/transformers/issues/9858/events
https://github.com/huggingface/transformers/pull/9858
795,450,672
MDExOlB1bGxSZXF1ZXN0NTYyNzk2MjEy
9,858
Remove redundant `test_head_masking = True` flags in test files
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
This PR removes redundant `test_head_masking = True` flags from test files as this is set by default. Reviewer: @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9858/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9858", "html_url": "https://github.com/huggingface/transformers/pull/9858", "diff_url": "https://github.com/huggingface/transformers/pull/9858.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9858.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9857/comments
https://api.github.com/repos/huggingface/transformers/issues/9857/events
https://github.com/huggingface/transformers/pull/9857
795,363,007
MDExOlB1bGxSZXF1ZXN0NTYyNzIzNTk5
9,857
Pin memory in Trainer by default
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Could we please go through normal PR review approval cycles? Unless I missed something and there was one.\r\n\r\nIt looks like my comment on slack was missed where I suggested to use a more specific cl arg name. \r\n\r\nI proposed one of:\r\n- dataloader_pin_memory\r\n- dl_pin_memory\r\n\r\nBut since we already ha...
1,611
1,611
1,611
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9857/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/9857/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9857", "html_url": "https://github.com/huggingface/transformers/pull/9857", "diff_url": "https://github.com/huggingface/transformers/pull/9857.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9857.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9856/comments
https://api.github.com/repos/huggingface/transformers/issues/9856/events
https://github.com/huggingface/transformers/pull/9856
795,313,052
MDExOlB1bGxSZXF1ZXN0NTYyNjgyMzY2
9,856
Add head_mask and decoder_head_mask to PyTorch LED
{ "login": "stancld", "id": 46073029, "node_id": "MDQ6VXNlcjQ2MDczMDI5", "avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stancld", "html_url": "https://github.com/stancld", "followers_url": "https://api.github.com/users/stancl...
[]
closed
false
null
[]
[]
1,611
1,612
1,612
CONTRIBUTOR
null
This PR implements `head_mask` and `decoder_head_mask` for PyTorch LED (and Longformer as there's a copy dependency) and it is the follow-up to the open issue #9814. **Motivation:** This PR is a part of an endeavour to enable the usage of `head_mask` and `decoder_head_mask` for all encoder-decoder transformers foll...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9856", "html_url": "https://github.com/huggingface/transformers/pull/9856", "diff_url": "https://github.com/huggingface/transformers/pull/9856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9856.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9855/comments
https://api.github.com/repos/huggingface/transformers/issues/9855/events
https://github.com/huggingface/transformers/issues/9855
795,242,726
MDU6SXNzdWU3OTUyNDI3MjY=
9,855
About max_length in generation_utils.py
{ "login": "LinjianLi", "id": 43627450, "node_id": "MDQ6VXNlcjQzNjI3NDUw", "avatar_url": "https://avatars.githubusercontent.com/u/43627450?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LinjianLi", "html_url": "https://github.com/LinjianLi", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @LinjianLi,\r\n\r\nnote that `max_length` states the maximum length of both generated tokens and input tokens (which is always at least 1). This means that we count the first special token also as an output token (it will be in the final output) and thus should also be included when computing `max_length`", ...
1,611
1,614
1,614
NONE
null
In `generation_utils.py`, the docstring of the `beam_search` function shows the example of usage. ``` >>> input_ids = torch.ones((num_beams, 1), device=model.device, dtype=torch.long) >>> input_ids = input_ids * model.config.decoder_start_token_id >>> something else that I omit here >>> outputs = model.beam_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9855/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9854/comments
https://api.github.com/repos/huggingface/transformers/issues/9854/events
https://github.com/huggingface/transformers/pull/9854
795,225,626
MDExOlB1bGxSZXF1ZXN0NTYyNjA5OTAz
9,854
Deprecate model_path in Trainer.train
{ "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,611
1,611
1,611
COLLABORATOR
null
# What does this PR do? This PR deprecates `Trainer.train(model_path=xxx)` to be replaced by `Trainer.train(resume_from_checkpoint=xxx)` which (I think) is clearer and better. No breaking change, just a deprecation warning for now.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9854", "html_url": "https://github.com/huggingface/transformers/pull/9854", "diff_url": "https://github.com/huggingface/transformers/pull/9854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9854.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9853/comments
https://api.github.com/repos/huggingface/transformers/issues/9853/events
https://github.com/huggingface/transformers/pull/9853
795,184,411
MDExOlB1bGxSZXF1ZXN0NTYyNTc1NDQx
9,853
Fix computation of attention_probs when head_mask is provided.
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Thanks a lot!" ]
1,611
1,611
1,611
MEMBER
null
Remove dead code path when computing `attention_probs` in case of `head_mask` is provided. Masking was computed on `attention_scores` which is never used / returned afterwards.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9853/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9853", "html_url": "https://github.com/huggingface/transformers/pull/9853", "diff_url": "https://github.com/huggingface/transformers/pull/9853.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9853.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9852/comments
https://api.github.com/repos/huggingface/transformers/issues/9852/events
https://github.com/huggingface/transformers/pull/9852
795,159,805
MDExOlB1bGxSZXF1ZXN0NTYyNTU0NzMy
9,852
Adding a new `return_full_text` parameter to TextGenerationPipeline.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "Don't mind the failing test, you can merge when ready." ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? For text-generation, it's sometimes used as prompting text. In that context, prefixing `generated_text` with the actual input forces the caller to take an extra step to remove it. The proposed change adds a new parameter (for backward compatibility). `return_full_text` that enables the caller ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9852", "html_url": "https://github.com/huggingface/transformers/pull/9852", "diff_url": "https://github.com/huggingface/transformers/pull/9852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9852.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9851/comments
https://api.github.com/repos/huggingface/transformers/issues/9851/events
https://github.com/huggingface/transformers/pull/9851
795,135,405
MDExOlB1bGxSZXF1ZXN0NTYyNTM0MTc0
9,851
[GA forks] Test on every push
{ "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,611
1,611
1,611
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9851/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9851", "html_url": "https://github.com/huggingface/transformers/pull/9851", "diff_url": "https://github.com/huggingface/transformers/pull/9851.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9851.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9850/comments
https://api.github.com/repos/huggingface/transformers/issues/9850/events
https://github.com/huggingface/transformers/issues/9850
795,118,067
MDU6SXNzdWU3OTUxMTgwNjc=
9,850
Some model use serve previous version can not do inference in web api.
{ "login": "svjack", "id": 27874014, "node_id": "MDQ6VXNlcjI3ODc0MDE0", "avatar_url": "https://avatars.githubusercontent.com/u/27874014?v=4", "gravatar_id": "", "url": "https://api.github.com/users/svjack", "html_url": "https://github.com/svjack", "followers_url": "https://api.github.com/users/svjack/fo...
[]
closed
false
null
[]
[ "The error here seems to be because there's a dissociated tokenizer and model. The tokenizer should be BERT while the model should be ALBERT.\r\n\r\nThe configuration should reflect this by having a `\"tokenizer_class\": \"BertTokenizer\"`.\r\n\r\nPinging @wptoux\r\n\r\nAn example can be seen with PhoBERT having th...
1,611
1,619
1,619
NONE
null
the model serve in https://huggingface.co/wptoux/albert-chinese-large-qa can not do inference by click “compute” button. because it use transformers 3.0.2 but can not properly load in current version. I think model online server should consider its implement transformer version.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9850/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9850/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9849/comments
https://api.github.com/repos/huggingface/transformers/issues/9849/events
https://github.com/huggingface/transformers/pull/9849
795,114,472
MDExOlB1bGxSZXF1ZXN0NTYyNTE2OTEw
9,849
Labeled pull requests
{ "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,611
1,611
1,611
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9849/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9849", "html_url": "https://github.com/huggingface/transformers/pull/9849", "diff_url": "https://github.com/huggingface/transformers/pull/9849.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9849.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9848/comments
https://api.github.com/repos/huggingface/transformers/issues/9848/events
https://github.com/huggingface/transformers/pull/9848
795,104,682
MDExOlB1bGxSZXF1ZXN0NTYyNTA4ODA3
9,848
Add XLA test
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "Out of curiosity, how long are those tests for the models that have them?", "few milliseconds, XLA is really fast :)" ]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? In the same spirit than for the mixed precision test, this PR adds one for XLA compliancy.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9848/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9848", "html_url": "https://github.com/huggingface/transformers/pull/9848", "diff_url": "https://github.com/huggingface/transformers/pull/9848.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9848.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9847/comments
https://api.github.com/repos/huggingface/transformers/issues/9847/events
https://github.com/huggingface/transformers/pull/9847
795,100,786
MDExOlB1bGxSZXF1ZXN0NTYyNTA1NTMw
9,847
TFBart lables consider both pad token and -100
{ "login": "kiyoungkim1", "id": 37245002, "node_id": "MDQ6VXNlcjM3MjQ1MDAy", "avatar_url": "https://avatars.githubusercontent.com/u/37245002?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiyoungkim1", "html_url": "https://github.com/kiyoungkim1", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@patrickvonplaten \r\nI merged upstream to the branch!", "You have an error in code quality, could you run `make style` and `make quality` to check it out? Thanks." ]
1,611
1,612
1,612
CONTRIBUTOR
null
For #9770, 1. ```TFBartModels``` use -100 as a masking token for ```decoder_input_ids``` and ```compute_loss``` like other models(```T5```). 2. For legacy, all the ```padding token``` in ```labels``` are replace by ```-100`` token. Below examples show the same result for ```labels``` with ```-100 token``` or ``...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9847/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9847", "html_url": "https://github.com/huggingface/transformers/pull/9847", "diff_url": "https://github.com/huggingface/transformers/pull/9847.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9847.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9846/comments
https://api.github.com/repos/huggingface/transformers/issues/9846/events
https://github.com/huggingface/transformers/pull/9846
795,095,395
MDExOlB1bGxSZXF1ZXN0NTYyNTAwOTg5
9,846
Adding new parameter to `generate`: `max_time`.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "Continuing a bit the discussion we had offline for others to chime in.\r\n\r\nAfter quite some discussion and thinking, I see the following problem:\r\n\r\n- I don't want to clutter `generate()` with if-statements anymore as it's done a bit in this PR, but rather make use of tools like `LogitsProcessor`. Now @Nars...
1,611
1,615
1,615
CONTRIBUTOR
null
Generation by tokens number is sometimes a bit clunky because we don't know how many tokens are good enough or even how many tokens are in the payload (for pipelines users for instance). This leads to hard to understand behavior. This PR proposes a new argument `max_time` which is a float of seconds for the allo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9846/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/9846/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9846", "html_url": "https://github.com/huggingface/transformers/pull/9846", "diff_url": "https://github.com/huggingface/transformers/pull/9846.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9846.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9845/comments
https://api.github.com/repos/huggingface/transformers/issues/9845/events
https://github.com/huggingface/transformers/pull/9845
795,088,291
MDExOlB1bGxSZXF1ZXN0NTYyNDk1MDc4
9,845
[WIP/ don't merge] T5 gradient checkpointing
{ "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
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,611
1,619
1,619
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9845/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9845", "html_url": "https://github.com/huggingface/transformers/pull/9845", "diff_url": "https://github.com/huggingface/transformers/pull/9845.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9845.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9844/comments
https://api.github.com/repos/huggingface/transformers/issues/9844/events
https://github.com/huggingface/transformers/pull/9844
795,086,515
MDExOlB1bGxSZXF1ZXN0NTYyNDkzNjIy
9,844
[examples/seq2seq] support label smoothing
{ "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
[]
[ "> I don't know if the shift methods are used for something else in the seq2seq methods, but if this was their only use, we could maybe deprecate them?\r\n\r\nthose are used for exactly the same reason, `prepare decoder_input_ids` by shifting `labels`, and those are mostly used inside the models, so yeah, think we ...
1,611
1,612
1,612
MEMBER
null
# What does this PR do? Add support for label smoothing by adding `prepare_decoder_input_ids_from_labels` method to all seq2seq models which will let us prepare `decoder_input_ids` outside the model. For context, we need to pass `decoder_input_ids` for label smoothing because we don't pass `labels` to avoid c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9844/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9844", "html_url": "https://github.com/huggingface/transformers/pull/9844", "diff_url": "https://github.com/huggingface/transformers/pull/9844.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9844.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9843/comments
https://api.github.com/repos/huggingface/transformers/issues/9843/events
https://github.com/huggingface/transformers/issues/9843
795,084,829
MDU6SXNzdWU3OTUwODQ4Mjk=
9,843
SQUAD Question Answering example:: RuntimeError: Could not infer dtype of NoneType
{ "login": "paniabhisek", "id": 9455582, "node_id": "MDQ6VXNlcjk0NTU1ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/9455582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paniabhisek", "html_url": "https://github.com/paniabhisek", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "I'm not able to reproduce the issue. I went to [this page](https://huggingface.co/transformers/custom_datasets.html), then clicked on \"Open in colab\" on the top right (chose PyTorch), and then run the question-answering tutorial, and it's working fine for me:\r\n\r\n![squad_bis](https://user-images.githubusercon...
1,611
1,619
1,619
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.2.1 - Platform: Linux - Python version: 3.6.12 - PyTorch version (GPU?): 1.7.1 - Tensorflow version (GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9843/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9842/comments
https://api.github.com/repos/huggingface/transformers/issues/9842/events
https://github.com/huggingface/transformers/pull/9842
795,081,015
MDExOlB1bGxSZXF1ZXN0NTYyNDg4OTUx
9,842
Fix model templates
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
MEMBER
null
Fixes the style issue with model templates
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9842/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9842", "html_url": "https://github.com/huggingface/transformers/pull/9842", "diff_url": "https://github.com/huggingface/transformers/pull/9842.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9842.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9841
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9841/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9841/comments
https://api.github.com/repos/huggingface/transformers/issues/9841/events
https://github.com/huggingface/transformers/issues/9841
795,059,066
MDU6SXNzdWU3OTUwNTkwNjY=
9,841
Multi-TPU training uses just 1 out of 8 cores.
{ "login": "avacaondata", "id": 35173563, "node_id": "MDQ6VXNlcjM1MTczNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avacaondata", "html_url": "https://github.com/avacaondata", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi there. It's just a logging problem in the reporting of the total batch size. If we do the math, from your 5835032 samples, we get 91,172 batches per device, 11,396 batches total (divided by the number of cores) and 1,424 optimization steps (divided by the accumulation steps), which, multiplied by the 3 epochs, ...
1,611
1,611
1,611
NONE
null
## Environment info - `transformers` version: 4.2.2 - Platform: n1-standard-64 Google Cloud - Python version: 3.7 - PyTorch version (GPU?): 1.7 XLA - Tensorflow version (GPU?): - Using GPU in script?: NO, using TPU - Using distributed or parallel set-up in script?: YES; I try to run it in parallel using all 8 co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9841/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9841/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9840/comments
https://api.github.com/repos/huggingface/transformers/issues/9840/events
https://github.com/huggingface/transformers/pull/9840
795,049,207
MDExOlB1bGxSZXF1ZXN0NTYyNDYxODkw
9,840
Fix TF template
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? This PR fixes the template and a cast issue.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9840/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9840", "html_url": "https://github.com/huggingface/transformers/pull/9840", "diff_url": "https://github.com/huggingface/transformers/pull/9840.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9840.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9839/comments
https://api.github.com/repos/huggingface/transformers/issues/9839/events
https://github.com/huggingface/transformers/pull/9839
795,020,524
MDExOlB1bGxSZXF1ZXN0NTYyNDM3NzIy
9,839
Run GA on forks
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 1834088753, "node_id": "MDU6TGFiZWwxODM0MDg4NzUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Tests", "name": "Tests", "color": "a6fcca", "default": false, "description": "Related to tests" } ]
closed
false
null
[]
[]
1,611
1,614
1,614
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9839/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9839", "html_url": "https://github.com/huggingface/transformers/pull/9839", "diff_url": "https://github.com/huggingface/transformers/pull/9839.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9839.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9838/comments
https://api.github.com/repos/huggingface/transformers/issues/9838/events
https://github.com/huggingface/transformers/issues/9838
794,968,943
MDU6SXNzdWU3OTQ5Njg5NDM=
9,838
logging_epochs argument for TrainingArguments
{ "login": "hasansalimkanmaz", "id": 49716619, "node_id": "MDQ6VXNlcjQ5NzE2NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hasansalimkanmaz", "html_url": "https://github.com/hasansalimkanmaz", "followers_url": "https://...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ "Just like `evaluation_strategy` chooses between `'steps'` and `'epoch'`, to maintain consistency I think it is better to introduce either of:\r\n1. a new enumeration `LoggingStrategy` with values\r\n 1. `'epoch'` for per-epoch functionality\r\n 2. `'steps'` functionality by falling back on `logging_steps`\r\...
1,611
1,613
1,613
CONTRIBUTOR
null
# 🚀 Feature request There is no `logging_epochs` argument in `TrainingArguments`. When someone wants to train with `EvaluationStrategy.EPOCH`, he/she wants to see the logs after each epoch. Currently it is not possible. ## Motivation Better logging for training ## Your contribution If I have time, I wo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9838/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/9838/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9837/comments
https://api.github.com/repos/huggingface/transformers/issues/9837/events
https://github.com/huggingface/transformers/pull/9837
794,928,242
MDExOlB1bGxSZXF1ZXN0NTYyMzYwOTA4
9,837
Fixing flaky conversational test + flag it as a pipeline test.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9837/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9837", "html_url": "https://github.com/huggingface/transformers/pull/9837", "diff_url": "https://github.com/huggingface/transformers/pull/9837.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9837.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/9836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9836/comments
https://api.github.com/repos/huggingface/transformers/issues/9836/events
https://github.com/huggingface/transformers/issues/9836
794,921,224
MDU6SXNzdWU3OTQ5MjEyMjQ=
9,836
[docs] use `versionadded`, `versionchanged` and `deprecated` directive
{ "login": "ydcjeff", "id": 32727188, "node_id": "MDQ6VXNlcjMyNzI3MTg4", "avatar_url": "https://avatars.githubusercontent.com/u/32727188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydcjeff", "html_url": "https://github.com/ydcjeff", "followers_url": "https://api.github.com/users/ydcjef...
[]
closed
false
null
[]
[ "Cool idea! ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master...
1,611
1,619
1,619
CONTRIBUTOR
null
# 🚀 Feature request ## Documentation Use `.. versionadded::`, `.. versionchanged::` and `.. deprecated::` directive, so that user knows which features are added / changed / deprecated in which version and they can navigate the docs easily without changing the docs from version to version. Ref: https://www.sphin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9836/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/9836/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9835/comments
https://api.github.com/repos/huggingface/transformers/issues/9835/events
https://github.com/huggingface/transformers/issues/9835
794,898,203
MDU6SXNzdWU3OTQ4OTgyMDM=
9,835
support Mixed Precision and avoid 'dtype=float32' in implementation
{ "login": "xuxingya", "id": 13343428, "node_id": "MDQ6VXNlcjEzMzQzNDI4", "avatar_url": "https://avatars.githubusercontent.com/u/13343428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuxingya", "html_url": "https://github.com/xuxingya", "followers_url": "https://api.github.com/users/xux...
[]
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\nThanks for the feature requests. We are currently working on this, some of them already support mixed precision 👍 ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note th...
1,611
1,619
1,619
NONE
null
# 🚀 Feature request When using Longformer model, I found the dtype of many tensors are assigned directly by `dtype=tf.dtypes.float32` or equations, which makes mixed precision raining impossible. And I found that other models also have this problem. Of course It is not a bug to not support mixed precision training...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9835/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9834/comments
https://api.github.com/repos/huggingface/transformers/issues/9834/events
https://github.com/huggingface/transformers/pull/9834
794,896,775
MDExOlB1bGxSZXF1ZXN0NTYyMzM0NzI1
9,834
Improved TF inputs
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "As said offline, I feel like this adds unnecessary complexity for no real gain. I don't think this necessarily slows things down, and if it does I'm sure it's by a negligible margin. \r\n\r\nAs you mentioned offline this also fixes a bug, so if you find a way to integrate this in the `input_processing` method as y...
1,611
1,612
1,612
CONTRIBUTOR
null
# What does this PR do? This PR aims to improve the input processing of the TF models. Currently the inputs of each model are processed at least twice (once in the model, once in the main layer) and at most four times for the Seq2Seq models (once in the model, once in the main layer, once in the encoder layer and on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9834/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9834", "html_url": "https://github.com/huggingface/transformers/pull/9834", "diff_url": "https://github.com/huggingface/transformers/pull/9834.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9834.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/9833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9833/comments
https://api.github.com/repos/huggingface/transformers/issues/9833/events
https://github.com/huggingface/transformers/issues/9833
794,884,606
MDU6SXNzdWU3OTQ4ODQ2MDY=
9,833
Mixed Precision support and avoid ‘分咯啊太’
{ "login": "xuxingya", "id": 13343428, "node_id": "MDQ6VXNlcjEzMzQzNDI4", "avatar_url": "https://avatars.githubusercontent.com/u/13343428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuxingya", "html_url": "https://github.com/xuxingya", "followers_url": "https://api.github.com/users/xux...
[]
closed
false
null
[]
[]
1,611
1,611
1,611
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> ## Motivation <!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9833/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9832/comments
https://api.github.com/repos/huggingface/transformers/issues/9832/events
https://github.com/huggingface/transformers/issues/9832
794,879,372
MDU6SXNzdWU3OTQ4NzkzNzI=
9,832
ImportError: cannot import name 'get_last_checkpoint'
{ "login": "yuxuan2015", "id": 15645056, "node_id": "MDQ6VXNlcjE1NjQ1MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/15645056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuxuan2015", "html_url": "https://github.com/yuxuan2015", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "HI there,\r\n\r\nwhat's your transformers version ? `get_last_checkpoint` is available on master, so you should install from source to use it", "hi @yuxuan2015 , the latest stable release of transformers (4.2.2) has no 'get_last_checkpoint' function, so if you installed via package manager you won't be able to u...
1,611
1,615
1,615
NONE
null
from transformers.trainer_utils import get_last_checkpoint, is_main_process ImportError: cannot import name 'get_last_checkpoint'
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9832/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9832/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/9831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/9831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/9831/comments
https://api.github.com/repos/huggingface/transformers/issues/9831/events
https://github.com/huggingface/transformers/pull/9831
794,865,661
MDExOlB1bGxSZXF1ZXN0NTYyMzA4NzIy
9,831
[Setup.py] update jaxlib
{ "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,611
1,611
1,611
MEMBER
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/9831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/9831/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/9831", "html_url": "https://github.com/huggingface/transformers/pull/9831", "diff_url": "https://github.com/huggingface/transformers/pull/9831.diff", "patch_url": "https://github.com/huggingface/transformers/pull/9831.patch", "merged_at": 1...