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/25422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25422/comments | https://api.github.com/repos/huggingface/transformers/issues/25422/events | https://github.com/huggingface/transformers/issues/25422 | 1,844,048,532 | I_kwDOCUB6oc5t6fKU | 25,422 | Whisper Prompting max_new_tokens | {
"login": "Helene-Maxcici",
"id": 119662709,
"node_id": "U_kgDOByHodQ",
"avatar_url": "https://avatars.githubusercontent.com/u/119662709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Helene-Maxcici",
"html_url": "https://github.com/Helene-Maxcici",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @Helene-Maxcici! Thanks for writing this issue, there’s definitely an out of bounds issue here. \r\n\r\nAppreciate you catching the precedence issue that the slicing doesn’t quite match OpenAI’s, we should change that in the fix PR so its slicing one less than half the max_length instead one one more than half.... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25422/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/25422/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25421/comments | https://api.github.com/repos/huggingface/transformers/issues/25421/events | https://github.com/huggingface/transformers/pull/25421 | 1,843,977,644 | PR_kwDOCUB6oc5Xk0Uu | 25,421 | Fix premature downcast in LlamaRMSNorm | {
"login": "Birch-san",
"id": 6141784,
"node_id": "MDQ6VXNlcjYxNDE3ODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141784?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Birch-san",
"html_url": "https://github.com/Birch-san",
"followers_url": "https://api.github.com/users/Bi... | [] | closed | false | null | [] | [
"Well, the hidden states have to be casted to the input hidden state's dtype following [the original code](https://github.com/facebookresearch/llama/blob/main/llama/model.py#L34).\r\nI would think that if `self.weight` is in `bfloat16` then autocast would resolve it to `bfloat16`",
"The docs for this PR live [her... | 1,691 | 1,694 | 1,694 | NONE | null | # What does this PR do?
Fixes dtype mismatch encountered after LlamaRMSNorm during full-finetuning of Llama models:
```
Caught RuntimeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/home/mahouko/anaconda3/envs/p311-qlora/lib/python3.11/site-packages/torch/nn/parallel/parall... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25421",
"html_url": "https://github.com/huggingface/transformers/pull/25421",
"diff_url": "https://github.com/huggingface/transformers/pull/25421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25421.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25420/comments | https://api.github.com/repos/huggingface/transformers/issues/25420/events | https://github.com/huggingface/transformers/issues/25420 | 1,843,909,222 | I_kwDOCUB6oc5t59Jm | 25,420 | Possible Bug with KV Caching in Llama (original) model | {
"login": "maximkha",
"id": 5286469,
"node_id": "MDQ6VXNlcjUyODY0Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5286469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maximkha",
"html_url": "https://github.com/maximkha",
"followers_url": "https://api.github.com/users/maxim... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @gante ",
"Hey! It seems like the problème is from your custom code rather than the `Llama` past key values mechanism as `generate()` uses past key values by default, unless your generation config has `generation_config.use_cache = False`. \r\n\r\nI don't know exactly what is wrong with your... | 1,691 | 1,704 | 1,704 | NONE | null | ### System Info
transformers==4.31.0
- huggingface_hub version: 0.15.1
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /u/k/h/khanov/.cache/huggingface/token
- Has save... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25420/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25419/comments | https://api.github.com/repos/huggingface/transformers/issues/25419/events | https://github.com/huggingface/transformers/issues/25419 | 1,843,883,977 | I_kwDOCUB6oc5t52_J | 25,419 | Abnormally High GPU Memory Consumption with OPT 350M Model Leading to OOM | {
"login": "ayaka14732",
"id": 68557794,
"node_id": "MDQ6VXNlcjY4NTU3Nzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayaka14732",
"html_url": "https://github.com/ayaka14732",
"followers_url": "https://api.github.com/use... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"You are using a very high sequence length and are using the model without `torch.no_grad` so intermediate activations (which are saved for the backward pass) take a lot of space. That might be the reason.",
"Thank you @sgugger! However, I still think the memory usage should be low as the model is only 350M in si... | 1,691 | 1,703 | null | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.4.0-135-generic-x86_64-with-glibc2.35
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0.dev20230723+cu121... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25419/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25418/comments | https://api.github.com/repos/huggingface/transformers/issues/25418/events | https://github.com/huggingface/transformers/issues/25418 | 1,843,794,899 | I_kwDOCUB6oc5t5hPT | 25,418 | Longformer model: tf.Tensor as a Python bool is not allowed | {
"login": "rdisipio",
"id": 7974270,
"node_id": "MDQ6VXNlcjc5NzQyNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7974270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rdisipio",
"html_url": "https://github.com/rdisipio",
"followers_url": "https://api.github.com/users/rdisi... | [] | closed | false | null | [] | [
"cc our TF compile expert @Rocketknight1 !",
"Looks like this change was (accidentaly?) reverted in this PR with no clear indication as to why https://github.com/huggingface/transformers/pull/10007/files#diff-782b222e9d393fe6750cf8e4cd870bcf3748a92ade5086e518b4d716a80080f8R1723, it likely reintroduced this bug",
... | 1,691 | 1,692 | 1,692 | NONE | null | ### System Info
Python 3.9.7
Tensorflow 2.13.0
Transformers 4.31.0
keras 2.13.1
huggingface-hub 0.16.4
CUDA 11.8
### Who can help?
@ArthurZucker, @gante and @Rocketknight1
I am upgrading pre-existing code (which worked perfectly) to the latest releases of TensorFlow and transformers. One of my tests ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25417/comments | https://api.github.com/repos/huggingface/transformers/issues/25417/events | https://github.com/huggingface/transformers/issues/25417 | 1,843,780,393 | I_kwDOCUB6oc5t5dsp | 25,417 | AttributeError: module 'jax.numpy' has no attribute 'DeviceArray' in colab | {
"login": "yundaehyuck",
"id": 66197676,
"node_id": "MDQ6VXNlcjY2MTk3Njc2",
"avatar_url": "https://avatars.githubusercontent.com/u/66197676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yundaehyuck",
"html_url": "https://github.com/yundaehyuck",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"I am getting the same error (not in colab).\r\n\r\n```python\r\nfrom transformers.models.longt5 import modeling_flax_longt5\r\n```\r\n\r\nReturns:\r\n```\r\nRuntimeError: Failed to import transformers.models.longt5.modeling_flax_longt5 because of the following error (look up to see its tra... | 1,691 | 1,699 | 1,691 | NONE | null | ### System Info
transformers - 4.31.0
python - 3.10.12
colab
### 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 detail... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25417/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25416/comments | https://api.github.com/repos/huggingface/transformers/issues/25416/events | https://github.com/huggingface/transformers/issues/25416 | 1,843,740,894 | I_kwDOCUB6oc5t5UDe | 25,416 | [BUG] `ExponentialDecayLengthPenalty` decreases negative scores | {
"login": "pokjay",
"id": 31060527,
"node_id": "MDQ6VXNlcjMxMDYwNTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/31060527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pokjay",
"html_url": "https://github.com/pokjay",
"followers_url": "https://api.github.com/users/pokjay/fo... | [] | closed | false | null | [] | [
"cc @gante",
"Hey @pokjay! It is indeed a bug, and one that is not caught in its test (`test_exponential_decay_length_penalty`) because the test uses positive logits.\r\n\r\nI am in favor of the fix, and I'd also like to ask to add a case with negative logits to the test :) ",
"@gante Great, I'll fix it and add... | 1,691 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25416/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25415/comments | https://api.github.com/repos/huggingface/transformers/issues/25415/events | https://github.com/huggingface/transformers/pull/25415 | 1,843,715,766 | PR_kwDOCUB6oc5Xj74H | 25,415 | [WavLM] Fix Arxiv link and authors | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25367 by correcting the Arxiv link and paper authors for the WavLM modelling code. Note that the remainder of the docs were correct, it was just the modelling code that required updating.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25415/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25415",
"html_url": "https://github.com/huggingface/transformers/pull/25415",
"diff_url": "https://github.com/huggingface/transformers/pull/25415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25415.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25414/comments | https://api.github.com/repos/huggingface/transformers/issues/25414/events | https://github.com/huggingface/transformers/pull/25414 | 1,843,713,259 | PR_kwDOCUB6oc5Xj7WK | 25,414 | Bark: flexible generation config overload | {
"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 @ylacombe -- this probably was not raised in the CI run due to the timing of merging a related PR",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Fixes the issue we are seeing in CI, by overloading `validate` is a much more flexible signature :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25414/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25414/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25414",
"html_url": "https://github.com/huggingface/transformers/pull/25414",
"diff_url": "https://github.com/huggingface/transformers/pull/25414.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25414.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25413/comments | https://api.github.com/repos/huggingface/transformers/issues/25413/events | https://github.com/huggingface/transformers/pull/25413 | 1,843,650,061 | PR_kwDOCUB6oc5XjtrH | 25,413 | Generate: Load generation config when `device_map` is passed | {
"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,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Thank you @RonanKMcGovern for reporting this issue.
In `PreTrainedModel.from_pretrained`, `kwargs` is getting redefined when `device_map` is passed ([here](https://github.com/huggingface/transformers/blob/944ddce8bfd09ebbbdc71fb1d116421db42149b2/src/transformers/modeling_utils.py#L2852)). ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25413/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25413",
"html_url": "https://github.com/huggingface/transformers/pull/25413",
"diff_url": "https://github.com/huggingface/transformers/pull/25413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25413.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25412/comments | https://api.github.com/repos/huggingface/transformers/issues/25412/events | https://github.com/huggingface/transformers/pull/25412 | 1,843,518,704 | PR_kwDOCUB6oc5XjQ2x | 25,412 | Enable passing number of channels when inferring data format | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Enables passing in the number of channels to check for when trying to infer the image's data format, instead of the hard coded (1, 3).
This is part of a series of changes which will make the processing pipelines more robust to different input image types.
## Before submitting
- [ ] Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25412/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25412",
"html_url": "https://github.com/huggingface/transformers/pull/25412",
"diff_url": "https://github.com/huggingface/transformers/pull/25412.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25412.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25411/comments | https://api.github.com/repos/huggingface/transformers/issues/25411/events | https://github.com/huggingface/transformers/pull/25411 | 1,843,251,694 | PR_kwDOCUB6oc5XiXQl | 25,411 | Generation: strict generation config validation at save time | {
"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._",
"ok, fyi, [this script](https://colab.research.google.com/drive/1VoYNfYDKcKRQRor98Zbf2-9VQTtGJ24k?usp=sharing#scrollTo=E0Nl5mWL0k2T) is linked on the bnb/nf4 [launch page](https://github.com/huggingface/blog/blob/main/4bit-transformer... | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
As discussed in #25389, we should be flexible at load time, but strict at save time. This PR adds validation to the `save_pretrained` in the `GenerationConfig`, and skips saving if there is any issue there. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25411/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25411",
"html_url": "https://github.com/huggingface/transformers/pull/25411",
"diff_url": "https://github.com/huggingface/transformers/pull/25411.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25411.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25410/comments | https://api.github.com/repos/huggingface/transformers/issues/25410/events | https://github.com/huggingface/transformers/issues/25410 | 1,843,243,439 | I_kwDOCUB6oc5t3amv | 25,410 | Unable to export pix2struct-docvqa-base to ONNX | {
"login": "rish-hyun",
"id": 64358934,
"node_id": "MDQ6VXNlcjY0MzU4OTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/64358934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rish-hyun",
"html_url": "https://github.com/rish-hyun",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @rish-hyun\r\n\r\nThe ONNX stuff is now migrated to [huggingface/optimum](https://github.com/huggingface/optimum). Could you use the tools provided there? If there is still problem, you can open an issue there.\r\n\r\nThank you for your comprehension.\r\n",
"Okay! By the way, I used this [notebook ](https://g... | 1,691 | 1,691 | 1,691 | NONE | null | I'm trying to export `pix2struct-docvqa-base` to ONNX, but getting error -
```
/usr/local/lib/python3.10/dist-packages/transformers/convert_graph_to_onnx.py:379: FutureWarning: The `transformers.convert_graph_to_onnx` package is deprecated and will be removed in version 5 of Transformers
warnings.warn(
ONNX opse... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25410/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25409/comments | https://api.github.com/repos/huggingface/transformers/issues/25409/events | https://github.com/huggingface/transformers/pull/25409 | 1,843,115,263 | PR_kwDOCUB6oc5Xh5gJ | 25,409 | Update Bark generation configs and tests | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
#25381 revealed inconsistencies in Bark generation configurations, as highlighted in PR #25386.
As discussed internally with @gante, this PR aims at resolving those inconsistencies by notably:
- using a custom `validate` function in `BarkFineGenerationConfig`, because only its temperature... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25409",
"html_url": "https://github.com/huggingface/transformers/pull/25409",
"diff_url": "https://github.com/huggingface/transformers/pull/25409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25409.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25408/comments | https://api.github.com/repos/huggingface/transformers/issues/25408/events | https://github.com/huggingface/transformers/pull/25408 | 1,843,085,916 | PR_kwDOCUB6oc5XhzKf | 25,408 | Doc checks | {
"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._",
"Thanks for the many comments, @ydshieh ! Should have addressed all of them."
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
This PR keeps on cleaning some of the utils and documenting them better (with proper docstrings, type hints...)
The only real change is in the `check_repo` where this is cleaning some of the constants since we catch model with `Decoder`/`Encoder` in their names earlier on. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25408",
"html_url": "https://github.com/huggingface/transformers/pull/25408",
"diff_url": "https://github.com/huggingface/transformers/pull/25408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25407/comments | https://api.github.com/repos/huggingface/transformers/issues/25407/events | https://github.com/huggingface/transformers/pull/25407 | 1,843,061,150 | PR_kwDOCUB6oc5Xhtzc | 25,407 | Generate: lower severity of parameterization checks | {
"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,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Fixes #25388
Related to #25389
We are clearly not ready for strict generate parameter checks, as there are several config files on the hub that fail these basic checks (like on Llama 2).
This PR lowers the severity of the exceptions added in #25381 to warnings and, if the issues are ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25407",
"html_url": "https://github.com/huggingface/transformers/pull/25407",
"diff_url": "https://github.com/huggingface/transformers/pull/25407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25407.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25406/comments | https://api.github.com/repos/huggingface/transformers/issues/25406/events | https://github.com/huggingface/transformers/issues/25406 | 1,842,955,091 | I_kwDOCUB6oc5t2UNT | 25,406 | download "wiki_dpr" dataset but not embeddings | {
"login": "MaskXman",
"id": 59054903,
"node_id": "MDQ6VXNlcjU5MDU0OTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/59054903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaskXman",
"html_url": "https://github.com/MaskXman",
"followers_url": "https://api.github.com/users/Mas... | [] | closed | false | null | [] | [
"Please use the forums for such questions, as we keep issues for bugs in the library 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\nPlease note that issues that ... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
变压器-4.31.0
OS:macOS Ventura13.4
### 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/25406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25406/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25405/comments | https://api.github.com/repos/huggingface/transformers/issues/25405/events | https://github.com/huggingface/transformers/pull/25405 | 1,842,850,319 | PR_kwDOCUB6oc5Xg__9 | 25,405 | Generate: generation config validation fixes in docs | {
"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,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Fixes a few failing doctests as a result of #25381 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25405",
"html_url": "https://github.com/huggingface/transformers/pull/25405",
"diff_url": "https://github.com/huggingface/transformers/pull/25405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25405.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25404/comments | https://api.github.com/repos/huggingface/transformers/issues/25404/events | https://github.com/huggingface/transformers/pull/25404 | 1,842,804,007 | PR_kwDOCUB6oc5Xg2EL | 25,404 | YOLOS - Revert default return_pixel_mask value | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Fixes a change in default value for `return_pixel_mask` which was changed with #25121
## 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/huggingface/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25404/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25404",
"html_url": "https://github.com/huggingface/transformers/pull/25404",
"diff_url": "https://github.com/huggingface/transformers/pull/25404.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25404.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25403/comments | https://api.github.com/repos/huggingface/transformers/issues/25403/events | https://github.com/huggingface/transformers/pull/25403 | 1,842,624,212 | PR_kwDOCUB6oc5XgPe1 | 25,403 | rm useless condition since the previous condition contains it. | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | Hi @sgugger .
I found that this condition has been contained by the previous condition, so I remove it. Besides, we should add more args in OptimizerNames if we want to enable bnb.Adam. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25403/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25403",
"html_url": "https://github.com/huggingface/transformers/pull/25403",
"diff_url": "https://github.com/huggingface/transformers/pull/25403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25403.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25402/comments | https://api.github.com/repos/huggingface/transformers/issues/25402/events | https://github.com/huggingface/transformers/pull/25402 | 1,842,593,183 | PR_kwDOCUB6oc5XgIzI | 25,402 | Fix path for dynamic module creation | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
If the user provides a custom cache folder, it might not be a fully expanded path, which then causes recursion errors when trying to create the dynamic module for code on the Hub. This PR fixes that.
Fixes #25396 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25402/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/25402/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25402",
"html_url": "https://github.com/huggingface/transformers/pull/25402",
"diff_url": "https://github.com/huggingface/transformers/pull/25402.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25402.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25401/comments | https://api.github.com/repos/huggingface/transformers/issues/25401/events | https://github.com/huggingface/transformers/pull/25401 | 1,842,573,636 | PR_kwDOCUB6oc5XgEmw | 25,401 | Improve training args | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for iterating!\r\n> \r\n> Can you just run `make style` on your branch to fix the quality issue?\r\n\r\n@sgugger ready to merge:)"
] | 1,691 | 1,694 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
This PR has two main modifications:
~~1. the `per_gpu_train/eval_batch_size` training args have been removed as they were deprecated in #4618 three years ago. In my opinion, it is appropriate to remove them.~~
2. the information regarding certain training args has been updated for better prom... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25401",
"html_url": "https://github.com/huggingface/transformers/pull/25401",
"diff_url": "https://github.com/huggingface/transformers/pull/25401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25400/comments | https://api.github.com/repos/huggingface/transformers/issues/25400/events | https://github.com/huggingface/transformers/issues/25400 | 1,842,559,459 | I_kwDOCUB6oc5t0znj | 25,400 | Different generations during test time and validation time | {
"login": "karths8",
"id": 47289950,
"node_id": "MDQ6VXNlcjQ3Mjg5OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karths8",
"html_url": "https://github.com/karths8",
"followers_url": "https://api.github.com/users/karths... | [] | closed | false | null | [] | [
"You should use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for clear bugs in the library 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... | 1,691 | 1,699 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.22.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25400/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25399/comments | https://api.github.com/repos/huggingface/transformers/issues/25399/events | https://github.com/huggingface/transformers/pull/25399 | 1,842,550,019 | PR_kwDOCUB6oc5Xf_gj | 25,399 | 16059 - Add extra type hints for AltCLIPModel | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the clean PR!"
] | 1,691 | 1,692 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/16059
## Who can review?
@Rocketknight1
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25399/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25399",
"html_url": "https://github.com/huggingface/transformers/pull/25399",
"diff_url": "https://github.com/huggingface/transformers/pull/25399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25399.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25398/comments | https://api.github.com/repos/huggingface/transformers/issues/25398/events | https://github.com/huggingface/transformers/pull/25398 | 1,842,487,800 | PR_kwDOCUB6oc5Xfx0A | 25,398 | robin inference | {
"login": "Alexis-BX",
"id": 45032998,
"node_id": "MDQ6VXNlcjQ1MDMyOTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/45032998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alexis-BX",
"html_url": "https://github.com/Alexis-BX",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks for your PR! For new models, we encourage you to upload your model as [code on the Hub](https://huggingface.co/docs/transformers/custom_models) first so we can evaluate the community interest.",
"Yes of course. This was meant to be an internal PR, sorry for the misclick. "
] | 1,691 | 1,691 | 1,691 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25398",
"html_url": "https://github.com/huggingface/transformers/pull/25398",
"diff_url": "https://github.com/huggingface/transformers/pull/25398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25397/comments | https://api.github.com/repos/huggingface/transformers/issues/25397/events | https://github.com/huggingface/transformers/issues/25397 | 1,842,477,680 | I_kwDOCUB6oc5t0fpw | 25,397 | accelerator.save_state() will report error while i use accelerate and fsdp | {
"login": "lplzyp",
"id": 21330990,
"node_id": "MDQ6VXNlcjIxMzMwOTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/21330990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lplzyp",
"html_url": "https://github.com/lplzyp",
"followers_url": "https://api.github.com/users/lplzyp/fo... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"same env, accelerate + deepspeed is fine to save model or checkpoint, and i try old version like 0.20.3, it performs well.",
"version:\r\npytorch 2.0.1\r\naccelerate 0.22.0.dev0 \r\ntransformers 4.31.0\r\n\r\nI also met the same problem. It saves rightly when on one GPU, but fails on many GPU... | 1,691 | 1,699 | 1,699 | NONE | null | ### System Info
version:
pytorch 2.0.1
accelerate 0.21.0
other:
i have already print the `object_state.non_tensors`, and it shows a number 1, and object_state looks like that:
StateInfo(tensors={'exp_avg': _PosDimTensorInfo(shape=torch.Size([65491968]), dtype=torch.float32), 'exp_avg_sq': _PosDimTensorInfo(sh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25397/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25396/comments | https://api.github.com/repos/huggingface/transformers/issues/25396/events | https://github.com/huggingface/transformers/issues/25396 | 1,842,257,068 | I_kwDOCUB6oc5tzpys | 25,396 | RecursionError or "File name too long" error when HF_HOME is set to a relative path | {
"login": "tamastarjanyi",
"id": 4212393,
"node_id": "MDQ6VXNlcjQyMTIzOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4212393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamastarjanyi",
"html_url": "https://github.com/tamastarjanyi",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Thanks for reporting! The PR linked above should fix this!"
] | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-6.2.0-26-generic-x86_64-with-glibc2.35
- Python version: 3.9.5
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25395/comments | https://api.github.com/repos/huggingface/transformers/issues/25395/events | https://github.com/huggingface/transformers/issues/25395 | 1,842,148,682 | I_kwDOCUB6oc5tzPVK | 25,395 | Why is generation_config.json has a higher priority ?. | {
"login": "vchagari",
"id": 10948110,
"node_id": "MDQ6VXNlcjEwOTQ4MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/10948110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vchagari",
"html_url": "https://github.com/vchagari",
"followers_url": "https://api.github.com/users/vch... | [] | closed | false | null | [] | [
"Hey @vchagari 👋 Following our [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md), we reserve GitHub issues for bugs in the repository and/or feature requests. For any other matters, we'd like to invite you to use our [forum](https://discuss.huggingface.co/) 🤗 \r\n\r\nSince this... | 1,691 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.10.0-23-cloud-amd64-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 1.12.1+cu113 (True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25394/comments | https://api.github.com/repos/huggingface/transformers/issues/25394/events | https://github.com/huggingface/transformers/pull/25394 | 1,842,138,369 | PR_kwDOCUB6oc5XenKR | 25,394 | Inconsistency in PreTrainedModel.resize_token_embeddings When ZeRO3 Is Enabled | {
"login": "sinamoeini",
"id": 4393595,
"node_id": "MDQ6VXNlcjQzOTM1OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4393595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinamoeini",
"html_url": "https://github.com/sinamoeini",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25394). All of your documentation changes will be reflected on that endpoint.",
"@pacman100 would you mind reviewing this PR? ",
"Thank you @sgugger would you mind merging this? ",
"There is a comment to be addressed pl... | 1,691 | 1,692 | 1,692 | 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/25394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25394/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25394",
"html_url": "https://github.com/huggingface/transformers/pull/25394",
"diff_url": "https://github.com/huggingface/transformers/pull/25394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25394.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25393/comments | https://api.github.com/repos/huggingface/transformers/issues/25393/events | https://github.com/huggingface/transformers/pull/25393 | 1,842,110,665 | PR_kwDOCUB6oc5XehDr | 25,393 | Add image to image pipeline | {
"login": "LeviVasconcelos",
"id": 8495413,
"node_id": "MDQ6VXNlcjg0OTU0MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8495413?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeviVasconcelos",
"html_url": "https://github.com/LeviVasconcelos",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"@NielsRogge, @Narsil \r\n\r\nWhich other models could we add / support for this pipeline?\r\n\r\nalso, regarding the postprocess function, I believe the best way would be to invoke the post_process method of the image processor when available. WDYT?",
"The pipeline code looks good.",
"Comments addressed. Tha... | 1,691 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Adds ImageToImagePipeline.
Fixes #[25349](https://github.com/huggingface/transformers/issues/25349)
## Before submitting
- [ x ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull R... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25393/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25393",
"html_url": "https://github.com/huggingface/transformers/pull/25393",
"diff_url": "https://github.com/huggingface/transformers/pull/25393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25393.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25392/comments | https://api.github.com/repos/huggingface/transformers/issues/25392/events | https://github.com/huggingface/transformers/pull/25392 | 1,842,052,769 | PR_kwDOCUB6oc5XeUPe | 25,392 | [DINOv2] Update pooler output | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Younes was actually not involved in adding this model, it was me :D \r\n\r\nFeel free to merge whenever.",
"Oh sorry, mixing things up!"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25377.
The pooler was copied from ViT and set a bit arbitrary. This PR fixes it by instead taking the final hidden state of the CLS token after the final layernorm as "pooler output", based on the [original implementation](https://github.com/facebookresearch/dinov2/blob/c3c2683a13cd... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25392/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25392",
"html_url": "https://github.com/huggingface/transformers/pull/25392",
"diff_url": "https://github.com/huggingface/transformers/pull/25392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25392.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25391/comments | https://api.github.com/repos/huggingface/transformers/issues/25391/events | https://github.com/huggingface/transformers/issues/25391 | 1,842,024,880 | I_kwDOCUB6oc5tyxGw | 25,391 | Support pushing of NF4 to hub | {
"login": "RonanKMcGovern",
"id": 78278410,
"node_id": "MDQ6VXNlcjc4Mjc4NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonanKMcGovern",
"html_url": "https://github.com/RonanKMcGovern",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @younesbelkada ans @SunMarc ",
"Hi @RonanKMcGovern, in order to allow NF4 models to be pushed to the hub, we need to be able to serialize them just like for 8-bit model. Feel free to open an issue on bitsandbytes library to request this feature. In our side, we can't do much. ",
"Thanks - submitted an [issu... | 1,691 | 1,691 | 1,691 | NONE | null | What would it take to allow NF4 models from bitsandbytes to be pushed to the hub? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25390/comments | https://api.github.com/repos/huggingface/transformers/issues/25390/events | https://github.com/huggingface/transformers/pull/25390 | 1,841,755,149 | PR_kwDOCUB6oc5XdQiy | 25,390 | Fix issue with ratio evaluation steps and auto find batch size | {
"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._",
"@sgugger correct, those are the only places. (There are references in the tensorflow class, however I'm unsure if they need the migration or not). \r\n\r\nWhat other aspects of the trainer should we look for when determining if it sh... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Modifies step ratios in the case of when `auto_find_batch_size` is used, otherwise it will still maintain the old ratio step (so if we went from 10% starting at 100 steps, at 1000 steps it would still try and evaluate at step 10 instead of step 100)
Fixes # (issue)
Solves #24248
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25390/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25390",
"html_url": "https://github.com/huggingface/transformers/pull/25390",
"diff_url": "https://github.com/huggingface/transformers/pull/25390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25390.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25389/comments | https://api.github.com/repos/huggingface/transformers/issues/25389/events | https://github.com/huggingface/transformers/pull/25389 | 1,841,695,350 | PR_kwDOCUB6oc5XdDlu | 25,389 | Handle ValueError in model_utils (generation config) | {
"login": "dbuos",
"id": 68216,
"node_id": "MDQ6VXNlcjY4MjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/68216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dbuos",
"html_url": "https://github.com/dbuos",
"followers_url": "https://api.github.com/users/dbuos/followers",
"f... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25389). All of your documentation changes will be reflected on that endpoint.",
"yes, sounds good to do it at the warning level - important to fix soon as this is breaking all transformers usage of llama 2 (and perhaps othe... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Add error handling clause.
<!-- Remove if not applicable -->
Fixes #25388
## Who can review?
@gante
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25389",
"html_url": "https://github.com/huggingface/transformers/pull/25389",
"diff_url": "https://github.com/huggingface/transformers/pull/25389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25389.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25388/comments | https://api.github.com/repos/huggingface/transformers/issues/25388/events | https://github.com/huggingface/transformers/issues/25388 | 1,841,683,319 | I_kwDOCUB6oc5txdt3 | 25,388 | Llama2 models not loading (Using main branch) | {
"login": "dbuos",
"id": 68216,
"node_id": "MDQ6VXNlcjY4MjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/68216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dbuos",
"html_url": "https://github.com/dbuos",
"followers_url": "https://api.github.com/users/dbuos/followers",
"f... | [] | closed | false | null | [] | [
"I have same issue with another Model. I think this is urgent to fix.",
"Same here. Meanwhile downgrading to transfomers 4.31 version solves the problem",
"I found this issue in the dev branch of transformers-4.32.0.dev0. By the way, I made a PR that could solve that. https://github.com/huggingface/transformers... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
Error when loading the model "meta-llama/Llama-2-7b-chat-hf" using the following code:
```python
from transformers import AutoModelForCausalLM
chk = 'meta-llama/Llama-2-7b-chat-hf'
if __name__ == '__main__':
model = AutoModelForCausalLM.from_pretrained(chk, load_in_4bit=True, device_map='... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25388/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/25388/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25387/comments | https://api.github.com/repos/huggingface/transformers/issues/25387/events | https://github.com/huggingface/transformers/pull/25387 | 1,841,615,090 | PR_kwDOCUB6oc5Xcx-0 | 25,387 | change version | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,692 | 1,691 | MEMBER | null | # What does this PR do ?
This PR bumps the required version of bnb for training because a major bug was [fixed](https://twitter.com/Tim_Dettmers/status/1687458541643390976?s=20) in 8-bit optimizers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25387/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25387",
"html_url": "https://github.com/huggingface/transformers/pull/25387",
"diff_url": "https://github.com/huggingface/transformers/pull/25387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25387.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25386/comments | https://api.github.com/repos/huggingface/transformers/issues/25386/events | https://github.com/huggingface/transformers/pull/25386 | 1,841,603,712 | PR_kwDOCUB6oc5XcvcK | 25,386 | Validation error in Bark fine_generation_config | {
"login": "manzonif",
"id": 8948699,
"node_id": "MDQ6VXNlcjg5NDg2OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8948699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manzonif",
"html_url": "https://github.com/manzonif",
"followers_url": "https://api.github.com/users/manzo... | [] | closed | false | null | [] | [
"cc @gante",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25386). All of your documentation changes will be reflected on that endpoint.",
"Hey @manzonif 👋 \r\n\r\nBARK has different parameterization needs in its fine submodel, @ylacombe is taking care of the approp... | 1,691 | 1,691 | 1,691 | NONE | null | Fix validation error:
ValueError: `do_sample` is set to `False`. However, temperature is set to 0.5 -- this flag is only used in sample-based generation modes. Set `do_sample=True` or unset temperature to continue.
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25386",
"html_url": "https://github.com/huggingface/transformers/pull/25386",
"diff_url": "https://github.com/huggingface/transformers/pull/25386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25385/comments | https://api.github.com/repos/huggingface/transformers/issues/25385/events | https://github.com/huggingface/transformers/issues/25385 | 1,841,535,636 | I_kwDOCUB6oc5tw5qU | 25,385 | Training speed slows down to a half when double batchsize | {
"login": "YTianZHU",
"id": 87608179,
"node_id": "MDQ6VXNlcjg3NjA4MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/87608179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YTianZHU",
"html_url": "https://github.com/YTianZHU",
"followers_url": "https://api.github.com/users/YTi... | [] | closed | false | null | [] | [
"I don't know where you read that but this is only true for very small batch sizes. It's logical that the model takes twice as long to compute the outputs when you have twice the amount of data.",
"Sorry for the unclearness, I actually use small batch sizes, like --per_device_train_batch_size=2, 4, 8, 16. Or, is ... | 1,691 | 1,692 | 1,692 | NONE | null | ### System Info
same version in the requirements.txt
### 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/25385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25384/comments | https://api.github.com/repos/huggingface/transformers/issues/25384/events | https://github.com/huggingface/transformers/pull/25384 | 1,841,519,738 | PR_kwDOCUB6oc5XcdRh | 25,384 | Generate: length validation | {
"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,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
This PR moves the length validation code to a dedicated function, to make `generate` more readable, and adds code to handle two cases discussed recently in other issues:
1. `min_new_tokens` was not being checked against the maximum possible generation length;
2. users were unaware that a de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25384/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25384",
"html_url": "https://github.com/huggingface/transformers/pull/25384",
"diff_url": "https://github.com/huggingface/transformers/pull/25384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25384.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25383/comments | https://api.github.com/repos/huggingface/transformers/issues/25383/events | https://github.com/huggingface/transformers/pull/25383 | 1,841,492,792 | PR_kwDOCUB6oc5XcXah | 25,383 | Use small config for `OneFormerModelTest.test_model_with_labels` | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25383). All of your documentation changes will be reflected on that endpoint."
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
And now we can safely use `pytest_num_workers=8` for `torch_job`.
The [job run page](https://app.circleci.com/pipelines/github/huggingface/transformers/70121/workflows/759a5a5b-53d0-4641-ace8-136d972079ef/jobs/879218/resources): it shows a peak of 78%. Without this PR (and run with `n8`, w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25383/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25383",
"html_url": "https://github.com/huggingface/transformers/pull/25383",
"diff_url": "https://github.com/huggingface/transformers/pull/25383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25383.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25382/comments | https://api.github.com/repos/huggingface/transformers/issues/25382/events | https://github.com/huggingface/transformers/pull/25382 | 1,841,285,202 | PR_kwDOCUB6oc5XbqR7 | 25,382 | Fix missing usage of `token` | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
As pointed in [here](https://github.com/huggingface/transformers/pull/25248#issuecomment-1662999713) and [there](https://github.com/huggingface/transformers/pull/25248#issuecomment-1664783396), there are a few missing `token`.
Thanks @Jackmin801 pointing out this to us. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25382/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/25382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25382",
"html_url": "https://github.com/huggingface/transformers/pull/25382",
"diff_url": "https://github.com/huggingface/transformers/pull/25382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25381/comments | https://api.github.com/repos/huggingface/transformers/issues/25381/events | https://github.com/huggingface/transformers/pull/25381 | 1,841,178,666 | PR_kwDOCUB6oc5XbTGh | 25,381 | Generate: add config-level validation | {
"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._",
"@gante \r\n\r\nThe warnings\r\n```\r\n/home/felix/transformers/src/transformers/generation/configuration_utils.py:412: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.6` -- this flag is only used in sample-b... | 1,691 | 1,708 | 1,691 | MEMBER | null | # What does this PR do?
This PR adds generation argument validation that can be performed at a `generation_config` level.
It aims at reducing the number of issues due to incorrect parameterization, where the user expects some argument to modify the output but it doesn't.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25381/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25381",
"html_url": "https://github.com/huggingface/transformers/pull/25381",
"diff_url": "https://github.com/huggingface/transformers/pull/25381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25381.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25380/comments | https://api.github.com/repos/huggingface/transformers/issues/25380/events | https://github.com/huggingface/transformers/issues/25380 | 1,841,116,770 | I_kwDOCUB6oc5tvTZi | 25,380 | Issue: sacremoses library missing | {
"login": "Konjarla-Vindya",
"id": 137049777,
"node_id": "U_kgDOCCs2sQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137049777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Konjarla-Vindya",
"html_url": "https://github.com/Konjarla-Vindya",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey! could you share the `transformers` version you are using? \r\nThe error should be the following: \r\n```python \r\n try:\r\n import sacremoses\r\n except ImportError:\r\n raise ImportError(\r\n \"You need to install sacremoses to use XLMTokenizer. \"\r\n ... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
Hi @ArthurZucker, we are using AutoTokenizer for importing HuggingFace models into AzureML. This gave an error when importing 'xlm-mlm-en-2048' model. The error says ModuleNotFoundError: No module named 'sacremoses'
Error snip
: 2.0.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25379/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25378/comments | https://api.github.com/repos/huggingface/transformers/issues/25378/events | https://github.com/huggingface/transformers/pull/25378 | 1,841,093,384 | PR_kwDOCUB6oc5XbAoY | 25,378 | [DOCS] Added docstring example for EpsilonLogitsWarper #24783 | {
"login": "sanjeevk-os",
"id": 73068589,
"node_id": "MDQ6VXNlcjczMDY4NTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/73068589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanjeevk-os",
"html_url": "https://github.com/sanjeevk-os",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @gante, addressed your comments. ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25378). All of your documentation changes will be reflected on that endpoint.",
"> The example has 40 lines at the moment, which is too long. Our docs should be concise, otherwise u... | 1,691 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
See #24783
Added docstring example for EpsilonLogitsWarper
## 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/CO... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25378/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25378/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25378",
"html_url": "https://github.com/huggingface/transformers/pull/25378",
"diff_url": "https://github.com/huggingface/transformers/pull/25378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25377/comments | https://api.github.com/repos/huggingface/transformers/issues/25377/events | https://github.com/huggingface/transformers/issues/25377 | 1,841,092,387 | I_kwDOCUB6oc5tvNcj | 25,377 | pooler of dino-v2 is newly initialized when loading the pre-trained model | {
"login": "garychan22",
"id": 108175311,
"node_id": "U_kgDOBnKfzw",
"avatar_url": "https://avatars.githubusercontent.com/u/108175311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garychan22",
"html_url": "https://github.com/garychan22",
"followers_url": "https://api.github.com/users/gar... | [] | closed | false | null | [] | [
"cc @younesbelkada "
] | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
I have encountered the following warning when loading `facebook/dinov2-giant`:
`Some weights of Dinov2Model were not initialized from the model checkpoint at models--facebook--dinov2-giant and are newly initialized:['pooler.dense.bias', 'pooler.dense.weight']`
does this mean that we cannot utiliz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25377/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25376/comments | https://api.github.com/repos/huggingface/transformers/issues/25376/events | https://github.com/huggingface/transformers/issues/25376 | 1,841,034,733 | I_kwDOCUB6oc5tu_Xt | 25,376 | Support for diarization in Whisper | {
"login": "ldenoue",
"id": 149561,
"node_id": "MDQ6VXNlcjE0OTU2MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/149561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ldenoue",
"html_url": "https://github.com/ldenoue",
"followers_url": "https://api.github.com/users/ldenoue/fo... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi and @xenova FYI ",
"@ldenoue As mentioned [on twitter](https://twitter.com/xenovacom/status/1687763550482096128), I'll add diarization to transformers.js once ready here 😇 (so, the title should be updated to \"Support for diarization in Whisper\")",
"Hey @ldenoue - I dug a bit deeper into ... | 1,691 | 1,694 | 1,694 | NONE | null | ### Feature request
In addition to word level timestamps, it would be very useful to get speaker turns like ggml whisper [recently added](https://github.com/ggerganov/whisper.cpp/commit/70e6fcd78b677b5a126010a4ad8e111c274af3f7).
### Motivation
I often transcribe podcasts or meeting recordings, which often involve ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25376/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25375/comments | https://api.github.com/repos/huggingface/transformers/issues/25375/events | https://github.com/huggingface/transformers/pull/25375 | 1,841,003,892 | PR_kwDOCUB6oc5XatRJ | 25,375 | aligned sample_beam output selection with beam_search | {
"login": "hukuda222",
"id": 21185928,
"node_id": "MDQ6VXNlcjIxMTg1OTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/21185928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hukuda222",
"html_url": "https://github.com/hukuda222",
"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",
"~~It appears that some test needs to be changed. Please review when that is done.~~ done",
"@sgugger context: beam sample with `num_return_sequences>1`, as it was coded, was equivalent to independently calling beam s... | 1,691 | 1,692 | 1,691 | 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/25375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25375/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25375",
"html_url": "https://github.com/huggingface/transformers/pull/25375",
"diff_url": "https://github.com/huggingface/transformers/pull/25375.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25375.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25374/comments | https://api.github.com/repos/huggingface/transformers/issues/25374/events | https://github.com/huggingface/transformers/pull/25374 | 1,840,992,925 | PR_kwDOCUB6oc5Xaq4l | 25,374 | Fix `torch_job` worker(s) crashing | {
"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._",
"Not too bad: we still went from `3` (before) to `6` (this PR) - for `torch_job`!\r\n\r\n(And once we can make oneformer test small, we can go `8`.)"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
CircleCI nightly run's `torch_job` has crashed worker(s). This is due to the change of num. of processes from `3` to `8` in #25274 for that job. This PR changes it to `6` to avoid this crash.
It seems `Oneformer` is the (only) test that uses a lot of memory and causes the crash. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25374/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25374",
"html_url": "https://github.com/huggingface/transformers/pull/25374",
"diff_url": "https://github.com/huggingface/transformers/pull/25374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25374.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25373/comments | https://api.github.com/repos/huggingface/transformers/issues/25373/events | https://github.com/huggingface/transformers/issues/25373 | 1,840,983,977 | I_kwDOCUB6oc5tuy-p | 25,373 | core dumped with Wav2vec2CTC | {
"login": "ZL92",
"id": 40026571,
"node_id": "MDQ6VXNlcjQwMDI2NTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/40026571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZL92",
"html_url": "https://github.com/ZL92",
"followers_url": "https://api.github.com/users/ZL92/followers"... | [] | closed | false | null | [] | [
"Hi, \r\n\r\nwith just \r\n\r\n```python\r\nimport torchaudio\r\nimport os\r\nimport torch\r\nfrom datasets import Dataset, load_dataset, Audio, load_metric\r\nfrom transformers import Wav2Vec2ForCTC\r\n```\r\nI can't reproduce. There is no remaining code but just the imports causing the core dump?",
"Likewise - ... | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
transformers==4.31.0
protobuf==3.20.0
datasets==2.14.3
Python version: 3.9.15
### Who can help?
@sanchit-gandhi @Narsil
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25373/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25372/comments | https://api.github.com/repos/huggingface/transformers/issues/25372/events | https://github.com/huggingface/transformers/pull/25372 | 1,840,953,827 | PR_kwDOCUB6oc5Xaiit | 25,372 | Create tests for tiny Bark | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,691 | 1,694 | 1,694 | COLLABORATOR | null | Following @ydshieh's #25290 which laid the groundwork for tiny Bark tests, this PR adds BarkModel tests.
Because BarkModel is a non-regular model, with no forward method and a non-regular `generate`, I've created some hand-made tests, which I can enrich further if you like. @ydshieh , @amyeroberts WDYT of the tests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25372",
"html_url": "https://github.com/huggingface/transformers/pull/25372",
"diff_url": "https://github.com/huggingface/transformers/pull/25372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25372.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25371/comments | https://api.github.com/repos/huggingface/transformers/issues/25371/events | https://github.com/huggingface/transformers/pull/25371 | 1,840,947,546 | PR_kwDOCUB6oc5XahLY | 25,371 | Doc: NLP tasks between NLU and Text Generation | {
"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 | [] | [
"@sgugger so like this? Or no generative section at all?\r\n\r\n(I thought it would make sense to keep a 1:1 correspondence between tasks and the information present in the index, but no strong feelings about it :) )",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_2537... | 1,691 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
As discussed [here](https://github.com/huggingface/transformers/pull/25240#issuecomment-1668029668), this PR splits the NLP task section in two:
- Moves generative tasks to the new text generation task section
- Renames NLP into NLU, which now holds non-generative tasks, for clarity
Rela... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25371/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25371",
"html_url": "https://github.com/huggingface/transformers/pull/25371",
"diff_url": "https://github.com/huggingface/transformers/pull/25371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25371.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25370/comments | https://api.github.com/repos/huggingface/transformers/issues/25370/events | https://github.com/huggingface/transformers/issues/25370 | 1,840,797,478 | I_kwDOCUB6oc5tuFcm | 25,370 | GPU usage is not constant | {
"login": "Romainlg29",
"id": 31577471,
"node_id": "MDQ6VXNlcjMxNTc3NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/31577471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Romainlg29",
"html_url": "https://github.com/Romainlg29",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"There are multiple factors that could lead to this and since you are not sharing the code you are running, there is very little we can do to help. You should also ask this kind of questions on the [forums](https://discuss.huggingface.co/) where the wider community will be able to help.",
"There are multiple fact... | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.11.3
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?):... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25370/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25369/comments | https://api.github.com/repos/huggingface/transformers/issues/25369/events | https://github.com/huggingface/transformers/issues/25369 | 1,840,769,748 | I_kwDOCUB6oc5tt-rU | 25,369 | [Bug] `low_cpu_mem_usage=True` is not working for LLAMA2-70B | {
"login": "dc3671",
"id": 5948851,
"node_id": "MDQ6VXNlcjU5NDg4NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5948851?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dc3671",
"html_url": "https://github.com/dc3671",
"followers_url": "https://api.github.com/users/dc3671/foll... | [] | closed | false | null | [] | [
"You must be comparing two different codes as you are not asking to put the model on the GPU, so it's completely normal to see an increase on the CPU RAM. If using DeepSpeed, please also provide your DeepSpeed config as requested in the template.",
"@sgugger well, yes, I found that when loading bloom-176B, I use ... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.14.21-150400.24.55-default-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0a0+git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25369/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25368/comments | https://api.github.com/repos/huggingface/transformers/issues/25368/events | https://github.com/huggingface/transformers/issues/25368 | 1,840,742,464 | I_kwDOCUB6oc5tt4BA | 25,368 | Saving with trainer deepspeed zero3 missing config.json and tokenizer files. | {
"login": "zjjMaiMai",
"id": 13913992,
"node_id": "MDQ6VXNlcjEzOTEzOTky",
"avatar_url": "https://avatars.githubusercontent.com/u/13913992?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zjjMaiMai",
"html_url": "https://github.com/zjjMaiMai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello @zjjMaiMai, Thank you for the details. This shouldn't be the behaviour and I'll be working on fixing this."
] | 1,691 | 1,693 | 1,693 | CONTRIBUTOR | null | trainer will not save tokenizer and config.json when training in deepspeed-**zero3** with `stage3_gather_16bit_weights_on_model_save=False`.
line 2776 will `raise ValueError`, so line 2778 `self._save` never run to save tokenizer and other stuff. is this expected behavior?
https://github.com/huggingface/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25368/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25367/comments | https://api.github.com/repos/huggingface/transformers/issues/25367/events | https://github.com/huggingface/transformers/issues/25367 | 1,840,702,837 | I_kwDOCUB6oc5ttuV1 | 25,367 | WavLM paper points to UniSpeech | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Thanks for reporting @gau-nernst! That's a great spot"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
NA
### Who can help?
@sgugger
### 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
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25367/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25366/comments | https://api.github.com/repos/huggingface/transformers/issues/25366/events | https://github.com/huggingface/transformers/issues/25366 | 1,840,659,039 | I_kwDOCUB6oc5ttjpf | 25,366 | A bug in seq2seq beam search | {
"login": "slatter666",
"id": 48653207,
"node_id": "MDQ6VXNlcjQ4NjUzMjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/48653207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slatter666",
"html_url": "https://github.com/slatter666",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,691 | 1,691 | 1,691 | NONE | null | https://github.com/huggingface/transformers/blob/d4bd33cc9f11ca48635e54983d75249c78d72e2a/src/transformers/generation/utils.py#L721C1-L745C39 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25366/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25365/comments | https://api.github.com/repos/huggingface/transformers/issues/25365/events | https://github.com/huggingface/transformers/issues/25365 | 1,840,649,735 | I_kwDOCUB6oc5tthYH | 25,365 | IndexError: tensors, used as indices must be long, byte or bool tensors | {
"login": "slatter666",
"id": 48653207,
"node_id": "MDQ6VXNlcjQ4NjUzMjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/48653207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slatter666",
"html_url": "https://github.com/slatter666",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @gante ",
"OK,I check the source code of T5, I know the reason, the Encoder Output should return a BaseModelOutputWithPastAndCrossAttentions or a dict, so model_kwargs[\"encoder_outputs\"] should be like a dict, so line 738 makes sense, I'll close the issue. Thanks"
] | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: macOS-13.4.1-arm64-arm-64bit
- Python version: 3.8.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25365/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25364/comments | https://api.github.com/repos/huggingface/transformers/issues/25364/events | https://github.com/huggingface/transformers/pull/25364 | 1,840,649,033 | PR_kwDOCUB6oc5XZgTi | 25,364 | 16059 - Add missing type hints for ASTModel | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | 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/25364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25364",
"html_url": "https://github.com/huggingface/transformers/pull/25364",
"diff_url": "https://github.com/huggingface/transformers/pull/25364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25363/comments | https://api.github.com/repos/huggingface/transformers/issues/25363/events | https://github.com/huggingface/transformers/issues/25363 | 1,840,581,421 | I_kwDOCUB6oc5ttQst | 25,363 | If num_return_sequences>1, sample_beam may return the same result | {
"login": "hukuda222",
"id": 21185928,
"node_id": "MDQ6VXNlcjIxMTg1OTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/21185928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hukuda222",
"html_url": "https://github.com/hukuda222",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @hukuda222 👋 Thank you for opening this issue!\r\n\r\nThe situation you described makes sense, I'd be happy to accept a PR to fix it :)"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | ### Feature request
I would like to change the output returned by `sample_beam` when `num_return_sequences > 1`. The current implementation executes the same process `num_return_sequences` times.
https://github.com/huggingface/transformers/blob/080a97119c0dabfd0fb5c3e26a872ad2958e4f77/src/transformers/generation/u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25363/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25362/comments | https://api.github.com/repos/huggingface/transformers/issues/25362/events | https://github.com/huggingface/transformers/issues/25362 | 1,840,550,883 | I_kwDOCUB6oc5ttJPj | 25,362 | Discrepancy in Model Inference: Local vs. Hugging Face Model Hub | {
"login": "arikanev",
"id": 16505410,
"node_id": "MDQ6VXNlcjE2NTA1NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/16505410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arikanev",
"html_url": "https://github.com/arikanev",
"followers_url": "https://api.github.com/users/ari... | [] | closed | false | null | [] | [
"Hey! Seems like you have a lot of custom code, I would recommend you to open an issue on the [forum](https://discuss.huggingface.co/). This is not a bug per se in `transformers`, not really much we can do for you! ",
"Totally agree with @ArthurZucker \r\n\r\nBut have a quick look\r\n\r\n```python\r\nmodel_params... | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25362/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25361/comments | https://api.github.com/repos/huggingface/transformers/issues/25361/events | https://github.com/huggingface/transformers/pull/25361 | 1,840,413,711 | PR_kwDOCUB6oc5XYuQX | 25,361 | [DOCS] Add example for `TopPLogitsWarper` | {
"login": "chiral-carbon",
"id": 25850628,
"node_id": "MDQ6VXNlcjI1ODUwNjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/25850628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chiral-carbon",
"html_url": "https://github.com/chiral-carbon",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Thanks for the review, @gante!\r\n\r\nQuick question:\r\n\r\n> * we don't need to set any pad token, as we are not adding padding\r\n\r\nthat is correct, but without the two lines for padding, I get this response when I run `model.generate()` in my own python terminal:\r\n```\r\nThe attention mask and the pad toke... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Adds an example to the docstring of `TopPLogitsWarper` class definition in [this file](https://github.com/huggingface/transformers/blob/main/src/transformers/generation/logits_process.py).
Fixes one of the cases in #24783
## Before submitting
- [x] This PR fixes a typo or improves the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25361",
"html_url": "https://github.com/huggingface/transformers/pull/25361",
"diff_url": "https://github.com/huggingface/transformers/pull/25361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25360/comments | https://api.github.com/repos/huggingface/transformers/issues/25360/events | https://github.com/huggingface/transformers/pull/25360 | 1,840,409,445 | PR_kwDOCUB6oc5XYtWD | 25,360 | Register ModelOutput class with PyTorch's pytree | {
"login": "wconstab",
"id": 4984825,
"node_id": "MDQ6VXNlcjQ5ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4984825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wconstab",
"html_url": "https://github.com/wconstab",
"followers_url": "https://api.github.com/users/wcons... | [] | closed | false | null | [] | [
"Was superseded by #25358 as discussed there."
] | 1,691 | 1,691 | 1,691 | NONE | null | Summary:
PyTree lets users flatten arbitrarily complex py data structures (e.g. ModelOutput) and operate over a flat list of their constituent parts.
Users could opt to register HF's ModelOutput with pytree manually and then use it, but many users would not know to do this or would be inconvenienced by it.
A com... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25360/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25360",
"html_url": "https://github.com/huggingface/transformers/pull/25360",
"diff_url": "https://github.com/huggingface/transformers/pull/25360.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25360.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25359/comments | https://api.github.com/repos/huggingface/transformers/issues/25359/events | https://github.com/huggingface/transformers/pull/25359 | 1,840,187,428 | PR_kwDOCUB6oc5XX87U | 25,359 | Fix `test_model_parallelism` | {
"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._",
"Sure, I also felt the same while removing them. Will revert back and just skip the tests for them.",
"ready for 2nd review "
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Fix `test_model_parallelism` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25359",
"html_url": "https://github.com/huggingface/transformers/pull/25359",
"diff_url": "https://github.com/huggingface/transformers/pull/25359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25359.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25358/comments | https://api.github.com/repos/huggingface/transformers/issues/25358/events | https://github.com/huggingface/transformers/pull/25358 | 1,840,137,578 | PR_kwDOCUB6oc5XXx_E | 25,358 | Register ModelOutput subclasses as supported torch.utils._pytree nodes | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"looks like we both got excited to submit a PR to huggingface :) Maybe you can copy the test from mine and land yours (I didn't consider automatically registering subclasses and that sounds like a good idea).\r\nhttps://github.com/hug... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25357 where `DistributedDataParallel` with `static_graph=True` does not sync gradients when calling `backward()` over tensors contained in `ModelOutput` subclasses.
## Before submitting
- [ ] 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/25358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25358/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25358",
"html_url": "https://github.com/huggingface/transformers/pull/25358",
"diff_url": "https://github.com/huggingface/transformers/pull/25358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25358.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25357/comments | https://api.github.com/repos/huggingface/transformers/issues/25357/events | https://github.com/huggingface/transformers/issues/25357 | 1,840,127,289 | I_kwDOCUB6oc5trh05 | 25,357 | DDP grads not synced when static_graph=True | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Would you like to make a PR with your fix? Ah never mind, you already did 😅 "
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
Related: https://github.com/pytorch/pytorch/issues/106690
This behavior seems to be a quirk of `DistributedDataParallel.forward` and how it chooses to handle serializing and deserializing model output types. Even though `ModelOutput` is a subclass of a supported type (`collecitons.OrderedDict`), `Mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25357/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25356/comments | https://api.github.com/repos/huggingface/transformers/issues/25356/events | https://github.com/huggingface/transformers/issues/25356 | 1,839,954,232 | I_kwDOCUB6oc5tq3k4 | 25,356 | Trainer class: using the Accelerate launcher with Deepspeed | {
"login": "nebrelbug",
"id": 25597854,
"node_id": "MDQ6VXNlcjI1NTk3ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/25597854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nebrelbug",
"html_url": "https://github.com/nebrelbug",
"followers_url": "https://api.github.com/users/... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello @nebrelbug, please update the accelerateconfig to correclty use 8 GPUs as shown below:\r\n```diff\r\ncompute_environment: LOCAL_MACHINE\r\ndeepspeed_config:\r\n deepspeed_config_file: '/home/bgubler7/.cache/huggingface/accelerate/ds_config.json'\r\n zero3_init_flag: true\r\ndistributed_ty... | 1,691 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev0
- Accelerate config: - compute_environment: LOCAL_MACHINE
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25356/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25355/comments | https://api.github.com/repos/huggingface/transformers/issues/25355/events | https://github.com/huggingface/transformers/issues/25355 | 1,839,889,624 | I_kwDOCUB6oc5tqnzY | 25,355 | Add Flax diverse group search | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Hey @sanchit-gandhi, can I continue the PR? I don't have experience writing with Flax though so let me know if you expect a very quick turnaround time for this PR!\r\nBut if that's not a roadblock then I'd be interested to contribute.",
"Hey @chiral-carbon! There's no time pressure for this, so feel free to pick... | 1,691 | 1,692 | null | CONTRIBUTOR | null | ### Feature request
Add diverse beam search decoding to Flax, an "alternative to BS that decodes a list of diverse outputs by optimising for a diversity-augmented objective", as described in the paper: https://arxiv.org/pdf/1610.02424.pdf
This feature would mimic the PyTorch equivalent, added in #9006.
@yeandy ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25355/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25354/comments | https://api.github.com/repos/huggingface/transformers/issues/25354/events | https://github.com/huggingface/transformers/pull/25354 | 1,839,876,386 | PR_kwDOCUB6oc5XW410 | 25,354 | Fix `test_model_parallelism` | {
"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._",
"OK, so will update the `_no_split_module_class`. Thanks"
] | 1,691 | 1,692 | 1,691 | COLLABORATOR | null | # What does this PR do?
It's not complete yet, but I lost my faith for the many places needed in `vilt` and `esm`. Need your opinion 🙏
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25354/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25354",
"html_url": "https://github.com/huggingface/transformers/pull/25354",
"diff_url": "https://github.com/huggingface/transformers/pull/25354.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25354.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25353/comments | https://api.github.com/repos/huggingface/transformers/issues/25353/events | https://github.com/huggingface/transformers/issues/25353 | 1,839,820,042 | I_kwDOCUB6oc5tqW0K | 25,353 | ValueError: If `eos_token_id` is defined, make sure that `pad_token_id` is defined. | {
"login": "TomasAndersonFang",
"id": 38727343,
"node_id": "MDQ6VXNlcjM4NzI3MzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/38727343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomasAndersonFang",
"html_url": "https://github.com/TomasAndersonFang",
"followers_url": "https... | [] | closed | false | null | [] | [
"Pinging @gante here! ",
"I found this problem also occurs in Bloom and GPT-J. Additionally, I printed `tokenizer.pad_token_id` and `model.config.pad_token_id` and found that I successfully setted the `pad_token`.",
"@TomasAndersonFang the immediate fix would be to set the pad token in the generation config. Be... | 1,691 | 1,706 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-4.18.0-425.19.2.el8_7.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.8
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25353/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25352/comments | https://api.github.com/repos/huggingface/transformers/issues/25352/events | https://github.com/huggingface/transformers/pull/25352 | 1,839,646,735 | PR_kwDOCUB6oc5XWHU- | 25,352 | [do not merge] Testing safetensors 0.3.2.rc1 | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25352). All of your documentation changes will be reflected on that endpoint.",
"Working. @amyeroberts FYI"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25352/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25352",
"html_url": "https://github.com/huggingface/transformers/pull/25352",
"diff_url": "https://github.com/huggingface/transformers/pull/25352.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25352.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25351/comments | https://api.github.com/repos/huggingface/transformers/issues/25351/events | https://github.com/huggingface/transformers/pull/25351 | 1,839,506,686 | PR_kwDOCUB6oc5XVpXy | 25,351 | Fix `token` in example template | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
A mistake introduced in my PR #25083. The actual example scripts are updated in a later PR #25172, where @sgugger pointed out the correct way. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25351/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25351",
"html_url": "https://github.com/huggingface/transformers/pull/25351",
"diff_url": "https://github.com/huggingface/transformers/pull/25351.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25351.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25350/comments | https://api.github.com/repos/huggingface/transformers/issues/25350/events | https://github.com/huggingface/transformers/issues/25350 | 1,839,431,319 | I_kwDOCUB6oc5to36X | 25,350 | Can't train and load TFGPT2LMHeadModel from disc | {
"login": "danielricks",
"id": 2449536,
"node_id": "MDQ6VXNlcjI0NDk1MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2449536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielricks",
"html_url": "https://github.com/danielricks",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis involves a lot of custom code, and the [forums](https://discuss.huggingface.co/) is the place for questions like this. We keep issues for clear bugs in the library and feature requests only.",
"But if you find a simple `save_pretrained` then `from_pretrained` doesn't work (without all those custo... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
Ubuntu 20.04
Python 3.8.10
tokenizers 0.13.3
transformers 4.31.0
### Who can help?
@ArthurZucker @Rocketknight
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25350/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25349/comments | https://api.github.com/repos/huggingface/transformers/issues/25349/events | https://github.com/huggingface/transformers/issues/25349 | 1,839,404,941 | I_kwDOCUB6oc5toxeN | 25,349 | Add image-to-image pipeline | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @NielsRogge, i would like to help with that, if that's ok.",
"Great, feel free to start opening a PR",
"on it!",
"Hi @NielsRogge I would want to work on this.",
"Hi, @NielsRogge I want to contribute to this.",
"I'd love to contribute!",
"/attempt",
"Is this issue resolved?",
"Yes, will close."
] | 1,691 | 1,695 | 1,695 | CONTRIBUTOR | null | ### Feature request
Would be great to add an `image-to-image` pipeline, to handle tasks like image super resolution.
We do support Swin2SR in the library for this purpose: https://huggingface.co/docs/transformers/main/model_doc/swin2sr#transformers.Swin2SRForImageSuperResolution
This can be implemented similar t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25349/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/25349/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25348/comments | https://api.github.com/repos/huggingface/transformers/issues/25348/events | https://github.com/huggingface/transformers/pull/25348 | 1,839,257,536 | PR_kwDOCUB6oc5XUyob | 25,348 | Add Mask R-CNN | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25348). All of your documentation changes will be reflected on that endpoint.",
"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... | 1,691 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
This PR is a further development of the Mask R-CNN framework. Supersedes #22973.
Updates:
- improved variable names, docstrings (especially also for the configuration class)
- removed specific `__repr__` and `__nice__` methods
- favor ONNX-compatible code wherever possible, instead of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25348/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25348",
"html_url": "https://github.com/huggingface/transformers/pull/25348",
"diff_url": "https://github.com/huggingface/transformers/pull/25348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25348.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25347/comments | https://api.github.com/repos/huggingface/transformers/issues/25347/events | https://github.com/huggingface/transformers/issues/25347 | 1,839,243,780 | I_kwDOCUB6oc5toKIE | 25,347 | Switch Transformers MLP Module Type Miss match | {
"login": "drunkcoding",
"id": 14305648,
"node_id": "MDQ6VXNlcjE0MzA1NjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/14305648?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drunkcoding",
"html_url": "https://github.com/drunkcoding",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @drunkcoding, thanks for raising this issue! \r\n\r\nIndeed, it seems the `SwitchTransformersDenseGatedActDense` isn't used anywhere - thanks for pointing this out. Would you like to open a PR to resolve this so the correct layer is selected? This way you get the github contribution. \r\n\r\ncc @younesbelkada "... | 1,691 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25347/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25347/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25346/comments | https://api.github.com/repos/huggingface/transformers/issues/25346/events | https://github.com/huggingface/transformers/pull/25346 | 1,839,223,066 | PR_kwDOCUB6oc5XUrAO | 25,346 | QAT of segformer | {
"login": "TanyaChutani",
"id": 25456344,
"node_id": "MDQ6VXNlcjI1NDU2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/25456344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TanyaChutani",
"html_url": "https://github.com/TanyaChutani",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @TanyaChutani. thanks for opening this PR! \r\n\r\nWe won't accept this change as it is. We can't just replace layers like this in the library, as it will break many things for our current users. In particular, it will automatically quantize the modules which we don't want to do. \r\n\r\nSome quantization funct... | 1,691 | 1,694 | 1,694 | NONE | null | # What does this PR do?
QAT of segformer
## Who can review?
- PyTorch: @sgugger
- vision models: @amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25346/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25346",
"html_url": "https://github.com/huggingface/transformers/pull/25346",
"diff_url": "https://github.com/huggingface/transformers/pull/25346.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25346.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25345/comments | https://api.github.com/repos/huggingface/transformers/issues/25345/events | https://github.com/huggingface/transformers/pull/25345 | 1,839,207,114 | PR_kwDOCUB6oc5XUneP | 25,345 | Add warning for missing attention mask when pad tokens are detected to various models | {
"login": "hackyon",
"id": 1557853,
"node_id": "MDQ6VXNlcjE1NTc4NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hackyon",
"html_url": "https://github.com/hackyon",
"followers_url": "https://api.github.com/users/hackyon/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Let me know if this makes sense, thanks!",
"Thank you for the PR @hackyon .\r\n\r\nWe don't maintain the files under the directory `examples/research_projects`. Could you revert the changes in it?\r\n Otherwise LGTM.",
"There see... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
This PR builds upon #24510 by adding the warning to many more models (and also a template files). The original issue with more context can be found at #16136.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25345/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25345",
"html_url": "https://github.com/huggingface/transformers/pull/25345",
"diff_url": "https://github.com/huggingface/transformers/pull/25345.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25345.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25344/comments | https://api.github.com/repos/huggingface/transformers/issues/25344/events | https://github.com/huggingface/transformers/pull/25344 | 1,839,094,729 | PR_kwDOCUB6oc5XUOuX | 25,344 | [ASR Pipeline] Clarify return timestamps | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Resolved in https://github.com/huggingface/transformers/pull/25344/commits/2b4b302181613734685570b600cf4db63040946b @ArthurZucker and CI is green!"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25341 by updating the docstrings and providing better error messages for `return_timestamps=XXX` in the case of CTC and Whisper models.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25344/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25344",
"html_url": "https://github.com/huggingface/transformers/pull/25344",
"diff_url": "https://github.com/huggingface/transformers/pull/25344.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25344.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25343/comments | https://api.github.com/repos/huggingface/transformers/issues/25343/events | https://github.com/huggingface/transformers/pull/25343 | 1,839,016,647 | PR_kwDOCUB6oc5XT9uu | 25,343 | Update TF pin in docker image | {
"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,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
2.12 -> 2.13
(It has been 2.13 on CircleCI for some time)
(and with the new `tensorflow_probablity` a few days ago, we need TF 2.13 otherwise tests can't be collected by pytest) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25343",
"html_url": "https://github.com/huggingface/transformers/pull/25343",
"diff_url": "https://github.com/huggingface/transformers/pull/25343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25343.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25342/comments | https://api.github.com/repos/huggingface/transformers/issues/25342/events | https://github.com/huggingface/transformers/pull/25342 | 1,839,003,093 | PR_kwDOCUB6oc5XT6z1 | 25,342 | Fix more offload edge cases | {
"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._",
"For `test_model_parallelism`, in order to pass `self.assertSetEqual(set(new_model.hf_device_map.values()), {0, 1})`, I need to set a higher ratio (`0.5` --> `0.6`), but then I get errors for some models:\r\n\r\n```bash\r\n pos... | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
With this PR, only one failed tests (disk offload for `Longformer`).
~~I haven't checked `test_model_parallelism` yet~~ fix for it are required (44 failures) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25342/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25342",
"html_url": "https://github.com/huggingface/transformers/pull/25342",
"diff_url": "https://github.com/huggingface/transformers/pull/25342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25342.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25341/comments | https://api.github.com/repos/huggingface/transformers/issues/25341/events | https://github.com/huggingface/transformers/issues/25341 | 1,838,949,550 | I_kwDOCUB6oc5tnCSu | 25,341 | ⚠ Better warning/ handling for CTC models in ASR pipeline | {
"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 | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [
{
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "ht... | [
"Thanks for flagging and for the clean repro notebook - I'll open a PR to update this today",
"Script to update the configs for word-level timestamps with Whisper:\r\n```python\r\nfrom transformers import GenerationConfig\r\n\r\nmodel_to_heads = {\r\n \"whisper-tiny.en\": [[1, 0], [2, 0], [2, 5], [3, 0], [3, 1... | 1,691 | 1,691 | 1,691 | MEMBER | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25341/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25340/comments | https://api.github.com/repos/huggingface/transformers/issues/25340/events | https://github.com/huggingface/transformers/issues/25340 | 1,838,748,667 | I_kwDOCUB6oc5tmRP7 | 25,340 | Training Loss inconsistent after resume from old checkpoint | {
"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 | {
"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... | [
{
"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... | [
"Hi @dumpmemory, thanks for raising this issue! \r\n\r\nSo that we can best try and help could you: \r\n* Provide a all the information we need to reproduce this on our end. In particular the arguments used for running the `run_clmp.py` script, any modifications to the script, how the training is being resumed, and... | 1,691 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.4.119-19.0009.28-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25340/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25340/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25339/comments | https://api.github.com/repos/huggingface/transformers/issues/25339/events | https://github.com/huggingface/transformers/pull/25339 | 1,838,431,754 | PR_kwDOCUB6oc5XSCq6 | 25,339 | Generalize CFG to allow for positive prompts | {
"login": "oobabooga",
"id": 112222186,
"node_id": "U_kgDOBrBf6g",
"avatar_url": "https://avatars.githubusercontent.com/u/112222186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oobabooga",
"html_url": "https://github.com/oobabooga",
"followers_url": "https://api.github.com/users/oobabo... | [] | closed | false | null | [] | [
"You are right, I had changed the docstring for the wrong class. Now it's fixed, and I also have added a mention to the positive prompt possibility, as well as a positive prompt example.\r\n\r\nI note that I could not reproduce the existing examples, so my new one looks different:\r\n\r\n```python\r\nfrom transform... | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | This PR changes the `guidance_scale` restriction from `> 1` to `!= 1`, thus allowing the negative prompt in CFG (https://github.com/huggingface/transformers/pull/24654) to be used as a positive prompt.
I believe that this change opens up new ways to use CFG while having no downside.
@gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25339/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25339/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25339",
"html_url": "https://github.com/huggingface/transformers/pull/25339",
"diff_url": "https://github.com/huggingface/transformers/pull/25339.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25339.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25338/comments | https://api.github.com/repos/huggingface/transformers/issues/25338/events | https://github.com/huggingface/transformers/issues/25338 | 1,838,423,260 | I_kwDOCUB6oc5tlBzc | 25,338 | Example to build composite MusicgenForConditionalGeneration does not work | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [
{
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "ht... | [
"Hi @osanseviero \r\n\r\nThank you for opening the issue 🤗 \r\n\r\nThis is probably just a doc issue: the following\r\n```python3\r\ndecoder_config = AutoConfig.from_pretrained(\"facebook/musicgen-small\").decoder\r\ndecoder = MusicgenForCausalLM.from_pretrained(\"facebook/musicgen-small\", config=decoder_config)\... | 1,691 | 1,693 | 1,693 | MEMBER | null | ### System Info
Last transformers version
### Who can help?
@sanchit-gandhi @Vaibhavs10
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25338/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25337/comments | https://api.github.com/repos/huggingface/transformers/issues/25337/events | https://github.com/huggingface/transformers/issues/25337 | 1,838,409,148 | I_kwDOCUB6oc5tk-W8 | 25,337 | Add support for COCO style datasets for instance segmentation | {
"login": "roboserg",
"id": 4758917,
"node_id": "MDQ6VXNlcjQ3NTg5MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4758917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/roboserg",
"html_url": "https://github.com/roboserg",
"followers_url": "https://api.github.com/users/robos... | [] | closed | false | null | [] | [
"Hi @roboserg, thanks for opening this feature request! \r\n\r\n`transformers` isn't responsible for datasets preparation, and so we wouldn't add a converter as part of the standard library. \r\n\r\nThe best place to put logic like this is in an example script or demo notebook. \r\n* Scripts: https://github.com/hug... | 1,691 | 1,694 | 1,694 | NONE | null | ### Feature request
Create a standard dataset loader capable of taking datasets in the JSON COCO style format and converting them into the Huggingface format. The DatasetDict will be generated with the correct features and configurations, making it suitable for various downstream tasks, such as instance segmentation... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25336/comments | https://api.github.com/repos/huggingface/transformers/issues/25336/events | https://github.com/huggingface/transformers/pull/25336 | 1,838,184,017 | PR_kwDOCUB6oc5XRP2G | 25,336 | Fix SpeechT5 docs | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @osanseviero, \r\n\r\nThis is closely linked to [this PR](https://github.com/huggingface/transformers/pull/25233), that adds a `generate` methode to SpeechT5ForTextToSpeech, so the docs change is an expected behavior.\r\n\r\nI'm o... | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Fixes #25335
## 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-pull-requests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25336/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25336",
"html_url": "https://github.com/huggingface/transformers/pull/25336",
"diff_url": "https://github.com/huggingface/transformers/pull/25336.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25336.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25335/comments | https://api.github.com/repos/huggingface/transformers/issues/25335/events | https://github.com/huggingface/transformers/issues/25335 | 1,838,182,807 | I_kwDOCUB6oc5tkHGX | 25,335 | Issues with SpeechT5ForTextToSpeech docs | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi @osanseviero,\r\nThanks for raising this issue, would you have more information on how to reproduct this issue, notably regarding the transformers version ?\r\nMany thanks,\r\nYoach"
] | 1,691 | 1,691 | 1,691 | MEMBER | null | ### System Info
N/A https://huggingface.co/docs/transformers/main/model_doc/speecht5#transformers.SpeechT5ForTextToSpeech
### Who can help?
@sanchit-gandhi @vaibh
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25335/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25334/comments | https://api.github.com/repos/huggingface/transformers/issues/25334/events | https://github.com/huggingface/transformers/pull/25334 | 1,838,072,373 | PR_kwDOCUB6oc5XQ7E7 | 25,334 | Bug Fixed GPTNeoX Flax supports | {
"login": "HeegyuKim",
"id": 4586874,
"node_id": "MDQ6VXNlcjQ1ODY4NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4586874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HeegyuKim",
"html_url": "https://github.com/HeegyuKim",
"followers_url": "https://api.github.com/users/He... | [] | closed | false | null | [] | [
"I suffering from test issue. Can you help me? @sanchit-gandhi \r\n\r\nsummary\r\n- In pytorch, my GPTNeoX test failed to both test_equivalence_flax_to_pt and test_equivalence_pt_to_flax tests\r\n- But in flax, GPTNeoX doesn't failed because my test code overrides it for not using `check_pt_flax_outputs`\r\n- It's ... | 1,691 | 1,707 | 1,707 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25334/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25334",
"html_url": "https://github.com/huggingface/transformers/pull/25334",
"diff_url": "https://github.com/huggingface/transformers/pull/25334.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25334.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25333/comments | https://api.github.com/repos/huggingface/transformers/issues/25333/events | https://github.com/huggingface/transformers/issues/25333 | 1,837,939,502 | I_kwDOCUB6oc5tjLsu | 25,333 | Support H100 training with FP8 in Trainer and Deepspeed | {
"login": "michaelroyzen",
"id": 45830328,
"node_id": "MDQ6VXNlcjQ1ODMwMzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelroyzen",
"html_url": "https://github.com/michaelroyzen",
"followers_url": "https://api.githu... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
... | open | false | null | [] | [
"cc @pacman100 ",
"Any updates @pacman100 @sgugger?",
"The speedup is only going to show when fully training model over 6B parameters, which is why we haven't prioritized the support in the Trainer. It is baked in Accelerate though.",
"Thanks for the update @sgugger. I'm training 6B+ models with Trainer + Dee... | 1,691 | 1,699 | null | NONE | null | ### Feature request
Support H100 training with FP8 in Trainer and Deepspeed
### Motivation
FP8 should be much faster than FP16 on supported Hopper hardware. Particularly with Deepspeed integration @stas00
### Your contribution
Happy to help in any way that I can. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25333/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/25333/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25332/comments | https://api.github.com/repos/huggingface/transformers/issues/25332/events | https://github.com/huggingface/transformers/issues/25332 | 1,837,923,790 | I_kwDOCUB6oc5tjH3O | 25,332 | Tortoise's GPT2PreTrainedModel regression from 4.29.2 to newer versions | {
"login": "rsxdalv",
"id": 6757283,
"node_id": "MDQ6VXNlcjY3NTcyODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6757283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsxdalv",
"html_url": "https://github.com/rsxdalv",
"followers_url": "https://api.github.com/users/rsxdalv/... | [] | closed | false | null | [] | [
"Hi @rsxdalv, thanks for raising this issue! \r\n\r\nIn the issue information, it's written that 'reproduction still WIP'. Once this is finalised and updated here, could you ping @sanchit-gandhi again to make sure the issue isn't lost? The repro is necessary for us to be able to help debug. For UnifiedVoice, could ... | 1,691 | 1,692 | 1,691 | NONE | null | ### System Info
Separated from previous issue:
https://github.com/huggingface/transformers/issues/24657
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25332/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25332/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25331/comments | https://api.github.com/repos/huggingface/transformers/issues/25331/events | https://github.com/huggingface/transformers/issues/25331 | 1,837,875,403 | I_kwDOCUB6oc5ti8DL | 25,331 | Time Series Transformers for Classification | {
"login": "borhenryk",
"id": 35457598,
"node_id": "MDQ6VXNlcjM1NDU3NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35457598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borhenryk",
"html_url": "https://github.com/borhenryk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @kashif ",
"thanks @borhenryk I have a PR for that currently underway here: https://github.com/huggingface/transformers/pull/24803 \r\n\r\ndo you have some sample/open classification time series datasets in mind you can point me to?",
"sure I am working on Healthcare applications where there are many use-ca... | 1,691 | 1,703 | 1,703 | CONTRIBUTOR | null | ### Feature request
Is it planed to introduce Time Series Transformers for Classification at some point?
### Motivation
Time Series Transformers are already introduced
### Your contribution
I could contribute models | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25331/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25330/comments | https://api.github.com/repos/huggingface/transformers/issues/25330/events | https://github.com/huggingface/transformers/issues/25330 | 1,837,828,326 | I_kwDOCUB6oc5tiwjm | 25,330 | Issue from recent versions: Unexpected in state_dict: embeddings.position_ids | {
"login": "yangheng95",
"id": 51735130,
"node_id": "MDQ6VXNlcjUxNzM1MTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/51735130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangheng95",
"html_url": "https://github.com/yangheng95",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"> I think the old checkpoints are supposed to work for latest transformers versions.\r\n\r\nOnly if use the `from_pretrained` method. You cannot use `torch.load_state_dict` without using `strict=False` since they contain key that we do not use. In general, `from_pretrained` is the fully supported way to load model... | 1,691 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.9
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25330/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25329/comments | https://api.github.com/repos/huggingface/transformers/issues/25329/events | https://github.com/huggingface/transformers/issues/25329 | 1,837,805,285 | I_kwDOCUB6oc5tiq7l | 25,329 | contrastive_search is slow | {
"login": "insist93",
"id": 43919359,
"node_id": "MDQ6VXNlcjQzOTE5MzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/43919359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/insist93",
"html_url": "https://github.com/insist93",
"followers_url": "https://api.github.com/users/ins... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
},
{
"id": 5818563521,
... | closed | false | null | [] | [
"cc @gante ",
"Hi @insist93 👋 \r\n\r\nContrastive search is more elaborate than normal sampling-based strategies. Its execution time is known to grow quickly with `top_k` -- try setting a lower value if execution speed is important on your end. The tips in [this guide](https://huggingface.co/docs/transformers/ma... | 1,691 | 1,691 | 1,691 | NONE | null | ### Feature request
I found `contrastive_search `to be much slower than top p sampling, about 2x, more significantly in the case of large language models .I guess the reason is that `torch.stack` and `torch.cat` are called multiple times in the method.
Is there any way to optimize?
### Motivation
accelerate `con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25329/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25328/comments | https://api.github.com/repos/huggingface/transformers/issues/25328/events | https://github.com/huggingface/transformers/issues/25328 | 1,837,785,883 | I_kwDOCUB6oc5timMb | 25,328 | Using BigBirdBlockSparseAttention in Decoder | {
"login": "TamirCohen",
"id": 41875509,
"node_id": "MDQ6VXNlcjQxODc1NTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TamirCohen",
"html_url": "https://github.com/TamirCohen",
"followers_url": "https://api.github.com/use... | [
{
"id": 5724035499,
"node_id": "LA_kwDOCUB6oc8AAAABVS3Zqw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20on%20the%20Hub",
"name": "Model on the Hub",
"color": "9CA0E9",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @TamirCohen, thanks for opening this feature request! \r\n\r\nI don't know the exact reason why it's not enabled for the decoder cc @thevasudevgupta who added the model. In the BigBird paper, they mention for encoder-decoder tasks: \r\n\r\n```\r\nFor an encoder-decoder setup, one can easily see that both suffer... | 1,691 | 1,694 | 1,694 | NONE | null | ### Feature request
I want to use `BigBirdBlockSparseAttention` In a decoder,
But I noticed that it says in the code that it currently not works for decoders:
https://github.com/huggingface/transformers/blob/a6e6b1c622d8d08e2510a82cb6266d7b654f1cbf/src/transformers/models/big_bird/modeling_big_bird.py#L456C1-L457C1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25328/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25327/comments | https://api.github.com/repos/huggingface/transformers/issues/25327/events | https://github.com/huggingface/transformers/pull/25327 | 1,837,604,995 | PR_kwDOCUB6oc5XPiX6 | 25,327 | Enable tests to run on third-party devcies | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @statelesshz, thanks for opening this PR! \r\n\r\nSelecting e.g. \"mps\" by default if available is definitely something we're moving towards for e.... | 1,691 | 1,694 | 1,691 | CONTRIBUTOR | null | ### What does this PR do?
It is crucial to enable unit tests to ensure the smooth integration of third-party devices. This PR enables ~~MPS and~~ NPU to reuse most existing test cases.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25327",
"html_url": "https://github.com/huggingface/transformers/pull/25327",
"diff_url": "https://github.com/huggingface/transformers/pull/25327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25326/comments | https://api.github.com/repos/huggingface/transformers/issues/25326/events | https://github.com/huggingface/transformers/issues/25326 | 1,837,569,438 | I_kwDOCUB6oc5thxWe | 25,326 | Pipeline of "text-generation" with model "meta-llama/Llama-2-7b-chat-hf" doesn't respect temperature | {
"login": "kechan",
"id": 122762,
"node_id": "MDQ6VXNlcjEyMjc2Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/122762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kechan",
"html_url": "https://github.com/kechan",
"followers_url": "https://api.github.com/users/kechan/follow... | [] | closed | false | null | [] | [
"```\r\nmodel_name = \"meta-llama/Llama-2-7b-chat-hf\"\r\ntokenizer = LlamaTokenizer.from_pretrained(model_name, use_auth_token=access_token)\r\nmodel = LlamaForCausalLM.from_pretrained(model_name, use_auth_token=access_token)\r\n```\r\n\r\n```\r\npipeline = transformers.pipeline(\"text-generation\", \r\n ... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.9.6
- Huggingface_hub version: 0.13.3
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.1.0.dev20230331 (False)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25326/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25325/comments | https://api.github.com/repos/huggingface/transformers/issues/25325/events | https://github.com/huggingface/transformers/issues/25325 | 1,837,427,531 | I_kwDOCUB6oc5thOtL | 25,325 | ClientAuthenticationError using Trainer in Azure | {
"login": "useCallback",
"id": 67844770,
"node_id": "MDQ6VXNlcjY3ODQ0Nzcw",
"avatar_url": "https://avatars.githubusercontent.com/u/67844770?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/useCallback",
"html_url": "https://github.com/useCallback",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The error is raised by Azure and has nothing to do with Transformers, from what I can see.",
"@sgugger seems like it's looking for some env variables \r\nThe problem is that this error happens only when I start the trainer \r\nDoes the trainer require setting some specific env variables ? ",
"Mmmm, can you tr... | 1,691 | 1,704 | 1,691 | NONE | null | ### System Info
**Environment Information:**
- OS: Azure ML notebook
- Jupyter Kernel: Python 3.8 - Pytorch and Tensorflow
### Who can help?
@pacman100 @sgugger @amyeroberts
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially suppor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25325/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25324/comments | https://api.github.com/repos/huggingface/transformers/issues/25324/events | https://github.com/huggingface/transformers/pull/25324 | 1,837,292,581 | PR_kwDOCUB6oc5XOf_O | 25,324 | Adding more information in help parser on train_file and validation_file | {
"login": "pphuc25",
"id": 81808312,
"node_id": "MDQ6VXNlcjgxODA4MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pphuc25",
"html_url": "https://github.com/pphuc25",
"followers_url": "https://api.github.com/users/pphuc2... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25324). All of your documentation changes will be reflected on that endpoint."
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | I create a PR because I see that in train_file and validation_file help in the parser, the docs do not provide the full extension (csv, json and text but the current just have csv and json).
So I add it to have more information in the docs.
I want to cc @ArthurZucker to review this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25324/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25324",
"html_url": "https://github.com/huggingface/transformers/pull/25324",
"diff_url": "https://github.com/huggingface/transformers/pull/25324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25324.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25323/comments | https://api.github.com/repos/huggingface/transformers/issues/25323/events | https://github.com/huggingface/transformers/pull/25323 | 1,837,097,081 | PR_kwDOCUB6oc5XN1ut | 25,323 | Overhaul Conversation class and prompt templating | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"100% Agree on the objective.\r\n\r\nI feel like the current proposed config is quite confusing to understand/reason about (therefore I doubt users will too).\r\n\r\nI though we had in mind something more like and templating engine.\r... | 1,691 | 1,694 | 1,694 | MEMBER | null | Current status: Ready for review!
## Background
We currently have limited support for chat formatting for models. The main tool for this task is the private method `_build_conversation_input_ids`, which tokenizes a `Conversation`. This method is currently defined at the model class level, which causes problems beca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25323/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 8,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25323",
"html_url": "https://github.com/huggingface/transformers/pull/25323",
"diff_url": "https://github.com/huggingface/transformers/pull/25323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25323.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.