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/12845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12845/comments | https://api.github.com/repos/huggingface/transformers/issues/12845/events | https://github.com/huggingface/transformers/issues/12845 | 950,917,544 | MDU6SXNzdWU5NTA5MTc1NDQ= | 12,845 | Add Model Details for Pipeline API | {
"login": "dhruvjimulia-sys",
"id": 63531728,
"node_id": "MDQ6VXNlcjYzNTMxNzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/63531728?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhruvjimulia-sys",
"html_url": "https://github.com/dhruvjimulia-sys",
"followers_url": "https://... | [] | closed | false | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [
{
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com... | [
"This can be interesting. Are you interested in opening a PR? You could add a section with model details for every pipeline by editing the documentation pages (i.e. the .rst files).",
"Yes I would like to try opening a PR for this. However, it will take me some time to understand the code behind how the pipeline ... | 1,626 | 1,630 | 1,630 | 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. -->
I think it will be great if we could add further details about what particular model the Pipeline API is using. In particular, we can add the following details... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12844/comments | https://api.github.com/repos/huggingface/transformers/issues/12844/events | https://github.com/huggingface/transformers/issues/12844 | 950,809,008 | MDU6SXNzdWU5NTA4MDkwMDg= | 12,844 | Generate text from inputs_embeds for seq2seq models like BART or T5 | {
"login": "lamthuy",
"id": 8089862,
"node_id": "MDQ6VXNlcjgwODk4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8089862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lamthuy",
"html_url": "https://github.com/lamthuy",
"followers_url": "https://api.github.com/users/lamthuy/... | [] | 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,626 | 1,630 | 1,630 | NONE | null | # 🚀 Feature request
Generate text from inputs_embeds for seq2seq models like BART or T5
## Motivation
Many advanced researches now rely on generation of text from an embedding vector. Currently we can perform forward pass through BART or T5 by just inputing inputs_embeds but this is not possible in generate f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12844/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12843/comments | https://api.github.com/repos/huggingface/transformers/issues/12843/events | https://github.com/huggingface/transformers/pull/12843 | 950,695,437 | MDExOlB1bGxSZXF1ZXN0Njk1MjA0NTI3 | 12,843 | Moving feature-extraction pipeline to new testing scheme | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"@sgugger It's not that it's urgent, it's that there's a quite big backlog (all pipelines tests need to be converted, and the goal is to start working on proper pipeline iteration (enabling more speed on GPU)",
"I will merge this if that's OK (So I can prepare the next PR)",
"It's fine by me, as long as comment... | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12843",
"html_url": "https://github.com/huggingface/transformers/pull/12843",
"diff_url": "https://github.com/huggingface/transformers/pull/12843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12843.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12842/comments | https://api.github.com/repos/huggingface/transformers/issues/12842/events | https://github.com/huggingface/transformers/issues/12842 | 950,595,794 | MDU6SXNzdWU5NTA1OTU3OTQ= | 12,842 | FlaxGPT2LMHeadModel doesn't fail on mismatch between tokenizer and model vocab size | {
"login": "kldarek",
"id": 15803781,
"node_id": "MDQ6VXNlcjE1ODAzNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/15803781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kldarek",
"html_url": "https://github.com/kldarek",
"followers_url": "https://api.github.com/users/kldare... | [] | 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,626 | 1,632 | 1,632 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.9.0
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.11
- PyTorch version (GPU?): 1.9.0+cu102 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.3.4 (gpu)
- Jax version: 0.2.18
- JaxLib version: 0.1.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12842/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12841/comments | https://api.github.com/repos/huggingface/transformers/issues/12841/events | https://github.com/huggingface/transformers/issues/12841 | 950,568,600 | MDU6SXNzdWU5NTA1Njg2MDA= | 12,841 | Set Experiment Name in `MLflowCallback` | {
"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 | [] | [
"PS: additionaly to the env. var we might want to add a constructore parameter - what do you think?",
"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 follo... | 1,626 | 1,651 | 1,630 | CONTRIBUTOR | null | In the `MLflowCallback` it is not possible to set the Experiment Name.
As a consequence the run is logged to the Default experiment.
I would like to suggest the following feature:
It is possible to set an env. variable called `ML_FLOW_CALLBACK_EXPERIMENT_NAME`
which then calls `mlflow.set_experiment(experiment... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12840/comments | https://api.github.com/repos/huggingface/transformers/issues/12840/events | https://github.com/huggingface/transformers/issues/12840 | 950,546,740 | MDU6SXNzdWU5NTA1NDY3NDA= | 12,840 | How to use the parameters of a certain layer | {
"login": "mengruwg",
"id": 52103577,
"node_id": "MDQ6VXNlcjUyMTAzNTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/52103577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mengruwg",
"html_url": "https://github.com/mengruwg",
"followers_url": "https://api.github.com/users/men... | [] | 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,626 | 1,634 | 1,634 | NONE | null | print(bert.embeddings.LayerNorm.bias) #Run successfully
print(bert.encoder.layer.0.attention.self.query.weight) #invalid syntax appears in "layer.0."
so how to use the parameters of a certain layer? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12838/comments | https://api.github.com/repos/huggingface/transformers/issues/12838/events | https://github.com/huggingface/transformers/issues/12838 | 950,313,786 | MDU6SXNzdWU5NTAzMTM3ODY= | 12,838 | `transformers-cli` fails out of the box | {
"login": "StellaAthena",
"id": 15899312,
"node_id": "MDQ6VXNlcjE1ODk5MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/15899312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StellaAthena",
"html_url": "https://github.com/StellaAthena",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @StellaAthena, thank you for your detailed issue. This error is usually due to mismatched versions of `torch` and `torchaudio`, see [here](https://discuss.huggingface.co/t/setup-questions/6796/8). We recommend either uninstalling `torchaudio`, or reinstalling torch and torchaudio to their latest versions (v1.9.... | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | ## Environment info
I was unable to run `transformers-cli`
- `transformers` version: `transformers-4.9.0.dev0`
- Platform: Mac OS
- Python version: 3.8.3
- PyTorch version (GPU?): 1.7.1
- Tensorflow version (GPU?): 2.5.0
- Using GPU in script?: n/a
- Using distributed or parallel set-up in script?: n/a
###... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12837/comments | https://api.github.com/repos/huggingface/transformers/issues/12837/events | https://github.com/huggingface/transformers/pull/12837 | 950,278,942 | MDExOlB1bGxSZXF1ZXN0Njk0ODUxNjI0 | 12,837 | Fix CpmTokenizer for training/finetuning CPM model | {
"login": "ghosthamlet",
"id": 758325,
"node_id": "MDQ6VXNlcjc1ODMyNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/758325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghosthamlet",
"html_url": "https://github.com/ghosthamlet",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [] | 1,626 | 1,627 | 1,627 | NONE | null | When CpmTokenizer extends XLNetTokenizer, it works for inference/generation, but model in training/finetuning will failed after some steps, its error is random like:
RuntimeError: CUDA error: device-side assert triggered
terminate called after throwing an instance of 'std::runtime_error'
what(): NCCL ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12837/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12837",
"html_url": "https://github.com/huggingface/transformers/pull/12837",
"diff_url": "https://github.com/huggingface/transformers/pull/12837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12837.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12836/comments | https://api.github.com/repos/huggingface/transformers/issues/12836/events | https://github.com/huggingface/transformers/pull/12836 | 950,050,384 | MDExOlB1bGxSZXF1ZXN0Njk0NjU3ODUz | 12,836 | [parallelism doc] document Deepspeed-Inference and parallelformers | {
"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,626 | 1,626 | 1,626 | CONTRIBUTOR | null | This PR adds references to Tensor parallel implementations of Deepspeed-Inference and parallelformers (for transformers).
As discussed at https://github.com/huggingface/transformers/issues/12772
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12836",
"html_url": "https://github.com/huggingface/transformers/pull/12836",
"diff_url": "https://github.com/huggingface/transformers/pull/12836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12836.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12835/comments | https://api.github.com/repos/huggingface/transformers/issues/12835/events | https://github.com/huggingface/transformers/pull/12835 | 950,036,871 | MDExOlB1bGxSZXF1ZXN0Njk0NjQ2NDc0 | 12,835 | Add support for T5 models in Zero Shot Classification pipeline | {
"login": "osainz59",
"id": 25911658,
"node_id": "MDQ6VXNlcjI1OTExNjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/25911658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osainz59",
"html_url": "https://github.com/osainz59",
"followers_url": "https://api.github.com/users/osa... | [] | closed | false | null | [] | [
"Hello @osainz59! The pipelines are model agnostic, they shouldn't be model-specific with a `With{MODEL}`. I would instead improve the existing zero-shot classification pipeline to add support for T5. Would you be willing to try that out?",
"> \r\n> \r\n> Hello @osainz59! The pipelines are model agnostic, they sh... | 1,626 | 1,633 | 1,633 | 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/12835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12835/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12835",
"html_url": "https://github.com/huggingface/transformers/pull/12835",
"diff_url": "https://github.com/huggingface/transformers/pull/12835.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12835.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12834/comments | https://api.github.com/repos/huggingface/transformers/issues/12834/events | https://github.com/huggingface/transformers/pull/12834 | 949,992,204 | MDExOlB1bGxSZXF1ZXN0Njk0NjA2MTk2 | 12,834 | Add ESM to hugging face | {
"login": "liujas000",
"id": 9849586,
"node_id": "MDQ6VXNlcjk4NDk1ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9849586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liujas000",
"html_url": "https://github.com/liujas000",
"followers_url": "https://api.github.com/users/li... | [] | closed | false | null | [] | [
"Thanks for showing us the diff @Jason Liu! Those are the kind of changes we usually try to avoid: the core philosophy of the Transformers library is to have individual model files that only contain the code related to their model and not building blocks with lots of config parameters. For instance mBART, marian an... | 1,626 | 1,630 | 1,630 | 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/12834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12834/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12834",
"html_url": "https://github.com/huggingface/transformers/pull/12834",
"diff_url": "https://github.com/huggingface/transformers/pull/12834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12834.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12833/comments | https://api.github.com/repos/huggingface/transformers/issues/12833/events | https://github.com/huggingface/transformers/issues/12833 | 949,975,216 | MDU6SXNzdWU5NDk5NzUyMTY= | 12,833 | unable to load cache when network is unavailable | {
"login": "function2-llx",
"id": 38486514,
"node_id": "MDQ6VXNlcjM4NDg2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/38486514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/function2-llx",
"html_url": "https://github.com/function2-llx",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I might found the reason: when network is unavailable, the program tries to find `added_tokens.json`, however this was not downloaded when network is available.",
"> \r\n> \r\n> I might found the reason: when network is unavailable, the program tries to find `added_tokens.json`, however this was not downloaded w... | 1,626 | 1,702 | 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-4.4.0-101-generic-x86_64-with-glibc2.17
- Python version: 3.8.10
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12833/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12832/comments | https://api.github.com/repos/huggingface/transformers/issues/12832/events | https://github.com/huggingface/transformers/pull/12832 | 949,907,183 | MDExOlB1bGxSZXF1ZXN0Njk0NTM1Mjc2 | 12,832 | Fix type of max_seq_length arg in run_swag.py | {
"login": "mbforbes",
"id": 1170062,
"node_id": "MDQ6VXNlcjExNzAwNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1170062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbforbes",
"html_url": "https://github.com/mbforbes",
"followers_url": "https://api.github.com/users/mbfor... | [] | closed | false | null | [] | [] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
The `max_seq_length` argument in the `run_swag.py` example should be an `Optional[int]`, because its default value is `None`. This fixes the error, found by `mypy`.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12832/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12832",
"html_url": "https://github.com/huggingface/transformers/pull/12832",
"diff_url": "https://github.com/huggingface/transformers/pull/12832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12832.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12831/comments | https://api.github.com/repos/huggingface/transformers/issues/12831/events | https://github.com/huggingface/transformers/pull/12831 | 949,906,926 | MDExOlB1bGxSZXF1ZXN0Njk0NTM1MDY0 | 12,831 | Raise warning in HP search when hp is not in args | {
"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,626 | 1,626 | 1,626 | COLLABORATOR | null | # What does this PR do?
As seen on the [forums](https://discuss.huggingface.co/t/using-hyperparameter-search-in-trainer/785), an HP search using the `Trainer` will error if someone tries to include model parameters like dropout in the search. This PR addresses that by changing an error to a warning in that case. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12831/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12831",
"html_url": "https://github.com/huggingface/transformers/pull/12831",
"diff_url": "https://github.com/huggingface/transformers/pull/12831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12831.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12830/comments | https://api.github.com/repos/huggingface/transformers/issues/12830/events | https://github.com/huggingface/transformers/pull/12830 | 949,900,883 | MDExOlB1bGxSZXF1ZXN0Njk0NTMwMTg1 | 12,830 | [Deepspeed] warmup_ratio docs | {
"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,626 | 1,626 | 1,626 | CONTRIBUTOR | null | Docs were not updated in https://github.com/huggingface/transformers/pull/12818, this PR completes it.
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12830/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12830",
"html_url": "https://github.com/huggingface/transformers/pull/12830",
"diff_url": "https://github.com/huggingface/transformers/pull/12830.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12830.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12829/comments | https://api.github.com/repos/huggingface/transformers/issues/12829/events | https://github.com/huggingface/transformers/issues/12829 | 949,885,345 | MDU6SXNzdWU5NDk4ODUzNDU= | 12,829 | Flaky tests | {
"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 | [] | [
"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,626 | 1,630 | 1,630 | CONTRIBUTOR | null | Hi,
in this PR #12794 I somehow have flaky tests.
See the two commits from here
https://github.com/huggingface/transformers/pull/12794/commits/0ea13d6cf8a6a1ca5772f6a129bea9a7c06f5571
to here
https://github.com/huggingface/transformers/pull/12794/commits/e93eb12c01f8de9df6a1130041fe315372f9378b
The 2nd commit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12829/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12828/comments | https://api.github.com/repos/huggingface/transformers/issues/12828/events | https://github.com/huggingface/transformers/issues/12828 | 949,760,913 | MDU6SXNzdWU5NDk3NjA5MTM= | 12,828 | Incorrect Tokenization behavior when working with Hindi using RobertaTokenizer | {
"login": "amankhandelia",
"id": 7098967,
"node_id": "MDQ6VXNlcjcwOTg5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7098967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amankhandelia",
"html_url": "https://github.com/amankhandelia",
"followers_url": "https://api.github.... | [] | 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,626 | 1,630 | 1,630 | 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: https://github.com/huggingface/transformers@534f6eb9f1f8910a4912ccccd79f1f974c625168
- Platform: Linux
- Pyth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12828/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12839/comments | https://api.github.com/repos/huggingface/transformers/issues/12839/events | https://github.com/huggingface/transformers/issues/12839 | 950,330,906 | MDU6SXNzdWU5NTAzMzA5MDY= | 12,839 | Error when doing `push_to_hub` two times in a row | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Maybe this should fall gracefully?",
"Yes I agree\r\n\r\n(it should only catch the error when calling `.push_to_hub()`, I think calling `.git_commit()` on an empty change set should still pop an error)",
"Adding the `--allow_empty` option to the `git_commit()` method as a boolean flag would be clean here. This... | 1,626 | 1,630 | 1,630 | MEMBER | null | When doing `tokenizer.push_to_hub()` with the same tokenizer that was already uploaded (can happen in a notebook in particular), we have a git error:
```bash
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
~/mi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12839/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12827/comments | https://api.github.com/repos/huggingface/transformers/issues/12827/events | https://github.com/huggingface/transformers/issues/12827 | 949,583,593 | MDU6SXNzdWU5NDk1ODM1OTM= | 12,827 | VisualBert ValueError: visual_embeds can not be of class 'NoneType' when running on text only | {
"login": "rubencart",
"id": 12572152,
"node_id": "MDQ6VXNlcjEyNTcyMTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/12572152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rubencart",
"html_url": "https://github.com/rubencart",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @rubencart\n\nI think this is an issue with the documentation 😅 I can fix that.\n\nCan you share your use case where you only want to pass textual inputs to VisualBERT? \n\nI placed this check only to prevent usage of model without any visual embeddings.\n\nCC @patil-suraj ",
"I want to encode text, to later... | 1,626 | 1,632 | 1,632 | NONE | null | ## Environment info
- `transformers` version: 4.8.2
- Platform: Linux-4.15.0-143-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12827/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/12827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12826/comments | https://api.github.com/repos/huggingface/transformers/issues/12826/events | https://github.com/huggingface/transformers/issues/12826 | 949,523,879 | MDU6SXNzdWU5NDk1MjM4Nzk= | 12,826 | Allow the use of tensorflow datasets having UNKNOWN_CARDINALTY for TFTrainer | {
"login": "prikmm",
"id": 47216475,
"node_id": "MDQ6VXNlcjQ3MjE2NDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/47216475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prikmm",
"html_url": "https://github.com/prikmm",
"followers_url": "https://api.github.com/users/prikmm/fo... | [] | closed | false | {
"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... | [
{
"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"... | [
"Hi! We're actually trying to deprecate the use of TFTrainer at the moment in favour of Keras - there will be a deprecation warning about this in the next release of Transformers. Using Keras you can train with a generator or tf.data.Dataset without problems.\r\n\r\nIn addition, we're looking to improve our Tensorf... | 1,626 | 1,630 | 1,630 | 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. -->
I am currently working on a project which requires huggingface and tensorflow. I created a huggingface dataset and converted it into tensorflow dataset using `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12826/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12825/comments | https://api.github.com/repos/huggingface/transformers/issues/12825/events | https://github.com/huggingface/transformers/issues/12825 | 949,490,752 | MDU6SXNzdWU5NDk0OTA3NTI= | 12,825 | TFBertModel much slower on GPU than BertModel | {
"login": "jheinecke",
"id": 26959109,
"node_id": "MDQ6VXNlcjI2OTU5MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/26959109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jheinecke",
"html_url": "https://github.com/jheinecke",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This is more of a TF issue than a Transformers one - eager TF can be quite inefficient, especially when you're repeatedly calling it with small inputs. In TF you can 'compile' a Python function or model call - this is analogous to using TorchScript in PyTorch, but is much more common and integrated into the main l... | 1,626 | 1,630 | 1,630 | NONE | null | ## Environment info
- `transformers` version: 4.8.2
- Platform: Linux-5.8.0-55-generic-x86_64-with-glibc2.31
- Python version: 3.9.5
- PyTorch version (GPU?): 1.9.0 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Who can ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12825/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12824/comments | https://api.github.com/repos/huggingface/transformers/issues/12824/events | https://github.com/huggingface/transformers/issues/12824 | 949,489,715 | MDU6SXNzdWU5NDk0ODk3MTU= | 12,824 | Can't use padding in Wav2Vec2Tokenizer. TypeError: '<' not supported between instances of 'NoneType' and 'int'. | {
"login": "pdrsa",
"id": 55758890,
"node_id": "MDQ6VXNlcjU1NzU4ODkw",
"avatar_url": "https://avatars.githubusercontent.com/u/55758890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pdrsa",
"html_url": "https://github.com/pdrsa",
"followers_url": "https://api.github.com/users/pdrsa/follow... | [] | 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... | [
"@mrcolorblind It's difficult to reproduce your error as many of the variables in your code snippet aren't set and I don't know where `\"./vocab.json\"` comes from.\r\n\r\nHowever the following code snippet works:\r\n\r\n```python\r\nfrom transformers import Wav2Vec2CTCTokenizer, Wav2Vec2FeatureExtractor, Wav2Vec2P... | 1,626 | 1,642 | 1,632 | NONE | null | # **Questions & Help**
## Details
I'm trying to get a Tensor of labels from a text in order to train a Wav2Vec2ForCTC from scratch but apparently pad_token_id is set to NoneType, even though I've set a pad_token in my Tokenizer.
This is my code:
```
# Generating the Processor
from transformers import Wav2Vec2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12824/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12824/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12823/comments | https://api.github.com/repos/huggingface/transformers/issues/12823/events | https://github.com/huggingface/transformers/pull/12823 | 949,484,655 | MDExOlB1bGxSZXF1ZXN0Njk0MTgzOTAz | 12,823 | Fix generation docstrings regarding input_ids=None | {
"login": "jvamvas",
"id": 5830820,
"node_id": "MDQ6VXNlcjU4MzA4MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5830820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jvamvas",
"html_url": "https://github.com/jvamvas",
"followers_url": "https://api.github.com/users/jvamvas/... | [] | closed | false | null | [] | [
"Thanks for reviewing!\r\nThe merge conflict has been resolved."
] | 1,626 | 1,629 | 1,629 | CONTRIBUTOR | null | # What does this PR do?
The docstrings incorrectly describe what happens if no input_ids are passed. This PR changes the docstrings so that the actual behavior is described.
## 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 r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12823/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12823",
"html_url": "https://github.com/huggingface/transformers/pull/12823",
"diff_url": "https://github.com/huggingface/transformers/pull/12823.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12823.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12822/comments | https://api.github.com/repos/huggingface/transformers/issues/12822/events | https://github.com/huggingface/transformers/issues/12822 | 949,476,150 | MDU6SXNzdWU5NDk0NzYxNTA= | 12,822 | label list in MNLI dataset | {
"login": "zhaoruic-intel",
"id": 85101063,
"node_id": "MDQ6VXNlcjg1MTAxMDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/85101063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhaoruic-intel",
"html_url": "https://github.com/zhaoruic-intel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @sgugger @lhoestq, and I think @lewtun was also interested in that at some point.",
"Note that the label_list in Transformers is deprecated and should not be used anymore.",
"Indeed the order between a model's labels and those in a dataset can differ, which is why we've added a `Dataset.align_labels_with_ma... | 1,626 | 1,683 | 1,630 | NONE | null | ## Environment info
- `transformers` version:
- Platform: centos7.2
- Python version: Python3.6.8
- PyTorch version (GPU?): None
- Tensorflow version (GPU?): None
- Using GPU in script?: None
- Using distributed or parallel set-up in script?: None
### Who can help
Models:
- albert, bert, xlm: @Lysandr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12821/comments | https://api.github.com/repos/huggingface/transformers/issues/12821/events | https://github.com/huggingface/transformers/issues/12821 | 949,473,881 | MDU6SXNzdWU5NDk0NzM4ODE= | 12,821 | Any example to accelerate BART/MBART model with onnx runtime? | {
"login": "leoozy",
"id": 26025961,
"node_id": "MDQ6VXNlcjI2MDI1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/26025961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leoozy",
"html_url": "https://github.com/leoozy",
"followers_url": "https://api.github.com/users/leoozy/fo... | [] | closed | false | null | [] | [
"The transformer.onnx provides a simple to convert hf models to onnx models. But there is no examples about how to exc them by onnx runtime. Some onnx models actually would meet some errors exc with onnx runtime. Could you please provide some examples and experiments about running them with onnx runtime?"
] | 1,626 | 1,628 | 1,628 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Transformers.onnx provided a simple way to convert the bart/mbart model to onnx model. But there is no example about how these model could be actually exc by onnx runtime. Bucause some onnx models may occur various of errors. Co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12821/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12820/comments | https://api.github.com/repos/huggingface/transformers/issues/12820/events | https://github.com/huggingface/transformers/pull/12820 | 949,462,175 | MDExOlB1bGxSZXF1ZXN0Njk0MTY0OTE5 | 12,820 | fix typo in gradient_checkpointing metadata | {
"login": "21jun",
"id": 29483429,
"node_id": "MDQ6VXNlcjI5NDgzNDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/29483429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/21jun",
"html_url": "https://github.com/21jun",
"followers_url": "https://api.github.com/users/21jun/follow... | [] | closed | false | null | [] | [] | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | help for [ModelArguments.gradient_checkpointing] should be
"If True, use gradient checkpointing to save memory
at the expense of slower backward pass."
not "Whether to freeze the feature extractor layers of the model."
(which is duplicated from [freeze_feature_extractor])
# What does this PR do?
<!--
Congrat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12820",
"html_url": "https://github.com/huggingface/transformers/pull/12820",
"diff_url": "https://github.com/huggingface/transformers/pull/12820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12819/comments | https://api.github.com/repos/huggingface/transformers/issues/12819/events | https://github.com/huggingface/transformers/issues/12819 | 949,379,170 | MDU6SXNzdWU5NDkzNzkxNzA= | 12,819 | Converting a tensor to a python boolean might cause the trace to be incorrect. We can't record the data flow of python values | {
"login": "leoozy",
"id": 26025961,
"node_id": "MDQ6VXNlcjI2MDI1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/26025961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leoozy",
"html_url": "https://github.com/leoozy",
"followers_url": "https://api.github.com/users/leoozy/fo... | [] | closed | false | null | [] | [
"Hi @leoozy, you should safely disregard these warnings. The warnings should only apply to assertions we make to ensure that the input shape passed is correct.",
"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 ... | 1,626 | 1,630 | 1,630 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform: CENTOS 8.
- Python version: 3.7
- PyTorch version (GPU?): 1.9.0 + cuda
- Tensorflow version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12819/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12818/comments | https://api.github.com/repos/huggingface/transformers/issues/12818/events | https://github.com/huggingface/transformers/pull/12818 | 949,307,205 | MDExOlB1bGxSZXF1ZXN0Njk0MDMzNzgx | 12,818 | Refer warmup_ratio when setting warmup_num_steps. | {
"login": "tsuchm",
"id": 5813236,
"node_id": "MDQ6VXNlcjU4MTMyMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5813236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tsuchm",
"html_url": "https://github.com/tsuchm",
"followers_url": "https://api.github.com/users/tsuchm/foll... | [] | closed | false | null | [] | [
"Thank you for your PR, @tsuchm \r\n\r\nI'm trying to understand what you're trying to accomplish and could use some help from you.\r\n\r\nDid I understand you correctly that you're saying that Deepspeed integration ignores the `--warmup_ratio` argument and you're proposing how to integrate it? I agree that it coul... | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the bug that DeepSpeed schduler does not refer warmup_ratio argument, although DeepSpeed schduler refers warmup_steps argument. This contradicts to the warning message "Both warmup_ratio and warmup_steps given, warmup_steps will override any effect of warmup_ratio during train... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12818/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12818",
"html_url": "https://github.com/huggingface/transformers/pull/12818",
"diff_url": "https://github.com/huggingface/transformers/pull/12818.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12818.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12817/comments | https://api.github.com/repos/huggingface/transformers/issues/12817/events | https://github.com/huggingface/transformers/issues/12817 | 949,272,108 | MDU6SXNzdWU5NDkyNzIxMDg= | 12,817 | tensor size mismatch in NER.py | {
"login": "TahaAslani",
"id": 47432410,
"node_id": "MDQ6VXNlcjQ3NDMyNDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47432410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TahaAslani",
"html_url": "https://github.com/TahaAslani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @sgugger ",
"Mmm the problem looks like it's coming from the position embedding with an input of size 607, which is larger than 512 (the maximum handled apparently).",
"Thanks for the response. But why do you think it works for BioBert and not BERT base?",
"Will it help if I provide my training data?",
... | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | Hi,
I am trying to classify tokens for a task similar to NER. I am using the following code:
transformers/examples/pytorch/token-classification/run_ner.py
My input data is in JSON format for both train and test. When I perform classification using BioBERT, it runs without any issue. When I use BERT base (case... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12817/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12816/comments | https://api.github.com/repos/huggingface/transformers/issues/12816/events | https://github.com/huggingface/transformers/pull/12816 | 949,233,762 | MDExOlB1bGxSZXF1ZXN0NjkzOTcxOTM1 | 12,816 | [debug] DebugUnderflowOverflow doesn't work with DP | {
"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,626 | 1,626 | 1,626 | CONTRIBUTOR | null | As reported in https://github.com/huggingface/transformers/issues/12815 `DebugUnderflowOverflow` breaks under DP since the model gets new references to model sub-modules/params on replication and the old references are needed to track the model layer names.
It might be possible to think of some workaround, most lik... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12816/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12816",
"html_url": "https://github.com/huggingface/transformers/pull/12816",
"diff_url": "https://github.com/huggingface/transformers/pull/12816.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12816.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12815/comments | https://api.github.com/repos/huggingface/transformers/issues/12815/events | https://github.com/huggingface/transformers/issues/12815 | 949,138,742 | MDU6SXNzdWU5NDkxMzg3NDI= | 12,815 | DebugUnderflowOverflow crashes with Multi-GPU training | {
"login": "kpich",
"id": 52636,
"node_id": "MDQ6VXNlcjUyNjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/52636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kpich",
"html_url": "https://github.com/kpich",
"followers_url": "https://api.github.com/users/kpich/followers",
"f... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Thank you for the great report and the analysis of the problem, @kpich.\r\n\r\nI will have a look a bit later when I have time to solve this, including your suggestion.\r\n\r\nMeanwhile, any special reason why you're using DP and not DDP (`torch.distributed.launch`)? There each GPU instantiates its own everything ... | 1,626 | 1,626 | 1,626 | 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.2
- Platform: Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12814/comments | https://api.github.com/repos/huggingface/transformers/issues/12814/events | https://github.com/huggingface/transformers/issues/12814 | 949,096,310 | MDU6SXNzdWU5NDkwOTYzMTA= | 12,814 | minor mistake in the documentation of XLMTokenizer | {
"login": "ritwikmishra",
"id": 4787070,
"node_id": "MDQ6VXNlcjQ3ODcwNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4787070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ritwikmishra",
"html_url": "https://github.com/ritwikmishra",
"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,626 | 1,630 | 1,630 | NONE | null | On [this page](https://huggingface.co/transformers/model_doc/xlm.html#xlmtokenizer), the default value of `cls_token` is given as `</s>` whereas it should be `<s>`.
Please fix it.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12814/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12813/comments | https://api.github.com/repos/huggingface/transformers/issues/12813/events | https://github.com/huggingface/transformers/pull/12813 | 949,041,691 | MDExOlB1bGxSZXF1ZXN0NjkzODAxNTk1 | 12,813 | Update pyproject.toml | {
"login": "willfrey",
"id": 13784361,
"node_id": "MDQ6VXNlcjEzNzg0MzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13784361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willfrey",
"html_url": "https://github.com/willfrey",
"followers_url": "https://api.github.com/users/wil... | [] | closed | false | null | [] | [] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | You don't support Python 3.5, so I've bumped the black `target-version` to `'py36'`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12813/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12813",
"html_url": "https://github.com/huggingface/transformers/pull/12813",
"diff_url": "https://github.com/huggingface/transformers/pull/12813.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12813.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12812/comments | https://api.github.com/repos/huggingface/transformers/issues/12812/events | https://github.com/huggingface/transformers/pull/12812 | 948,681,697 | MDExOlB1bGxSZXF1ZXN0NjkzNDkwMjE2 | 12,812 | Expose get_config() on ModelTesters | {
"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,626 | 1,626 | 1,626 | MEMBER | null | This exposes the `get_config()`method on `XXXModelTester`s. It makes it accessible in a platform-agnostic way, so that utilities may use that value to obtain a tiny configuration for tests even if `torch` isn't installed.
Part of the pipeline refactor, which needs to have tiny configurations for all models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12812/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12812",
"html_url": "https://github.com/huggingface/transformers/pull/12812",
"diff_url": "https://github.com/huggingface/transformers/pull/12812.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12812.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12811/comments | https://api.github.com/repos/huggingface/transformers/issues/12811/events | https://github.com/huggingface/transformers/pull/12811 | 948,671,476 | MDExOlB1bGxSZXF1ZXN0NjkzNDgxNDI3 | 12,811 | Add _CHECKPOINT_FOR_DOC to all models | {
"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,626 | 1,626 | 1,626 | MEMBER | null | This adds the `_CHECKPOINT_FOR_DOC` variable for all models that do not have it. This value is used in the pipeline tests refactoring, where all models/tokenizers compatible with a given pipeline are tested. To that end, it is important to have a source of truth as to which checkpoint is well maintained, which should b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12811",
"html_url": "https://github.com/huggingface/transformers/pull/12811",
"diff_url": "https://github.com/huggingface/transformers/pull/12811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12811.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12810/comments | https://api.github.com/repos/huggingface/transformers/issues/12810/events | https://github.com/huggingface/transformers/pull/12810 | 948,594,377 | MDExOlB1bGxSZXF1ZXN0NjkzNDE1Mzcw | 12,810 | [CLIP/docs] add and fix examples | {
"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,626 | 1,626 | 1,626 | MEMBER | null | # What does this PR do?
Adds examples in PyTorch model docstrings also fixes rendering issues in flax model docstring. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12810/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12810",
"html_url": "https://github.com/huggingface/transformers/pull/12810",
"diff_url": "https://github.com/huggingface/transformers/pull/12810.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12810.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12809/comments | https://api.github.com/repos/huggingface/transformers/issues/12809/events | https://github.com/huggingface/transformers/pull/12809 | 948,567,203 | MDExOlB1bGxSZXF1ZXN0NjkzMzkxOTQw | 12,809 | [Longformer] Correct longformer docs | {
"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,626 | 1,626 | 1,626 | 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/12809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12809/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12809",
"html_url": "https://github.com/huggingface/transformers/pull/12809",
"diff_url": "https://github.com/huggingface/transformers/pull/12809.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12809.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12808/comments | https://api.github.com/repos/huggingface/transformers/issues/12808/events | https://github.com/huggingface/transformers/issues/12808 | 948,562,418 | MDU6SXNzdWU5NDg1NjI0MTg= | 12,808 | https://huggingface.co/facebook/detr-resnet-101-panoptic model has 250 classes ? | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Yes, the authors just set it to a sufficiently high number to make sure all classes are covered. See https://github.com/facebookresearch/detr/issues/175#issue-672014097\r\n\r\nNote that for the panoptic model, one combines the COCO instance classes with stuff classes (background things like trees, streets, sky,...... | 1,626 | 1,630 | 1,630 | NONE | null | coco data has 80 classes.
why the model has 250 classes
id2label: {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3",
"4": "LABEL_4",
"5": "LABEL_5",
"6": "LABEL_6",
"7": "LABEL_7",
"8": "LABEL_8",
"9": "LABEL_9",
"10": "LABEL_10",
"11":... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12808/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12807/comments | https://api.github.com/repos/huggingface/transformers/issues/12807/events | https://github.com/huggingface/transformers/issues/12807 | 948,557,274 | MDU6SXNzdWU5NDg1NTcyNzQ= | 12,807 | Model Request: Blenderbot 2.0 | {
"login": "Xirider",
"id": 37597043,
"node_id": "MDQ6VXNlcjM3NTk3MDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/37597043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xirider",
"html_url": "https://github.com/Xirider",
"followers_url": "https://api.github.com/users/Xiride... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | 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 am interested to work on this. Can we use RAG-end2end ?",
"Is there any news regarding Blenderbot 2.0 with huggingface? ",
"Any new updates? It's been three months.",
"Does anyone want to work together on this?",
"I'm interested too. FYI https://github.com/JulesGM/ParlAI_SearchEngine.",
"+1",
"+1 Gi... | 1,626 | 1,693 | null | NONE | null | # 🌟 New model addition
## Model description
Facebook released Blenderbot 2.0, a chatbot that builds on RAG and Blenderbot 1.0. It can save interactions for later reference and use web search to find information on the web.
https://parl.ai/projects/blenderbot2/
## Open source status
* [x] the model imple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12807/reactions",
"total_count": 65,
"+1": 41,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 13,
"eyes": 11
} | https://api.github.com/repos/huggingface/transformers/issues/12807/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12806/comments | https://api.github.com/repos/huggingface/transformers/issues/12806/events | https://github.com/huggingface/transformers/pull/12806 | 948,556,442 | MDExOlB1bGxSZXF1ZXN0NjkzMzgyNjYw | 12,806 | Fix tokenizer saving during training with `Trainer` | {
"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 | [] | [
"I don't think this is the right fix: it just hides the problem as `tokenizer.save_pretrained()` should always work. And it should always save all the possible files, to make it easy for users to share their tokenizer with other users that might not have the `tokenizers` or the `sentencepiece` library installed.\r\... | 1,626 | 1,630 | 1,630 | CONTRIBUTOR | null | **EDIT:** If you have already read this message, you can see the update directly in [this message](https://github.com/huggingface/transformers/pull/12806#issuecomment-899570500)
# What does this PR do?
Fixes #12762.
As shown in this issue, a training launched with the `Trainer` object can fail at the time of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12806/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12806",
"html_url": "https://github.com/huggingface/transformers/pull/12806",
"diff_url": "https://github.com/huggingface/transformers/pull/12806.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12806.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12805/comments | https://api.github.com/repos/huggingface/transformers/issues/12805/events | https://github.com/huggingface/transformers/issues/12805 | 948,482,716 | MDU6SXNzdWU5NDg0ODI3MTY= | 12,805 | What is the data format of transformers language modeling run_clm.py fine-tuning? | {
"login": "gongshaojie12",
"id": 6407116,
"node_id": "MDQ6VXNlcjY0MDcxMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6407116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gongshaojie12",
"html_url": "https://github.com/gongshaojie12",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"The format seems correct. From the [language modeling page](https://github.com/huggingface/transformers/tree/master/examples/pytorch/language-modeling): \r\n\r\n> If your dataset is organized with one sample per line, you can use the --line_by_line flag (otherwise the script concatenates all texts and then splits ... | 1,626 | 1,630 | 1,630 | NONE | null | I now use run_clm.py to fine-tune gpt2, the command is as follows:
```
python run_clm.py \\
--model_name_or_path gpt2 \\
--train_file train1.txt \\
--validation_file validation1.txt \\
--do_train \\
--do_eval \\
--output_dir /tmp/test-clm
```
The training data is as follows:
[trai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12805/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12804/comments | https://api.github.com/repos/huggingface/transformers/issues/12804/events | https://github.com/huggingface/transformers/pull/12804 | 948,477,698 | MDExOlB1bGxSZXF1ZXN0NjkzMzE1MzE2 | 12,804 | [Sequence Feature Extraction] Add truncation | {
"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,626 | 1,627 | 1,627 | 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/12804/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12804/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12804",
"html_url": "https://github.com/huggingface/transformers/pull/12804",
"diff_url": "https://github.com/huggingface/transformers/pull/12804.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12804.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12803/comments | https://api.github.com/repos/huggingface/transformers/issues/12803/events | https://github.com/huggingface/transformers/pull/12803 | 948,413,738 | MDExOlB1bGxSZXF1ZXN0NjkzMjYxMjI0 | 12,803 | Add min and max question length options to TapasTokenizer | {
"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,626 | 1,629 | 1,629 | CONTRIBUTOR | null | # What does this PR do?
Fixes #12790
This PR adds 2 additional attributes to `TapasTokenizer`, namely `min_question_length` and `max_question_length`. These allow the user to skip questions that, when tokenized, are longer or shorter than the specified values. This also better reflects the original implementatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12803/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12803",
"html_url": "https://github.com/huggingface/transformers/pull/12803",
"diff_url": "https://github.com/huggingface/transformers/pull/12803.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12803.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12802/comments | https://api.github.com/repos/huggingface/transformers/issues/12802/events | https://github.com/huggingface/transformers/issues/12802 | 948,397,715 | MDU6SXNzdWU5NDgzOTc3MTU= | 12,802 | Very strange Training Data Loss Pattern when fitting MT5 for Summarization | {
"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 | [] | [
"Pinging @patil-suraj and @patrickvonplaten for MT5",
"PS: I am using only one GPU.",
"Hi, @PhilipMay Could please mention which script are you using for this? (Official examples/custom script, Pytrich/TF/FLax ?) ",
"> Hi, @PhilipMay Could please mention which script are you using for this? (Official examples... | 1,626 | 1,633 | 1,633 | CONTRIBUTOR | null | Hi,
I am training a MT5-small summarization model.
On tensorboard the loss function looks like this (see below).
The orange one is with batch size 3 and gradient_accumulation_steps 2 and 10 epochs. It looks normal.
The red one is with the same parameters but gradient_accumulation_steps 3 instead of 2.
The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12802/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12801/comments | https://api.github.com/repos/huggingface/transformers/issues/12801/events | https://github.com/huggingface/transformers/pull/12801 | 948,396,064 | MDExOlB1bGxSZXF1ZXN0NjkzMjQ1OTM0 | 12,801 | Add possibility to ignore imports in test_fecther | {
"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,626 | 1,627 | 1,627 | COLLABORATOR | null | # What does this PR do?
This PR adds the ability to ignore some imports in the internal mechanism of the tests fetcher. The issue is that a recent PR introduced a dependency on the auto modules for `tokenization_utils_base`, which is a module that often ends up in a dep. Since this is just to grab the tokenizer clas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12801/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/12801/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12801",
"html_url": "https://github.com/huggingface/transformers/pull/12801",
"diff_url": "https://github.com/huggingface/transformers/pull/12801.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12801.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12800/comments | https://api.github.com/repos/huggingface/transformers/issues/12800/events | https://github.com/huggingface/transformers/issues/12800 | 948,380,121 | MDU6SXNzdWU5NDgzODAxMjE= | 12,800 | I can not find transformers v4.9.0 | {
"login": "leoozy",
"id": 26025961,
"node_id": "MDQ6VXNlcjI2MDI1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/26025961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leoozy",
"html_url": "https://github.com/leoozy",
"followers_url": "https://api.github.com/users/leoozy/fo... | [] | closed | false | null | [] | [
"v4.9.0 will be out in a few days - for now you can install from source:\r\n```\r\npip install git+https://github/huggingface/transformers\r\n```",
"@LysandreJik Thank you for your repley. I installed the master branch. And tried the BART-large and MBart model (the architecture is totally the same). For Bart-lar... | 1,626 | 1,630 | 1,630 | NONE | null | 
The doc said the transformer v4.9.0 introduces a new package: transformers.onnx. However I can not find transformers v4.9.0. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12800/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12799/comments | https://api.github.com/repos/huggingface/transformers/issues/12799/events | https://github.com/huggingface/transformers/issues/12799 | 948,231,569 | MDU6SXNzdWU5NDgyMzE1Njk= | 12,799 | Jax/Flax Text-Classification Examples are not working... | {
"login": "bayartsogt-ya",
"id": 43239645,
"node_id": "MDQ6VXNlcjQzMjM5NjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43239645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bayartsogt-ya",
"html_url": "https://github.com/bayartsogt-ya",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"There was also a little bug in [python script](https://github.com/huggingface/transformers/blob/master/examples/flax/text-classification/run_flax_glue.py#L358) where label_list is not referenced.\r\nWe can declare as None in [L297](https://github.com/huggingface/transformers/blob/master/examples/flax/text-classifi... | 1,626 | 1,630 | 1,630 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: `pip install -q git+https://github.com/huggingface/transformers.git`
- Platform: Colab | Kaggle Code
- Python version: Python3.6 | Python3.7
- Jax version (TPU): 0.2.17
- Using distributed or parallel set-up in script?: Yes (8 TPUv3 given by Colab or Kaggle)
### Wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12799/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12798/comments | https://api.github.com/repos/huggingface/transformers/issues/12798/events | https://github.com/huggingface/transformers/issues/12798 | 948,189,115 | MDU6SXNzdWU5NDgxODkxMTU= | 12,798 | Error while converting a RoBERTa TF checkpoint to Pytorch | {
"login": "LeenaShekhar",
"id": 12227436,
"node_id": "MDQ6VXNlcjEyMjI3NDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/12227436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeenaShekhar",
"html_url": "https://github.com/LeenaShekhar",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I solved it. Thanks. ",
"How did you solve it?",
"Hello, how did you solved your problem?"
] | 1,626 | 1,676 | 1,627 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: '3.5.1'
- Platform: Linux
- Python version: 3.6.8
- PyTorch version (GPU?): '1.6.0+cu101'
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12798/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12797/comments | https://api.github.com/repos/huggingface/transformers/issues/12797/events | https://github.com/huggingface/transformers/issues/12797 | 948,117,526 | MDU6SXNzdWU5NDgxMTc1MjY= | 12,797 | [Documentation] Improve docs for hyper-parameter search | {
"login": "LoganWalls",
"id": 2934282,
"node_id": "MDQ6VXNlcjI5MzQyODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2934282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LoganWalls",
"html_url": "https://github.com/LoganWalls",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Yes, please go ahead with a PR, thank you!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggi... | 1,626 | 1,630 | 1,630 | NONE | null | # 🚀 Improve documentation for hyper-parameter search
## Motivation
I was recently trying to implement a custom logging callback to use with `Trainer.hyperparameter_search(...)`, but I could not figure out how to access the current run's hyper-parameters to log them. After digging into the source code I discovere... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12797/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12796/comments | https://api.github.com/repos/huggingface/transformers/issues/12796/events | https://github.com/huggingface/transformers/pull/12796 | 947,929,699 | MDExOlB1bGxSZXF1ZXN0NjkyODQxNDMy | 12,796 | [trainer] sanity checks for `save_steps=0|None` and `logging_steps=0` | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"All good to merge, thanks again!"
] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | This PR deals with combinations of training args that lead to:
```
# --do_eval --evaluation_strategy=steps --logging_steps 0 (no --eval_args)
Traceback (most recent call last):
File "examples/pytorch/translation/run_translation.py", line 617, in <module>
main()
File "examples/pytorch/translation/run_t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12796/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12796",
"html_url": "https://github.com/huggingface/transformers/pull/12796",
"diff_url": "https://github.com/huggingface/transformers/pull/12796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12796.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12795/comments | https://api.github.com/repos/huggingface/transformers/issues/12795/events | https://github.com/huggingface/transformers/issues/12795 | 947,865,388 | MDU6SXNzdWU5NDc4NjUzODg= | 12,795 | The network does not change if I resume training from checkpoint while also providing custom optimizer and scheduler | {
"login": "vmaryasin",
"id": 67067775,
"node_id": "MDQ6VXNlcjY3MDY3Nzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/67067775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vmaryasin",
"html_url": "https://github.com/vmaryasin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Yes, this has been solved since then I believe, as the `Trainer` used to recreate the model when loading a checkpoint (thus disconnecting it from a custom optimizer). This is no longer the case, so I think your code will work if you upgrade to the latest version of Transformers.",
"Thank you very much for the re... | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.3.2
- Platform: Linux-5.4.0-77-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.9.0a0+df837d0 (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/12795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12795/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12794/comments | https://api.github.com/repos/huggingface/transformers/issues/12794/events | https://github.com/huggingface/transformers/pull/12794 | 947,832,238 | MDExOlB1bGxSZXF1ZXN0NjkyNzU5Nzg0 | 12,794 | add `classifier_dropout` to classification heads | {
"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 should `classifier_dropout` be only added for `<model_name>ForSequenceClassification`\r\nor also to `<model_name>ForTokenClassification`?",
"It should be used for both, yes.",
"This is still WIP - I want to add more models. Please do not merge yet ...",
"I am done with this PR. It is ready for revie... | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | PR for #12781 and maybe a fix for #12792
# Logbook
- added to Electra: `SequenceClassification` and `TokenClassification`
- added to BERT: `SequenceClassification` and `TokenClassification`
- added to RoBERTa: `SequenceClassification` and `TokenClassification`
- added to big_bird: `SequenceClassification` and `T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12794/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12794",
"html_url": "https://github.com/huggingface/transformers/pull/12794",
"diff_url": "https://github.com/huggingface/transformers/pull/12794.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12794.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12793/comments | https://api.github.com/repos/huggingface/transformers/issues/12793/events | https://github.com/huggingface/transformers/issues/12793 | 947,830,906 | MDU6SXNzdWU5NDc4MzA5MDY= | 12,793 | Feature Request: El-Attention | {
"login": "suriyakode",
"id": 20522787,
"node_id": "MDQ6VXNlcjIwNTIyNzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20522787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suriyakode",
"html_url": "https://github.com/suriyakode",
"followers_url": "https://api.github.com/use... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Any updates on this one?"
] | 1,626 | 1,695 | null | NONE | null | # 🚀 Feature request
I've looked into the paper titled "[EL-Attention: Memory Efficient Lossless Attention for Generation](https://arxiv.org/abs/2105.04779)".
It proposes a method for calculating attention that forgoes creating multi-head attention from the hidden state. This saves computational time and frees memory... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12793/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/12793/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12792/comments | https://api.github.com/repos/huggingface/transformers/issues/12792/events | https://github.com/huggingface/transformers/issues/12792 | 947,826,232 | MDU6SXNzdWU5NDc4MjYyMzI= | 12,792 | Declaring `classifier_dropout` in model config but not using it | {
"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 | [] | [
"Tagging @NielsRogge",
"also see this issue: #12781",
"@NielsRogge what do you think?",
"Well, since Pegasus does not have SequenceClassification or TokenClassification the `classifier_dropout` could be just removed from the config.",
"fixed in PR - closing"
] | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | The PEGASUS model is declaring `classifier_dropout` in the model config:
https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/pegasus/configuration_pegasus.py#L128
But the model never uses it. This is a bug IMO.
In contrast mBART defines it:
https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12792/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12791/comments | https://api.github.com/repos/huggingface/transformers/issues/12791/events | https://github.com/huggingface/transformers/pull/12791 | 947,796,272 | MDExOlB1bGxSZXF1ZXN0NjkyNzI5MjYw | 12,791 | [CIs] add troubleshooting docs | {
"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,626 | 1,626 | 1,626 | CONTRIBUTOR | null | As discussed in https://github.com/huggingface/transformers/pull/12723#issuecomment-881625490 adding troubleshooting docs for each CI-type.
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12791/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12791",
"html_url": "https://github.com/huggingface/transformers/pull/12791",
"diff_url": "https://github.com/huggingface/transformers/pull/12791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12790/comments | https://api.github.com/repos/huggingface/transformers/issues/12790/events | https://github.com/huggingface/transformers/issues/12790 | 947,796,027 | MDU6SXNzdWU5NDc3OTYwMjc= | 12,790 | Tapas tokenizer | {
"login": "hugoperrin",
"id": 15249557,
"node_id": "MDQ6VXNlcjE1MjQ5NTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/15249557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hugoperrin",
"html_url": "https://github.com/hugoperrin",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"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... | [
{
"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:... | [
"Hi,\r\n\r\nI have implemented an option which reflects the original implementation. You can initialize `TapasTokenizer` with a `min_question_length` and/or `max_question_length`. If a query is shorter or longer than the specified values, they will be skipped (i.e. the query will be an empty string).",
"This issu... | 1,626 | 1,629 | 1,629 | NONE | null | ## Environment info
- `transformers` version: 4.8.2 and 4.1.1
- Platform: linux-ubuntu 20.04
- Python version: 3.7.5
- PyTorch version (GPU?): 1.9.0+cu111
- Tensorflow version (GPU?): none
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
<!-- Your issue will... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12790/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12789/comments | https://api.github.com/repos/huggingface/transformers/issues/12789/events | https://github.com/huggingface/transformers/issues/12789 | 947,713,910 | MDU6SXNzdWU5NDc3MTM5MTA= | 12,789 | Raise exceptions instead of using assertions for control flow | {
"login": "willfrey",
"id": 13784361,
"node_id": "MDQ6VXNlcjEzNzg0MzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13784361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willfrey",
"html_url": "https://github.com/willfrey",
"followers_url": "https://api.github.com/users/wil... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"That is an excellent point, and we welcome any PR that changes assert's to proper exception. We have been doing that for long error messages anyway, and I agree with you it's a better choice (as long as we raise the appropriate exception of course).\r\n\r\n",
"I'm adding the good first issue label, this way if s... | 1,626 | 1,689 | 1,689 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698
Assertions can't be relied upon for control flow because they can be disabled, as per the following:
```shell
$ python --help
usage: python [option] ... [-c cmd | -m mod |... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12789/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12789/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12788/comments | https://api.github.com/repos/huggingface/transformers/issues/12788/events | https://github.com/huggingface/transformers/issues/12788 | 947,655,156 | MDU6SXNzdWU5NDc2NTUxNTY= | 12,788 | Add ONNX export for gpt_neo models | {
"login": "softworkz",
"id": 4985349,
"node_id": "MDQ6VXNlcjQ5ODUzNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4985349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/softworkz",
"html_url": "https://github.com/softworkz",
"followers_url": "https://api.github.com/users/so... | [] | closed | false | null | [] | [
"Hello @softworkz, the documentation for that feature is available here: https://huggingface.co/transformers/master/serialization.html#configuration-based-approach\r\n\r\nThe goal of #11786 isn't to add support for exporting a number of models to ONNX - it is to add configurations that allow very simple exports to ... | 1,626 | 1,629 | 1,629 | NONE | null | ## Status
A recent PR (https://github.com/huggingface/transformers/pull/11786) adds support for exporting a number of models to ONNX.
Among those is the gpt2 model but not gpt_neo.
## Question
I'm wondering whether it wouldn't be sufficient to simply apply the same changes as for gpt2..
Is there any specific... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12788/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12787/comments | https://api.github.com/repos/huggingface/transformers/issues/12787/events | https://github.com/huggingface/transformers/issues/12787 | 947,640,002 | MDU6SXNzdWU5NDc2NDAwMDI= | 12,787 | How to use past_key_values in RAG model? | {
"login": "agi-templar",
"id": 21965264,
"node_id": "MDQ6VXNlcjIxOTY1MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/21965264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agi-templar",
"html_url": "https://github.com/agi-templar",
"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,626 | 1,629 | 1,629 | NONE | null | Hi the team,
Great work on this amazing project! Currently I'm trying to test RAG's performance on some simple QA tasks and I read the document of [RAGforSequenceGeneration](https://huggingface.co/transformers/model_doc/rag.html?highlight=rag#ragsequenceforgeneration). I wonder how exactly to use `past_key_values` t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12787/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12786/comments | https://api.github.com/repos/huggingface/transformers/issues/12786/events | https://github.com/huggingface/transformers/pull/12786 | 947,591,272 | MDExOlB1bGxSZXF1ZXN0NjkyNTUzMDI0 | 12,786 | Enforce eval and save strategies are compatible when --load_best_model_at_end | {
"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 | [] | [
"What if we only want to save the best checkpoint during training? Saving a checkpoint every time we do an evaluation will take much space and many checkpoints are unnecessary.",
"I see! This should be implemented by setting save_total_limit==1, but it would be great if there's something like a saving strategy ca... | 1,626 | 1,632 | 1,626 | COLLABORATOR | null | # What does this PR do?
There are multiple reports form users not understanding their `save_strategy` or `save_steps` are overridden by `eval_strategy` and `eval_steps`, so this PR changes the current behavior to raise an error when:
- there is a mismatch between the `save_strategy` and the `eval_strategy`
- in ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12786/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12786",
"html_url": "https://github.com/huggingface/transformers/pull/12786",
"diff_url": "https://github.com/huggingface/transformers/pull/12786.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12786.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12785/comments | https://api.github.com/repos/huggingface/transformers/issues/12785/events | https://github.com/huggingface/transformers/issues/12785 | 947,561,497 | MDU6SXNzdWU5NDc1NjE0OTc= | 12,785 | Pre training problem, please help me out | {
"login": "mosh98",
"id": 48658042,
"node_id": "MDQ6VXNlcjQ4NjU4MDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/48658042?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mosh98",
"html_url": "https://github.com/mosh98",
"followers_url": "https://api.github.com/users/mosh98/fo... | [] | closed | false | null | [] | [
"Are you using the `run_mlm.py` script from master?",
"yes sir i am",
"Can you create a colab to reproduce?",
"I just ran the script on google colab terminal.\r\n\r\n`python run_mlm.py --model_name_or_path microsoft/codebert-base --train_file /content/TrainingFiles.txt --do_train --do_eval --output_dir /tmp/t... | 1,626 | 1,628 | 1,628 | NONE | null | ## Environment info
- `transformers` version: 4.8.2
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.11
- PyTorch version (GPU?): 1.9.0+cu102 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12784/comments | https://api.github.com/repos/huggingface/transformers/issues/12784/events | https://github.com/huggingface/transformers/pull/12784 | 947,499,956 | MDExOlB1bGxSZXF1ZXN0NjkyNDcyNTg4 | 12,784 | Improving pipeline tests | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"So let's start to merge those iteratively ?",
"Yes :)"
] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
This PR removes `small_models` in favor of random dynamic super small models from tiny_config.
- Main reason, so we can test the pipeline on as much architectures as possible (which is the goal of the pipeline)
- Main drawback, we don't test `fast` vs `non-fast` tokenizers anymore (non fa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12784/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12784",
"html_url": "https://github.com/huggingface/transformers/pull/12784",
"diff_url": "https://github.com/huggingface/transformers/pull/12784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12784.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12783/comments | https://api.github.com/repos/huggingface/transformers/issues/12783/events | https://github.com/huggingface/transformers/issues/12783 | 947,494,962 | MDU6SXNzdWU5NDc0OTQ5NjI= | 12,783 | How to solve the CUDA out of memory | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I changed the param of block_size to 512, it solves the memory error. Will this change have effects on the performance of gpt2 ?",
"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... | 1,626 | 1,629 | 1,629 | NONE | null | ERROR:
> 07/19/2021 10:04:35 - INFO - __main__ - ***** Running training *****
> 07/19/2021 10:04:35 - INFO - __main__ - Num examples = 23
> 07/19/2021 10:04:35 - INFO - __main__ - Num Epochs = 7██████| 1/1 [00:00<00:00, 4.48ba/s]
> 07/19/2021 10:04:35 - INFO - __main__ - Instantaneous batch size per devi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12782/comments | https://api.github.com/repos/huggingface/transformers/issues/12782/events | https://github.com/huggingface/transformers/pull/12782 | 947,486,902 | MDExOlB1bGxSZXF1ZXN0NjkyNDYxMDE5 | 12,782 | [Flax] Correct flax docs | {
"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,626 | 1,628 | 1,628 | 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/12782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12782",
"html_url": "https://github.com/huggingface/transformers/pull/12782",
"diff_url": "https://github.com/huggingface/transformers/pull/12782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12781/comments | https://api.github.com/repos/huggingface/transformers/issues/12781/events | https://github.com/huggingface/transformers/issues/12781 | 947,469,223 | MDU6SXNzdWU5NDc0NjkyMjM= | 12,781 | Set dropout for ClassificationHead | {
"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 | [] | [
"Valid point, some models (like mBART, DETR, PEGASUS) have a `classifier_dropout` in their config. \r\n\r\nIt should ideally be the case for all models.",
"Agreed with Niels. If you want to make a PR @PhilipMay, please go ahead. Just make sure to use the same attribute name ( `classifier_dropout`) as in the exist... | 1,626 | 1,628 | 1,628 | CONTRIBUTOR | null | When I train a classification task I want to be able to set a dropout value for the prediction head.
This dropout value should be independent of the other dropout values of the language model.
Now the issue is: If I want to set a dropout for the ClassificationHead of Electra (and other models) I have to set the
`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12780/comments | https://api.github.com/repos/huggingface/transformers/issues/12780/events | https://github.com/huggingface/transformers/issues/12780 | 947,444,610 | MDU6SXNzdWU5NDc0NDQ2MTA= | 12,780 | Documentation of longformer model is confusinng | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Thanks for the issue! This PR: https://github.com/huggingface/transformers/pull/12809/files fixes the outdated comment."
] | 1,626 | 1,626 | 1,626 | NONE | null | ### Who can help
#Documentation: @sgugger
Models:
- longformer, reformer, transfoxl, xlnet: @patrickvonplaten
Examples:
- maintained examples (not research project or legacy): @sgugger, @patil-suraj
## Information
Model I am using longformer:
The problem arises when using:
* [ ] the officia... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12780/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12779/comments | https://api.github.com/repos/huggingface/transformers/issues/12779/events | https://github.com/huggingface/transformers/pull/12779 | 947,427,230 | MDExOlB1bGxSZXF1ZXN0NjkyNDA5Nzk1 | 12,779 | Longer timeout for slow 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,626 | 1,626 | 1,626 | MEMBER | null | About 50 slow tests go over to 5 minutes mark and currently get killed by the timeout. I don't have time to fix them right now so putting the timeout to 10 minutes so that we still have coverage on those tests. Will get back to it when I have a free cycle. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12779/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12779",
"html_url": "https://github.com/huggingface/transformers/pull/12779",
"diff_url": "https://github.com/huggingface/transformers/pull/12779.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12779.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12778/comments | https://api.github.com/repos/huggingface/transformers/issues/12778/events | https://github.com/huggingface/transformers/issues/12778 | 947,405,321 | MDU6SXNzdWU5NDc0MDUzMjE= | 12,778 | Unable to finetune RAG end2end due to error in finetune_rag.py file | {
"login": "AntonioLopardo",
"id": 8061862,
"node_id": "MDQ6VXNlcjgwNjE4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8061862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AntonioLopardo",
"html_url": "https://github.com/AntonioLopardo",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hi, \r\n\r\n1. first, the RAG-end2end cannot get a train with pytorch_retriever, since it's not enabled and you have to use ray_retriever (Since it is very slow and hard to update the indexed KB).\r\n\r\n\r\n2. The second issue is related you your distributed system and we have discussed it in [this issue](https:... | 1,626 | 1,662 | 1,629 | NONE | null | ## Environment info
- `transformers` version: 4.8.2
- Platform: Ubuntu 20.04
- Python version: 3.8.10
- PyTorch version (GPU?): 1.10.0.dev20210717+cu111
- Tensorflow version (GPU?): none
- Using GPU in script?: yes, 8 A6000s
- Using distributed or parallel set-up in script?: yes, ray 2.0.0.dev0
### Who can he... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12778/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12777/comments | https://api.github.com/repos/huggingface/transformers/issues/12777/events | https://github.com/huggingface/transformers/issues/12777 | 947,358,277 | MDU6SXNzdWU5NDczNTgyNzc= | 12,777 | Error in the model card page | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Thank you for the report, I have updated the modelcard in [`hf.co#c626438`](https://huggingface.co/facebook/bart-large-mnli/commit/c626438eeca63a93bd6024b0a0fbf8b3c0c30d7b)"
] | 1,626 | 1,628 | 1,628 | NONE | null | https://huggingface.co/facebook/bart-large-mnli
this page is about the
> facebook/bart-large-mnli model.
However, in the section of
> With manual PyTorch
the example show the loaded model is joeddav/xlm-roberta-large-xnli, which is not
> facebook/bart-large-mnli
I suppose that this is an error ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12776/comments | https://api.github.com/repos/huggingface/transformers/issues/12776/events | https://github.com/huggingface/transformers/issues/12776 | 947,312,770 | MDU6SXNzdWU5NDczMTI3NzA= | 12,776 | How to use the transformers pre-training model to calculate the probability of a sentence instead of PPL? | {
"login": "gongshaojie12",
"id": 6407116,
"node_id": "MDQ6VXNlcjY0MDcxMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6407116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gongshaojie12",
"html_url": "https://github.com/gongshaojie12",
"followers_url": "https://api.github.... | [] | 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,626 | 1,629 | 1,629 | NONE | null | I now want to use the pre-trained language model of transformers to calculate the probability of a sentence (a value between 0 and 1) instead of PPL. What should I do? Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12776/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12775/comments | https://api.github.com/repos/huggingface/transformers/issues/12775/events | https://github.com/huggingface/transformers/issues/12775 | 947,303,533 | MDU6SXNzdWU5NDczMDM1MzM= | 12,775 | Adding m2m100 12B | {
"login": "Mehrad0711",
"id": 28717374,
"node_id": "MDQ6VXNlcjI4NzE3Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mehrad0711",
"html_url": "https://github.com/Mehrad0711",
"followers_url": "https://api.github.com/use... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "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... | [
"And also please add:\r\n\r\n1. flores101_mm100_615M | 12 | 1024 | 4096 | 256,000 | 615M | https://dl.fbaipublicfiles.com/flores101/pretrained_models/flores101_mm100_615M.tar.gz\r\n\r\n2. flores101_mm100_175M | 6 | 512 | 2048 | 256,000 | 175M | https://dl.fbaipublicfiles.com/flores101/pretrained_models/flores101_mm... | 1,626 | 1,652 | 1,647 | CONTRIBUTOR | null | # 🌟 New model addition
Hi!
I was wondering if there's been any work on adding the 12B version of m2m100 model to huggingface.
Given libraries such as fairscale or parallelformers, inference with these relatively big models should be possible now.
Are there any model changes needed to accommodate the 12B versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12775/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12775/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12774/comments | https://api.github.com/repos/huggingface/transformers/issues/12774/events | https://github.com/huggingface/transformers/issues/12774 | 947,115,597 | MDU6SXNzdWU5NDcxMTU1OTc= | 12,774 | max_length parameter in Wav2Vec2FeatureExtractor doesn't affect | {
"login": "yanirmr",
"id": 22538302,
"node_id": "MDQ6VXNlcjIyNTM4MzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/22538302?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yanirmr",
"html_url": "https://github.com/yanirmr",
"followers_url": "https://api.github.com/users/yanirm... | [] | closed | false | null | [] | [
"cc @patrickvonplaten and @patil-suraj ",
"@yanirmr - thanks a lot for you issue! The problem is that we currently don't support \"truncation\" in Transformers which means that when one wants to pad to a length that is shorter than the `max_length` nothing is changed. However, `truncation` is a very important fea... | 1,626 | 1,627 | 1,627 | 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.2
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.5
- PyTorch version (GPU?): 1.9.0+cpu (Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12774/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12773/comments | https://api.github.com/repos/huggingface/transformers/issues/12773/events | https://github.com/huggingface/transformers/issues/12773 | 947,056,516 | MDU6SXNzdWU5NDcwNTY1MTY= | 12,773 | Can't load config for [community model] : DeepESP/gpt2-spanish | {
"login": "ruanchaves",
"id": 14352388,
"node_id": "MDQ6VXNlcjE0MzUyMzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/14352388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ruanchaves",
"html_url": "https://github.com/ruanchaves",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Solved by upgrading `transformers` to a higher version."
] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-135-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.9.0+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12772/comments | https://api.github.com/repos/huggingface/transformers/issues/12772/events | https://github.com/huggingface/transformers/issues/12772 | 946,945,999 | MDU6SXNzdWU5NDY5NDU5OTk= | 12,772 | We made a toolkit can parallelize almost all the Hugging Face models. But we have some question ! | {
"login": "hyunwoongko",
"id": 38183241,
"node_id": "MDQ6VXNlcjM4MTgzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/38183241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hyunwoongko",
"html_url": "https://github.com/hyunwoongko",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello @hyunwoongko, thanks a lot for sharing, this is a really cool project! No problem at all regarding the image homage (really cool logo by the way!)\r\n\r\nI'm pinging @stas00 who has led the efforts of model parallelization and DeepSpeed integration on our side and would probably be interested. Also pinging @... | 1,626 | 1,632 | 1,632 | CONTRIBUTOR | null | We recently developed an opensource called `parallelformers,` (https://github.com/tunib-ai/parallelformers) and have a few questions, so we write an issue here.
Q. As a logo, an image homage to the hugging face was used. Not exactly the same CI, but from Unicode. Will it be a problem?
Q. What do you think about c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12772/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12772/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12771/comments | https://api.github.com/repos/huggingface/transformers/issues/12771/events | https://github.com/huggingface/transformers/issues/12771 | 946,854,877 | MDU6SXNzdWU5NDY4NTQ4Nzc= | 12,771 | GPTNeo Flax - crashes - n> sizes_size | {
"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 | [] | [
"Hey @peregilk,\r\n\r\ncould you please provide the exact command that you ran to reproduce the error?",
"I am using the default script. I have the data stored on an attached disk to the VM. The data is in json-format. I have a gpt-tokenizer with the correct number of tokens that is stored in the model directory.... | 1,626 | 1,635 | 1,635 | 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.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/12771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12771/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12770/comments | https://api.github.com/repos/huggingface/transformers/issues/12770/events | https://github.com/huggingface/transformers/pull/12770 | 946,773,856 | MDExOlB1bGxSZXF1ZXN0NjkxODkyMjAw | 12,770 | Fix push_to_hub docstring and make it appear in doc | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,626 | 1,626 | 1,626 | COLLABORATOR | null | # What does this PR do?
As pointed out in #12700, the documentation of `psuh_to_hub` was not appearing in the objects like `PretrainedConfig`, `PreTrainedModel` or `PreTrainedTokenzier`. This PR addresses that. It also customizes the documentation for each object (in particular the example) but since I didn't want t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12770/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12770",
"html_url": "https://github.com/huggingface/transformers/pull/12770",
"diff_url": "https://github.com/huggingface/transformers/pull/12770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12770.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12769/comments | https://api.github.com/repos/huggingface/transformers/issues/12769/events | https://github.com/huggingface/transformers/issues/12769 | 946,771,498 | MDU6SXNzdWU5NDY3NzE0OTg= | 12,769 | Seq2SeqTrainer Model parallelism with AWS Sagemaker - not enough values to unpack error | {
"login": "suneelmatham",
"id": 54971275,
"node_id": "MDQ6VXNlcjU0OTcxMjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/54971275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suneelmatham",
"html_url": "https://github.com/suneelmatham",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @sgugger",
"@suneelmatham do you need to run the LED-base in model parallel? Shouldn't the `base` version easily fit into memory? From the [hub](https://huggingface.co/allenai/led-base-16384) It only seems to be around 700MB. You could go with data parallelism to speed up your training. https://huggingface.co... | 1,626 | 1,629 | 1,629 | NONE | null | ## Environment info
- `transformers` version: 4.6
- Platform: 'ml.p3.16xlarge' AWS DLC container
- Python version: 3.6
- PyTorch version (GPU?): 1.7 (True)
- Using GPU in script?: True
- Using distributed or parallel set-up in script?: Yes
### Who can help
@philschmid @patrickvonplaten
## Information
M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12769/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12768/comments | https://api.github.com/repos/huggingface/transformers/issues/12768/events | https://github.com/huggingface/transformers/issues/12768 | 946,750,939 | MDU6SXNzdWU5NDY3NTA5Mzk= | 12,768 | Alphafold 2.0 | {
"login": "elk-cloner",
"id": 5828101,
"node_id": "MDQ6VXNlcjU4MjgxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5828101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elk-cloner",
"html_url": "https://github.com/elk-cloner",
"followers_url": "https://api.github.com/users... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"cc @Rocketknight1 :)",
"cc @Narsil too, this is something we've been looking at internally!",
"Any updates? ",
"We roughly looked into it, but alphafold requires quite a bit of data to work with (other known proteins configurations), and it seems just transposing the model would be not super relevant on its ... | 1,626 | 1,636 | null | CONTRIBUTOR | null | # 🌟 New model addition
It would be so amazing to have Alphafold model in huggingface. 😍
I don't know if there is any plan to add these kind of models to huggingface repo.
<!-- Important information -->
## Model description
## Open source status
* [x] the model implementation is available: ([github](ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12768/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12767/comments | https://api.github.com/repos/huggingface/transformers/issues/12767/events | https://github.com/huggingface/transformers/issues/12767 | 946,717,153 | MDU6SXNzdWU5NDY3MTcxNTM= | 12,767 | How to override model.generate() function in GenerationMixin class? | {
"login": "yeounyi",
"id": 41869778,
"node_id": "MDQ6VXNlcjQxODY5Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/41869778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeounyi",
"html_url": "https://github.com/yeounyi",
"followers_url": "https://api.github.com/users/yeouny... | [] | closed | false | null | [] | [
"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!",
"Hi, have you found the solutions? I'm facing the same issue.",
"@rxlian Hi, I failed to override `model.genera... | 1,626 | 1,658 | 1,626 | CONTRIBUTOR | null | Hi, I want to override `_generate_no_beam_search`, `_generate_beam_search` methods in `GenerationMixin` class to adjust `next_token_logits`.
I tried it by adding adjusted methods in my custom model code but seems not working.
I'd appreciate any help. Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12767/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12766/comments | https://api.github.com/repos/huggingface/transformers/issues/12766/events | https://github.com/huggingface/transformers/pull/12766 | 946,673,208 | MDExOlB1bGxSZXF1ZXN0NjkxODA4Mjg2 | 12,766 | Log Azure ML metrics only for rank 0 | {
"login": "harshithapv",
"id": 54084812,
"node_id": "MDQ6VXNlcjU0MDg0ODEy",
"avatar_url": "https://avatars.githubusercontent.com/u/54084812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harshithapv",
"html_url": "https://github.com/harshithapv",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,626 | 1,627 | 1,627 | CONTRIBUTOR | null | Collect only the loss values reported in the log file on 0th process from a multi GPU experiment into the Metrics table/chart.
Fixes # (issue)
The loss values displayed in the metrics from from all devices which does not reflect the correct total loss for distributed runs.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12766/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12766",
"html_url": "https://github.com/huggingface/transformers/pull/12766",
"diff_url": "https://github.com/huggingface/transformers/pull/12766.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12766.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12765/comments | https://api.github.com/repos/huggingface/transformers/issues/12765/events | https://github.com/huggingface/transformers/issues/12765 | 946,567,375 | MDU6SXNzdWU5NDY1NjczNzU= | 12,765 | Error in HuggingFace Course "Fine-tuning a pretrained model" | {
"login": "grantdelozier",
"id": 4543334,
"node_id": "MDQ6VXNlcjQ1NDMzMzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4543334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grantdelozier",
"html_url": "https://github.com/grantdelozier",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"cc @sgugger ",
"I am unable to reproduce. Are you sure you don't have an old version of transformers in your Colab runtime for some reason? Could you run\r\n``` \r\n! transformers-cli env\r\n```\r\nin a cell and paste the output here?",
"My apologies for the spurious issue. I did a factory reset of my runtime ... | 1,626 | 1,652 | 1,626 | NONE | null | New to huggingface and just going through your newly posted course.
## To reproduce
Open a google collab notebook.
Run
```
!pip install transformers[sentencepiece]
!pip install datasets
```
Then follow the steps in this chapter of the huggingface course https://huggingface.co/course/chapter3/3?fw=pt
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12765/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12765/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12764/comments | https://api.github.com/repos/huggingface/transformers/issues/12764/events | https://github.com/huggingface/transformers/pull/12764 | 946,454,471 | MDExOlB1bGxSZXF1ZXN0NjkxNjI1Njgx | 12,764 | [Wav2Vec2] Padded vectors should not allowed to be sampled | {
"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 | [] | [
"PR is tested on Wav2Vec2 PreTraining in Flax"
] | 1,626 | 1,626 | 1,626 | 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/12764/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12764",
"html_url": "https://github.com/huggingface/transformers/pull/12764",
"diff_url": "https://github.com/huggingface/transformers/pull/12764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12763/comments | https://api.github.com/repos/huggingface/transformers/issues/12763/events | https://github.com/huggingface/transformers/issues/12763 | 946,431,985 | MDU6SXNzdWU5NDY0MzE5ODU= | 12,763 | IndexError: index out of range in self | {
"login": "nbravulapalli",
"id": 87538360,
"node_id": "MDQ6VXNlcjg3NTM4MzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/87538360?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbravulapalli",
"html_url": "https://github.com/nbravulapalli",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello! Could you print `model.config.vocab_size` and `len(tokenizer)`? These two should be the same, as otherwise your tokenizer will generate IDs that the model cannot understand (which seems to be the case here)",
"@LysandreJik\r\n\r\n```model.config.vocab_size``` returns 30523, and ```len(tokenizer)``` return... | 1,626 | 1,658 | 1,629 | 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: Ubuntu Linux
- Python version:3.88
- PyTorch version (GPU?):1.8.1
- Tensorflow version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12763/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12762/comments | https://api.github.com/repos/huggingface/transformers/issues/12762/events | https://github.com/huggingface/transformers/issues/12762 | 946,353,165 | MDU6SXNzdWU5NDYzNTMxNjU= | 12,762 | t5 fast tokenizer save_vocabulary fails without sentencepiece file | {
"login": "yhavinga",
"id": 3098618,
"node_id": "MDQ6VXNlcjMwOTg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3098618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yhavinga",
"html_url": "https://github.com/yhavinga",
"followers_url": "https://api.github.com/users/yhavi... | [] | 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... | [
"Maybe of interest to @SaulLu :)",
"Thank you very much for sharing this error! I share your opinion.\r\n\r\n I have opened a PR #12806 to solve this problem. :slightly_smiling_face: ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to b... | 1,626 | 1,678 | 1,630 | CONTRIBUTOR | 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+cu102 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- 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/12762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12762/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12761/comments | https://api.github.com/repos/huggingface/transformers/issues/12761/events | https://github.com/huggingface/transformers/issues/12761 | 946,346,789 | MDU6SXNzdWU5NDYzNDY3ODk= | 12,761 | Unable to run model parallel training using jax on TPU-VM | {
"login": "arampacha",
"id": 69807323,
"node_id": "MDQ6VXNlcjY5ODA3MzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/69807323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arampacha",
"html_url": "https://github.com/arampacha",
"followers_url": "https://api.github.com/users/... | [] | closed | 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... | [
"@arampacha @patil-suraj Just confirming that I have the exact same problems. I do also get the error when running the example code on a fresh install. Please note that this is a duplicate of the report posted here: https://github.com/huggingface/transformers/issues/12771",
"Thanks for the very clear and detailed... | 1,626 | 1,634 | 1,634 | CONTRIBUTOR | 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?): 2.7.0-dev20210705 (False)
- Flax version: 0.3.4 (tpu)
- Jax version: 0.2.16
- JaxLib version: 0.1.68... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12761/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12760/comments | https://api.github.com/repos/huggingface/transformers/issues/12760/events | https://github.com/huggingface/transformers/issues/12760 | 946,336,132 | MDU6SXNzdWU5NDYzMzYxMzI= | 12,760 | Embedding layer Pruning implementation | {
"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 | [] | [
"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,626 | 1,629 | 1,629 | CONTRIBUTOR | null | I want to use a multilingual model (in my case MT5) to train it for two languages (English and German).
These models have a very high vocab size because they are multilingual.
This large embedding needs a lot of RAM on GPU.
My idea is: Tokenize a large English and German corpus and find out which tokens are needed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12760/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12760/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12759/comments | https://api.github.com/repos/huggingface/transformers/issues/12759/events | https://github.com/huggingface/transformers/pull/12759 | 946,289,489 | MDExOlB1bGxSZXF1ZXN0NjkxNDg2NDM4 | 12,759 | Preserve `list` type of `additional_special_tokens` in `special_token_map` | {
"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,626 | 1,626 | 1,626 | 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/12759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12759",
"html_url": "https://github.com/huggingface/transformers/pull/12759",
"diff_url": "https://github.com/huggingface/transformers/pull/12759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12759.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12758/comments | https://api.github.com/repos/huggingface/transformers/issues/12758/events | https://github.com/huggingface/transformers/pull/12758 | 946,262,869 | MDExOlB1bGxSZXF1ZXN0NjkxNDY0Mjc3 | 12,758 | Turn on eval mode when exporting to ONNX | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"@LysandreJik sorry I can't see what you're referring to 🧐 🙈 "
] | 1,626 | 1,626 | 1,626 | MEMBER | null | Disabling T5 as it has an export issue we need to address first. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12758/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12758",
"html_url": "https://github.com/huggingface/transformers/pull/12758",
"diff_url": "https://github.com/huggingface/transformers/pull/12758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12758.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12757/comments | https://api.github.com/repos/huggingface/transformers/issues/12757/events | https://github.com/huggingface/transformers/pull/12757 | 946,193,536 | MDExOlB1bGxSZXF1ZXN0NjkxNDA0NDg1 | 12,757 | [flax/model_parallel] fix typos | {
"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,626 | 1,626 | 1,626 | MEMBER | null | # What does this PR do?
This PR fixes some typos in the readme and directory name | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12757/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12757",
"html_url": "https://github.com/huggingface/transformers/pull/12757",
"diff_url": "https://github.com/huggingface/transformers/pull/12757.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12757.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12756/comments | https://api.github.com/repos/huggingface/transformers/issues/12756/events | https://github.com/huggingface/transformers/issues/12756 | 946,112,173 | MDU6SXNzdWU5NDYxMTIxNzM= | 12,756 | unk_id is missing for SentencepieceTokenizer | {
"login": "darwinharianto",
"id": 44696192,
"node_id": "MDQ6VXNlcjQ0Njk2MTky",
"avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darwinharianto",
"html_url": "https://github.com/darwinharianto",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Maybe of interest to @SaulLu ",
"I have an idea where the problem might come from. \r\n\r\nTo be sure that this is the source of the error, @darwinharianto, could you share with me your `unigram.json` file or, if you can't, the content of the `model` key and the `unk_id` subkey in your `unigram.json` file? :slig... | 1,626 | 1,626 | 1,626 | NONE | null | Trained sentencepiece tokenizer from Tokenizer library with some added tokens
```
"added_tokens": [
{
"id": 0,
"special": true,
"content": "<unk>",
"single_word": false,
"lstrip": false,
"rstrip": false,
"normalized": false
},
{
"id": 1,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12756/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12755/comments | https://api.github.com/repos/huggingface/transformers/issues/12755/events | https://github.com/huggingface/transformers/issues/12755 | 946,053,985 | MDU6SXNzdWU5NDYwNTM5ODU= | 12,755 | ValueError: cannot reshape array of size ... in run_t5_mlm_flax.py data_collator | {
"login": "yhavinga",
"id": 3098618,
"node_id": "MDQ6VXNlcjMwOTg2MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3098618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yhavinga",
"html_url": "https://github.com/yhavinga",
"followers_url": "https://api.github.com/users/yhavi... | [] | closed | false | null | [] | [
"Thanks for the issue! I'll try to look into it today :-) \r\n\r\nBy `\".. and wait\"`, how long does it take on your machine? Also do you think it might be possible to get the error on a much smaller dataset then the whole dutch oscar dataset (which is quite large)?\r\n\r\nAlso note that `batch_size` should ideall... | 1,626 | 1,646 | 1,646 | CONTRIBUTOR | 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+cu102 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- 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/12755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12755/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12754/comments | https://api.github.com/repos/huggingface/transformers/issues/12754/events | https://github.com/huggingface/transformers/issues/12754 | 946,029,899 | MDU6SXNzdWU5NDYwMjk4OTk= | 12,754 | Add EncodedInput as an alternative input type of _batch_encode_plus in tokenization_utils_fast | {
"login": "sz128",
"id": 16218783,
"node_id": "MDQ6VXNlcjE2MjE4Nzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/16218783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sz128",
"html_url": "https://github.com/sz128",
"followers_url": "https://api.github.com/users/sz128/follow... | [] | 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,626 | 1,629 | 1,629 | NONE | null | # 🚀 Feature request
The [_batch_encode_plus](https://github.com/huggingface/transformers/blob/6989264963d1f8871404889243d2f15de198ee42/src/transformers/tokenization_utils.py#L483) function in [tokenization_utils](https://github.com/huggingface/transformers/blob/master/src/transformers/tokenization_utils.py) support... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12754/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12753/comments | https://api.github.com/repos/huggingface/transformers/issues/12753/events | https://github.com/huggingface/transformers/issues/12753 | 945,995,433 | MDU6SXNzdWU5NDU5OTU0MzM= | 12,753 | Getting Word Embeddings for Sentences using long-former model? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for this kind of questions, we keep the issues for bugs and feature requests only.",
"> Please use the [forums](https://discuss.huggingface.co/) for this kind of questions, we keep the issues for bugs and feature requests only.\r\n\r\nThanks for pointing i... | 1,626 | 1,626 | 1,626 | NONE | null | I am new to **Huggingface** and have few basic queries. This post might be helpful to others as well who are starting to use **longformer** model from **huggingface**.
## Objective:
Create Sentence/document embeddings using **longformer** model. We don't have lables in our data-set, so we want to do clustering o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12753/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12752/comments | https://api.github.com/repos/huggingface/transformers/issues/12752/events | https://github.com/huggingface/transformers/pull/12752 | 945,956,105 | MDExOlB1bGxSZXF1ZXN0NjkxMjA1ODYz | 12,752 | [Flax/run_hybrid_clip] Fix duplicating images when captions_per_image exceeds the number of captions, enable truncation | {
"login": "edugp",
"id": 17855740,
"node_id": "MDQ6VXNlcjE3ODU1NzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/17855740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edugp",
"html_url": "https://github.com/edugp",
"followers_url": "https://api.github.com/users/edugp/follow... | [] | 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,626 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
Do not duplicate images when the number of captions in an example is smaller than `captions_per_image`.
Truncate tokens when number of tokens exceeds `max_length`.
Currently, if an example contains a number of captions smaller than `captions_per_image`, the dataset will get scrambled, bec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12752/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12752",
"html_url": "https://github.com/huggingface/transformers/pull/12752",
"diff_url": "https://github.com/huggingface/transformers/pull/12752.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12752.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12751/comments | https://api.github.com/repos/huggingface/transformers/issues/12751/events | https://github.com/huggingface/transformers/pull/12751 | 945,793,613 | MDExOlB1bGxSZXF1ZXN0NjkxMDcwODYz | 12,751 | add intel-tensorflow-avx512 to the candidates | {
"login": "zzhou612",
"id": 17488719,
"node_id": "MDQ6VXNlcjE3NDg4NzE5",
"avatar_url": "https://avatars.githubusercontent.com/u/17488719?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zzhou612",
"html_url": "https://github.com/zzhou612",
"followers_url": "https://api.github.com/users/zzh... | [] | closed | false | null | [] | [] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
`intel-tensorflow-avx512` PyPI package is not in the candidates list of transformers.
This PR adds support for detecting `intel-tensorflow-avx512`.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12751/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12751",
"html_url": "https://github.com/huggingface/transformers/pull/12751",
"diff_url": "https://github.com/huggingface/transformers/pull/12751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12751.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12750/comments | https://api.github.com/repos/huggingface/transformers/issues/12750/events | https://github.com/huggingface/transformers/issues/12750 | 945,787,730 | MDU6SXNzdWU5NDU3ODc3MzA= | 12,750 | hyperparameter search requirements/gpt2 metric | {
"login": "MarcM0",
"id": 30278842,
"node_id": "MDQ6VXNlcjMwMjc4ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/30278842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcM0",
"html_url": "https://github.com/MarcM0",
"followers_url": "https://api.github.com/users/MarcM0/fo... | [] | closed | false | null | [] | [
"It seems like if I give it an evaluation set from the training set, and no metric, and then set the parameter search to minimize, it will minimize loss?\r\n\r\nAnd then I just initialize a new trainer in the same script using those hyperparamets?\r\n\r\n```\r\nbest = trainer.hyperparameter_search(direction=\"minim... | 1,626 | 1,638 | 1,629 | NONE | null | I am trying to fine tune gpt2 to respond to certain prompts in a specific way, so I am training it on strings like
prompt + "someDivider" + output
I have about 1300 samples of training data, and I wanted to use hyperparameter_search to pick decent hyperparameters. I'm not sure if this requires a validation set, an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12750/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12750/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12749/comments | https://api.github.com/repos/huggingface/transformers/issues/12749/events | https://github.com/huggingface/transformers/pull/12749 | 945,739,225 | MDExOlB1bGxSZXF1ZXN0NjkxMDI0NjQy | 12,749 | [ray] Fix `datasets_modules` ImportError with Ray Tune | {
"login": "Yard1",
"id": 10364161,
"node_id": "MDQ6VXNlcjEwMzY0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yard1",
"html_url": "https://github.com/Yard1",
"followers_url": "https://api.github.com/users/Yard1/follow... | [] | closed | false | null | [] | [
"@richardliaw @pvcastro ",
"Great! @richardliaw , another approval is still required?",
"@sgugger @LysandreJik could you help take a look :) "
] | 1,626 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes an ImportError throws due to `datasets_modules` not being loaded on Ray Actors when tuning hyperparamters with Ray, fixing the following issues:
[huggingface/blog#106](https://github.com/huggingface/blog/issues/106)
[huggingface/transformers#11565](https://github.com/huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12749/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12749",
"html_url": "https://github.com/huggingface/transformers/pull/12749",
"diff_url": "https://github.com/huggingface/transformers/pull/12749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12749.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12748/comments | https://api.github.com/repos/huggingface/transformers/issues/12748/events | https://github.com/huggingface/transformers/pull/12748 | 945,723,651 | MDExOlB1bGxSZXF1ZXN0NjkxMDExMzY2 | 12,748 | [Wav2Vec2] Correctly pad mask indices for PreTraining | {
"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,626 | 1,626 | 1,626 | 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/12748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12748/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12748",
"html_url": "https://github.com/huggingface/transformers/pull/12748",
"diff_url": "https://github.com/huggingface/transformers/pull/12748.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12748.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12747/comments | https://api.github.com/repos/huggingface/transformers/issues/12747/events | https://github.com/huggingface/transformers/pull/12747 | 945,718,863 | MDExOlB1bGxSZXF1ZXN0NjkxMDA3MjY2 | 12,747 | [WIP] Add classification head for T5 and MT5 | {
"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 | [] | [
"@LysandreJik or @sgugger \r\nI am trying to add a classification head on top of the T5 and MT5 encoder models.\r\nIt works but the performance (metric) of my downstream tasks is very low compared to other models.\r\nCould you maybe do a very quick code review on this PR please?\r\n\r\nMaybe you find obvious bugs. ... | 1,626 | 1,632 | 1,632 | CONTRIBUTOR | null | This is an experiment to add a classification head for T5 and MT5 models.
It uses the `T5EncoderModel` and `MT5EncoderModel` without the decoder part. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12747/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12747",
"html_url": "https://github.com/huggingface/transformers/pull/12747",
"diff_url": "https://github.com/huggingface/transformers/pull/12747.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12747.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12746/comments | https://api.github.com/repos/huggingface/transformers/issues/12746/events | https://github.com/huggingface/transformers/issues/12746 | 945,588,227 | MDU6SXNzdWU5NDU1ODgyMjc= | 12,746 | How to finetune mT5 | {
"login": "laibamehnaz",
"id": 36405283,
"node_id": "MDQ6VXNlcjM2NDA1Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laibamehnaz",
"html_url": "https://github.com/laibamehnaz",
"followers_url": "https://api.github.com/... | [] | 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!",
"> Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\n> Could you... | 1,626 | 1,629 | 1,629 | NONE | null | I am using mT5 for the task of summarization on a language other than English. But even after training for 30 epochs, the generations are very bad with rouge 1 as 31.5, whereas mBART gives a rouge 1 of 43.1 after training only for 11 epochs.
I wanted to know if mT5's performance is expected to be like this compared t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12746/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.