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/21689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21689/comments | https://api.github.com/repos/huggingface/transformers/issues/21689/events | https://github.com/huggingface/transformers/issues/21689 | 1,590,646,292 | I_kwDOCUB6oc5ez1YU | 21,689 | Make schedulers picklable | {
"login": "ViktorooReps",
"id": 56936206,
"node_id": "MDQ6VXNlcjU2OTM2MjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/56936206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorooReps",
"html_url": "https://github.com/ViktorooReps",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for explaining your issue in depth, and happy to review a PR!"
] | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | ### Feature request
Change lambda functions passed to `LambdaLR` in `get_constant_schedule`, `get_constant_schedule_with_warmup`, `get_linear_schedule_with_warmup`, `get_cosine_schedule_with_warmup`, `get_cosine_with_hard_restarts_schedule_with_warmup` and `get_polynomial_decay_schedule_with_warmup` to callable object... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21689/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21689/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21688/comments | https://api.github.com/repos/huggingface/transformers/issues/21688/events | https://github.com/huggingface/transformers/pull/21688 | 1,590,620,315 | PR_kwDOCUB6oc5KSCI- | 21,688 | [`bnb`] fix `bnb` decoders bug | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Currently on the `main` branch, there is a silent bug with `bnb` and encoder-decoder models leading to some modules not being converted in `int8` for these models and hurting users that are using the `main` branch - such as `peft`: https://github.com/huggingface/peft/issues/108
With https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21688/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21688",
"html_url": "https://github.com/huggingface/transformers/pull/21688",
"diff_url": "https://github.com/huggingface/transformers/pull/21688.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21688.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21687/comments | https://api.github.com/repos/huggingface/transformers/issues/21687/events | https://github.com/huggingface/transformers/issues/21687 | 1,590,581,014 | I_kwDOCUB6oc5ezlcW | 21,687 | Initialize OPT 175B model for a long time | {
"login": "larry-fuy",
"id": 1881605,
"node_id": "MDQ6VXNlcjE4ODE2MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1881605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larry-fuy",
"html_url": "https://github.com/larry-fuy",
"followers_url": "https://api.github.com/users/la... | [] | closed | false | null | [] | [
"The line takes a very long time because there are 176 billions parameters to initialize. The initialization is also performed several times, which is a bug we recently fixed. If you use the latest main you might see it takes a bit less time.",
"This issue has been automatically marked as stale because it has not... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
Recently I am trying to train OPT 175B (facebook/opt-175b) and found my code needs almost 10 hours to initialize the model weights before starting training. Actually my code is pretty simple
```
...
config = PretrainedConfig.from_json_file('175b.json')
model = OPTForCausalLM(config)
...
```
Is t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21687/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21686/comments | https://api.github.com/repos/huggingface/transformers/issues/21686/events | https://github.com/huggingface/transformers/issues/21686 | 1,590,548,242 | I_kwDOCUB6oc5ezdcS | 21,686 | Loading T5ForConditionalGeneration model by TFT5ForConditionalGeneration using from_pt=True | {
"login": "FrozenWolf-Cyber",
"id": 57902078,
"node_id": "MDQ6VXNlcjU3OTAyMDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/57902078?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrozenWolf-Cyber",
"html_url": "https://github.com/FrozenWolf-Cyber",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey! Thanks for submitting this issue. \r\nIn T5, the encoder and decoder's embedding tokens are shared, and tied. \r\nAs you can see here in the pytorch modeling code : \r\n```python \r\n _keys_to_ignore_on_load_missing = [\r\n r\"encoder.embed_tokens.weight\",\r\n r\"decoder.embed_tokens.weight\... | 1,676 | 1,677 | 1,677 | NONE | null | ### System Info
Ran the codes in Colab [here](https://colab.research.google.com/drive/1CJlQ5rVf5b3BysAnP6Y43I2LWl5ExcT2?usp=sharing)
- `transformers` version: 4.26.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21686/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21685/comments | https://api.github.com/repos/huggingface/transformers/issues/21685/events | https://github.com/huggingface/transformers/issues/21685 | 1,590,536,101 | I_kwDOCUB6oc5ezael | 21,685 | `modeling_opt.py` if `previous_key_values` given and `attention_mask==None` the model throws an error. | {
"login": "GabrielKP",
"id": 40501279,
"node_id": "MDQ6VXNlcjQwNTAxMjc5",
"avatar_url": "https://avatars.githubusercontent.com/u/40501279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GabrielKP",
"html_url": "https://github.com/GabrielKP",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! Thanks for submitting this issue! \r\nPassing attention maks solves the problem, and usually we expect to pass attention masks when you are using the `past_key_values`(for example in generate). It is debatable whether the default behaviour should rely on the past_key_values. \r\nDo you have a specific usage ... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-4.18.0-147.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21685/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21684/comments | https://api.github.com/repos/huggingface/transformers/issues/21684/events | https://github.com/huggingface/transformers/pull/21684 | 1,590,521,449 | PR_kwDOCUB6oc5KRwNx | 21,684 | Add loss for BridgeTowerForMaskedLM and BridgeTowerForImageAndTextRetrieval | {
"login": "abhiwand",
"id": 12353176,
"node_id": "MDQ6VXNlcjEyMzUzMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/12353176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhiwand",
"html_url": "https://github.com/abhiwand",
"followers_url": "https://api.github.com/users/abh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @amyeroberts and @younesbelkada ",
"Thank @amyeroberts, @younesbelkada, @regisss for your review and your suggestions. We have addressed your comments and have added few tests for loss computation and for forward/backward as sug... | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
This PR adds losses to BridgeTowerMaskedLM and BridgeTowerForImageAndTextRetrieval
<!--
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 full... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21684/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21684",
"html_url": "https://github.com/huggingface/transformers/pull/21684",
"diff_url": "https://github.com/huggingface/transformers/pull/21684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21684.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21683/comments | https://api.github.com/repos/huggingface/transformers/issues/21683/events | https://github.com/huggingface/transformers/pull/21683 | 1,590,501,485 | PR_kwDOCUB6oc5KRsfG | 21,683 | Update summarization.mdx | {
"login": "danadascalescu00",
"id": 48893255,
"node_id": "MDQ6VXNlcjQ4ODkzMjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/48893255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danadascalescu00",
"html_url": "https://github.com/danadascalescu00",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21683). All of your documentation changes will be reflected on that endpoint."
] | 1,676 | 1,677 | 1,677 | NONE | null | Fix link in documentation
Fixes # 21596
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21683/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21683",
"html_url": "https://github.com/huggingface/transformers/pull/21683",
"diff_url": "https://github.com/huggingface/transformers/pull/21683.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21683.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21682/comments | https://api.github.com/repos/huggingface/transformers/issues/21682/events | https://github.com/huggingface/transformers/issues/21682 | 1,590,296,341 | I_kwDOCUB6oc5eyf8V | 21,682 | kros_test | {
"login": "brigs1",
"id": 30627711,
"node_id": "MDQ6VXNlcjMwNjI3NzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/30627711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brigs1",
"html_url": "https://github.com/brigs1",
"followers_url": "https://api.github.com/users/brigs1/fo... | [
{
"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 | [] | [] | 1,676 | 1,676 | null | NONE | null | ### Model description
1st test model trained by 100 pages
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
_No response_ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21682/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21681/comments | https://api.github.com/repos/huggingface/transformers/issues/21681/events | https://github.com/huggingface/transformers/issues/21681 | 1,589,997,442 | I_kwDOCUB6oc5exW-C | 21,681 | Default Datatype issue with model on OPT-13B | {
"login": "lanking520",
"id": 11890922,
"node_id": "MDQ6VXNlcjExODkwOTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/11890922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lanking520",
"html_url": "https://github.com/lanking520",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"That is incorrect. The dtype of a model in PyTorch is always float32, regardless of the dtype of the checkpoint you saved. If you load a float16 checkpoint in a model you create (which is in float32 by default), the dtype that is kept at the end is the dtype of the model, not the dtype of the checkpoint. This is b... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
Any CPU Machine with Transformer 4.26.0
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21681/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21680/comments | https://api.github.com/repos/huggingface/transformers/issues/21680/events | https://github.com/huggingface/transformers/issues/21680 | 1,589,788,741 | I_kwDOCUB6oc5ewkBF | 21,680 | model fine-tuning error | {
"login": "marcomameli1992",
"id": 58846715,
"node_id": "MDQ6VXNlcjU4ODQ2NzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/58846715?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcomameli1992",
"html_url": "https://github.com/marcomameli1992",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I have found the solution. The problem is in the Bach dimension for the evaluation that is greater than the number of rows inside the evaluation dataset. Now I have set it to 16 and it works.\r\n\r\nBut now I have a problem with the inference because I have trained the model with tokenizer max_length settings seat... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
Hi to all,
I fine-tune a model for my dataset.
But I need some help with the inference execution. I train the model with a tokenizer without truncation, but I receive the first error in inference. So I tried to retrain the model with truncation activated, as shown in the code. Still, I encountered... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21680/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21679/comments | https://api.github.com/repos/huggingface/transformers/issues/21679/events | https://github.com/huggingface/transformers/pull/21679 | 1,589,543,355 | PR_kwDOCUB6oc5KOnct | 21,679 | Add ConvNeXT V2 | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Adds [ConvNeXT V2](https://arxiv.org/pdf/2301.00808.pdf) to transformers, including a backbone. ConvNeXT V2 features minimal changes to the `ConvNextLayer` and achieves an average 1% accuracy gain over ConvNext V1. Original repo is over [here](https://github.com/facebookresearch/ConvNeXt-V2).
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21679",
"html_url": "https://github.com/huggingface/transformers/pull/21679",
"diff_url": "https://github.com/huggingface/transformers/pull/21679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21679.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21678/comments | https://api.github.com/repos/huggingface/transformers/issues/21678/events | https://github.com/huggingface/transformers/issues/21678 | 1,589,447,515 | I_kwDOCUB6oc5evQtb | 21,678 | cached_path disappeared from the API | {
"login": "johann-petrak",
"id": 619106,
"node_id": "MDQ6VXNlcjYxOTEwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/619106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johann-petrak",
"html_url": "https://github.com/johann-petrak",
"followers_url": "https://api.github.co... | [] | closed | false | null | [] | [
"The `cached_path` API was a private util for our downloads (note that we consider as private anything that is not in the main init). None of the research projects are actively maintained so they will only work with the version of Transformers corresponding to their creation.\r\n\r\nYou should use the [`huggingface... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21678/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/21678/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21677/comments | https://api.github.com/repos/huggingface/transformers/issues/21677/events | https://github.com/huggingface/transformers/issues/21677 | 1,589,306,502 | I_kwDOCUB6oc5euuSG | 21,677 | Protobuf 4 support | {
"login": "RobinKa",
"id": 2614101,
"node_id": "MDQ6VXNlcjI2MTQxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2614101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RobinKa",
"html_url": "https://github.com/RobinKa",
"followers_url": "https://api.github.com/users/RobinKa/... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Last time we checked, `protobuf>=4` was blowing up sentencepiece entirely, which is a dependency we really need in Transformers. I don't know if that has been fixed since then, maybe @ydshieh could check when he has some time?",
"Running T5 tokenization tests gets a lot of failure (T5 tokenizer use `sentencepiec... | 1,676 | 1,679 | 1,679 | NONE | null | ### Feature request
Currently transformers requires protobuf 3 or lower
https://github.com/huggingface/transformers/blob/a8eb4f79f946c5785f0e91b356ce328248916a05/setup.py#L141
Support for version 4 should be added.
### Motivation
Some Python packages only work with protobuf 4 so transformers is incompati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21677/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21676/comments | https://api.github.com/repos/huggingface/transformers/issues/21676/events | https://github.com/huggingface/transformers/pull/21676 | 1,589,180,033 | PR_kwDOCUB6oc5KNYsP | 21,676 | Generate: eta sampling numerical stability | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | MEMBER | null | # What does this PR do?
Minor numerical stability patch: before this change, the exception below was popping up sometimes, especially at lower numerical resolutions.
Compute entropy from logits instead -> no exception
<details>
```py
│ /home/joao/transformers/src/transformers/generation/logits_proces... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21676/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21676",
"html_url": "https://github.com/huggingface/transformers/pull/21676",
"diff_url": "https://github.com/huggingface/transformers/pull/21676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21676.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21675/comments | https://api.github.com/repos/huggingface/transformers/issues/21675/events | https://github.com/huggingface/transformers/pull/21675 | 1,589,148,611 | PR_kwDOCUB6oc5KNR53 | 21,675 | Fix multi-gpu training error for LayoutLMv2 | {
"login": "akkikiki",
"id": 1423362,
"node_id": "MDQ6VXNlcjE0MjMzNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1423362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akkikiki",
"html_url": "https://github.com/akkikiki",
"followers_url": "https://api.github.com/users/akkik... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @amyeroberts "
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Fixes #14110
## Issue
When training a LayoutLMv2 model with multiple GPUs using `torchrun --standalone --nnodes=1 --nproc_per_node=$NUM_GPUS run_layoutlmv2.py` (single node, multi-gpu), I encounter
```
RuntimeError: Make sure the number of processes can be divided by the number of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21675/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21675",
"html_url": "https://github.com/huggingface/transformers/pull/21675",
"diff_url": "https://github.com/huggingface/transformers/pull/21675.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21675.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21674/comments | https://api.github.com/repos/huggingface/transformers/issues/21674/events | https://github.com/huggingface/transformers/issues/21674 | 1,589,139,302 | I_kwDOCUB6oc5euFdm | 21,674 | KerasMetricCallback expecting dictionary but receiving numpy array | {
"login": "leadbetterben",
"id": 66632075,
"node_id": "MDQ6VXNlcjY2NjMyMDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/66632075?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leadbetterben",
"html_url": "https://github.com/leadbetterben",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Hi @leadbetterben, the problem arises because the metric callback was intended for use with `transformers` models, which generally return dicts or tuples of outputs rather than just a single array. This was an oversight on my part - I'll see if I can push a fix!",
"@leadbetterben I've cre... | 1,676 | 1,677 | 1,677 | NONE | null | ### System Info
Running in Google Colab with `!pip install transformers evaluate` as the first cell. The results of `transformers-cli env` are:
- `transformers` version: 4.26.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21674/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21673/comments | https://api.github.com/repos/huggingface/transformers/issues/21673/events | https://github.com/huggingface/transformers/pull/21673 | 1,588,648,236 | PR_kwDOCUB6oc5KLmSf | 21,673 | Added Type Hints for modeling_tf_encoder_decoder.py | {
"login": "Batese2001",
"id": 69521504,
"node_id": "MDQ6VXNlcjY5NTIxNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/69521504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Batese2001",
"html_url": "https://github.com/Batese2001",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@Rocketknight1 I think this is ready, though I am getting an odd error saying \"module 'tensorflow' has no attribute 'tensor'\" which I am not sure how to resolve. Thanks and let me know if there is anything I need to fix! ",
"@Batese2001 The issue was that one of your hints was `tf.tensor` instead of `tf.Tenso... | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds type hints for modeling_tf_encoder_decoder.py as outlined in Issue #16059 while not being on my main branch
## 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 read the [contribut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21673/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21673",
"html_url": "https://github.com/huggingface/transformers/pull/21673",
"diff_url": "https://github.com/huggingface/transformers/pull/21673.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21673.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21672/comments | https://api.github.com/repos/huggingface/transformers/issues/21672/events | https://github.com/huggingface/transformers/issues/21672 | 1,588,582,469 | I_kwDOCUB6oc5er9hF | 21,672 | Trainer state vitalization in TrOCR checkpoint | {
"login": "Mohammed20201991",
"id": 59222637,
"node_id": "MDQ6VXNlcjU5MjIyNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/59222637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mohammed20201991",
"html_url": "https://github.com/Mohammed20201991",
"followers_url": "https://... | [] | closed | false | null | [] | [
"You should ask questions like this on the [forums](https://discuss.huggingface.co/) as we keep issues for bugs and feature requests only.",
"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\nPl... | 1,676 | 1,679 | 1,679 | NONE | null | Hello, everyone, I am trying to make one dictionary in py to collect all necessary data in `traner_state.json ` in the TrOCR model in the trainer class (I am not using collab so I need to build my own dict and visualize it cer,wer, steps, epochs, ...)
her the py code I wrote
`import pandas as pd df = pd.read_json(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21672/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21671/comments | https://api.github.com/repos/huggingface/transformers/issues/21671/events | https://github.com/huggingface/transformers/pull/21671 | 1,588,521,293 | PR_kwDOCUB6oc5KLLUX | 21,671 | Allows to use `decoder_inputs_embeds` for `model.generate` | {
"login": "Andrechang",
"id": 9553458,
"node_id": "MDQ6VXNlcjk1NTM0NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9553458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Andrechang",
"html_url": "https://github.com/Andrechang",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"And how about the EncoderDecoderModel like T5?\r\n\r\n\r\nI tried to replace the `prepare_inputs_for_generation` method only guided by [#6535](https://github.com/huggingface/transformers/issues/6535), but it does no... | 1,676 | 1,687 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Allows to use `decoder_inputs_embeds` for `model.generate` in VisionEncoderDecoderModel
## Who can review?
Vision Model
@amyeroberts
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21671/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21671",
"html_url": "https://github.com/huggingface/transformers/pull/21671",
"diff_url": "https://github.com/huggingface/transformers/pull/21671.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21671.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21670/comments | https://api.github.com/repos/huggingface/transformers/issues/21670/events | https://github.com/huggingface/transformers/pull/21670 | 1,588,365,935 | PR_kwDOCUB6oc5KKpux | 21,670 | [`CLAP`] Fix few broken things | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"There are also 2 more lines that got erased, shared that with you on slack 😉 ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Local doctests and tests pass: \r\n```\r\n============================================================ 119 passed, 39 skipped, 38 warnings in 75.88s ... | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the forward pass that was broken in the `main` branch of `transformers` for `ClapModel`. To reproduce:
```python
from datasets import load_dataset
from transformers import ClapModel, ClapProcessor
dataset = load_dataset('ashraq/esc50')
input_text = ["Sound of a dog", "S... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21670/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21670",
"html_url": "https://github.com/huggingface/transformers/pull/21670",
"diff_url": "https://github.com/huggingface/transformers/pull/21670.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21670.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21669/comments | https://api.github.com/repos/huggingface/transformers/issues/21669/events | https://github.com/huggingface/transformers/issues/21669 | 1,588,326,405 | I_kwDOCUB6oc5eq_AF | 21,669 | TypeError: 'NoneType' object is not callable. While using run_clm.py, while trying to load dataset. | {
"login": "Norfaisbest",
"id": 81870363,
"node_id": "MDQ6VXNlcjgxODcwMzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/81870363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Norfaisbest",
"html_url": "https://github.com/Norfaisbest",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @Norfaisbest, thanks for raising this issue.\r\n\r\nIt seems this issue is arising from the dataset `test` being loaded with `load_dataset` and isn't a `transformers` issue. I would suggest trying to debug running just `load_dataset('dataset_name')` outside of the script when trying to debug. ",
"This issue h... | 1,676 | 1,682 | 1,682 | NONE | null | ### System Info
```
- `transformers` version: 4.26.1
- Platform: Linux-6.0.0-6-amd64-x86_64-with-glibc2.36
- Python version: 3.9.12
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21669/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21668/comments | https://api.github.com/repos/huggingface/transformers/issues/21668/events | https://github.com/huggingface/transformers/issues/21668 | 1,588,247,705 | I_kwDOCUB6oc5eqryZ | 21,668 | Add SeaFormer model | {
"login": "inderpreetsingh01",
"id": 54892545,
"node_id": "MDQ6VXNlcjU0ODkyNTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/54892545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/inderpreetsingh01",
"html_url": "https://github.com/inderpreetsingh01",
"followers_url": "https... | [
{
"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 | [] | [
"Hi. I would like to work on this.",
"Hi @inderpreetsingh01 thanks for opening the issue, SeaFormer definitely seems like a good addition to the library! \r\n\r\nAre you planning to work on this model? If not, @strankid could start working on it or you two could collaborate on a PR. In either case, you could take... | 1,676 | 1,677 | null | NONE | null | ### Model description
The computational cost and memory requirement render many computer vision models unsuitable on the mobile device, especially for the high-resolution per-pixel semantic segmentation task. SeaFormer (Squeeze-enhanced Axial Transformer) designed a generic attention block characterized by the formula... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21668/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21667/comments | https://api.github.com/repos/huggingface/transformers/issues/21667/events | https://github.com/huggingface/transformers/issues/21667 | 1,588,203,727 | I_kwDOCUB6oc5eqhDP | 21,667 | T5 Mutli-GPU FSDP evaluation loop raises RuntimeError when predict_with_generate is True | {
"login": "eyalmazuz",
"id": 34383384,
"node_id": "MDQ6VXNlcjM0MzgzMzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/34383384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyalmazuz",
"html_url": "https://github.com/eyalmazuz",
"followers_url": "https://api.github.com/users/... | [
{
"id": 4101623725,
"node_id": "LA_kwDOCUB6oc70ec-t",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch%20FSDP",
"name": "PyTorch FSDP",
"color": "B60205",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hey @eyalmazuz 👋 \r\n\r\nLooking at the exception, it does not look like a generate error, but rather a pytorch/trainer-related issue (it fails in the embedding layer). I'm not very knowledgeable there, so I'm tagging @sgugger for a comment.\r\n\r\nBTW, without a short reproducible script, our ability to help is ... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
Transformers version 4.27.0-dev
Python version 3.8.12
### Who can help?
@gante
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give detai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21667/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21666/comments | https://api.github.com/repos/huggingface/transformers/issues/21666/events | https://github.com/huggingface/transformers/issues/21666 | 1,587,940,277 | I_kwDOCUB6oc5epgu1 | 21,666 | NeoX underperforming on A100 | {
"login": "mrseeker",
"id": 1099127,
"node_id": "MDQ6VXNlcjEwOTkxMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1099127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrseeker",
"html_url": "https://github.com/mrseeker",
"followers_url": "https://api.github.com/users/mrsee... | [] | closed | false | null | [] | [
"Are you using a 40 GB or 80 GB A100? A 40 GB A100 has slightly less VRAM than an A6000 (48 GB), and it’s possible that you’re tripping a failsafe such as CPU-offload to avoid an OOM error.\r\n\r\n12 billion params * 3 Bytes per parameter = 36 GB of VRAM. My general rule of thumb is to add 20% overhead space for a ... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.15.0-50-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.13
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21666/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21665/comments | https://api.github.com/repos/huggingface/transformers/issues/21665/events | https://github.com/huggingface/transformers/pull/21665 | 1,587,684,818 | PR_kwDOCUB6oc5KIWJe | 21,665 | Fix typos in contrastive-image-text example README | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | 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/21665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21665/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21665",
"html_url": "https://github.com/huggingface/transformers/pull/21665",
"diff_url": "https://github.com/huggingface/transformers/pull/21665.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21665.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21664/comments | https://api.github.com/repos/huggingface/transformers/issues/21664/events | https://github.com/huggingface/transformers/issues/21664 | 1,587,632,798 | I_kwDOCUB6oc5eoVqe | 21,664 | AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key' | {
"login": "k3ybladewielder",
"id": 50303964,
"node_id": "MDQ6VXNlcjUwMzAzOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/50303964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/k3ybladewielder",
"html_url": "https://github.com/k3ybladewielder",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @k3ybladewielder \r\nIt seems that this is related to your environment, can you create a fresh environment , install `transformers` `pip install transformers` and run the script again? or alternatively uninstall the package that is causing the issue? \r\nAlso please share with us the full trace of the error in ... | 1,676 | 1,676 | 1,676 | NONE | null | ## Environment info
transformers version: '4.26.1'
Platform: databricks
```
from transformers import pipeline
model_path = "cardiffnlp/twitter-xlm-roberta-base-sentiment"
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
sentiment_task("T'estimo!")
```
## Who can help
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21664/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21664/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21663/comments | https://api.github.com/repos/huggingface/transformers/issues/21663/events | https://github.com/huggingface/transformers/issues/21663 | 1,587,609,803 | I_kwDOCUB6oc5eoQDL | 21,663 | CUBLAS_STATUS_INVALID_VALUE when generating with OPT models | {
"login": "jchwenger",
"id": 34098722,
"node_id": "MDQ6VXNlcjM0MDk4NzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/34098722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jchwenger",
"html_url": "https://github.com/jchwenger",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @jchwenger 👋 \r\n\r\nI was able to run the script you shared without bugs on my end. Looking at other threads online, it may be due to an incorrect environment on your end -- check this thread from the comment I link [here](https://discuss.pytorch.org/t/runtimeerror-cuda-error-cublas-status-invalid-value-when... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
Hi,
I'm encountering an error when trying to do text generation with the OPT models. Here are the specs and the error, and below the steps to reproduce.
Ubuntu 18.04
Conda env:
torch 1.13.1 pypi_0 pypi
transformers 4.26.1 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21663/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21662/comments | https://api.github.com/repos/huggingface/transformers/issues/21662/events | https://github.com/huggingface/transformers/issues/21662 | 1,587,505,992 | I_kwDOCUB6oc5en2tI | 21,662 | Remote code is loaded from `main` even when revision is provided | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"Will have a look even if you didn't properly tag me :-p ",
"The PR linked above fixes the config problem (I can load it with `AutoConfig`). The model still won't load however as the auto mpa of that config doesn't contain an entry for `AutoModelForCausalLM`."
] | 1,676 | 1,676 | 1,676 | MEMBER | null | ### System Info
When specifying a branch to load a model with remote code as follows fails because there is no modeling file on `main`. Is this a bug or the expected behaviour?
### Who can help?
The one and only _**@sgugger**_
### Information
- [ ] The official example scripts
- [ ] My own modified scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21661/comments | https://api.github.com/repos/huggingface/transformers/issues/21661/events | https://github.com/huggingface/transformers/issues/21661 | 1,587,298,334 | I_kwDOCUB6oc5enEAe | 21,661 | gpt2 can't be trained for QA ? | {
"login": "ucas010",
"id": 50656998,
"node_id": "MDQ6VXNlcjUwNjU2OTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/50656998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ucas010",
"html_url": "https://github.com/ucas010",
"followers_url": "https://api.github.com/users/ucas01... | [] | closed | false | null | [] | [
"As said multiple times in the past, please use the [forums](https://discuss.huggingface.co/) for questions like this.",
"@sgugger this is a bug, not question",
"I believe it's because `gpt2` doesn't have a `QuestionAnswering` head(like `GPTJForQuestionAnswering`), I would be happy to implement that if @sgugger... | 1,676 | 1,684 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: Linux-3.10.0-1160.81.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21661/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/21661/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21660/comments | https://api.github.com/repos/huggingface/transformers/issues/21660/events | https://github.com/huggingface/transformers/pull/21660 | 1,587,120,088 | PR_kwDOCUB6oc5KGc5i | 21,660 | make opt checkpoint dir name correct | {
"login": "dumpmemory",
"id": 64742282,
"node_id": "MDQ6VXNlcjY0NzQyMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumpmemory",
"html_url": "https://github.com/dumpmemory",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21660). All of your documentation changes will be reflected on that endpoint.",
"cc @pacman100 ",
"Friendly ping @pacman100 ",
"@pacman100 ?",
"Hello, I will look into this tomorrow, thank you for your patience and so... | 1,676 | 1,683 | 1,683 | CONTRIBUTOR | null |
# What does this PR do?
I found i can't load the converted checkpoint with tp_8 pp_1 dp_1 or tp_4 pp_2 dp_1, only tp 2 pp 2 dp 2 works. I check the code and found it might be the opt dir name issue. so i just fix it. and it works on my side.
<!--
Congratulations! You've made it this far! You're not quite done y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21660",
"html_url": "https://github.com/huggingface/transformers/pull/21660",
"diff_url": "https://github.com/huggingface/transformers/pull/21660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21660.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21659/comments | https://api.github.com/repos/huggingface/transformers/issues/21659/events | https://github.com/huggingface/transformers/issues/21659 | 1,587,085,487 | I_kwDOCUB6oc5emQCv | 21,659 | KeyError: 'eval_f1' when hyperparameter tuning distilroberta with raytune and population based training | {
"login": "aelb66",
"id": 75398560,
"node_id": "MDQ6VXNlcjc1Mzk4NTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/75398560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aelb66",
"html_url": "https://github.com/aelb66",
"followers_url": "https://api.github.com/users/aelb66/fo... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to help debug your code as we keep issues for bugs and feature requests only. Here the metric you are using with `metric_for_best_model=\"eval_f1\"` does not exist as your `compute_metrics` function only returns the following keys:\r\n```py\r\n{\r\n 'ma... | 1,676 | 1,676 | 1,676 | NONE | null | ## Who can help:
ray/raytune: @richardliaw, @amogkam
trainer: @sgugger
## Information
I'm trying to hyperparameter tune DistilRoberta with RayTune using PBT and HuggingFace Trainer API. Im using Google Colab with 1 GPU to tune the model.
## Error Message
All my trials have the same error, this is just the er... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21659/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21658/comments | https://api.github.com/repos/huggingface/transformers/issues/21658/events | https://github.com/huggingface/transformers/pull/21658 | 1,587,044,502 | PR_kwDOCUB6oc5KGMsj | 21,658 | Bump werkzeug from 2.0.3 to 2.2.3 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.3 to 2.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/werkzeug/releases">werkzeug's releases</a>.</em></p>
<blockquote>
<h2>2.2.3</h2>
<p>This is a fix release for the 2.2.x release branch.</p>
<ul>
<... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21658/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21658",
"html_url": "https://github.com/huggingface/transformers/pull/21658",
"diff_url": "https://github.com/huggingface/transformers/pull/21658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21658.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21657/comments | https://api.github.com/repos/huggingface/transformers/issues/21657/events | https://github.com/huggingface/transformers/pull/21657 | 1,587,029,997 | PR_kwDOCUB6oc5KGJex | 21,657 | [Examples] TPU-based training of a language model using TensorFlow | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1936351150,
"node_id": "MDU6... | 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"... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1 I incorporated the `group_texts()` utility that we discussed over Slack. Let me know if the changes look good to you. Most of it is copy-pasted from [here](https://github.com/huggingface/notebooks/blob/main/examples/la... | 1,676 | 1,681 | 1,681 | MEMBER | null | This PR adds an example of performing (masked) language model training using TensorFlow and TPUs. The example is meant to act as a reference for the community on this topic. The following are the main components of the PR:
* Tokenizer training script (for completeness)
* TFRecords preparation script (recommended ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21657/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/21657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21657",
"html_url": "https://github.com/huggingface/transformers/pull/21657",
"diff_url": "https://github.com/huggingface/transformers/pull/21657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21657.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21656/comments | https://api.github.com/repos/huggingface/transformers/issues/21656/events | https://github.com/huggingface/transformers/issues/21656 | 1,586,947,030 | I_kwDOCUB6oc5eluPW | 21,656 | T5 int8 inference is not compatible with nvidia/apex | {
"login": "lukaemon",
"id": 1643232,
"node_id": "MDQ6VXNlcjE2NDMyMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1643232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukaemon",
"html_url": "https://github.com/lukaemon",
"followers_url": "https://api.github.com/users/lukae... | [] | closed | false | null | [] | [
"Hi @lukaemon \r\nYes this is a known issue, currently int8 and apex are not supported together, the fix I can propose now is to disable apex by uninstalling it until we found a proper fix!\r\nThanks a lot",
"Will do. Thanks. "
] | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.14.0a0+44dac51 (True)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.4 (gpu)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21656/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21655/comments | https://api.github.com/repos/huggingface/transformers/issues/21655/events | https://github.com/huggingface/transformers/pull/21655 | 1,586,867,970 | PR_kwDOCUB6oc5KFmUP | 21,655 | [bloom] gradient_checkpointing fix | {
"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,676 | 1,676 | 1,676 | CONTRIBUTOR | null | The `BloomBlock.forward`'s args signature is:
https://github.com/huggingface/transformers/blob/9d1116e9951686f937d17697820117636bfc05a5/src/transformers/models/bloom/modeling_bloom.py#L417-L425
but when it's called in `gradient_checkpointing` code this is used:
https://github.com/huggingface/transformers/blob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21655/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21655",
"html_url": "https://github.com/huggingface/transformers/pull/21655",
"diff_url": "https://github.com/huggingface/transformers/pull/21655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21655.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21653/comments | https://api.github.com/repos/huggingface/transformers/issues/21653/events | https://github.com/huggingface/transformers/pull/21653 | 1,586,759,543 | PR_kwDOCUB6oc5KFPEO | 21,653 | [WhisperModel] fix bug in reshaping labels | {
"login": "jonatasgrosman",
"id": 5097052,
"node_id": "MDQ6VXNlcjUwOTcwNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5097052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonatasgrosman",
"html_url": "https://github.com/jonatasgrosman",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Also cc @ArthurZucker "
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | Currently, in the Whisper model's forward pass, the target `labels` are reshaped using the `view` method before being passed into the loss function:
https://github.com/huggingface/transformers/blob/1567bef3b35c51b7a3cc6b4edf243b208279155d/src/transformers/models/whisper/modeling_whisper.py#L1214
The view method r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21653/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/21653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21653",
"html_url": "https://github.com/huggingface/transformers/pull/21653",
"diff_url": "https://github.com/huggingface/transformers/pull/21653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21653.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21652/comments | https://api.github.com/repos/huggingface/transformers/issues/21652/events | https://github.com/huggingface/transformers/pull/21652 | 1,586,660,656 | PR_kwDOCUB6oc5KE54K | 21,652 | refactor: Make direct_transformers_import util | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,679 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Is this wanted? Will just close out if not.
Moves the common process of directly importing `transformers` to a utility function.
Related [PR](https://github.com/huggingface/transformers/pull/21651)
Related to this issue: #21645
<!--
Congratulations! You've made it this far! You're n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21652",
"html_url": "https://github.com/huggingface/transformers/pull/21652",
"diff_url": "https://github.com/huggingface/transformers/pull/21652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21651/comments | https://api.github.com/repos/huggingface/transformers/issues/21651/events | https://github.com/huggingface/transformers/pull/21651 | 1,586,456,872 | PR_kwDOCUB6oc5KEOBz | 21,651 | Update deprecated load_module | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
This PR updates the uses of `load_module` (which is going to be dropped in Python 3.12) to a non-deprecated API (this should work starting Python 3.5, so all good for Transformers).
Fixes #21645 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21651/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21651",
"html_url": "https://github.com/huggingface/transformers/pull/21651",
"diff_url": "https://github.com/huggingface/transformers/pull/21651.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21651.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21650/comments | https://api.github.com/repos/huggingface/transformers/issues/21650/events | https://github.com/huggingface/transformers/issues/21650 | 1,586,454,864 | I_kwDOCUB6oc5ej2FQ | 21,650 | Converting Megatron_T5 to HF_T5 | {
"login": "WenzhengZhang",
"id": 45067787,
"node_id": "MDQ6VXNlcjQ1MDY3Nzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/45067787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WenzhengZhang",
"html_url": "https://github.com/WenzhengZhang",
"followers_url": "https://api.githu... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"Hello guys,\r\nI saw you closed this issue.\r\nDid you find any way to convert megatron t5 <-> hf T5?",
"I would be interested too.\r\nDid you find any solution?",
"any potential solutions?",
"Don't think this is supported yet, but feel free to open a pr if you want! 🤗 "
] | 1,676 | 1,701 | 1,677 | NONE | null | Currently both [Megatron_BERT conversion](https://github.com/huggingface/transformers/blob/main/src/transformers/models/megatron_bert/convert_megatron_bert_checkpoint.py) and [Megatron_GPT conversion](https://github.com/huggingface/transformers/blob/main/src/transformers/models/megatron_gpt2/convert_megatron_gpt2_check... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21650/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21649/comments | https://api.github.com/repos/huggingface/transformers/issues/21649/events | https://github.com/huggingface/transformers/pull/21649 | 1,586,446,916 | PR_kwDOCUB6oc5KELxk | 21,649 | Fix axial positional encoding calculations for reformer.mdx | {
"login": "ijindal",
"id": 19698647,
"node_id": "MDQ6VXNlcjE5Njk4NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/19698647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ijindal",
"html_url": "https://github.com/ijindal",
"followers_url": "https://api.github.com/users/ijinda... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | Fix axial positional encoding calculations
# What does this PR do?
This PR corrects the calculations for Axial Positional Encoding in Reformer model documentation.
- Since d = d_1 + d_2
- if d = 2^10 = 1024
- then
- d_1 and d_2 both should not be equal to 2^5. As 2^5 + 2^5 = 32+32 = 64 not equal to 1024.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21649",
"html_url": "https://github.com/huggingface/transformers/pull/21649",
"diff_url": "https://github.com/huggingface/transformers/pull/21649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21648/comments | https://api.github.com/repos/huggingface/transformers/issues/21648/events | https://github.com/huggingface/transformers/pull/21648 | 1,586,284,708 | PR_kwDOCUB6oc5KDohi | 21,648 | Generate: PT Dynamo without graph breaks in the main greedy/sample loop | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,680 | 1,676 | MEMBER | null | # What does this PR do?
This PR is part of our PT Dynamo + `.generate()` readiness.
Let's start with the basics:
1 - Calling generate after `torch.compile()` doesn't explode -- this PR fixes the error seen in https://github.com/pytorch/pytorch/issues/93042
2 - There are no graph breaks in the main generation l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21648",
"html_url": "https://github.com/huggingface/transformers/pull/21648",
"diff_url": "https://github.com/huggingface/transformers/pull/21648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21648.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21647/comments | https://api.github.com/repos/huggingface/transformers/issues/21647/events | https://github.com/huggingface/transformers/pull/21647 | 1,586,074,330 | PR_kwDOCUB6oc5KC6if | 21,647 | Skipping more high mem tests - Wav2Vec2 Hubert | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ydshieh ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
In #21643 there's some tests which I forgot to skip e.g. for Wav2Vec2 I skipped the high memory tests for `TFWav2Vec2ModelTest` but didn't added them to the other class `TFWav2Vec2RobustModelTest`. This means some tests on circleci still fail with processes crashing - cf [this run](https://ap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21647/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21647",
"html_url": "https://github.com/huggingface/transformers/pull/21647",
"diff_url": "https://github.com/huggingface/transformers/pull/21647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21647.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21646/comments | https://api.github.com/repos/huggingface/transformers/issues/21646/events | https://github.com/huggingface/transformers/pull/21646 | 1,586,024,859 | PR_kwDOCUB6oc5KCv3N | 21,646 | Fix dynamic module import error | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Run the following commpand\r\n```python\r\npython run_debug.py\r\n```\r\nwith the 2 files\r\n\r\n### run_debug.py\r\n```python\r\nimport os\r\n\r\nfor i in range(300):\r\n print(i)\r\n with open(\"output.txt\", \"a+\") as fp:\r... | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
### Issue
We have failing test
```bash
FAILED tests/models/auto/test_modeling_auto.py::AutoModelTest::test_from_pretrained_dynamic_model_distant
ModuleNotFoundError: No module named 'transformers_modules.local.modeling'
```
The full trace is given at the end.
After a long debug ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21646/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21646",
"html_url": "https://github.com/huggingface/transformers/pull/21646",
"diff_url": "https://github.com/huggingface/transformers/pull/21646.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21646.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21645/comments | https://api.github.com/repos/huggingface/transformers/issues/21645/events | https://github.com/huggingface/transformers/issues/21645 | 1,586,008,723 | I_kwDOCUB6oc5eiJKT | 21,645 | load_module will be removed in Python 3.12 | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Thanks for pointing this out! Will have a look."
] | 1,676 | 1,676 | 1,676 | MEMBER | null | Several of our scripts call `spec.loader.load_module()`. Although this mostly affects standalone utils scripts, it's also called at the top level of `processing_utils.py`, which will be executed by all `Processor` classes.
`load_module()` has been deprecated for a while and will be fully deleted in Python 3.12, whic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21645/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21644/comments | https://api.github.com/repos/huggingface/transformers/issues/21644/events | https://github.com/huggingface/transformers/issues/21644 | 1,585,928,895 | I_kwDOCUB6oc5eh1q_ | 21,644 | Mask2Former - ValueError: cost matrix is infeasible | {
"login": "asgerius",
"id": 44878204,
"node_id": "MDQ6VXNlcjQ0ODc4MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/44878204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asgerius",
"html_url": "https://github.com/asgerius",
"followers_url": "https://api.github.com/users/asg... | [] | closed | false | null | [] | [
"Cc @alaradirik ",
"Hi @asgerius, thanks for opening the issue, I'm looking into this and will try to replicate the error first",
"Friendly ping @alaradirik :) ",
"Hi @asgerius, I tried fine-tuning Mask2Former on the semantic segmentation subset of the Scene Parsing dataset and couldn't replicate the issue. \... | 1,676 | 1,687 | 1,684 | NONE | null | ### System Info
```
- `transformers` version: 4.26.0
- Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.27
- Python version: 3.10.9
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21644/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/21644/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21643/comments | https://api.github.com/repos/huggingface/transformers/issues/21643/events | https://github.com/huggingface/transformers/pull/21643 | 1,585,816,422 | PR_kwDOCUB6oc5KCCz9 | 21,643 | Skip wav2vec2 hubert high mem tests | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Skips some more troublesome Hubert and Wav2Vec2 tests. `dataset_conversion` for Hubert is now occasionally causing errors - see [this comment](https://github.com/huggingface/transformers/pull/20725#issuecomment-1430442813) until resolved. Skipping all tests that I've seen hit high memory and ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21643/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21643",
"html_url": "https://github.com/huggingface/transformers/pull/21643",
"diff_url": "https://github.com/huggingface/transformers/pull/21643.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21643.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21642/comments | https://api.github.com/repos/huggingface/transformers/issues/21642/events | https://github.com/huggingface/transformers/issues/21642 | 1,585,800,137 | I_kwDOCUB6oc5ehWPJ | 21,642 | ONNX export fails for TFSegformerForSemanticSegmentation | {
"login": "OutSorcerer",
"id": 5833256,
"node_id": "MDQ6VXNlcjU4MzMyNTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5833256?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OutSorcerer",
"html_url": "https://github.com/OutSorcerer",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"cc @sayakpaul, any idea what the cause might be?",
"Maybe this issue is better suited for https://github.com/onnx/tensorflow-onnx\r\n\r\nCould you try downgrading the `tf2onnx` version to 1.11.1?",
"@sayakpaul \r\n\r\n>Could you try downgrading the tf2onnx version to 1.11.1?\r\n\r\nI tried this, unfortunately ... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21641/comments | https://api.github.com/repos/huggingface/transformers/issues/21641/events | https://github.com/huggingface/transformers/issues/21641 | 1,585,794,983 | I_kwDOCUB6oc5ehU-n | 21,641 | Confusing documentation in T5 | {
"login": "seanmor5",
"id": 14100120,
"node_id": "MDQ6VXNlcjE0MTAwMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/14100120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seanmor5",
"html_url": "https://github.com/seanmor5",
"followers_url": "https://api.github.com/users/sea... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"cc @ArthurZucker and @younesbelkada ",
"The T5 behaviour is correct, and as pointed out the doc is probably not! I'll open a PR to fix this 👍🏻 thanks "
] | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | ### System Info
latest
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
Not sure if ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21641/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21640/comments | https://api.github.com/repos/huggingface/transformers/issues/21640/events | https://github.com/huggingface/transformers/pull/21640 | 1,585,769,197 | PR_kwDOCUB6oc5KB4mX | 21,640 | [WIP] Move X-MOD models to facebook organization | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
As discussed in https://github.com/huggingface/transformers/pull/20939, the new models https://huggingface.co/jvamvas/xmod-base etc. should be moved to the [facebook](https://huggingface.co/facebook) organization.
This PR changes the hardcoded model names in the code.
Next steps:
- [ ]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21640/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21640",
"html_url": "https://github.com/huggingface/transformers/pull/21640",
"diff_url": "https://github.com/huggingface/transformers/pull/21640.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21640.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21639/comments | https://api.github.com/repos/huggingface/transformers/issues/21639/events | https://github.com/huggingface/transformers/issues/21639 | 1,585,737,843 | I_kwDOCUB6oc5ehHBz | 21,639 | DataCollatorForTokenClassification pads labels incorrectly for LukeModel | {
"login": "SuijkerbuijkP",
"id": 60673023,
"node_id": "MDQ6VXNlcjYwNjczMDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/60673023?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuijkerbuijkP",
"html_url": "https://github.com/SuijkerbuijkP",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Did you tried the `DataCollatorForLukeTokenClassification` :thinking: \r\n\r\nFor LUKE and NER there's this demo project available:\r\n\r\nhttps://github.com/huggingface/transformers/tree/main/examples/research_projects/luke",
"Thanks, I did not know that exists, as it is not part of the normal datacollators. Go... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-4.18.0-348.12.2.el8_5.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21639/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21638/comments | https://api.github.com/repos/huggingface/transformers/issues/21638/events | https://github.com/huggingface/transformers/issues/21638 | 1,585,619,407 | I_kwDOCUB6oc5egqHP | 21,638 | CLIP image processor fails when resizing a 1x1 image | {
"login": "justinpinkney",
"id": 605492,
"node_id": "MDQ6VXNlcjYwNTQ5Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/605492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/justinpinkney",
"html_url": "https://github.com/justinpinkney",
"followers_url": "https://api.github.co... | [] | closed | false | null | [] | [
"Thanks for raising this issue @justinpinkney and for the detailed snippet and trackback! \r\n\r\nIndeed, you're right, the issue is arising from trying to infer the image channel dimension. As it's possible to have images with a single channel, and images with 3 channels, an image with shape `(1, 1, 3)` could be e... | 1,676 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-4.19.0-23-cloud-amd64-x86_64-with-debian-10.13
- Python version: 3.7.12
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21638/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21637/comments | https://api.github.com/repos/huggingface/transformers/issues/21637/events | https://github.com/huggingface/transformers/pull/21637 | 1,585,505,957 | PR_kwDOCUB6oc5KA_qQ | 21,637 | Fix Blip-2 CI again | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@gante Don't worry. You added 2 new tests, and we just need to use FP16 (for those 2 new tests) to avoid GPU OOM. The original 2 tests are not undo by your PR.",
"Oh, I see! haha that makes more sense now :)"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
The fix added in #21566 have to be applied to a later merged commit #21624 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21637/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21637",
"html_url": "https://github.com/huggingface/transformers/pull/21637",
"diff_url": "https://github.com/huggingface/transformers/pull/21637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21637.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21636/comments | https://api.github.com/repos/huggingface/transformers/issues/21636/events | https://github.com/huggingface/transformers/pull/21636 | 1,585,417,212 | PR_kwDOCUB6oc5KAsl2 | 21,636 | Pass parent exception as context exception to provide clearer stack trace | {
"login": "balvisio",
"id": 1909351,
"node_id": "MDQ6VXNlcjE5MDkzNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1909351?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/balvisio",
"html_url": "https://github.com/balvisio",
"followers_url": "https://api.github.com/users/balvi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Passes the parent exception as the context exception so that it is clearer what was the original cause of the exception. Currently the message has the confusing: "During handling of the above exception, another exception occurred:
"
<!--
Congratulations! You've made it this far! You're not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21636/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21636",
"html_url": "https://github.com/huggingface/transformers/pull/21636",
"diff_url": "https://github.com/huggingface/transformers/pull/21636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21636.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21635/comments | https://api.github.com/repos/huggingface/transformers/issues/21635/events | https://github.com/huggingface/transformers/issues/21635 | 1,585,133,061 | I_kwDOCUB6oc5eezYF | 21,635 | How to finetune mt0-xxl-mt(13B parameters) seq2seq_qa with deepspeed | {
"login": "NiushanDong",
"id": 34929731,
"node_id": "MDQ6VXNlcjM0OTI5NzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/34929731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NiushanDong",
"html_url": "https://github.com/NiushanDong",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to help debug your code as we keep issues for bugs and feature requests only.",
"Oh sorry, I will close this issue and move to forums.",
"I closed this issue because this is not about bugs and feature requests"
] | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
```shell
I tried to finetune mt0-xxl-mt with the script examples/pytorch/question-answering/run_qa_seq2seq_qa.py,the machine has 8 x V100(32GB) GPU and 250GB CPU memory, but failed with OOM. Anyone can help me?
```
### Information
- [X] The official example scripts
- [ ] My own modified sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21635/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21634/comments | https://api.github.com/repos/huggingface/transformers/issues/21634/events | https://github.com/huggingface/transformers/pull/21634 | 1,584,825,644 | PR_kwDOCUB6oc5J-tbf | 21,634 | Remove extra "`max_length` is reached." from InfNaNLogitsProcessor documentation | {
"login": "mmcdermott",
"id": 470751,
"node_id": "MDQ6VXNlcjQ3MDc1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/470751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmcdermott",
"html_url": "https://github.com/mmcdermott",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Remove extra "`max_length` is reached." from InfNaNLogitsProcessor documentation
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21634",
"html_url": "https://github.com/huggingface/transformers/pull/21634",
"diff_url": "https://github.com/huggingface/transformers/pull/21634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21634.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21633/comments | https://api.github.com/repos/huggingface/transformers/issues/21633/events | https://github.com/huggingface/transformers/issues/21633 | 1,584,705,736 | I_kwDOCUB6oc5edLDI | 21,633 | Add SwinIR for Image Super Resolution | {
"login": "asrimanth",
"id": 30816357,
"node_id": "MDQ6VXNlcjMwODE2MzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/30816357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asrimanth",
"html_url": "https://github.com/asrimanth",
"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": ""
}
] | closed | false | null | [] | [
"Just wanna note that Swin2SR is already integrated, which improves upon SwinIR: https://huggingface.co/docs/transformers/main/model_doc/swin2sr",
"Ohh okay, thank you, I'll close this issue then.",
"Hi @NielsRogge thanks for adding this model to HF.\r\nDo you have in plans to add training process too?"
] | 1,676 | 1,687 | 1,676 | CONTRIBUTOR | null | ### Model description
SwinIR: Image Restoration Using Swin Transformer
- This paper presents an Image Super Resolution / Image Restoration model inspired by the SwinTransformer architecture.
- It demonstrates superior performance on various vision tasks including classical/lightweight Image Super Resolution, Image... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21633/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21632/comments | https://api.github.com/repos/huggingface/transformers/issues/21632/events | https://github.com/huggingface/transformers/pull/21632 | 1,584,654,640 | PR_kwDOCUB6oc5J-IXb | 21,632 | Fix typo in documentation. | {
"login": "mmcdermott",
"id": 470751,
"node_id": "MDQ6VXNlcjQ3MDc1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/470751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmcdermott",
"html_url": "https://github.com/mmcdermott",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Replaces "the value used to module the next token probabilities" with "the value used to modulate the next token probabilities", which I think is what was originally meant.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21632/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21632",
"html_url": "https://github.com/huggingface/transformers/pull/21632",
"diff_url": "https://github.com/huggingface/transformers/pull/21632.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21632.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21631/comments | https://api.github.com/repos/huggingface/transformers/issues/21631/events | https://github.com/huggingface/transformers/pull/21631 | 1,584,507,048 | PR_kwDOCUB6oc5J9oYw | 21,631 | [XLN] Fix XLN | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Still a draft, will be fixing #21626 via a deprecation cycle",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21631). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had re... | 1,676 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
[This commit](https://github.com/huggingface/transformers/commit/87e6e4fe5c7e65cb69e70306f22de6daf16b6e14) broke the XLNet docstyle explaining what the output of the `create_mask` function should be.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21631",
"html_url": "https://github.com/huggingface/transformers/pull/21631",
"diff_url": "https://github.com/huggingface/transformers/pull/21631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21630/comments | https://api.github.com/repos/huggingface/transformers/issues/21630/events | https://github.com/huggingface/transformers/pull/21630 | 1,584,370,667 | PR_kwDOCUB6oc5J9K2q | 21,630 | Fix generation config for empty state dict | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
This PR follows up on #21542 which didn't fix the problem for generative models. For those, the generation config can't be generated properly and returns another type of error than the one intercepted in `from_pretrained`. The fix is thus easy.
To make sure to catch the problem on all mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21630",
"html_url": "https://github.com/huggingface/transformers/pull/21630",
"diff_url": "https://github.com/huggingface/transformers/pull/21630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21630.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21629/comments | https://api.github.com/repos/huggingface/transformers/issues/21629/events | https://github.com/huggingface/transformers/pull/21629 | 1,584,352,570 | PR_kwDOCUB6oc5J9G52 | 21,629 | Update data_collator.py | {
"login": "neeravkaushal",
"id": 48004241,
"node_id": "MDQ6VXNlcjQ4MDA0MjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/48004241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neeravkaushal",
"html_url": "https://github.com/neeravkaushal",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Ah, got it! Thank you!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21629). All of your documentation changes will be reflected on that endpoint."
] | 1,676 | 1,676 | 1,676 | NONE | null | Fix 10% random token replacement.
# 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 contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21629",
"html_url": "https://github.com/huggingface/transformers/pull/21629",
"diff_url": "https://github.com/huggingface/transformers/pull/21629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21629.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21628/comments | https://api.github.com/repos/huggingface/transformers/issues/21628/events | https://github.com/huggingface/transformers/issues/21628 | 1,584,316,203 | I_kwDOCUB6oc5ebr8r | 21,628 | Donut base-sized model, pre-trained only for a new language tutorial | {
"login": "Wyzix33",
"id": 13553412,
"node_id": "MDQ6VXNlcjEzNTUzNDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/13553412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wyzix33",
"html_url": "https://github.com/Wyzix33",
"followers_url": "https://api.github.com/users/Wyzix3... | [] | closed | false | null | [] | [
"Those questions are most suited to the [forums](https://discuss.huggingface.co/) where the whole community will be able to help. We keep issues for bugs and feature requests only.",
"OK, will do that! \r\nThanks"
] | 1,676 | 1,676 | 1,676 | NONE | null | ### Feature request
I'm trying to generate a new pre-training for Donut model using Romanian language documents.
I have about 100k scanned documents and want to create a pre-training for Romanian language to be able to fine-tune different types of documents for parsing and classification on it.
Can anyone share ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21627/comments | https://api.github.com/repos/huggingface/transformers/issues/21627/events | https://github.com/huggingface/transformers/pull/21627 | 1,584,270,784 | PR_kwDOCUB6oc5J81HJ | 21,627 | Error (also in original) model, scaling only q matrix not qk.T dot product (qk.T/sqrt(dim_per_head)) | {
"login": "BenoitDalFerro",
"id": 69694610,
"node_id": "MDQ6VXNlcjY5Njk0NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/69694610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenoitDalFerro",
"html_url": "https://github.com/BenoitDalFerro",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @younesbelkada \r\n\r\nAlso note that the same change would need to be applied to XLM.",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @younesbelkada ok I'm on it thanks",
"@younesbelkada curious `make fixup` executed fine and passing `make repo_cons... | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | As per Vaswani et al, 2017 p.4
Is torch.matmul(q, k.transpose(2, 3)) / math.sqrt(dim_per_head) not q / math.sqrt(dim_per_head) https://arxiv.org/pdf/1912.05372.pdf
Error was in original FlauBERT repo and effectively scales queries but not keys cf. https://github.com/getalp/Flaubert/pull/45/commits/6d176880ca3a1a8df... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21627/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21627",
"html_url": "https://github.com/huggingface/transformers/pull/21627",
"diff_url": "https://github.com/huggingface/transformers/pull/21627.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21627.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21626/comments | https://api.github.com/repos/huggingface/transformers/issues/21626/events | https://github.com/huggingface/transformers/issues/21626 | 1,584,261,695 | I_kwDOCUB6oc5ebeo_ | 21,626 | XLNet fails with attn_type "uni" | {
"login": "jppgks",
"id": 11156808,
"node_id": "MDQ6VXNlcjExMTU2ODA4",
"avatar_url": "https://avatars.githubusercontent.com/u/11156808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jppgks",
"html_url": "https://github.com/jppgks",
"followers_url": "https://api.github.com/users/jppgks/fo... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @younesbelkada ",
"This is a fairly old model 😅 It does make sense to drop `uni` (first because it is not working and did not bother anyone) but also let's just redirect to the new [TransformerXL](https://huggingface.co/docs/transformers/model_doc/transfo-xl). Thanks for reporting",
"This... | 1,676 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.10.104-linuxkit-aarch64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21626/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21625/comments | https://api.github.com/repos/huggingface/transformers/issues/21625/events | https://github.com/huggingface/transformers/pull/21625 | 1,584,199,935 | PR_kwDOCUB6oc5J8lpy | 21,625 | Add OPT resources to the transformers documentation | {
"login": "alissadb",
"id": 96190409,
"node_id": "U_kgDOBbu_yQ",
"avatar_url": "https://avatars.githubusercontent.com/u/96190409?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alissadb",
"html_url": "https://github.com/alissadb",
"followers_url": "https://api.github.com/users/alissadb/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot! I think when I saved the file in my editor it automatically changed the formatting. But anyway, I've reverted the formatting changes 🙂 ",
"Thanks again for the changes, everything looks great! Pinging @sgugger for a... | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Fixes #20055 (partially)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21625/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21625",
"html_url": "https://github.com/huggingface/transformers/pull/21625",
"diff_url": "https://github.com/huggingface/transformers/pull/21625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21624/comments | https://api.github.com/repos/huggingface/transformers/issues/21624/events | https://github.com/huggingface/transformers/pull/21624 | 1,583,978,744 | PR_kwDOCUB6oc5J71Tq | 21,624 | Generate: input expansion for any model input | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,684 | 1,676 | MEMBER | null | # What does this PR do?
Fixes #21599
In line with #21603, this PR aims at generalizing `.generate()` for any-to-text models. In particular, it rewrites the function that expands the inputs when `num_beams>1` or `num_return_sequences>1` -- instead of expanding certain keywords within `model_kwargs`, expands any t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21624/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/21624/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21624",
"html_url": "https://github.com/huggingface/transformers/pull/21624",
"diff_url": "https://github.com/huggingface/transformers/pull/21624.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21624.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21622/comments | https://api.github.com/repos/huggingface/transformers/issues/21622/events | https://github.com/huggingface/transformers/pull/21622 | 1,583,820,478 | PR_kwDOCUB6oc5J7Tk- | 21,622 | Don't run tests that hit CTC loss calculation | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21622). All of your documentation changes will be reflected on that endpoint."
] | 1,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Any tests which hit CTC loss calculation - passing in labels into the model's `call` method - results in OOM errors. For these tests, the CTC models are removed to prevent CI failing.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21622/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21622",
"html_url": "https://github.com/huggingface/transformers/pull/21622",
"diff_url": "https://github.com/huggingface/transformers/pull/21622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21622.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21621/comments | https://api.github.com/repos/huggingface/transformers/issues/21621/events | https://github.com/huggingface/transformers/pull/21621 | 1,583,750,522 | PR_kwDOCUB6oc5J7EsW | 21,621 | Update document of WhisperDecoderLayer | {
"login": "ling0322",
"id": 865872,
"node_id": "MDQ6VXNlcjg2NTg3Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/865872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ling0322",
"html_url": "https://github.com/ling0322",
"followers_url": "https://api.github.com/users/ling032... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Perfect, thanks again!"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Fix the document of input `hidden_states` and `encoder_hidden_states` in `WhisperDecoderLayer.forward`
According to the document of `WhisperDecoder` the shape should be `(batch, seq_len, embed_dim)` not `(seq_len, batch, embed_dim)`
## Before submitting
- [x] This PR fixes a typo or im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21621",
"html_url": "https://github.com/huggingface/transformers/pull/21621",
"diff_url": "https://github.com/huggingface/transformers/pull/21621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21621.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21620/comments | https://api.github.com/repos/huggingface/transformers/issues/21620/events | https://github.com/huggingface/transformers/issues/21620 | 1,583,697,486 | I_kwDOCUB6oc5eZU5O | 21,620 | Unable to disable the `do_resize` option in the CLIPImageProcessor | {
"login": "adhakal224",
"id": 55991758,
"node_id": "MDQ6VXNlcjU1OTkxNzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/55991758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adhakal224",
"html_url": "https://github.com/adhakal224",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @adhakal224, thanks for raising! The reason the output images are still being returned with 224x224 shape is that there's two operations which modify the images' size: resizing and center cropping. In order for the image to be returned in the original dimension, cropping will also have to be disabled.\r\n\r\n``... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
```
- `transformers` version: 4.26.1
- Platform: Linux-3.10.0-1160.53.1.el7.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21620/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21619/comments | https://api.github.com/repos/huggingface/transformers/issues/21619/events | https://github.com/huggingface/transformers/pull/21619 | 1,583,671,125 | PR_kwDOCUB6oc5J6zws | 21,619 | Fix passing kwargs to TFBertTokenizer | {
"login": "balvisio",
"id": 1909351,
"node_id": "MDQ6VXNlcjE5MDkzNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1909351?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/balvisio",
"html_url": "https://github.com/balvisio",
"followers_url": "https://api.github.com/users/balvi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Also cc @Rocketknight1 "
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes passing `kwargs` when creating a `TFBertTokenizer.from_pretrained()`. Currently, a `kwarg` is passed the following error is raised:
```
>>> from transformers import TFBertTokenizer
>>> tokenizer = TFBertTokenizer.from_pretrained("distilbert-base-cased", do_lower_case=False)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21619/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21619",
"html_url": "https://github.com/huggingface/transformers/pull/21619",
"diff_url": "https://github.com/huggingface/transformers/pull/21619.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21619.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21618/comments | https://api.github.com/repos/huggingface/transformers/issues/21618/events | https://github.com/huggingface/transformers/issues/21618 | 1,583,527,180 | I_kwDOCUB6oc5eYrUM | 21,618 | what's the format of my own datasets when running language-modeling with gpt2 | {
"login": "ucas010",
"id": 50656998,
"node_id": "MDQ6VXNlcjUwNjU2OTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/50656998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ucas010",
"html_url": "https://github.com/ucas010",
"followers_url": "https://api.github.com/users/ucas01... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for questions like this as we keep the issues for bugs and feature requests only.",
"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\nP... | 1,676 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: Linux-3.10.0-1160.81.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21617/comments | https://api.github.com/repos/huggingface/transformers/issues/21617/events | https://github.com/huggingface/transformers/issues/21617 | 1,583,449,731 | I_kwDOCUB6oc5eYYaD | 21,617 | [WHISPER] Unreliable timestamp with whisper for videos under 30 seconds | {
"login": "altryne",
"id": 463317,
"node_id": "MDQ6VXNlcjQ2MzMxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/463317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/altryne",
"html_url": "https://github.com/altryne",
"followers_url": "https://api.github.com/users/altryne/fo... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Can you provide a reproduction script to make sure we are running with the same parameters? 😉 \r\nAlso this might ring some bels to @Narsil. \r\nI know we interacted before, but just want to make sure which transformers version you are using and which calls. Then I'll be able to dig ! Thanks for the issue 😉 \r\n... | 1,676 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
Hey, I noticed that there's an unreliable timestamp thing happening which whisper through transformers that doesn't show up in original whisper.
In this example:
https://targum.video/v/47160791e0e305ff7f22e84203f1b196
The "people on streches.." was said at the end of the video, but the timesta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21617/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21616/comments | https://api.github.com/repos/huggingface/transformers/issues/21616/events | https://github.com/huggingface/transformers/issues/21616 | 1,583,442,194 | I_kwDOCUB6oc5eYWkS | 21,616 | Different inference results from local transformer vs inference API | {
"login": "logandeboo",
"id": 49734611,
"node_id": "MDQ6VXNlcjQ5NzM0NjEx",
"avatar_url": "https://avatars.githubusercontent.com/u/49734611?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/logandeboo",
"html_url": "https://github.com/logandeboo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Small differences in numbers can be explained by hardware, torch version etc... Nothing can be done about it.\r\n\r\nFor the difference in output the API uses a different default from the pipeline `pipe = pipeline(..., topk=None)` as it makes more sense for the widget to see multiple proposition.... | 1,676 | 1,705 | 1,679 | NONE | null | ### System Info
I am getting two slightly different probability values when comparing inference results from the local transformer and inference API on the same sentence. I am wondering why this is happening? It only occurs for some sentences.
<img width="1617" alt="Screen Shot 2023-02-13 at 7 46 51 PM" src="https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21616/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21615/comments | https://api.github.com/repos/huggingface/transformers/issues/21615/events | https://github.com/huggingface/transformers/issues/21615 | 1,583,424,438 | I_kwDOCUB6oc5eYSO2 | 21,615 | run run_language_modeling got bug | {
"login": "ucas010",
"id": 50656998,
"node_id": "MDQ6VXNlcjUwNjU2OTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/50656998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ucas010",
"html_url": "https://github.com/ucas010",
"followers_url": "https://api.github.com/users/ucas01... | [] | closed | false | null | [] | [
"This is an unmaintained example that won't work with the last version of transformers.",
"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 [contr... | 1,676 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: Linux-3.10.0-1160.81.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21615/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21614/comments | https://api.github.com/repos/huggingface/transformers/issues/21614/events | https://github.com/huggingface/transformers/pull/21614 | 1,583,388,482 | PR_kwDOCUB6oc5J53y- | 21,614 | fix: Race Condition when using Sagemaker Checkpointing and Model Repository | {
"login": "DougTrajano",
"id": 8703022,
"node_id": "MDQ6VXNlcjg3MDMwMjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8703022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DougTrajano",
"html_url": "https://github.com/DougTrajano",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Perfect, you just need to run `make style` on your branch with our quality tools installed and we should be good to merge!",
"> Perfect, you just need to run `make style` on your branch with our quality tools installed and we shoul... | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Fixes #21586
With the following changes:
- Added `_add_sm_patterns_to_gitignore()` as a helper method in the Trainer class that will add the patterns used by the SageMaker Checkpointing feature in the .gitignore file when initializing the Model Repository.
- A condition in the `init_gi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21614/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21614",
"html_url": "https://github.com/huggingface/transformers/pull/21614",
"diff_url": "https://github.com/huggingface/transformers/pull/21614.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21614.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21613/comments | https://api.github.com/repos/huggingface/transformers/issues/21613/events | https://github.com/huggingface/transformers/issues/21613 | 1,583,319,155 | I_kwDOCUB6oc5eX4hz | 21,613 | `pipeline` does not load from local folder, instead, it always downloads models from the internet. | {
"login": "z7ye",
"id": 25996703,
"node_id": "MDQ6VXNlcjI1OTk2NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/25996703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/z7ye",
"html_url": "https://github.com/z7ye",
"followers_url": "https://api.github.com/users/z7ye/followers"... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Seems to be working fine on my end, but there needs to be a few modifications (I'm super suprises it *can* download anything, your included code just crashes normally).\r\n\r\n```python\r\nfrom transformers import pipeline\r\n\r\npipe = pipeline(task=\"image-classification\", model=\"google/vit-ba... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
I create `pipeline` and called `save_pretrained(...)` to save to some local directory. However, when I load it back using `pipeline(model="local_folder")`, it either load from cache or try to start downloading from the internet.
However, if I do the following, it works. I am using the latest `transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21613/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21612/comments | https://api.github.com/repos/huggingface/transformers/issues/21612/events | https://github.com/huggingface/transformers/pull/21612 | 1,583,243,028 | PR_kwDOCUB6oc5J5ZEQ | 21,612 | fix: Change is_last chunk calc and add conditional break in chunk_iter | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker Could you please review this ?\r\n\r\nI am ok with this PR, but since I made the proposed change, I'm too heavily biased to review properly.\r\n\r\nI will take another look still now that I might be able to think straig... | 1,676 | 1,679 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Fixes #21568
With three functional changes
- Updates the is_last calc to include the right_stride
- Conditionally breaks at the end of the loop block if is_last is true
- Adds to a test
And two non-functional changes
- Renamed `i` to `chunk_start_idx` and put `chunk_end_idx` in a var... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21612/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21612",
"html_url": "https://github.com/huggingface/transformers/pull/21612",
"diff_url": "https://github.com/huggingface/transformers/pull/21612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21612.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21611/comments | https://api.github.com/repos/huggingface/transformers/issues/21611/events | https://github.com/huggingface/transformers/pull/21611 | 1,583,065,934 | PR_kwDOCUB6oc5J4yoZ | 21,611 | Add in big model inference to issue template | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Adds in @sgugger and myself as @'s on the big model inference as part of the issue template
## 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 read the [contributor guideline](https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21611/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/21611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21611",
"html_url": "https://github.com/huggingface/transformers/pull/21611",
"diff_url": "https://github.com/huggingface/transformers/pull/21611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21611.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21610/comments | https://api.github.com/repos/huggingface/transformers/issues/21610/events | https://github.com/huggingface/transformers/issues/21610 | 1,583,028,640 | I_kwDOCUB6oc5eWxmg | 21,610 | from_pretrained() breaks with empty state_dict and model path as None | {
"login": "harubaru",
"id": 26317155,
"node_id": "MDQ6VXNlcjI2MzE3MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/26317155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harubaru",
"html_url": "https://github.com/harubaru",
"followers_url": "https://api.github.com/users/har... | [] | closed | false | null | [] | [
"This was fixed by #21542. You will need to install from source while the fix makes it way to the next release.",
"The PR didn't seem to fix the issue, I get a different error this time but the reproduction code still throws an error with the latest changes from source",
"Indeed, the fix was incomplete for gene... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.12.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21609/comments | https://api.github.com/repos/huggingface/transformers/issues/21609/events | https://github.com/huggingface/transformers/pull/21609 | 1,582,907,684 | PR_kwDOCUB6oc5J4Qld | 21,609 | Fix env. variable type issue in testing | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Fix env. variable type issue in testing.
If `PYTEST_TIMEOUT` is set by `export PYTEST_TIMEOUT=...` or `PYTEST_TIMEOUT=xxx python3 -m pytest ...`, we actually get a `string` instead of `int`, and the test fails.
On our CI (within docker), we don't have this issue, probably due to the way... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21609/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21609",
"html_url": "https://github.com/huggingface/transformers/pull/21609",
"diff_url": "https://github.com/huggingface/transformers/pull/21609.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21609.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21608/comments | https://api.github.com/repos/huggingface/transformers/issues/21608/events | https://github.com/huggingface/transformers/pull/21608 | 1,582,858,113 | PR_kwDOCUB6oc5J4GTX | 21,608 | Fix typo in QA task guide | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | MEMBER | null | Removes random link to ALBERT model doc in the question-answering task guide. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21608/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21608",
"html_url": "https://github.com/huggingface/transformers/pull/21608",
"diff_url": "https://github.com/huggingface/transformers/pull/21608.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21608.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21607/comments | https://api.github.com/repos/huggingface/transformers/issues/21607/events | https://github.com/huggingface/transformers/pull/21607 | 1,582,847,606 | PR_kwDOCUB6oc5J4EJ6 | 21,607 | Clarify available pipelines in quicktour | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | MEMBER | null | Addresses feedback from #21557 to make it super clear the table doesn't contain all available pipelines and redirects users to the pipeline API reference docs instead. This PR also swaps out some of the NLP tasks for some more multimodal ones :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21607",
"html_url": "https://github.com/huggingface/transformers/pull/21607",
"diff_url": "https://github.com/huggingface/transformers/pull/21607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21607.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21606/comments | https://api.github.com/repos/huggingface/transformers/issues/21606/events | https://github.com/huggingface/transformers/pull/21606 | 1,582,590,976 | PR_kwDOCUB6oc5J3NVP | 21,606 | Fix TF CTC tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh before @amyeroberts work in #21502 these tests had no overwrite, correct. However, see the note in Amy's PR -- the labels were not correctly handled, which meant that `test_dataset_conversion` was probably terminating early ... | 1,676 | 1,676 | 1,676 | MEMBER | null | # What does this PR do?
(see title) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21606",
"html_url": "https://github.com/huggingface/transformers/pull/21606",
"diff_url": "https://github.com/huggingface/transformers/pull/21606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21605/comments | https://api.github.com/repos/huggingface/transformers/issues/21605/events | https://github.com/huggingface/transformers/issues/21605 | 1,582,437,063 | I_kwDOCUB6oc5eUhLH | 21,605 | Huge JSON file causes error in run_summarization.py | {
"login": "AtheerAlgherairy",
"id": 7421065,
"node_id": "MDQ6VXNlcjc0MjEwNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7421065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AtheerAlgherairy",
"html_url": "https://github.com/AtheerAlgherairy",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Hi @AtheerAlgherairy This is not a `transformers` issue, and it's very likely some memory issue due to the huge file size. [Hugging Face Forum](https://discuss.huggingface.co/) is the place for such kind of questions.\r\n\r\nWithout going into the specific detail, for large dataset like this, you should try to use... | 1,676 | 1,679 | 1,679 | NONE | null | I tried to run transformers\examples\pytorch\summarization\run_summarization.py with my own data files (in JSON Lines format). The problem arises only when using huge JSON file (> 20 GB). With smaller size files it works normally.
Any suggestions how to use the code with large size JSON files?
**Framework:**
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21604/comments | https://api.github.com/repos/huggingface/transformers/issues/21604/events | https://github.com/huggingface/transformers/issues/21604 | 1,582,363,876 | I_kwDOCUB6oc5eUPTk | 21,604 | Seq2SeqTrainer with predict_with_generate prints config every step | {
"login": "eyalmazuz",
"id": 34383384,
"node_id": "MDQ6VXNlcjM0MzgzMzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/34383384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eyalmazuz",
"html_url": "https://github.com/eyalmazuz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @eyalmazuz 👋 There is a chance that the issue is sorted already (see [here](https://github.com/huggingface/transformers/pull/21385)). To try it out, install `transformers` from `main` -- let me know if it works!\r\n\r\n`pip install --upgrade git+https://github.com/huggingface/transformers.git`... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
Transformers version 4.26.1
Python version 3.8.12
### Who can help?
@sgugger
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21604/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/21604/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21603/comments | https://api.github.com/repos/huggingface/transformers/issues/21603/events | https://github.com/huggingface/transformers/pull/21603 | 1,582,315,399 | PR_kwDOCUB6oc5J2SCj | 21,603 | Generate: filter encoder inputs when its signature does not accept wildcards | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Tests for the feature added 👍 \r\n\r\nThe failing CI tests are two known failures, merging."
] | 1,676 | 1,676 | 1,676 | MEMBER | null | # What does this PR do?
Now that we are moving towards any-to-text modalities, `generate` should be strengthened to work as-is without throwing exceptions just because a user has designed a slightly different architecture.
This PR enables the case where the model has some kwargs for operations between the encoder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21603",
"html_url": "https://github.com/huggingface/transformers/pull/21603",
"diff_url": "https://github.com/huggingface/transformers/pull/21603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21603.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21602/comments | https://api.github.com/repos/huggingface/transformers/issues/21602/events | https://github.com/huggingface/transformers/pull/21602 | 1,582,274,437 | PR_kwDOCUB6oc5J2JLW | 21,602 | [MINOR] Fix link in timeseries transformer docs | {
"login": "cakiki",
"id": 3664563,
"node_id": "MDQ6VXNlcjM2NjQ1NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cakiki",
"html_url": "https://github.com/cakiki",
"followers_url": "https://api.github.com/users/cakiki/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Link seems to work in the staging docs"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | I'm not sure this will also fix the currently broken link in the docs (Specifically here: https://huggingface.co/docs/transformers/model_doc/time_series_transformer) whereby clicking on `kashif` attempts to link to the following non-existent URL: https://huggingface.co/docs/transformers/model_doc/%3Chttps://huggingface... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21602",
"html_url": "https://github.com/huggingface/transformers/pull/21602",
"diff_url": "https://github.com/huggingface/transformers/pull/21602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21602.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21601/comments | https://api.github.com/repos/huggingface/transformers/issues/21601/events | https://github.com/huggingface/transformers/pull/21601 | 1,582,191,913 | PR_kwDOCUB6oc5J13EC | 21,601 | CI: skip failing TF hubert test | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"_The documentation is not available anymore as the PR was closed or merged._",
"@gante is this issue fixed? I am asking because I am still getting this error [here](https://app.circleci.com/pipelines/github/huggingface/transformers/57650/workflows/dcdbb1bd-f61c-445a-b276-4f649416931e/jobs/6... | 1,676 | 1,684 | 1,676 | MEMBER | null | # What does this PR do?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21601/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21601",
"html_url": "https://github.com/huggingface/transformers/pull/21601",
"diff_url": "https://github.com/huggingface/transformers/pull/21601.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21601.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21600/comments | https://api.github.com/repos/huggingface/transformers/issues/21600/events | https://github.com/huggingface/transformers/pull/21600 | 1,582,155,027 | PR_kwDOCUB6oc5J1vD8 | 21,600 | [Pipeline] Add zero shot audio classificatoin pipeline | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21600). All of your documentation changes will be reflected on that endpoint.",
"LGTM. I'm confused by the error in tests which doesn't seem linked to this PR.",
"LGTM ! "
] | 1,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Add the `zero_shot_audio_classification_pipeline` for the `CLAP` models. See #21370 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21600/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21600/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21600",
"html_url": "https://github.com/huggingface/transformers/pull/21600",
"diff_url": "https://github.com/huggingface/transformers/pull/21600.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21600.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21599/comments | https://api.github.com/repos/huggingface/transformers/issues/21599/events | https://github.com/huggingface/transformers/issues/21599 | 1,582,153,299 | I_kwDOCUB6oc5eTb5T | 21,599 | BLIP-2 batch generate error | {
"login": "LiJunnan1992",
"id": 13638455,
"node_id": "MDQ6VXNlcjEzNjM4NDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/13638455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiJunnan1992",
"html_url": "https://github.com/LiJunnan1992",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Can confirm that:\r\n1. The issue only happens with `batch_size>1`\r\n2. The issue happens with both `num_beams>1` and `num_return_sequences>1` (they both rely on input replication, which is my suspicion)\r\n3. https://github.com/huggingface/transformers/pull/21580, which addresses some BLIP2 `.generate()` issues ... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
`transformers` version: 4.27.0.dev0
### Who can help?
@NielsRogge
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21599/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21598/comments | https://api.github.com/repos/huggingface/transformers/issues/21598/events | https://github.com/huggingface/transformers/pull/21598 | 1,582,142,530 | PR_kwDOCUB6oc5J1sUD | 21,598 | Enable `requires_grad` on input embedding to train on top of frozen layers | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks everyone! Merging!"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
## Motivation
In the context of `peft`, users currently needs to manually add a forward hook that enables gradient computation to the input after computing the embedding, for e.g. for `t5` one needs to call:
```python
def make_inputs_require_grad(module, input, output):
output.requi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21598/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21598",
"html_url": "https://github.com/huggingface/transformers/pull/21598",
"diff_url": "https://github.com/huggingface/transformers/pull/21598.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21598.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21597/comments | https://api.github.com/repos/huggingface/transformers/issues/21597/events | https://github.com/huggingface/transformers/pull/21597 | 1,582,121,988 | PR_kwDOCUB6oc5J1nv1 | 21,597 | [`bnb`] Let's make the daily CI green 🍏 | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yeah I am unsure too, `auto` shold give `float16` according to the weights size: https://huggingface.co/bigscience/bloom-1b7/tree/main (1b7 parameters = 3.4GB in fp16)"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a test that is currently failing on the `main` branch.
Link to failing test: https://github.com/huggingface/transformers/actions/runs/4154270129/jobs/7186572507
Since the introduction of https://github.com/huggingface/transformers/pull/21524 - when loading `bigscience/bloo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21597/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21597",
"html_url": "https://github.com/huggingface/transformers/pull/21597",
"diff_url": "https://github.com/huggingface/transformers/pull/21597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21597.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21595/comments | https://api.github.com/repos/huggingface/transformers/issues/21595/events | https://github.com/huggingface/transformers/pull/21595 | 1,582,005,789 | PR_kwDOCUB6oc5J1ONE | 21,595 | Fix Blip-2 CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"since we have put `_keep_in_fp32_modules` [in a previous PR](https://github.com/huggingface/transformers/pull/21574), I think it should work!",
"@sgugger I never merge my PR without running on a CI runner-like machines: ran it 3 ti... | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Avoid GPU OOM by using FP16. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21595",
"html_url": "https://github.com/huggingface/transformers/pull/21595",
"diff_url": "https://github.com/huggingface/transformers/pull/21595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21595.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21594/comments | https://api.github.com/repos/huggingface/transformers/issues/21594/events | https://github.com/huggingface/transformers/pull/21594 | 1,581,783,685 | PR_kwDOCUB6oc5J0efA | 21,594 | Remove trailing 'extractive' word from en documentation | {
"login": "tpaviot",
"id": 660130,
"node_id": "MDQ6VXNlcjY2MDEzMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/660130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tpaviot",
"html_url": "https://github.com/tpaviot",
"followers_url": "https://api.github.com/users/tpaviot/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Removes an extra word from the documentation.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21594/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21594",
"html_url": "https://github.com/huggingface/transformers/pull/21594",
"diff_url": "https://github.com/huggingface/transformers/pull/21594.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21594.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21593/comments | https://api.github.com/repos/huggingface/transformers/issues/21593/events | https://github.com/huggingface/transformers/pull/21593 | 1,581,778,018 | PR_kwDOCUB6oc5J0dO8 | 21,593 | Region error | {
"login": "Aniketsingh12",
"id": 67466295,
"node_id": "MDQ6VXNlcjY3NDY2Mjk1",
"avatar_url": "https://avatars.githubusercontent.com/u/67466295?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aniketsingh12",
"html_url": "https://github.com/Aniketsingh12",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21593). All of your documentation changes will be reflected on that endpoint.",
"Thanks for suggestion ",
"Yes, if you could replace `# Metrics` with `# region Metrics` instead that would be great!\r\n\r\nAlternatively I ... | 1,676 | 1,679 | 1,679 | NONE | null | Endregion was not causing error as region was not recognizing.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21593",
"html_url": "https://github.com/huggingface/transformers/pull/21593",
"diff_url": "https://github.com/huggingface/transformers/pull/21593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21593.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21592/comments | https://api.github.com/repos/huggingface/transformers/issues/21592/events | https://github.com/huggingface/transformers/pull/21592 | 1,581,726,778 | PR_kwDOCUB6oc5J0SMM | 21,592 | Removes duplicate computations in DETR post processing | {
"login": "eclique",
"id": 12473730,
"node_id": "MDQ6VXNlcjEyNDczNzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/12473730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eclique",
"html_url": "https://github.com/eclique",
"followers_url": "https://api.github.com/users/ecliqu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | 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/21592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21592/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21592",
"html_url": "https://github.com/huggingface/transformers/pull/21592",
"diff_url": "https://github.com/huggingface/transformers/pull/21592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21592.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21591/comments | https://api.github.com/repos/huggingface/transformers/issues/21591/events | https://github.com/huggingface/transformers/issues/21591 | 1,581,557,499 | I_kwDOCUB6oc5eRKb7 | 21,591 | how to fine tune with the gpt2?what's the dataset format with my own data | {
"login": "ucas010",
"id": 50656998,
"node_id": "MDQ6VXNlcjUwNjU2OTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/50656998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ucas010",
"html_url": "https://github.com/ucas010",
"followers_url": "https://api.github.com/users/ucas01... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep the issues for bugs in the library and feature requests only.",
"@ucas010 The script you linked is not for training/fine-tuing however. It's only for generation with a provided prompt.",
"@ydshieh year,I have tried with Chi... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.26.0.dev0
- Platform: Linux-3.10.0-1160.81.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21591/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21590/comments | https://api.github.com/repos/huggingface/transformers/issues/21590/events | https://github.com/huggingface/transformers/issues/21590 | 1,581,521,863 | I_kwDOCUB6oc5eRBvH | 21,590 | Project_Test01 | {
"login": "RutujaTalekar",
"id": 49370316,
"node_id": "MDQ6VXNlcjQ5MzcwMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/49370316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RutujaTalekar",
"html_url": "https://github.com/RutujaTalekar",
"followers_url": "https://api.githu... | [
{
"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 | [] | [] | 1,676 | 1,676 | null | NONE | null | ### Model description
This model takes parameters - training data(optional) and rubrics(list of strings) to train. It gives us zero shot results for scoring logical reasoning answers provided by the students.
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21590/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21589/comments | https://api.github.com/repos/huggingface/transformers/issues/21589/events | https://github.com/huggingface/transformers/pull/21589 | 1,581,362,016 | PR_kwDOCUB6oc5JzGE- | 21,589 | [i18n-fr] Translate quicktour page to French | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Translated the `quicktour.mdx` file of the documentation to French.
Part of #21456
Thank you in advance for your review.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21589/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21589",
"html_url": "https://github.com/huggingface/transformers/pull/21589",
"diff_url": "https://github.com/huggingface/transformers/pull/21589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21589.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21588/comments | https://api.github.com/repos/huggingface/transformers/issues/21588/events | https://github.com/huggingface/transformers/pull/21588 | 1,581,346,056 | PR_kwDOCUB6oc5JzC_A | 21,588 | Add missing arguemtn to run_clip.py | {
"login": "WarrenGreen",
"id": 1166181,
"node_id": "MDQ6VXNlcjExNjYxODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1166181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WarrenGreen",
"html_url": "https://github.com/WarrenGreen",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | # Missing test_file argument in run_clip.py
## Bug Experience
- Including the test_file parameter during runtime causes HfArguments to throw error for extra parameters.
- Not including the test_file parameter during runtime causes NPE [here](https://github.com/huggingface/transformers/blob/main/examples/pytorch/c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21588/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21588",
"html_url": "https://github.com/huggingface/transformers/pull/21588",
"diff_url": "https://github.com/huggingface/transformers/pull/21588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21588.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21587/comments | https://api.github.com/repos/huggingface/transformers/issues/21587/events | https://github.com/huggingface/transformers/issues/21587 | 1,581,344,870 | I_kwDOCUB6oc5eQWhm | 21,587 | [Whisper] ASR pipeline ignores/ rejects generate_kwargs on inference | {
"login": "Vaibhavs10",
"id": 18682411,
"node_id": "MDQ6VXNlcjE4NjgyNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/18682411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vaibhavs10",
"html_url": "https://github.com/Vaibhavs10",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You should use the main branch! \r\nThe following \r\n```python \r\n def test_simple_whisper_translation(self):\r\n speech_recognizer = pipeline(\r\n task=\"automatic-speech-recognition\",\r\n model=\"openai/whisper-large\",\r\n framework=\"pt\",\r\n )\r\n d... | 1,676 | 1,676 | 1,676 | MEMBER | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21587/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/21587/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.