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/12545
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12545/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12545/comments
https://api.github.com/repos/huggingface/transformers/issues/12545/events
https://github.com/huggingface/transformers/issues/12545
938,190,348
MDU6SXNzdWU5MzgxOTAzNDg=
12,545
[Flax] Error converting model to PyTorch from Flax
{ "login": "w11wo", "id": 23167175, "node_id": "MDQ6VXNlcjIzMTY3MTc1", "avatar_url": "https://avatars.githubusercontent.com/u/23167175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/w11wo", "html_url": "https://github.com/w11wo", "followers_url": "https://api.github.com/users/w11wo/follow...
[]
closed
false
null
[]
[ "Seeing how we are able to convert `float32` weights to `bfloat16` as shown [here](https://github.com/huggingface/transformers/issues/12534#issue-937864452), I tried to the reverse, i.e. converting `bfloat16` to `float32`. I executed the following lines:\r\n\r\n```python\r\nfrom transformers import GPT2LMHeadModel,...
1,625
1,625
1,625
NONE
null
Hi, I followed the causal language modeling in Flax tutorial notebook provided [here](https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/causal_language_modeling_flax.ipynb) in Colab. And at the end of the training, I'd like to get a working PyTorch model from the JAX/Flax weights, henc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12545/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12545/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12544
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12544/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12544/comments
https://api.github.com/repos/huggingface/transformers/issues/12544/events
https://github.com/huggingface/transformers/pull/12544
938,176,271
MDExOlB1bGxSZXF1ZXN0Njg0NjA4MzQ3
12,544
[examples/flax] add adafactor optimizer
{ "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,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR adds the Adafactor optimizer in all language modeling scripts. This enables fine-tuning large models like 1.3B GPTNeo. Without adafactor the current CLM script can't even load the optimizer states. With Adafactor and bf16 it should now be possible to fit 1.3B GPTNeo on a single v3-8. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12544/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12544/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12544", "html_url": "https://github.com/huggingface/transformers/pull/12544", "diff_url": "https://github.com/huggingface/transformers/pull/12544.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12544.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12543
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12543/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12543/comments
https://api.github.com/repos/huggingface/transformers/issues/12543/events
https://github.com/huggingface/transformers/pull/12543
938,118,085
MDExOlB1bGxSZXF1ZXN0Njg0NTYwNzY3
12,543
[Flax] Adapt examples to be able to use eval_steps and save_steps
{ "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,625
1,625
1,625
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/12543/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12543/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12543", "html_url": "https://github.com/huggingface/transformers/pull/12543", "diff_url": "https://github.com/huggingface/transformers/pull/12543.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12543.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12542
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12542/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12542/comments
https://api.github.com/repos/huggingface/transformers/issues/12542/events
https://github.com/huggingface/transformers/issues/12542
938,020,580
MDU6SXNzdWU5MzgwMjA1ODA=
12,542
ModuleNotFoundError: No module named 'transformers'
{ "login": "JadeInTheSky", "id": 45185179, "node_id": "MDQ6VXNlcjQ1MTg1MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/45185179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JadeInTheSky", "html_url": "https://github.com/JadeInTheSky", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I fixed it, \r\n\r\nit appears that using pip install (libraries) ubuntu installed the python 2 version of the required module..\r\nuninstalling them and using \r\n``` \r\npip3.9 install transformers \r\n```\r\ninstalls the 3.9 versions of the module and allows the code to run smoothly.." ]
1,625
1,625
1,625
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-cliv: command not found - `transformers` version: 4.8.2 - Platform: Ubuntu (20.04) with KDE desktop - Python version: 3...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12542/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12542/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12541
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12541/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12541/comments
https://api.github.com/repos/huggingface/transformers/issues/12541/events
https://github.com/huggingface/transformers/pull/12541
938,016,407
MDExOlB1bGxSZXF1ZXN0Njg0NDc2MzI1
12,541
Edit readme
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
# What does this PR do? I have the impression that a tiny typo has crept into the readme. <!-- 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 th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12541/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12541/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12541", "html_url": "https://github.com/huggingface/transformers/pull/12541", "diff_url": "https://github.com/huggingface/transformers/pull/12541.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12541.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12540
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12540/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12540/comments
https://api.github.com/repos/huggingface/transformers/issues/12540/events
https://github.com/huggingface/transformers/pull/12540
937,929,522
MDExOlB1bGxSZXF1ZXN0Njg0NDAzODE3
12,540
Updated README
{ "login": "suzana-ilic", "id": 27798583, "node_id": "MDQ6VXNlcjI3Nzk4NTgz", "avatar_url": "https://avatars.githubusercontent.com/u/27798583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suzana-ilic", "html_url": "https://github.com/suzana-ilic", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
Added video links for all talks and anonymized chat history.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12540/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12540/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12540", "html_url": "https://github.com/huggingface/transformers/pull/12540", "diff_url": "https://github.com/huggingface/transformers/pull/12540.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12540.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12539
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12539/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12539/comments
https://api.github.com/repos/huggingface/transformers/issues/12539/events
https://github.com/huggingface/transformers/issues/12539
937,928,786
MDU6SXNzdWU5Mzc5Mjg3ODY=
12,539
How to make BART infill unmasked deletions (not masked tokens)?
{ "login": "d4buss", "id": 85196311, "node_id": "MDQ6VXNlcjg1MTk2MzEx", "avatar_url": "https://avatars.githubusercontent.com/u/85196311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/d4buss", "html_url": "https://github.com/d4buss", "followers_url": "https://api.github.com/users/d4buss/fo...
[]
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,625
1,628
1,628
NONE
null
Hello, I see that BART is able to infill <mask> tokens in the input and was able to run this example. https://huggingface.co/transformers/model_doc/bart.html#mask-filling Since BART can also handle other type of pre-training noise such as token deletion, is there a way I could get BART to take inputs with deletio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12539/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12539/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12538
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12538/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12538/comments
https://api.github.com/repos/huggingface/transformers/issues/12538/events
https://github.com/huggingface/transformers/pull/12538
937,923,926
MDExOlB1bGxSZXF1ZXN0Njg0Mzk5MDg5
12,538
[WIP] Extend the testing of tokenizers that just have a legacy version
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
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,625
1,629
1,629
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/12538/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/12538/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12538", "html_url": "https://github.com/huggingface/transformers/pull/12538", "diff_url": "https://github.com/huggingface/transformers/pull/12538.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12538.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12537
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12537/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12537/comments
https://api.github.com/repos/huggingface/transformers/issues/12537/events
https://github.com/huggingface/transformers/pull/12537
937,917,490
MDExOlB1bGxSZXF1ZXN0Njg0MzkzNzg4
12,537
[WIP] flax 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/...
[ { "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
null
[]
[ "Would be good to get some results on how much memory can be saved and if this is correctly implemented ", "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 ...
1,625
1,648
null
MEMBER
null
# What does this PR do? Adds gradient checkpointing to flax models
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12537/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12537/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12537", "html_url": "https://github.com/huggingface/transformers/pull/12537", "diff_url": "https://github.com/huggingface/transformers/pull/12537.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12537.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12536
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12536/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12536/comments
https://api.github.com/repos/huggingface/transformers/issues/12536/events
https://github.com/huggingface/transformers/issues/12536
937,892,056
MDU6SXNzdWU5Mzc4OTIwNTY=
12,536
Attempting to load non-existent vocab files from cache leads to a breaking behavior offline (while non-breaking online)
{ "login": "ManuelFay", "id": 43467008, "node_id": "MDQ6VXNlcjQzNDY3MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/43467008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ManuelFay", "html_url": "https://github.com/ManuelFay", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello! I am unsure of which scripts you are using. However, when instantiating a model or a tokenizer, you should specify \r\nthe `local_files_only=True` parameter to the `from_pretrained` method when offline to ensure that the objects don't try to fetch files they can't access.", "For every other file, they can...
1,625
1,628
1,628
CONTRIBUTOR
null
Hello, I found an error trying to use the `openai/clip-vit-base-patch32` model offline, that was downloaded and cached from previous uses. Digging through the code, the problem seems to arise from the fact that when used online, attempting to download a file that does not exist (here `added_tokens.json`) leads to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12536/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12536/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12535
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12535/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12535/comments
https://api.github.com/repos/huggingface/transformers/issues/12535/events
https://github.com/huggingface/transformers/issues/12535
937,879,914
MDU6SXNzdWU5Mzc4Nzk5MTQ=
12,535
Extend the testing of tokenizers that just have a legacy version
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[ { "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github...
[ "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,625
1,628
1,628
CONTRIBUTOR
null
# 🚀 Feature request For the moment, only tokenizers that have a rust version use the tests in `test_tokenization_common.py` file that use the `self.tokenizers_list` attribute that stores a (eventually some) model name stored on the hub. As mentioned by @LysandreJik in this [discussion](https://github.com/hugging...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12535/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/12535/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12534
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12534/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12534/comments
https://api.github.com/repos/huggingface/transformers/issues/12534/events
https://github.com/huggingface/transformers/issues/12534
937,864,452
MDU6SXNzdWU5Mzc4NjQ0NTI=
12,534
[Flax] from_pretrained does not consider the passed dtype
{ "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": 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": "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/...
[ { "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": "htt...
[ "I wonder whether this might be problematic for layer norm weights since those should usually always be of type `float32`, no?", "Would love to hear what @avital @marcvanzee think here", "I think it's fine to manually port weights to bfloat16 if you want to. In general all Flax layers accept a dtype attribute w...
1,625
1,630
null
MEMBER
null
## Environment info When loading a flax model with `from_pretrained` the type argument is not used. The weights are initialized with the dtype of saved weights. So if you do ```python model = FlaxGPT2ForCausalLM.from_pretrained("gpt2", dtype=jnp.dtype("bfloat16")) # check the dtype of one of the params mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12534/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12534/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12533
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12533/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12533/comments
https://api.github.com/repos/huggingface/transformers/issues/12533/events
https://github.com/huggingface/transformers/issues/12533
937,863,374
MDU6SXNzdWU5Mzc4NjMzNzQ=
12,533
The "additional_special_tokens" argument in the ".from_pretrained" method of the tokenizer is not necessarily taken into account.
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "Indeed, it seems the `TapasTokenizer` isn't initialized correctly here; this should be patched!", "Seems like the `MBart50TokenizerFast` is facing the same issue. \r\n\r\nOne can see here how the special tokens are set according to the lang_codes:\r\nhttps://github.com/huggingface/transformers/blob/dc42e770b86b7...
1,625
1,631
1,631
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12533/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12533/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12532
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12532/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12532/comments
https://api.github.com/repos/huggingface/transformers/issues/12532/events
https://github.com/huggingface/transformers/issues/12532
937,810,135
MDU6SXNzdWU5Mzc4MTAxMzU=
12,532
Flax Save/Load from base model with different name
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "cc @patil-suraj ", "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/m...
1,625
1,629
1,629
MEMBER
null
The following doesn't work correctly at the moment - loading a base model into a head from PyTorch model when the names are different. *E.g.*: ```python from transformers import RobertaModel, FlaxRobertaForMaskedLM, RobertaConfig model = RobertaModel(RobertaConfig()) model.save_pretrained("./") FlaxRobertaF...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12532/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12532/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12531
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12531/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12531/comments
https://api.github.com/repos/huggingface/transformers/issues/12531/events
https://github.com/huggingface/transformers/issues/12531
937,769,982
MDU6SXNzdWU5Mzc3Njk5ODI=
12,531
run_clm_no_trainer.py ModuleNotFoundError
{ "login": "jayachaturvedi", "id": 47827995, "node_id": "MDQ6VXNlcjQ3ODI3OTk1", "avatar_url": "https://avatars.githubusercontent.com/u/47827995?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jayachaturvedi", "html_url": "https://github.com/jayachaturvedi", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "This looks like a problem with the dataset you are using and a missing package? The script does not use `mimic_string` so the import error can't come from it.", "Thank you!" ]
1,625
1,625
1,625
NONE
null
Hello, I am trying to run the run_clm_no_trainer.py (since I'm using mimic data to train) file, I get this error: ModuleNotFoundError: No module named 'datasets_modules.datasets.mimic_string' Running on colab - This is the code: !python3 'gdrive/My Drive/UmlsBERT-master/language-modeling/run_clm_no_trainer....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12531/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12530
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12530/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12530/comments
https://api.github.com/repos/huggingface/transformers/issues/12530/events
https://github.com/huggingface/transformers/issues/12530
937,652,842
MDU6SXNzdWU5Mzc2NTI4NDI=
12,530
Is there a Bert version of the OpenAIGPTLMHeadModel?
{ "login": "logan-siyao-peng", "id": 10673571, "node_id": "MDQ6VXNlcjEwNjczNTcx", "avatar_url": "https://avatars.githubusercontent.com/u/10673571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/logan-siyao-peng", "html_url": "https://github.com/logan-siyao-peng", "followers_url": "https://...
[]
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,625
1,629
1,629
NONE
null
# 🚀 Feature request I am trying to use the bert-base-chinese model to evaluate the fluency of Chinese texts. I noticed a sample code that uses openai-gpt for English that employes the class OpenAIGPTLMHeadModel. However, since only the bert-base-chinese model is available for Chinese, I am wondering whether there i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12530/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12530/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12529
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12529/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12529/comments
https://api.github.com/repos/huggingface/transformers/issues/12529/events
https://github.com/huggingface/transformers/issues/12529
937,637,774
MDU6SXNzdWU5Mzc2Mzc3NzQ=
12,529
Load Trainer state
{ "login": "Aktsvigun", "id": 36672861, "node_id": "MDQ6VXNlcjM2NjcyODYx", "avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aktsvigun", "html_url": "https://github.com/Aktsvigun", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @sgugger ", "How would this be different from\r\n```\r\ntrainer.train(resume_from_checkpoint=True)\r\n```\r\n?", "That's pretty similar, still, when one needs to use `trainer.predict` of a trained model, for instance.", "You don't need the optimizer and scheduler states for this, just the model.", "This...
1,625
1,625
1,625
CONTRIBUTOR
null
# 🚀 Feature request Hi, I wonder if there is a method to load a saved state of the trainer, so that I can continue the training loop from where I started. If I understand it right, I need to load the saved states of _model_, _optimizer_ and _scheduler_. ## Motivation However, it would be much more convenient...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12529/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12528
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12528/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12528/comments
https://api.github.com/repos/huggingface/transformers/issues/12528/events
https://github.com/huggingface/transformers/issues/12528
937,629,156
MDU6SXNzdWU5Mzc2MjkxNTY=
12,528
FlaxRobertaModel.from_pretrained does not load weights correctly
{ "login": "bminixhofer", "id": 13353204, "node_id": "MDQ6VXNlcjEzMzUzMjA0", "avatar_url": "https://avatars.githubusercontent.com/u/13353204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bminixhofer", "html_url": "https://github.com/bminixhofer", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @patrickvonplaten @patil-suraj ", "Thank you for reporting this. Yes, the uploaded checkpoints seem to be wrong.\r\n\r\n@patrickvonplaten we should verify and re-upload all Roberta flax checkpoints.", "Oh oh this doesn't look good at all :-/ ", "I'll re-upload the roberta checkpoints. This definitely seem...
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0+cu102 (False) - Tensorflow version (GPU?): 2.5.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu) - Jax version: 0.2.13 - JaxLib version: 0....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12528/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12528/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12527
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12527/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12527/comments
https://api.github.com/repos/huggingface/transformers/issues/12527/events
https://github.com/huggingface/transformers/issues/12527
937,510,117
MDU6SXNzdWU5Mzc1MTAxMTc=
12,527
[Examples][Flax] AttributeError: 'DataTrainingArguments' object has no attribute 'test_file'
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,625
1,626
1,626
CONTRIBUTOR
null
## Description While running run_summarization_flax.py with local files, currently we have only two DataTrainingArguments, one for training and another for validation file still we are validating test_file which is producing an error ``` Traceback (most recent call last): File "transformers/examples/flax/summar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12527/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12526
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12526/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12526/comments
https://api.github.com/repos/huggingface/transformers/issues/12526/events
https://github.com/huggingface/transformers/issues/12526
937,445,458
MDU6SXNzdWU5Mzc0NDU0NTg=
12,526
Really long training time on bert fine-tuning for classification
{ "login": "steveguang", "id": 9006809, "node_id": "MDQ6VXNlcjkwMDY4MDk=", "avatar_url": "https://avatars.githubusercontent.com/u/9006809?v=4", "gravatar_id": "", "url": "https://api.github.com/users/steveguang", "html_url": "https://github.com/steveguang", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!" ]
1,625
1,626
1,626
NONE
null
Hi, I am training a dataset with 700,000 samples. Basically they are just text with a binary label. What I am doing is model = transformer.BertModel.from_pretrained("uncased_bert") outputs = model(ids=ids, mask=mask, token_type_ids=token_type_ids) loss = loss_fun(outputs, targets). So for each piece of text, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12526/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12525
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12525/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12525/comments
https://api.github.com/repos/huggingface/transformers/issues/12525/events
https://github.com/huggingface/transformers/pull/12525
937,419,875
MDExOlB1bGxSZXF1ZXN0NjgzOTc5NTE1
12,525
[debugging utils] minor doc improvements
{ "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,625
1,625
1,625
CONTRIBUTOR
null
This PR includes various minor doc improvements. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12525/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12525/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12525", "html_url": "https://github.com/huggingface/transformers/pull/12525", "diff_url": "https://github.com/huggingface/transformers/pull/12525.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12525.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12524
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12524/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12524/comments
https://api.github.com/repos/huggingface/transformers/issues/12524/events
https://github.com/huggingface/transformers/pull/12524
937,418,976
MDExOlB1bGxSZXF1ZXN0NjgzOTc4Nzcz
12,524
[doc] DP/PP/TP/etc parallelism
{ "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,625
1,625
1,625
CONTRIBUTOR
null
This PR graduates the original notes from https://github.com/huggingface/transformers/issues/9766 combined with notes from @anton-l https://github.com/huggingface/transformers/issues/10321#issuecomment-783543530 and adding some extra materials into a separate doc. Fixes: https://github.com/huggingface/transformers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12524/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12524", "html_url": "https://github.com/huggingface/transformers/pull/12524", "diff_url": "https://github.com/huggingface/transformers/pull/12524.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12524.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12523
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12523/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12523/comments
https://api.github.com/repos/huggingface/transformers/issues/12523/events
https://github.com/huggingface/transformers/issues/12523
937,399,927
MDU6SXNzdWU5MzczOTk5Mjc=
12,523
How much GPU memory is required for DistilBERT?
{ "login": "Peppershaker", "id": 15576531, "node_id": "MDQ6VXNlcjE1NTc2NTMx", "avatar_url": "https://avatars.githubusercontent.com/u/15576531?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Peppershaker", "html_url": "https://github.com/Peppershaker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "https://docs.google.com/spreadsheets/d/1sryqufw2D0XlUH4sq3e9Wnxu5EAQkaohzrJbd5HdQ_w/edit#gid=0" ]
1,625
1,625
1,625
NONE
null
Looked through issues and searched on Google and can't seem to find a answer to this question. Batch size is 1. Thanks,
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12523/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12523/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12522
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12522/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12522/comments
https://api.github.com/repos/huggingface/transformers/issues/12522/events
https://github.com/huggingface/transformers/issues/12522
937,398,233
MDU6SXNzdWU5MzczOTgyMzM=
12,522
Keep getting an OOM when doing a evaluation
{ "login": "davebulaval", "id": 24845694, "node_id": "MDQ6VXNlcjI0ODQ1Njk0", "avatar_url": "https://avatars.githubusercontent.com/u/24845694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davebulaval", "html_url": "https://github.com/davebulaval", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Found [this](https://discuss.huggingface.co/t/cuda-out-of-memory-during-evaluation-but-training-is-fine/1783/2) explication that fixed my problem.\r\n\r\ni.e. Huggingface keeps all the prediction in the GPU." ]
1,625
1,625
1,625
NONE
null
## Environment info - `transformers` version: 4.8.2 - Platform: Linux-5.8.0-55-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.9 - PyTorch version (GPU?): 1.9.0+cu111 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12522/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12521/comments
https://api.github.com/repos/huggingface/transformers/issues/12521/events
https://github.com/huggingface/transformers/pull/12521
937,376,083
MDExOlB1bGxSZXF1ZXN0NjgzOTQzMjk3
12,521
Improve documentation of pooler_output in ModelOutput
{ "login": "navjotts", "id": 8072161, "node_id": "MDQ6VXNlcjgwNzIxNjE=", "avatar_url": "https://avatars.githubusercontent.com/u/8072161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/navjotts", "html_url": "https://github.com/navjotts", "followers_url": "https://api.github.com/users/navjo...
[]
closed
false
null
[]
[ "Thanks, you just need to run `make style` on your branch to fix the styling issue.", "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 [contribut...
1,625
1,629
1,629
CONTRIBUTOR
null
# What does this PR do? Improves the doc string for pooler_output in modeling_outputs.py – making it more clear, and opening its availability to a more generic use-case than just BERT-family of models. **Motivation**: I was writing a `cls_pooler` for a sentence embeddings usage, and initially thought this is the C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12521/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12521", "html_url": "https://github.com/huggingface/transformers/pull/12521", "diff_url": "https://github.com/huggingface/transformers/pull/12521.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12521.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12520
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12520/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12520/comments
https://api.github.com/repos/huggingface/transformers/issues/12520/events
https://github.com/huggingface/transformers/pull/12520
937,341,876
MDExOlB1bGxSZXF1ZXN0NjgzOTE0MzI3
12,520
[Wav2Vec2] Flax - Adapt wav2vec2 script
{ "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,625
1,625
1,625
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/12520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12520/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12520", "html_url": "https://github.com/huggingface/transformers/pull/12520", "diff_url": "https://github.com/huggingface/transformers/pull/12520.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12520.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12519
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12519/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12519/comments
https://api.github.com/repos/huggingface/transformers/issues/12519/events
https://github.com/huggingface/transformers/pull/12519
937,309,166
MDExOlB1bGxSZXF1ZXN0NjgzODg2MzI5
12,519
[Flax] Fix hybrid clip
{ "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,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR fixes an issue with saving and loading `HybridCLIPConfig` which was causing issues when loading the model. The config was expecting the `text_config_dict` and `vision_config_dict` arguments, but in the `to_dict` it was saved as `text_config` and `vision_config`. So the next time wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12519/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12519/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12519", "html_url": "https://github.com/huggingface/transformers/pull/12519", "diff_url": "https://github.com/huggingface/transformers/pull/12519.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12519.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12518
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12518/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12518/comments
https://api.github.com/repos/huggingface/transformers/issues/12518/events
https://github.com/huggingface/transformers/issues/12518
937,296,075
MDU6SXNzdWU5MzcyOTYwNzU=
12,518
Can hidden states be passed instead of input_ids or inputs_embeds in Transformers OpenAI GPT2?
{ "login": "QMrpy", "id": 33917367, "node_id": "MDQ6VXNlcjMzOTE3MzY3", "avatar_url": "https://avatars.githubusercontent.com/u/33917367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/QMrpy", "html_url": "https://github.com/QMrpy", "followers_url": "https://api.github.com/users/QMrpy/follow...
[]
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://discuss.huggingface.co) instead?\r\n\r\nThanks!", "Thank you! I have asked my [question](https://discuss.huggingface.co/t/can-hidden-states-be-passed-instead-of-in...
1,625
1,628
1,628
NONE
null
I am working on an encoder decoder model which uses a fine tuned RoBERTa as the encoder and GPT2 as the decoder. Before passing the encoder context to the decoder, I am mixing it with some context from a different domain. This mixing module is a simple NN. Hence, I now want to pass these transformed hidden states to th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12518/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12517
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12517/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12517/comments
https://api.github.com/repos/huggingface/transformers/issues/12517/events
https://github.com/huggingface/transformers/pull/12517
937,272,170
MDExOlB1bGxSZXF1ZXN0NjgzODU1NjIw
12,517
MLM training fails with no validation file(same as #12406 for pytorch now)
{ "login": "Souvic", "id": 11485233, "node_id": "MDQ6VXNlcjExNDg1MjMz", "avatar_url": "https://avatars.githubusercontent.com/u/11485233?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Souvic", "html_url": "https://github.com/Souvic", "followers_url": "https://api.github.com/users/Souvic/fo...
[]
closed
false
null
[]
[ "@sgugger @patil-suraj ..\r\nChecks done.." ]
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0+cu102 (True) - Tensorflow version (GPU?): 2.5.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12517/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12517", "html_url": "https://github.com/huggingface/transformers/pull/12517", "diff_url": "https://github.com/huggingface/transformers/pull/12517.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12517.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12516
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12516/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12516/comments
https://api.github.com/repos/huggingface/transformers/issues/12516/events
https://github.com/huggingface/transformers/pull/12516
937,270,874
MDExOlB1bGxSZXF1ZXN0NjgzODU0NjA0
12,516
[Flax] Fix another bug in logging steps
{ "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,625
1,625
1,625
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/12516/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12516/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12516", "html_url": "https://github.com/huggingface/transformers/pull/12516", "diff_url": "https://github.com/huggingface/transformers/pull/12516.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12516.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12515
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12515/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12515/comments
https://api.github.com/repos/huggingface/transformers/issues/12515/events
https://github.com/huggingface/transformers/pull/12515
937,264,254
MDExOlB1bGxSZXF1ZXN0NjgzODQ5MDk3
12,515
[Flax] Correct logging steps flax
{ "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,625
1,625
1,625
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/12515/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12515/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12515", "html_url": "https://github.com/huggingface/transformers/pull/12515", "diff_url": "https://github.com/huggingface/transformers/pull/12515.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12515.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12514
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12514/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12514/comments
https://api.github.com/repos/huggingface/transformers/issues/12514/events
https://github.com/huggingface/transformers/pull/12514
937,239,966
MDExOlB1bGxSZXF1ZXN0NjgzODI4NDkx
12,514
[Flax] Correct flax training scripts
{ "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,625
1,625
1,625
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/12514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12514/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12514", "html_url": "https://github.com/huggingface/transformers/pull/12514", "diff_url": "https://github.com/huggingface/transformers/pull/12514.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12514.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12513
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12513/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12513/comments
https://api.github.com/repos/huggingface/transformers/issues/12513/events
https://github.com/huggingface/transformers/issues/12513
937,164,459
MDU6SXNzdWU5MzcxNjQ0NTk=
12,513
Loading FlaxHybridCLIP trained model
{ "login": "vinid", "id": 2234699, "node_id": "MDQ6VXNlcjIyMzQ2OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/2234699?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vinid", "html_url": "https://github.com/vinid", "followers_url": "https://api.github.com/users/vinid/follower...
[]
closed
false
null
[]
[ "Sorry, totally forgot to tag you @patrickvonplaten, @patil-suraj :)\r\n\r\nThanks :) ", "Hi @vinid \r\n\r\nTo load the trained model or if you save the `FlaxHybridCLIP` model using the `save_pretrained` method, you could directly use the `FlaxHybridCLIP.from_pretrained` method. Let me know If that works.", "Th...
1,625
1,632
1,625
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.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12513/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12513/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12512
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12512/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12512/comments
https://api.github.com/repos/huggingface/transformers/issues/12512/events
https://github.com/huggingface/transformers/pull/12512
937,164,186
MDExOlB1bGxSZXF1ZXN0NjgzNzY0NTQ3
12,512
Remove tf.roll wherever not needed
{ "login": "szutenberg", "id": 37601244, "node_id": "MDQ6VXNlcjM3NjAxMjQ0", "avatar_url": "https://avatars.githubusercontent.com/u/37601244?v=4", "gravatar_id": "", "url": "https://api.github.com/users/szutenberg", "html_url": "https://github.com/szutenberg", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@szutenberg Thanks for this PR! The changes look good - is there anything else you want to edit, or are you happy for us to merge it as is?", "Hi @Rocketknight1 , \r\n\r\nThanks for the review. The change is ready for merge as it is.\r\n\r\nCould you have a look at: https://github.com/huggingface/transformers/pu...
1,625
1,625
1,625
CONTRIBUTOR
null
It was used in shift_right. After this change TF code is more similar to Pytorch implementations Also, TF graphs are optimized (one node less) # What does this PR do? This change optimizes TF graphs and code without modifying the math. Using roll is not necessary (probably most accelerators implement it as ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12512/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12512", "html_url": "https://github.com/huggingface/transformers/pull/12512", "diff_url": "https://github.com/huggingface/transformers/pull/12512.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12512.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12511
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12511/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12511/comments
https://api.github.com/repos/huggingface/transformers/issues/12511/events
https://github.com/huggingface/transformers/pull/12511
937,094,229
MDExOlB1bGxSZXF1ZXN0NjgzNzA0NzE5
12,511
Add a warning for broken ProphetNet fine-tuning
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
This PR adds a warning for the broken ProphetNet fine-tuning (#9804).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12511/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12511/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12511", "html_url": "https://github.com/huggingface/transformers/pull/12511", "diff_url": "https://github.com/huggingface/transformers/pull/12511.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12511.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12510
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12510/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12510/comments
https://api.github.com/repos/huggingface/transformers/issues/12510/events
https://github.com/huggingface/transformers/pull/12510
937,074,797
MDExOlB1bGxSZXF1ZXN0NjgzNjg4MTE0
12,510
Fix order of state and input in Flax Quickstart README
{ "login": "navjotts", "id": 8072161, "node_id": "MDQ6VXNlcjgwNzIxNjE=", "avatar_url": "https://avatars.githubusercontent.com/u/8072161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/navjotts", "html_url": "https://github.com/navjotts", "followers_url": "https://api.github.com/users/navjo...
[]
closed
false
null
[]
[ "Note: if the above correction is valid, then we ll need to update [this image](https://raw.githubusercontent.com/patrickvonplaten/scientific_images/master/lm_flax_inference.png) as well " ]
1,625
1,625
1,625
CONTRIBUTOR
null
# What does this PR do? Correct the order of state and input for `flax.linen.apply()` in Flax Quickstart README ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? @patrickvonplaten @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12510/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12510/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12510", "html_url": "https://github.com/huggingface/transformers/pull/12510", "diff_url": "https://github.com/huggingface/transformers/pull/12510.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12510.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12509
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12509/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12509/comments
https://api.github.com/repos/huggingface/transformers/issues/12509/events
https://github.com/huggingface/transformers/issues/12509
937,070,997
MDU6SXNzdWU5MzcwNzA5OTc=
12,509
`transformers-cli env` doesn't work out-of-the-box on v3-8 TPU
{ "login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/foll...
[]
closed
false
null
[]
[ "Thank you for reporting this!\r\n\r\n@LysandreJik do we need all `dev` dependencies for `transformers-cli` ? \r\nThe above error is caused by missing `sndfile` which is required for `torchaudio` or `soundfile` .\r\n\r\nas a workaround, you could install `sndfile` \r\n```sudo apt-get install libsndfile1```", "Not...
1,625
1,628
1,628
CONTRIBUTOR
null
**Running `transformers-cli env` returns the following stack trace** ```bash (gpt-2-german) christopher@t1v-n-97918dcd-w-0:~$ transformers-cli env Traceback (most recent call last): File "/home/christopher/gpt-2-german/bin/transformers-cli", line 33, in <module> sys.exit(load_entry_point('transformers', 'con...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12509/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12509/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12508
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12508/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12508/comments
https://api.github.com/repos/huggingface/transformers/issues/12508/events
https://github.com/huggingface/transformers/issues/12508
937,043,691
MDU6SXNzdWU5MzcwNDM2OTE=
12,508
Our Model works well in the local ! But when we upload that it doesnt work showing irrelevent performance !
{ "login": "sami10644", "id": 61244442, "node_id": "MDQ6VXNlcjYxMjQ0NDQy", "avatar_url": "https://avatars.githubusercontent.com/u/61244442?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sami10644", "html_url": "https://github.com/sami10644", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Do you have a link to your model?", "\r\nYes ! can you tell something about tokenizer ?\r\n\r\n" ]
1,625
1,625
1,625
NONE
null
We tried every possible way . We followed the uploading steps perfectly . Deleting and re uploading are done several times . It performs perfectly in the local ! When we download after uploading it it shows this mysterious problem .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12508/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12506
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12506/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12506/comments
https://api.github.com/repos/huggingface/transformers/issues/12506/events
https://github.com/huggingface/transformers/issues/12506
936,951,639
MDU6SXNzdWU5MzY5NTE2Mzk=
12,506
[Flax] Non working model when exporting to Huggingface
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
closed
false
null
[]
[ "cc @patrickvonplaten @patil-suraj ", "Hi @peregilk, how did you save the flax Roberta model using the `FlaxRobertaModel` class or using the `FlaxRobertaForMaskedLM` class? \r\nI tried loading the flax model with\r\n```python\r\nfx_model = FlaxRobertaForMaskedLM.from_pretrained(\"pere/norwegian-roberta-base\")\r\...
1,625
1,628
1,628
CONTRIBUTOR
null
I have trained a RoBERTa base Norwegian according to instructions given at https://github.com/huggingface/transformers/tree/master/examples/flax/language-modeling#masked-language-modeling. The final mlm accuracy is 0.63, indicating a working model. I am trying to load the model, and export til to PyTorch (or TF) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12506/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12505
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12505/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12505/comments
https://api.github.com/repos/huggingface/transformers/issues/12505/events
https://github.com/huggingface/transformers/issues/12505
936,909,629
MDU6SXNzdWU5MzY5MDk2Mjk=
12,505
Error while running rn_clm_flax.py training script
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Copied from comment in flax.\r\n\r\n@jheek pointed out that the fragmentation/OOM is caused by storing training metrics (on device) in the training_metrics list. If the number of steps per epoch is really large (which is the case bigger datasets) then we should periodically fetch the metrics to memory or do loggin...
1,625
1,625
1,625
NONE
null
Ran the run_clm_flax script with the following parameters. ./run_clm_flax.py \ --output_dir="${MODEL_DIR}" \ --model_type="gpt2" \ --config_name="${MODEL_DIR}" \ --tokenizer_name="${MODEL_DIR}" \ --dataset_name="oscar" \ --dataset_config_name="unshuffled_deduplicated_sv" \ --do_tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12505/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12505/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12504
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12504/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12504/comments
https://api.github.com/repos/huggingface/transformers/issues/12504/events
https://github.com/huggingface/transformers/issues/12504
936,879,238
MDU6SXNzdWU5MzY4NzkyMzg=
12,504
Creating Flax VisualBert based on Flax Bert
{ "login": "gchhablani", "id": 29076344, "node_id": "MDQ6VXNlcjI5MDc2MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchhablani", "html_url": "https://github.com/gchhablani", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I tried another way (by modifying the pre-trained class):\r\n``` python\r\nclass FlaxViTBertPreTrainedModel(FlaxPreTrainedModel):\r\n \"\"\"\r\n An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained\r\n models.\r\n \"\"\"\r\n\r\n config_clas...
1,625
1,625
1,625
CONTRIBUTOR
null
I am using the [VisualBert](https://github.com/huggingface/transformers/blob/master/src/transformers/models/visual_bert/modeling_visual_bert.py) model and the [FlaxBert](https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/modeling_flax_bert.py) model to create a model similar to VisualB...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12504/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12503
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12503/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12503/comments
https://api.github.com/repos/huggingface/transformers/issues/12503/events
https://github.com/huggingface/transformers/issues/12503
936,875,670
MDU6SXNzdWU5MzY4NzU2NzA=
12,503
model.generate does not work when using a FlaxGPTNeoForCausalLM model in PT (flax-community-event)
{ "login": "TheodoreGalanos", "id": 13436572, "node_id": "MDQ6VXNlcjEzNDM2NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/13436572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheodoreGalanos", "html_url": "https://github.com/TheodoreGalanos", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Can you try:\r\n\r\n```python\r\nfrom transformers import GPTNeoForCausalLM, AutoTokenizer\r\n\r\nmodel = GPTNeoForCausalLM.from_pretrained('gptneo-125M-finetuned', from_flax=True)\r\ntokenizer = AutoTokenizer.from_pretrained('EleutherAI/gpt-neo-125M', use_fast=True)\r\ntext = 'A house with three bedrooms'\r\ninpu...
1,625
1,632
1,625
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (tpu) - Jax version: 0.2.16 - JaxLib version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12503/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12502
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12502/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12502/comments
https://api.github.com/repos/huggingface/transformers/issues/12502/events
https://github.com/huggingface/transformers/issues/12502
936,841,373
MDU6SXNzdWU5MzY4NDEzNzM=
12,502
jax hybrip_clip error ( numpy is not a valid JAX type )
{ "login": "acul3", "id": 56231298, "node_id": "MDQ6VXNlcjU2MjMxMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/56231298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/acul3", "html_url": "https://github.com/acul3", "followers_url": "https://api.github.com/users/acul3/follow...
[]
closed
false
null
[]
[ "Looking into it.", "I just tried it, and couldn't reproduce the issue. Could you please verify again?\r\n\r\nAlso, note that in COCO the captions are in English so this won't work for Indonesian. You should use a dataset that has captions in Indonesian. The [WIT](https://github.com/google-research-datasets/wit)...
1,625
1,626
1,626
CONTRIBUTOR
null
i tried to run script([run_hybrid_clip.py](https://github.com/huggingface/transformers/tree/master/examples/research_projects/jax-projects/hybrid_clip)) after few step i got error ``` it/s/home/acul/env/lib/python3.8/site-packages/transformers/tokenization_utils_base.py:699: VisibleDeprecationWarning: Creating ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12502/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12502/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12501
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12501/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12501/comments
https://api.github.com/repos/huggingface/transformers/issues/12501/events
https://github.com/huggingface/transformers/pull/12501
936,798,632
MDExOlB1bGxSZXF1ZXN0NjgzNDUyMjcw
12,501
Add `Repository` import to the FLAX example script
{ "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,625
1,625
1,625
MEMBER
null
Add `Repository` import to the FLAX example script
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12501/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12501/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12501", "html_url": "https://github.com/huggingface/transformers/pull/12501", "diff_url": "https://github.com/huggingface/transformers/pull/12501.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12501.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12500
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12500/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12500/comments
https://api.github.com/repos/huggingface/transformers/issues/12500/events
https://github.com/huggingface/transformers/issues/12500
936,674,074
MDU6SXNzdWU5MzY2NzQwNzQ=
12,500
text-classification example broken; version issue / inconsistency issues
{ "login": "pasta41", "id": 43613679, "node_id": "MDQ6VXNlcjQzNjEzNjc5", "avatar_url": "https://avatars.githubusercontent.com/u/43613679?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pasta41", "html_url": "https://github.com/pasta41", "followers_url": "https://api.github.com/users/pasta4...
[]
closed
false
null
[]
[ "Hello! Installing from `master` should yield the appropriate v4.9.0dev0 version, as this is the current version: https://github.com/huggingface/transformers/blob/master/src/transformers/__init__.py#L25\r\n\r\nDid you install it from Pypi? `pip install transformers`\r\nor from source? `pip install git+https://githu...
1,625
1,625
1,625
NONE
null
## Environment info - `transformers` version: 4.8.2 (latest on master) - Platform: Ubuntu 20.04 - Python version: 3.8.5 - PyTorch version (GPU?): 1.9 - Tensorflow version (GPU?): N/A - Using GPU in script?: Didn't get that far - Using distributed or parallel set-up in script?: No ### Who can help @sgugge...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12500/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12499
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12499/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12499/comments
https://api.github.com/repos/huggingface/transformers/issues/12499/events
https://github.com/huggingface/transformers/issues/12499
936,648,633
MDU6SXNzdWU5MzY2NDg2MzM=
12,499
`max_steps` would not override `num_train_epochs` when training with IterableDataset
{ "login": "taoky", "id": 2109893, "node_id": "MDQ6VXNlcjIxMDk4OTM=", "avatar_url": "https://avatars.githubusercontent.com/u/2109893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/taoky", "html_url": "https://github.com/taoky", "followers_url": "https://api.github.com/users/taoky/follower...
[]
closed
false
null
[]
[ "Thanks for reporting! Should be fixed by the PR mentioned above.", "Hi, @sgugger I took a look at the issue you mentioned above and saw that [this PR](https://github.com/huggingface/transformers/pull/14413) disables the ability to loop over the iterable dataset in an infinite fashion (for example, how it is done...
1,625
1,652
1,625
NONE
null
## Environment info - `transformers` version: 4.8.2 - Platform: Linux-5.4.0-1047-azure-x86_64-with-glibc2.10 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12499/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12499/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12498
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12498/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12498/comments
https://api.github.com/repos/huggingface/transformers/issues/12498/events
https://github.com/huggingface/transformers/pull/12498
936,632,199
MDExOlB1bGxSZXF1ZXN0NjgzMzEyNDc4
12,498
[Flax] Fix wav2vec2 pretrain arguments
{ "login": "Wikidepia", "id": 72781956, "node_id": "MDQ6VXNlcjcyNzgxOTU2", "avatar_url": "https://avatars.githubusercontent.com/u/72781956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wikidepia", "html_url": "https://github.com/Wikidepia", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Great catch! Thanks :-)" ]
1,625
1,625
1,625
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/12498/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12498/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12498", "html_url": "https://github.com/huggingface/transformers/pull/12498", "diff_url": "https://github.com/huggingface/transformers/pull/12498.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12498.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12497
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12497/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12497/comments
https://api.github.com/repos/huggingface/transformers/issues/12497/events
https://github.com/huggingface/transformers/pull/12497
936,547,107
MDExOlB1bGxSZXF1ZXN0NjgzMjQyNDI3
12,497
implementing tflxmertmodel integration test
{ "login": "sadakmed", "id": 18331629, "node_id": "MDQ6VXNlcjE4MzMxNjI5", "avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sadakmed", "html_url": "https://github.com/sadakmed", "followers_url": "https://api.github.com/users/sad...
[]
closed
false
null
[]
[ "I believe your version of the code quality tools isn't up to date - can you try running the following at the root of your clone: `pip install -e .[quality] -U` to update your tools?", "Hi @LysandreJik Yep It was my black version" ]
1,625
1,625
1,625
CONTRIBUTOR
null
What does this PR do? this PR implement an integration test for TFLxmertmodel as requested in [#9954](https://github.com/huggingface/transformers/issues/9954) @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12497/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12497/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12497", "html_url": "https://github.com/huggingface/transformers/pull/12497", "diff_url": "https://github.com/huggingface/transformers/pull/12497.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12497.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12496
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12496/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12496/comments
https://api.github.com/repos/huggingface/transformers/issues/12496/events
https://github.com/huggingface/transformers/issues/12496
936,517,334
MDU6SXNzdWU5MzY1MTczMzQ=
12,496
Feature Request: Flax Encoder-Decoder Model
{ "login": "gchhablani", "id": 29076344, "node_id": "MDQ6VXNlcjI5MDc2MzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gchhablani", "html_url": "https://github.com/gchhablani", "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,625
1,628
1,628
CONTRIBUTOR
null
# 🚀 Feature request I am trying to combine ViT with BART/mBART in Flax and it would be great to have something similar to the [EncoderDecoderModel](https://github.com/huggingface/transformers/blob/master/src/transformers/models/encoder_decoder/modeling_encoder_decoder.py) in Flax. I am willing to look into it but...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12496/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12496/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12495
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12495/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12495/comments
https://api.github.com/repos/huggingface/transformers/issues/12495/events
https://github.com/huggingface/transformers/issues/12495
936,435,116
MDU6SXNzdWU5MzY0MzUxMTY=
12,495
Flax MLM example script has PyTorch dependency
{ "login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/foll...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
**Script in question:** [run_mlm_flax.py](https://github.com/huggingface/transformers/blob/master/examples/flax/language-modeling/run_mlm_flax.py) ```bash Traceback (most recent call last): File "./run_mlm_flax.py", line 319, in <module> f"Process rank: {training_args.local_rank}, device: {training_args.dev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12495/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/12495/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12494
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12494/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12494/comments
https://api.github.com/repos/huggingface/transformers/issues/12494/events
https://github.com/huggingface/transformers/pull/12494
936,388,651
MDExOlB1bGxSZXF1ZXN0NjgzMTIzMzQw
12,494
Add padding for decoder inputs for flax t5 example
{ "login": "cccntu", "id": 31893406, "node_id": "MDQ6VXNlcjMxODkzNDA2", "avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cccntu", "html_url": "https://github.com/cccntu", "followers_url": "https://api.github.com/users/cccntu/fo...
[]
closed
false
{ "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...
[ "Thanks for the measuring the speed-up! Seems like it's always a good idea to pad to powers of 2. The label length had a fixed input length previously (118 I think), but it seems that one should always pad to multiples of 2 then. \r\n\r\nNote that with this fix however we need to make sure that no loss is computed ...
1,625
1,631
1,631
CONTRIBUTOR
null
# What does this PR do? Improve TPU training performance by adding padding for decoder inputs in flax t5 training example. - maintained examples (not research project or legacy): @sgugger, @patil-suraj
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12494/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12494", "html_url": "https://github.com/huggingface/transformers/pull/12494", "diff_url": "https://github.com/huggingface/transformers/pull/12494.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12494.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12493
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12493/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12493/comments
https://api.github.com/repos/huggingface/transformers/issues/12493/events
https://github.com/huggingface/transformers/pull/12493
936,381,305
MDExOlB1bGxSZXF1ZXN0NjgzMTE3ODY3
12,493
FlaxGPTNeo
{ "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,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR adds the Flax version of GPTNeo. For local attention, it uses the fix proposed by @finetuneanon in #11630. Thanks a lot, @finetuneanon for proposing the solution, it's especially important in JAX/Flax where we can't have dynamic shapes. Official GPTNeo flax checkpoints are up on...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12493/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12493/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12493", "html_url": "https://github.com/huggingface/transformers/pull/12493", "diff_url": "https://github.com/huggingface/transformers/pull/12493.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12493.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12492
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12492/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12492/comments
https://api.github.com/repos/huggingface/transformers/issues/12492/events
https://github.com/huggingface/transformers/issues/12492
936,340,513
MDU6SXNzdWU5MzYzNDA1MTM=
12,492
Bug in MLM script not parsing arguments properly + lack of warning on incorrect args
{ "login": "neel04", "id": 11617870, "node_id": "MDQ6VXNlcjExNjE3ODcw", "avatar_url": "https://avatars.githubusercontent.com/u/11617870?v=4", "gravatar_id": "", "url": "https://api.github.com/users/neel04", "html_url": "https://github.com/neel04", "followers_url": "https://api.github.com/users/neel04/fo...
[]
closed
false
null
[]
[ "Ah, great catch. I recall getting this error when the tokenizer had no max length set, and `datasets` would then crash as unable to return enough values. Could you try this out for me: set the `max_seq_length` value to something low, like 512 or 256. Does it still crash then?\r\n\r\nIf not, it's possible that your...
1,625
1,625
1,625
NONE
null
## (Continuation of #12438) ### Who can help - tokenizers: @LysandreJik - datasets: @lhoestq ## Information Model I am using (Bert, XLNet ...): `BidBird` ## Issue This is a small issue regarding solving #12438. From some digging, it seems that setting the `maximum sequence length` flag might be able...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12492/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12491
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12491/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12491/comments
https://api.github.com/repos/huggingface/transformers/issues/12491/events
https://github.com/huggingface/transformers/pull/12491
936,271,918
MDExOlB1bGxSZXF1ZXN0NjgzMDM2NTQw
12,491
[examples/flax] clip style image-text training example
{ "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
[]
[ "And think you might have to run `make style` once", "Merging!", "hi @patil-suraj i tried to run your script(run_hybrid_clip.py)\r\n\r\nafter few step i got error\r\n\r\n```\r\nit/s/home/acul/env/lib/python3.8/site-packages/transformers/tokenization_utils_base.py:699: VisibleDeprecationWarning: Creating an ndar...
1,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR adds an example script to train CLIP style vision-text dual encoder models using pre-trained vision and text encoder. It supports `CLIP` and `ViT` as image encoder and `BERT` and ROBERTa` (or any other text encoder in flax) as text encoder. This example uses`torchvision` and torch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12491/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12491/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12491", "html_url": "https://github.com/huggingface/transformers/pull/12491", "diff_url": "https://github.com/huggingface/transformers/pull/12491.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12491.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12490
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12490/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12490/comments
https://api.github.com/repos/huggingface/transformers/issues/12490/events
https://github.com/huggingface/transformers/pull/12490
936,218,116
MDExOlB1bGxSZXF1ZXN0NjgyOTk5MDYx
12,490
non-identical position_ids in an input batch
{ "login": "hmohebbi", "id": 16359318, "node_id": "MDQ6VXNlcjE2MzU5MzE4", "avatar_url": "https://avatars.githubusercontent.com/u/16359318?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hmohebbi", "html_url": "https://github.com/hmohebbi", "followers_url": "https://api.github.com/users/hmo...
[]
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,625
1,628
1,628
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/12490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12490/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12490", "html_url": "https://github.com/huggingface/transformers/pull/12490", "diff_url": "https://github.com/huggingface/transformers/pull/12490.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12490.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12489
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12489/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12489/comments
https://api.github.com/repos/huggingface/transformers/issues/12489/events
https://github.com/huggingface/transformers/issues/12489
936,181,407
MDU6SXNzdWU5MzYxODE0MDc=
12,489
Get core dump after import FlaxRobertaModel
{ "login": "cahya-wirawan", "id": 7669893, "node_id": "MDQ6VXNlcjc2Njk4OTM=", "avatar_url": "https://avatars.githubusercontent.com/u/7669893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cahya-wirawan", "html_url": "https://github.com/cahya-wirawan", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "It seems that the jax version 0.2.16 installed automatically during transformers installation make this issue. I can fix it after reinstalling the jax using following command:\r\n`pip install \"jax[tpu]>=0.2.16\" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html`\r\n\r\n" ]
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info I tried to run "transformers-cli env" but I get also this error message: 2021-07-03 05:37:33.144628: F external/org_tensorflow/tensorflow/core/tpu/tpu_executor_init_fns.inc:110] TpuTransferManager_ReadDynamicShapes not available in this library. Aborted (core dumped) - `transformers` version: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12489/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12488
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12488/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12488/comments
https://api.github.com/repos/huggingface/transformers/issues/12488/events
https://github.com/huggingface/transformers/issues/12488
936,053,323
MDU6SXNzdWU5MzYwNTMzMjM=
12,488
Fine-tuning t5-large: greedy predictions don't match teacher-forcing results
{ "login": "rfernand2", "id": 4296158, "node_id": "MDQ6VXNlcjQyOTYxNTg=", "avatar_url": "https://avatars.githubusercontent.com/u/4296158?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rfernand2", "html_url": "https://github.com/rfernand2", "followers_url": "https://api.github.com/users/rf...
[]
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,625
1,667
1,631
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Windows-10-10.0.19041-SP0 - Python version: 3.8.0 - PyTorch version (GPU?): 1.8.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12488/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12487
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12487/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12487/comments
https://api.github.com/repos/huggingface/transformers/issues/12487/events
https://github.com/huggingface/transformers/pull/12487
936,007,205
MDExOlB1bGxSZXF1ZXN0NjgyODMwNjkz
12,487
Fix Padded Batch Error 12282
{ "login": "will-rice", "id": 25072137, "node_id": "MDQ6VXNlcjI1MDcyMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/25072137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/will-rice", "html_url": "https://github.com/will-rice", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The `1e-2` absolute tolerance still bothers me, but I'm not 100% sure where the variation is coming from. One thing I thought about was if the padding could have a subtle effect when passed through the `feature_extractor`." ]
1,625
1,626
1,626
CONTRIBUTOR
null
This fixes the padded batch [issue](https://github.com/huggingface/transformers/issues/12282). The error was generated due to the maximum sequence length of the attention mask not matching the padded sequence length of the hidden_states. `np.allclose` now passes with a 1e-2 absolute tolerance. # What does this PR do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12487/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12487", "html_url": "https://github.com/huggingface/transformers/pull/12487", "diff_url": "https://github.com/huggingface/transformers/pull/12487.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12487.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12486
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12486/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12486/comments
https://api.github.com/repos/huggingface/transformers/issues/12486/events
https://github.com/huggingface/transformers/issues/12486
935,958,253
MDU6SXNzdWU5MzU5NTgyNTM=
12,486
GPT2: discrepancy between `inputs_embeds` and `input_ids` when the input sentence has length = 1
{ "login": "danyaljj", "id": 2441454, "node_id": "MDQ6VXNlcjI0NDE0NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danyaljj", "html_url": "https://github.com/danyaljj", "followers_url": "https://api.github.com/users/danya...
[]
closed
false
null
[]
[ "Hello! I think the issue here lies in this line: `inputs_embeds = model.transformer.wte(input_ids).squeeze()`. You're calling `squeeze` on the inputs_embeds, which are of dimension `(5, 1, 768)`, which correspond to `(batch_size, sequence_length, hidden_size)`. Unfortunately, you're squeezing out the sequence leng...
1,625
1,626
1,626
CONTRIBUTOR
null
Calling GPT2 with `inputs_embeds` vs calling it with `input_ids` leads to different outcomes when the input sentence has length 1. See the script to reproduce the issue. ## Environment info - `transformers` version: tried 4.2.1 and 4.8.2 - Platform: MacOS and Ubuntu - Python version: 3.7 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12486/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12485
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12485/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12485/comments
https://api.github.com/repos/huggingface/transformers/issues/12485/events
https://github.com/huggingface/transformers/issues/12485
935,882,035
MDU6SXNzdWU5MzU4ODIwMzU=
12,485
Tensorboard error while running mlm_flax TPU example script on TPU
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Can you send me your tpu_name & name of virtual environment in a personal Slack message? I'll have a look", "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 no...
1,625
1,628
1,628
NONE
null
## Environment info Following the https://github.com/huggingface/transformers/tree/master/examples/research_projects/jax-projects#how-to-setup-tpu-vm ## Script ./run_mlm_flax.py \ --output_dir="./" \ --model_type="roberta" \ --config_name="./" \ --tokenizer_name="./" \ --dataset_name="os...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12485/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12484
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12484/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12484/comments
https://api.github.com/repos/huggingface/transformers/issues/12484/events
https://github.com/huggingface/transformers/issues/12484
935,871,661
MDU6SXNzdWU5MzU4NzE2NjE=
12,484
checkpoints are not saved after implementing a custom loss
{ "login": "yhifny", "id": 11491724, "node_id": "MDQ6VXNlcjExNDkxNzI0", "avatar_url": "https://avatars.githubusercontent.com/u/11491724?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yhifny", "html_url": "https://github.com/yhifny", "followers_url": "https://api.github.com/users/yhifny/fo...
[]
closed
false
null
[]
[ "Hello! Could you provide the command you ran to run your script? If it's not an official example script, do you have the code you used handy? Thanks!", "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 t...
1,625
1,628
1,628
NONE
null
I subclassed Trainer class to implement the supervised constructive loss function (code found using google search). The code is running but it does not save the models checkpoints ` class SupervisedContrastiveLoss(nn.Module): def __init__(self, temperature, device): """ Implementation of the lo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12484/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12483
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12483/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12483/comments
https://api.github.com/repos/huggingface/transformers/issues/12483/events
https://github.com/huggingface/transformers/issues/12483
935,868,629
MDU6SXNzdWU5MzU4Njg2Mjk=
12,483
Text Classification on GLUE on TPU using Jax/Flax : BigBird
{ "login": "Jeevesh8", "id": 48825663, "node_id": "MDQ6VXNlcjQ4ODI1NjYz", "avatar_url": "https://avatars.githubusercontent.com/u/48825663?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jeevesh8", "html_url": "https://github.com/Jeevesh8", "followers_url": "https://api.github.com/users/Jee...
[]
closed
false
null
[]
[ "I think it is probably not valid to use ``block_sparse`` attention, with ``num_random_blocks=3`` and ``block_size=64`` with a sequence length of just ``128``(which is the length for ``cola``).\r\n\r\nThe notebook works fine upon changing the ``attention_type`` to ``original_full``, as it should be for such short s...
1,625
1,628
1,628
CONTRIBUTOR
null
The notebook for Text Classification on GLUE tasks, provided [here](https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/text_classification_flax.ipynb) can do with some updates: 1. It has a missing ``from flax import traverse_utils`` which can be added. 2. Replace ``gradient_transforma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12483/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12482
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12482/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12482/comments
https://api.github.com/repos/huggingface/transformers/issues/12482/events
https://github.com/huggingface/transformers/issues/12482
935,831,892
MDU6SXNzdWU5MzU4MzE4OTI=
12,482
Sources of randomness for Longformer
{ "login": "agarfau", "id": 47793684, "node_id": "MDQ6VXNlcjQ3NzkzNjg0", "avatar_url": "https://avatars.githubusercontent.com/u/47793684?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agarfau", "html_url": "https://github.com/agarfau", "followers_url": "https://api.github.com/users/agarfa...
[]
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,625
1,680
1,645
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.8.1 - Platform: Ubuntu 20.04.2 LTS - Python version: 3.7.10 - PyTorch version: 1.7.1 - Using GPU in scri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12482/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12481
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12481/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12481/comments
https://api.github.com/repos/huggingface/transformers/issues/12481/events
https://github.com/huggingface/transformers/issues/12481
935,643,295
MDU6SXNzdWU5MzU2NDMyOTU=
12,481
How to construct a pretrain by myself using Tensorflow2 +Keras?
{ "login": "Chin-Yi-Ji", "id": 71117874, "node_id": "MDQ6VXNlcjcxMTE3ODc0", "avatar_url": "https://avatars.githubusercontent.com/u/71117874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Chin-Yi-Ji", "html_url": "https://github.com/Chin-Yi-Ji", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "In case you want to pre-train a model on your own data in Tensorflow, please take a look at the [Tensorflow examples](https://github.com/huggingface/transformers/tree/master/examples/tensorflow/language-modeling).", "This issue has been automatically marked as stale because it has not had recent activity. If you...
1,625
1,628
1,628
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/12481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12481/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12480
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12480/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12480/comments
https://api.github.com/repos/huggingface/transformers/issues/12480/events
https://github.com/huggingface/transformers/pull/12480
935,538,190
MDExOlB1bGxSZXF1ZXN0NjgyNDM0OTg3
12,480
Fix TAPAS test uncovered by #12446
{ "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
[]
[ "Thanks for solving this!" ]
1,625
1,625
1,625
MEMBER
null
#12446 cleaned up a typo in a test name that uncovered a failure in the TAPAS test. The failure in the TAPAS test is the following: `test_save_load_fast_init_from_base`. It adds a mock initialization. However, TAPAS has `nn.Parameter` attributes which are not impacted by that initialization, and end up having random...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12480/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/12480/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12480", "html_url": "https://github.com/huggingface/transformers/pull/12480", "diff_url": "https://github.com/huggingface/transformers/pull/12480.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12480.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12479
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12479/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12479/comments
https://api.github.com/repos/huggingface/transformers/issues/12479/events
https://github.com/huggingface/transformers/issues/12479
935,487,575
MDU6SXNzdWU5MzU0ODc1NzU=
12,479
AttributeError when using custom IterableDataset with set_epoch method
{ "login": "mbugert", "id": 23331603, "node_id": "MDQ6VXNlcjIzMzMxNjAz", "avatar_url": "https://avatars.githubusercontent.com/u/23331603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mbugert", "html_url": "https://github.com/mbugert", "followers_url": "https://api.github.com/users/mbuger...
[]
closed
false
null
[]
[ "Let us know if the PR above didn't solve your problem!", "It works, thanks for fixing it swiftly. :+1: " ]
1,625
1,625
1,625
NONE
null
## Environment info - `transformers` version: 4.8.2 - Platform: Linux-5.4.0-77-generic-x86_64-with-glibc2.31 - Python version: 3.9.4 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxL...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12479/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/12479/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12478
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12478/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12478/comments
https://api.github.com/repos/huggingface/transformers/issues/12478/events
https://github.com/huggingface/transformers/issues/12478
935,442,544
MDU6SXNzdWU5MzU0NDI1NDQ=
12,478
Mismatch between tokenizer and model in pipeline
{ "login": "hwijeen", "id": 29157715, "node_id": "MDQ6VXNlcjI5MTU3NzE1", "avatar_url": "https://avatars.githubusercontent.com/u/29157715?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwijeen", "html_url": "https://github.com/hwijeen", "followers_url": "https://api.github.com/users/hwijee...
[]
closed
false
null
[]
[ "It's not possible to just mix and match tokenizers with models. The `sentiment-analysis` pipeline uses the `DistilBertForSequenceClassification` model by default. However, you are providing it with a RoBERTa-based tokenizer. DistilBERT does make use of WordPiece tokenization, whereas RoBERTa-like models make use o...
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.6.1 - Platform: Linux-4.18.0-25-generic-x86_64-with-glibc2.10 - Python version: 3.8.5 - PyTorch version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12478/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12477
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12477/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12477/comments
https://api.github.com/repos/huggingface/transformers/issues/12477/events
https://github.com/huggingface/transformers/pull/12477
935,413,074
MDExOlB1bGxSZXF1ZXN0NjgyMzMzMjY3
12,477
[Deepspeed] adapt multiple models, add zero_to_fp32 tests
{ "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,625
1,626
1,626
CONTRIBUTOR
null
Massive fixing and testing of different models under Deepspeed, followed up by a recovery of full fp32 weights and various other related tweaks. zero_to_fp32 isn't currently being tested on deepspeed side (as I didn't write any tests), so testing it here and while at it starting to include more and more models inste...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12477/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12477", "html_url": "https://github.com/huggingface/transformers/pull/12477", "diff_url": "https://github.com/huggingface/transformers/pull/12477.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12477.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12476
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12476/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12476/comments
https://api.github.com/repos/huggingface/transformers/issues/12476/events
https://github.com/huggingface/transformers/issues/12476
935,367,120
MDU6SXNzdWU5MzUzNjcxMjA=
12,476
How to fine-tune a model with my custom tokenizer?
{ "login": "luoling1993", "id": 16378228, "node_id": "MDQ6VXNlcjE2Mzc4MjI4", "avatar_url": "https://avatars.githubusercontent.com/u/16378228?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luoling1993", "html_url": "https://github.com/luoling1993", "followers_url": "https://api.github.com/...
[]
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://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,625
1,628
1,628
NONE
null
1. I want to train a tokenizer with my own datasets. 2. I have no enough data and resources to train a pretrained model from scratch. pipeline: 1. train a tokenizer like [tokenizer_training](https://github.com/huggingface/notebooks/blob/master/examples/tokenizer_training.ipynb) 2. do something with current pretra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12476/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12475
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12475/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12475/comments
https://api.github.com/repos/huggingface/transformers/issues/12475/events
https://github.com/huggingface/transformers/issues/12475
935,249,539
MDU6SXNzdWU5MzUyNDk1Mzk=
12,475
BartForConditionalGeneration: `decoder_input_ids` should not be computed if `decoder_inputs_embeds` is set
{ "login": "silviu-oprea", "id": 6786311, "node_id": "MDQ6VXNlcjY3ODYzMTE=", "avatar_url": "https://avatars.githubusercontent.com/u/6786311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/silviu-oprea", "html_url": "https://github.com/silviu-oprea", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "same problem here, my solution is removing argument `labels`, but I have to calculate loss outside the forward function.", "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 i...
1,625
1,628
1,628
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0 (Fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12475/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12474
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12474/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12474/comments
https://api.github.com/repos/huggingface/transformers/issues/12474/events
https://github.com/huggingface/transformers/issues/12474
935,156,882
MDU6SXNzdWU5MzUxNTY4ODI=
12,474
[Pegasus][tokenizer] pegasus tokenizer doesn't have any BOS token?
{ "login": "sajastu", "id": 10419055, "node_id": "MDQ6VXNlcjEwNDE5MDU1", "avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sajastu", "html_url": "https://github.com/sajastu", "followers_url": "https://api.github.com/users/sajast...
[]
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,625
1,628
1,628
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.9.0.dev0 - Platform: Ubuntu - Python version: 3.8 - PyTorch version (GPU?): 1.7 (yes) - Using GPU in scri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12474/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/12474/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12473
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12473/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12473/comments
https://api.github.com/repos/huggingface/transformers/issues/12473/events
https://github.com/huggingface/transformers/issues/12473
935,155,611
MDU6SXNzdWU5MzUxNTU2MTE=
12,473
Release `utils/style_doc.py` as a python package
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[ "@sgugger ", "It's very much linked to the way we write documentation in Transformers so it would need a bit of work to become a standalone package that can be used. I have no time to do it personally, but if someone wants to start building it, I'm happy to review things!", "> It's very much linked to the way w...
1,625
1,631
1,631
CONTRIBUTOR
null
Hi, I like the functionality of your [`utils/style_doc.py`](https://github.com/huggingface/transformers/blob/master/utils/style_doc.py). Did you ever think about open sourcing it as a python package? I think other projects might also want to use it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12473/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/12473/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12472
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12472/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12472/comments
https://api.github.com/repos/huggingface/transformers/issues/12472/events
https://github.com/huggingface/transformers/pull/12472
935,135,661
MDExOlB1bGxSZXF1ZXN0NjgyMTAwOTEz
12,472
DistilBERT - Operation reordering for compatibility with TensorRT
{ "login": "novatig", "id": 16716298, "node_id": "MDQ6VXNlcjE2NzE2Mjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16716298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/novatig", "html_url": "https://github.com/novatig", "followers_url": "https://api.github.com/users/novati...
[]
closed
false
null
[]
[ "Many thanks @novatig 🙏🏻 💪🏻 \r\n\r\nAs part of Infinity, this PR enables exporting DistilBERT based models to TensorRT plans for efficient inference as explained by @novatig ", "Test failure unrelated and fixed on `master`.", "This issue has been automatically marked as stale because it has not had recent a...
1,625
1,629
1,629
CONTRIBUTOR
null
This change avoids an `expand_as` operation on a boolean tensor. Improves compatibility with TensorRT 8.0. @LysandreJik @mfuntowicz
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12472/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12472", "html_url": "https://github.com/huggingface/transformers/pull/12472", "diff_url": "https://github.com/huggingface/transformers/pull/12472.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12472.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12471
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12471/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12471/comments
https://api.github.com/repos/huggingface/transformers/issues/12471/events
https://github.com/huggingface/transformers/pull/12471
935,082,235
MDExOlB1bGxSZXF1ZXN0NjgyMDU3MjAw
12,471
Rework notebooks and move them to the Notebooks repo
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
COLLABORATOR
null
This PR updates the notebooks table with: - the documentation notebooks - the new notebooks to train a tokenizer and a LM from scratch It also moves the notebooks present in this repo to https://github.com/huggingface/notebooks so that they are all in the same place.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12471/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12471", "html_url": "https://github.com/huggingface/transformers/pull/12471", "diff_url": "https://github.com/huggingface/transformers/pull/12471.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12471.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12470
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12470/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12470/comments
https://api.github.com/repos/huggingface/transformers/issues/12470/events
https://github.com/huggingface/transformers/pull/12470
935,081,641
MDExOlB1bGxSZXF1ZXN0NjgyMDU2NzQw
12,470
[Flax] Dataset streaming example
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "The training speed of this script compared to `run_mlm_flax` is sadly reduced by ~50%. @lhoestq - I think the \"batchify\" function that is called before every training step is probably the reason for this. " ]
1,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR adds an example of how to use dataset streaming. @lhoestq - I would be super happy if you could take a look! I've left some comments that should help understand my thought process. I'd be very happy about some Feedback :-) The scripts runs as expected at the moment - after your...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12470/reactions", "total_count": 6, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 6, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12470/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12470", "html_url": "https://github.com/huggingface/transformers/pull/12470", "diff_url": "https://github.com/huggingface/transformers/pull/12470.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12470.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12469
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12469/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12469/comments
https://api.github.com/repos/huggingface/transformers/issues/12469/events
https://github.com/huggingface/transformers/pull/12469
935,056,041
MDExOlB1bGxSZXF1ZXN0NjgyMDM2Mzkx
12,469
NER example for Tensorflow
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12469/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12469", "html_url": "https://github.com/huggingface/transformers/pull/12469", "diff_url": "https://github.com/huggingface/transformers/pull/12469.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12469.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12468
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12468/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12468/comments
https://api.github.com/repos/huggingface/transformers/issues/12468/events
https://github.com/huggingface/transformers/pull/12468
935,020,015
MDExOlB1bGxSZXF1ZXN0NjgyMDA2OTQ0
12,468
Add guide on how to build demos for the Flax sprint
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Some TODO ideas (for a later iteration)\r\n* Add small guide on Streamlit\r\n* Add small guide on Gradio\r\n* Add small guide on how to use S (or a video)\r\n* Explain why the importance of a demo", "I'll merge this today. I'll do a follow up PR on Monday extending the demo section." ]
1,625
1,625
1,625
MEMBER
null
Add a guide on how to build a demo for the Flax sprint. This guide will be also updated early next week, but I would like to submit this version on Friday. Note: this will be extended more once the evaluation is a bit more defined and with the launch of S.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12468/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12468", "html_url": "https://github.com/huggingface/transformers/pull/12468", "diff_url": "https://github.com/huggingface/transformers/pull/12468.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12468.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12467
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12467/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12467/comments
https://api.github.com/repos/huggingface/transformers/issues/12467/events
https://github.com/huggingface/transformers/pull/12467
935,013,559
MDExOlB1bGxSZXF1ZXN0NjgyMDAxNzM3
12,467
Import check_inits handling of duplicate definitions.
{ "login": "Iwontbecreative", "id": 494951, "node_id": "MDQ6VXNlcjQ5NDk1MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/494951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Iwontbecreative", "html_url": "https://github.com/Iwontbecreative", "followers_url": "https://api.git...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
# Improves the handling of duplicate definitions for `utils/check_inits.py` Currently if there are duplicate definitions of import structure or type hints, the model may or not may fail depending on if the import_structure and TYPE_HINTS are duplicated in the same way. If it fails, it will show the wrong error messa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12467/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12467", "html_url": "https://github.com/huggingface/transformers/pull/12467", "diff_url": "https://github.com/huggingface/transformers/pull/12467.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12467.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12466
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12466/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12466/comments
https://api.github.com/repos/huggingface/transformers/issues/12466/events
https://github.com/huggingface/transformers/pull/12466
934,918,543
MDExOlB1bGxSZXF1ZXN0NjgxOTIxMjA4
12,466
fixed typo in flax-projects readme
{ "login": "mplemay", "id": 4324379, "node_id": "MDQ6VXNlcjQzMjQzNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/4324379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mplemay", "html_url": "https://github.com/mplemay", "followers_url": "https://api.github.com/users/mplemay/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
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/12466/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12466/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12466", "html_url": "https://github.com/huggingface/transformers/pull/12466", "diff_url": "https://github.com/huggingface/transformers/pull/12466.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12466.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12465
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12465/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12465/comments
https://api.github.com/repos/huggingface/transformers/issues/12465/events
https://github.com/huggingface/transformers/pull/12465
934,885,020
MDExOlB1bGxSZXF1ZXN0NjgxODkyNDY3
12,465
Added talk details
{ "login": "suzana-ilic", "id": 27798583, "node_id": "MDQ6VXNlcjI3Nzk4NTgz", "avatar_url": "https://avatars.githubusercontent.com/u/27798583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/suzana-ilic", "html_url": "https://github.com/suzana-ilic", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
final confirmed changes to DeepMind talk
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12465/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12465", "html_url": "https://github.com/huggingface/transformers/pull/12465", "diff_url": "https://github.com/huggingface/transformers/pull/12465.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12465.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12464
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12464/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12464/comments
https://api.github.com/repos/huggingface/transformers/issues/12464/events
https://github.com/huggingface/transformers/pull/12464
934,882,294
MDExOlB1bGxSZXF1ZXN0NjgxODkwMDQy
12,464
Fix training_args.py barrier for torch_xla
{ "login": "jysohn23", "id": 19496130, "node_id": "MDQ6VXNlcjE5NDk2MTMw", "avatar_url": "https://avatars.githubusercontent.com/u/19496130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jysohn23", "html_url": "https://github.com/jysohn23", "followers_url": "https://api.github.com/users/jys...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
COLLABORATOR
null
torch_xla currently has its own synchronization primitives, so use xm.rendezvous(tag) instead.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12464/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12464", "html_url": "https://github.com/huggingface/transformers/pull/12464", "diff_url": "https://github.com/huggingface/transformers/pull/12464.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12464.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12463/comments
https://api.github.com/repos/huggingface/transformers/issues/12463/events
https://github.com/huggingface/transformers/pull/12463
934,849,635
MDExOlB1bGxSZXF1ZXN0NjgxODYyMjI2
12,463
Add TPU README
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "LGTM!\r\n\r\nOne thing -- In the email you sent to others, or in this README, or both we should say that \"please only SSH into machines where you're collaborating on a project. If there are any concerns about access, we may look at the audit logs to see who accessed which TPUs\" or something like that." ]
1,625
1,625
1,625
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/12463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12463/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12463", "html_url": "https://github.com/huggingface/transformers/pull/12463", "diff_url": "https://github.com/huggingface/transformers/pull/12463.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12463.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12462/comments
https://api.github.com/repos/huggingface/transformers/issues/12462/events
https://github.com/huggingface/transformers/pull/12462
934,849,618
MDExOlB1bGxSZXF1ZXN0NjgxODYyMjA5
12,462
Skip ProphetNet test
{ "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
[]
[ "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,625
1,628
1,628
MEMBER
null
cc @patrickvonplaten
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12462/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12462", "html_url": "https://github.com/huggingface/transformers/pull/12462", "diff_url": "https://github.com/huggingface/transformers/pull/12462.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12462.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12461/comments
https://api.github.com/repos/huggingface/transformers/issues/12461/events
https://github.com/huggingface/transformers/pull/12461
934,848,563
MDExOlB1bGxSZXF1ZXN0NjgxODYxMjgz
12,461
Fixing bug with param count without embeddings
{ "login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
The model param number count utility (`model.num_parameters`) had an `exclude_embeddings` flag that did not actually exclude embedding counts. This PR fixes this bug so that the flag behaves properly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12461/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12461", "html_url": "https://github.com/huggingface/transformers/pull/12461", "diff_url": "https://github.com/huggingface/transformers/pull/12461.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12461.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12460/comments
https://api.github.com/repos/huggingface/transformers/issues/12460/events
https://github.com/huggingface/transformers/issues/12460
934,820,611
MDU6SXNzdWU5MzQ4MjA2MTE=
12,460
Extractive summarization pipeline
{ "login": "Lukecn1", "id": 43297900, "node_id": "MDQ6VXNlcjQzMjk3OTAw", "avatar_url": "https://avatars.githubusercontent.com/u/43297900?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lukecn1", "html_url": "https://github.com/Lukecn1", "followers_url": "https://api.github.com/users/Lukecn...
[ { "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
[]
[ "I'd be down to work on this!", "If we have models on the Hub that are trained to perform this, then it would be fun to have support for it. \r\n\r\nWDYT @Narsil @patil-suraj ?", "Seems like a good idea to me.\r\n\r\nSince it's performing the same task from a user's perspective and models can only do 1 type of ...
1,625
1,695
null
NONE
null
# 🚀 Feature request An extractive summarization pipeline similar to the one for abstractive summarization. A central place for researchers to upload new models for others to use, without having to run the code from various git repo's. Currently, extractive summarization is the only safe choice for producing...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12460/reactions", "total_count": 14, "+1": 14, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12460/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12459/comments
https://api.github.com/repos/huggingface/transformers/issues/12459/events
https://github.com/huggingface/transformers/pull/12459
934,816,182
MDExOlB1bGxSZXF1ZXN0NjgxODMyOTM5
12,459
Fix to keep up with the changes made in fairseq's RobertaModel
{ "login": "hmirin", "id": 1284876, "node_id": "MDQ6VXNlcjEyODQ4NzY=", "avatar_url": "https://avatars.githubusercontent.com/u/1284876?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hmirin", "html_url": "https://github.com/hmirin", "followers_url": "https://api.github.com/users/hmirin/foll...
[]
closed
false
null
[]
[ "I just ran the script as it is currently with the lastest pypi available fairseq and it converted the model successfully:\r\n\r\n```\r\ntorch.Size([1, 11, 50265]) torch.Size([1, 11, 50265])\r\nmax_absolute_diff = 0.0\r\nDo both models output the same tensors? 🔥\r\nSaving model to here\r\nConfiguration saved in he...
1,625
1,628
1,628
NONE
null
# What does this PR do? - This PR fixes broken model conversion script. - Current script seems to be outdated with the latest release and main branch fairseq. - `RobertaModel.from_pretrained` now returns RobertaHubInterface, which seems to be different from the assumption of the current implementation. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12459/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12459/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12459", "html_url": "https://github.com/huggingface/transformers/pull/12459", "diff_url": "https://github.com/huggingface/transformers/pull/12459.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12459.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12458/comments
https://api.github.com/repos/huggingface/transformers/issues/12458/events
https://github.com/huggingface/transformers/pull/12458
934,747,056
MDExOlB1bGxSZXF1ZXN0NjgxNzcyODk1
12,458
[Wav2Vec2, Hubert] Fix ctc loss test
{ "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,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR fixes the `ctc_loss` test. The problem is that PyTorch ctc_loss implementation https://pytorch.org/docs/stable/generated/torch.nn.CTCLoss.html seems to use too many approximation to ensure deterministic behavior for a test. So in the PR I make the test much less aggressive by simply c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12458/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12458", "html_url": "https://github.com/huggingface/transformers/pull/12458", "diff_url": "https://github.com/huggingface/transformers/pull/12458.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12458.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12457/comments
https://api.github.com/repos/huggingface/transformers/issues/12457/events
https://github.com/huggingface/transformers/issues/12457
934,744,202
MDU6SXNzdWU5MzQ3NDQyMDI=
12,457
gpt2 causal mask to skip learning context input? (beginner question)
{ "login": "gyin94", "id": 67664443, "node_id": "MDQ6VXNlcjY3NjY0NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/67664443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gyin94", "html_url": "https://github.com/gyin94", "followers_url": "https://api.github.com/users/gyin94/fo...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
NONE
null
Suppose we use gpt2 to train a text generation with context or translation with input sequence. [google translate<sep> google Übersetzer]. Can I ask how we can change the casual mask to let the training only from the token generation after the context input (\<en-de>\)? Like, [google translate\<en-de\>] to [go...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12457/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12456/comments
https://api.github.com/repos/huggingface/transformers/issues/12456/events
https://github.com/huggingface/transformers/issues/12456
934,703,578
MDU6SXNzdWU5MzQ3MDM1Nzg=
12,456
convert_graph_to_onnx.py failing to run on Wav2Vec2 models
{ "login": "hrahamim", "id": 85702107, "node_id": "MDQ6VXNlcjg1NzAyMTA3", "avatar_url": "https://avatars.githubusercontent.com/u/85702107?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hrahamim", "html_url": "https://github.com/hrahamim", "followers_url": "https://api.github.com/users/hra...
[]
closed
false
null
[]
[ "Hi, Wav2Vec2 is not supported by the ONNX converter. Please check out the following PR which offers the possibility to convert existing models to ONNX by defining an architecture: https://github.com/huggingface/transformers/pull/11786. You can see the docs (WIP) for that PR [here](https://235542-155220641-gh.circl...
1,625
1,642
1,625
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.6.1 - Platform: Linux-4.15.0-143-generic-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12456/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12455/comments
https://api.github.com/repos/huggingface/transformers/issues/12455/events
https://github.com/huggingface/transformers/issues/12455
934,691,562
MDU6SXNzdWU5MzQ2OTE1NjI=
12,455
Setting global tokens in BigBirdModel
{ "login": "MFajcik", "id": 31218150, "node_id": "MDQ6VXNlcjMxMjE4MTUw", "avatar_url": "https://avatars.githubusercontent.com/u/31218150?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MFajcik", "html_url": "https://github.com/MFajcik", "followers_url": "https://api.github.com/users/MFajci...
[]
closed
false
null
[]
[ "So after closely inspecting the code I ran into following comment in method `bigbird_block_sparse_attention`.\r\n\r\nThere I found\r\n```\r\n # BigBird block-sparse attention as suggested in paper\r\n\r\n # ITC:\r\n # global tokens: 2 x block_size\r\n # window tokens: 3 x block_s...
1,625
1,627
1,627
NONE
null
## Environment info - `transformers` version: 4.6.1 - Platform: Linux-5.8.0-55-generic-x86_64-with-glibc2.31 - Python version: 3.9.5 - PyTorch version (GPU?): 1.8.1+cu111 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: no - Using distributed or parallel set-up in script?: no #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12455/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12454/comments
https://api.github.com/repos/huggingface/transformers/issues/12454/events
https://github.com/huggingface/transformers/pull/12454
934,667,107
MDExOlB1bGxSZXF1ZXN0NjgxNzAzNDEx
12,454
(WIP) Add FNet with flax template
{ "login": "cccntu", "id": 31893406, "node_id": "MDQ6VXNlcjMxODkzNDA2", "avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cccntu", "html_url": "https://github.com/cccntu", "followers_url": "https://api.github.com/users/cccntu/fo...
[]
closed
false
null
[]
[ "This 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,625
1,628
1,628
CONTRIBUTOR
null
# What does this PR do? This is a demo for #12441 Fixes #12411
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12454/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/12454/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12454", "html_url": "https://github.com/huggingface/transformers/pull/12454", "diff_url": "https://github.com/huggingface/transformers/pull/12454.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12454.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12453/comments
https://api.github.com/repos/huggingface/transformers/issues/12453/events
https://github.com/huggingface/transformers/pull/12453
934,513,279
MDExOlB1bGxSZXF1ZXN0NjgxNTcwMDEx
12,453
Update CANINE test
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "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,625
1,628
1,628
CONTRIBUTOR
null
# What does this PR do? Tiny fix in the tests of CANINE, namely replace nielsr by the Google namespace. @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12453/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12453", "html_url": "https://github.com/huggingface/transformers/pull/12453", "diff_url": "https://github.com/huggingface/transformers/pull/12453.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12453.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12452/comments
https://api.github.com/repos/huggingface/transformers/issues/12452/events
https://github.com/huggingface/transformers/pull/12452
934,500,318
MDExOlB1bGxSZXF1ZXN0NjgxNTU5MTM1
12,452
Comment fast GPU TF tests
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
MEMBER
null
cc @stas00 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12452/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/12452/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12452", "html_url": "https://github.com/huggingface/transformers/pull/12452", "diff_url": "https://github.com/huggingface/transformers/pull/12452.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12452.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12451/comments
https://api.github.com/repos/huggingface/transformers/issues/12451/events
https://github.com/huggingface/transformers/issues/12451
934,481,418
MDU6SXNzdWU5MzQ0ODE0MTg=
12,451
Wiki content part : XLM-RoBERTa, "xlm-roberta-base"
{ "login": "pangbochen", "id": 26034096, "node_id": "MDQ6VXNlcjI2MDM0MDk2", "avatar_url": "https://avatars.githubusercontent.com/u/26034096?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pangbochen", "html_url": "https://github.com/pangbochen", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Yes, that's because those models are direct subclasses of Roberta, so they have the same documentation.", "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 ...
1,625
1,628
1,628
NONE
null
In the wiki page for XLM-R https://huggingface.co/transformers/model_doc/xlmroberta.html the model name should be 'xlm-roberta-base' instead of 'roberta-base' @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12451/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12450/comments
https://api.github.com/repos/huggingface/transformers/issues/12450/events
https://github.com/huggingface/transformers/issues/12450
934,431,763
MDU6SXNzdWU5MzQ0MzE3NjM=
12,450
Finetuned model generates incomprehensible text when used while in memory but works fine when loaded via saved checkpoints.
{ "login": "sagewhocodes", "id": 54904272, "node_id": "MDQ6VXNlcjU0OTA0Mjcy", "avatar_url": "https://avatars.githubusercontent.com/u/54904272?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sagewhocodes", "html_url": "https://github.com/sagewhocodes", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Pinging @sgugger as using the `Trainer`", "I think you forgot to put the model in evaluation mode maybe?", "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 n...
1,625
1,628
1,628
NONE
null
## Environment info - `transformers` version: 4.6.1 - Platform: Linux-5.4.0-1051-aws-x86_64-with-debian-buster-sid - Python version: 3.7.10 - PyTorch version (GPU?): 1.7.0 (True) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: Yes - Using distributed or parallel set-up in script?: No #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12450/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12450/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12449/comments
https://api.github.com/repos/huggingface/transformers/issues/12449/events
https://github.com/huggingface/transformers/pull/12449
934,302,025
MDExOlB1bGxSZXF1ZXN0NjgxMzg2MDEw
12,449
Pass `model_kwargs` when loading a model in `pipeline()`
{ "login": "aphedges", "id": 14283972, "node_id": "MDQ6VXNlcjE0MjgzOTcy", "avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aphedges", "html_url": "https://github.com/aphedges", "followers_url": "https://api.github.com/users/aph...
[]
closed
false
null
[]
[ "I've written a test to ensure the `model_kwargs` parameter is being properly passed when loading a model.", "Sorry about the failing style checks! I thought I ran them, but I guess not. They're hopefully good now." ]
1,625
1,625
1,625
CONTRIBUTOR
null
# What does this PR do? Fixes #12448 When working on this, I considered adding a test, but none of the pipeline tests even use the `model_kwargs` parameter. I could add a test to one of the `test_pipelines_*.py` files to ensure that a local cache is used as a way of testing, but I'm not sure if that is the best o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12449/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12449", "html_url": "https://github.com/huggingface/transformers/pull/12449", "diff_url": "https://github.com/huggingface/transformers/pull/12449.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12449.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12448/comments
https://api.github.com/repos/huggingface/transformers/issues/12448/events
https://github.com/huggingface/transformers/issues/12448
934,301,791
MDU6SXNzdWU5MzQzMDE3OTE=
12,448
Instantiating a model from `pipeline()` ignores `model_kwargs` parameter
{ "login": "aphedges", "id": 14283972, "node_id": "MDQ6VXNlcjE0MjgzOTcy", "avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aphedges", "html_url": "https://github.com/aphedges", "followers_url": "https://api.github.com/users/aph...
[]
closed
false
null
[]
[ "You could do it like so:\r\n\r\n```py\r\nfrom transformers import AutoModelForCausalLM, pipeline, AutoTokenizer\r\n\r\nmodel = AutoModelForCausalLM.from_pretrained(\"gpt2\", cache_dir=\"model_cache\")\r\ntokenizer = AutoTokenizer.from_pretrained(\"gpt2\", cache_dir=\"model_cache\")\r\n\r\n_ = pipeline(\"text-gener...
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.8.1 - Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core - Python version: 3.7.9 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12448/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12448/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12447/comments
https://api.github.com/repos/huggingface/transformers/issues/12447/events
https://github.com/huggingface/transformers/pull/12447
934,002,796
MDExOlB1bGxSZXF1ZXN0NjgxMTI0ODUy
12,447
[Flax community event] How to use hub during training
{ "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
[]
[ "nice writeup @patrickvonplaten " ]
1,625
1,625
1,625
MEMBER
null
# What does this PR do? This PR adds a section on how to use the hub during training. I will talk about his in more detail during my talk tomorrow..
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12447/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12447/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12447", "html_url": "https://github.com/huggingface/transformers/pull/12447", "diff_url": "https://github.com/huggingface/transformers/pull/12447.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12447.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12446/comments
https://api.github.com/repos/huggingface/transformers/issues/12446/events
https://github.com/huggingface/transformers/pull/12446
933,993,101
MDExOlB1bGxSZXF1ZXN0NjgxMTE2MTA0
12,446
[roberta] fix lm_head.decoder.weight ignore_key handling
{ "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,625
1,625
1,625
CONTRIBUTOR
null
This PR fixes https://github.com/huggingface/transformers/issues/12426 where `RobertaForMaskedLM` and `RobertaForCausalLM` do: ``` lm_head.decoder.weight = embeddings.word_embeddings.weight ``` and thus `lm_head.decoder.weight` shouldn't be saved or expected to be loaded unless `config.tie_word_embeddings` is `Fa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12446/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12446/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12446", "html_url": "https://github.com/huggingface/transformers/pull/12446", "diff_url": "https://github.com/huggingface/transformers/pull/12446.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12446.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12445/comments
https://api.github.com/repos/huggingface/transformers/issues/12445/events
https://github.com/huggingface/transformers/issues/12445
933,969,602
MDU6SXNzdWU5MzM5Njk2MDI=
12,445
Deit
{ "login": "HamidShojanazeri", "id": 9162336, "node_id": "MDQ6VXNlcjkxNjIzMzY=", "avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HamidShojanazeri", "html_url": "https://github.com/HamidShojanazeri", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "Are you interested in working on this?\r\n\r\nBasically, to make DeiT scriptable, you need to set `test_torchscript` of the model test as seen [here](https://github.com/huggingface/transformers/blob/0d1f67e651220bffef1441fa7589620e426ba958/tests/test_modeling_deit.py#L160) to `True`, then run the tests (running `p...
1,625
1,628
1,628
CONTRIBUTOR
null
# 🚀 Feature request The Deit model from torchhub is scriptable, however the pertained version in HF repo, "facebook/deit-base-distilled-patch16-224" is the distilled one which is not scriptable. This can be tried out using the code below ``` import torch model = torch.hub.load('facebookresearch/deit:main', ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12445/timeline
completed
null
null