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/24518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24518/comments | https://api.github.com/repos/huggingface/transformers/issues/24518/events | https://github.com/huggingface/transformers/issues/24518 | 1,776,676,598 | I_kwDOCUB6oc5p5e72 | 24,518 | [i18n-<English>] Translating docs to <Chinese> | {
"login": "liteli1987gmail",
"id": 59245973,
"node_id": "MDQ6VXNlcjU5MjQ1OTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/59245973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liteli1987gmail",
"html_url": "https://github.com/liteli1987gmail",
"followers_url": "https://api... | [
{
"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... | closed | false | null | [] | [
"Please completely fill the template with your language and also search the existing GitHub issues to avoid duplicates."
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
I translated all the English documents into Chinese.
Let's bring the documentation to all the <languageName>-speaking community ๐ (currently 0 out of 267 complete)
Who would want to translate?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24518/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24517/comments | https://api.github.com/repos/huggingface/transformers/issues/24517/events | https://github.com/huggingface/transformers/issues/24517 | 1,776,601,749 | I_kwDOCUB6oc5p5MqV | 24,517 | [Bug]Non-robust directory splitting and detection at get_cached_module_file | {
"login": "Tpinion",
"id": 27395365,
"node_id": "MDQ6VXNlcjI3Mzk1MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/27395365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tpinion",
"html_url": "https://github.com/Tpinion",
"followers_url": "https://api.github.com/users/Tpinio... | [] | closed | false | null | [] | [
"Are you really certain `os.path.isdir(pretrained_model_name_or_path)` returns `True` with a path containing `/` on Windows? This seems really weird to me.",
"> Are you really certain `os.path.isdir(pretrained_model_name_or_path)` returns `True` with a path containing `/` on Windows? This seems really weird to me... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24517/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24516/comments | https://api.github.com/repos/huggingface/transformers/issues/24516/events | https://github.com/huggingface/transformers/issues/24516 | 1,776,569,033 | I_kwDOCUB6oc5p5ErJ | 24,516 | RuntimeError: Cross Attention in GPTBigCodeModel | {
"login": "dawnik17",
"id": 135340243,
"node_id": "U_kgDOCBEg0w",
"avatar_url": "https://avatars.githubusercontent.com/u/135340243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dawnik17",
"html_url": "https://github.com/dawnik17",
"followers_url": "https://api.github.com/users/dawnik17/... | [] | closed | false | null | [] | [
"Hey! Would you mind sharing a full reproduced? (ex the config you are using)? \r\nThis might just be a raise Value error missing and a check on the shapes! ",
"Sure @ArthurZucker \r\n\r\nReproducible Code:\r\n```\r\nimport torch\r\nfrom transformers import GPTBigCodeConfig\r\n\r\nconfig = GPTBigCodeConfig(multi_... | 1,687 | 1,690 | 1,690 | NONE | null | ### System Info
Code: https://github.com/huggingface/transformers/blob/v4.30.0/src/transformers/models/gpt_bigcode/modeling_gpt_bigcode.py
In the case of cross attention, if `self.c_attn` is initialised to give output of dimension `2 * self.embed_dim` **(Line 112 & 227)**
The `key_value` split in **line 246**,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24516/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24515/comments | https://api.github.com/repos/huggingface/transformers/issues/24515/events | https://github.com/huggingface/transformers/pull/24515 | 1,776,443,686 | PR_kwDOCUB6oc5UAhGm | 24,515 | Update hyperparameter_search.py | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
1. PR #24384 results in many tests failing related to HP Search. https://huggingface.slack.com/archives/C02CH2YP4EQ/p1687823783572709
2. Error being `tests/deepspeed/test_deepspeed.py::TrainerIntegrationDeepSpeed::test_hyperparameter_search
(line 122) TypeError: is_available() missing 1 requ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24515/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24515",
"html_url": "https://github.com/huggingface/transformers/pull/24515",
"diff_url": "https://github.com/huggingface/transformers/pull/24515.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24515.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24514/comments | https://api.github.com/repos/huggingface/transformers/issues/24514/events | https://github.com/huggingface/transformers/issues/24514 | 1,776,235,620 | I_kwDOCUB6oc5p3zRk | 24,514 | LlamaModel.forward() got an unexpected keyword argument 'token_type_ids' | {
"login": "twang2218",
"id": 6299096,
"node_id": "MDQ6VXNlcjYyOTkwOTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6299096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/twang2218",
"html_url": "https://github.com/twang2218",
"followers_url": "https://api.github.com/users/tw... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey, this is a duplicate of #23818 , #24042. Make sure to use the latest version of transformers! ",
"@ArthurZucker I just double checked, as provided above, the `transformers` I used is version `4.30.2`, which is the latest version for now.\r\n\r\n<img width=\"1186\" alt=\"ๆชๅฑ2023-06-28 ไธๅ... | 1,687 | 1,702 | 1,687 | NONE | null | ### System Info
* transformers version: **4.30.2**
* Python version: **3.10.11**
* System: Ubuntu 22.04.2 LTS
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24514/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/24514/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24513/comments | https://api.github.com/repos/huggingface/transformers/issues/24513/events | https://github.com/huggingface/transformers/pull/24513 | 1,776,200,547 | PR_kwDOCUB6oc5T_sHZ | 24,513 | Add Multi Resolution Analysis (MRA) (New PR) | {
"login": "novice03",
"id": 44259234,
"node_id": "MDQ6VXNlcjQ0MjU5MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/44259234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/novice03",
"html_url": "https://github.com/novice03",
"followers_url": "https://api.github.com/users/nov... | [] | closed | false | null | [] | [
"Copied all files over from #20573 ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Could you fix the failing tests?",
"Hello @sgugger, I've made sure all checks pass and fixed conflicts. ",
"Hello @amyeroberts, I've addressed your comments and made some code changes. Plea... | 1,687 | 1,691 | 1,688 | CONTRIBUTOR | null | # Add Multi Resolution Analysis (MRA) for Approximate Self-Attention
This PR adds the MRA model to the repository.
Paper: [https://arxiv.org/pdf/2207.10284.pdf](https://arxiv.org/pdf/2207.10284.pdf)
Code: [https://github.com/mlpen/mra-attention](https://github.com/mlpen/mra-attention)
To-do:
- [x] Improve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24513/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24513",
"html_url": "https://github.com/huggingface/transformers/pull/24513",
"diff_url": "https://github.com/huggingface/transformers/pull/24513.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24513.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24512/comments | https://api.github.com/repos/huggingface/transformers/issues/24512/events | https://github.com/huggingface/transformers/issues/24512 | 1,776,071,960 | I_kwDOCUB6oc5p3LUY | 24,512 | Whisper model predicts "thank you" or "you" on silence | {
"login": "mirfan899",
"id": 3822565,
"node_id": "MDQ6VXNlcjM4MjI1NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3822565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mirfan899",
"html_url": "https://github.com/mirfan899",
"followers_url": "https://api.github.com/users/mi... | [] | closed | false | null | [] | [
"Hmm, this code snippet involves `gradio` which is usually out of the scope of the `transformers` GitHub issue pages. But trying to have a reproducible example with only `transformers` involved seems tricky in this case.\r\n\r\n@sgugger @amyeroberts @ArthurZucker Any general comment on how we proceed in such cases?... | 1,687 | 1,698 | 1,698 | NONE | null | ### System Info
wave2vec2 models predict text even there is no speech. The model predicts "thank you" and "you" on silence or empty speech.
Python 3.10
Ubuntu 20.04
transformers==4.30.2
https://github.com/gradio-app/gradio/issues/4663#issue-1772508542
### Who can help?
_No response_
### Information
- [ ] T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24512/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/24512/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24511/comments | https://api.github.com/repos/huggingface/transformers/issues/24511/events | https://github.com/huggingface/transformers/issues/24511 | 1,776,070,371 | I_kwDOCUB6oc5p3K7j | 24,511 | Decoding adds space between special tokens when skip_special_tokens = True | {
"login": "Praful932",
"id": 45713796,
"node_id": "MDQ6VXNlcjQ1NzEzNzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/45713796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Praful932",
"html_url": "https://github.com/Praful932",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! The behaviour is totally expected: you added `\" \"` as an added token. This means that it will not be split, and will not be encoded directly using the underlying model. \r\nHere is what happens: (check [this](https://github.com/ArthurZucker/transformers/blob/74cb2b1dd9755f6bd72fc9e65d1e374e287afd84/src/tran... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.109+-x86_64-with-glibc2.31
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.9 (gp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24511/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24510/comments | https://api.github.com/repos/huggingface/transformers/issues/24510/events | https://github.com/huggingface/transformers/pull/24510 | 1,775,943,610 | PR_kwDOCUB6oc5T-17r | 24,510 | Show a warning for missing attention masks when pad_token_id is not None | {
"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 | [] | [
"@ydshieh @gante\r\n\r\nI've added the warning message as per #21916 and also a short test. Please let me know if you have any suggestions. If it looks good, I can copy/paste the warning to more models as well. Thanks!\r\n",
"@hackyon LGTM ๐ \r\n\r\nBut before you spend time propagating the change to the other m... | 1,687 | 1,691 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16136
Shows a one-time warning message when the pad_token_id is not None and no attention masks are given.
## 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]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24510/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24510",
"html_url": "https://github.com/huggingface/transformers/pull/24510",
"diff_url": "https://github.com/huggingface/transformers/pull/24510.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24510.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24509/comments | https://api.github.com/repos/huggingface/transformers/issues/24509/events | https://github.com/huggingface/transformers/issues/24509 | 1,775,842,582 | I_kwDOCUB6oc5p2TUW | 24,509 | Documentation Clarification: Autoregressive Models using GenerationMixin | {
"login": "JoeREISys",
"id": 89039719,
"node_id": "MDQ6VXNlcjg5MDM5NzE5",
"avatar_url": "https://avatars.githubusercontent.com/u/89039719?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoeREISys",
"html_url": "https://github.com/JoeREISys",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I was confusing training vs inference. At training time, the model autoregressively trains by shifting the labels. It has the entire input and output allowing for cross entropy for each label prediction. However, at inference time, that autoregressive generation has to be coded. Where I'm not totally clear is wher... | 1,687 | 1,687 | 1,687 | NONE | null | In the documentation on HuggingFace and within the source code for autoregressive models in comments, it shows to use the `generate` method from the GenerationMixin. Here is an example in the code for Llama model.
```
def forward(
self,
input_ids: torch.LongTensor = None,
attention_mask... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24508/comments | https://api.github.com/repos/huggingface/transformers/issues/24508/events | https://github.com/huggingface/transformers/pull/24508 | 1,775,829,154 | PR_kwDOCUB6oc5T-ejE | 24,508 | [WIP] Add Flax diverse group search | {
"login": "yeandy",
"id": 14128880,
"node_id": "MDQ6VXNlcjE0MTI4ODgw",
"avatar_url": "https://avatars.githubusercontent.com/u/14128880?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeandy",
"html_url": "https://github.com/yeandy",
"followers_url": "https://api.github.com/users/yeandy/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"cc @sanchit-gandhi ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blo... | 1,687 | 1,693 | null | NONE | null | # What does this PR do?
Mimics https://github.com/huggingface/transformers/pull/9006, but for Flax.
We want to match how PyTorch's logic accounts for `group_size` and `num_beam_groups` [here](https://github.com/huggingface/transformers/blob/v4.30.2/src/transformers/generation/beam_search.py#L175) and [here](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24508/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24508",
"html_url": "https://github.com/huggingface/transformers/pull/24508",
"diff_url": "https://github.com/huggingface/transformers/pull/24508.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24508.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24507/comments | https://api.github.com/repos/huggingface/transformers/issues/24507/events | https://github.com/huggingface/transformers/pull/24507 | 1,775,806,828 | PR_kwDOCUB6oc5T-Zb1 | 24,507 | Add Compact Convolutional Transformer model (CCT) | {
"login": "rishabbala",
"id": 39146400,
"node_id": "MDQ6VXNlcjM5MTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/39146400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishabbala",
"html_url": "https://github.com/rishabbala",
"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 | [] | [
"Could you let me know how to fix the failed test. The issue apparently is that PIL.Image.LINEAR does not exist",
"Rebase on main, a fix has been merge! ๐ ",
"Done. Could you let me know if there are any further changes",
"Hey! Sorry I forgot to mention this in my previous comment, we are trying to push mode... | 1,687 | 1,689 | 1,688 | 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/24507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24507/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24507",
"html_url": "https://github.com/huggingface/transformers/pull/24507",
"diff_url": "https://github.com/huggingface/transformers/pull/24507.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24507.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24506/comments | https://api.github.com/repos/huggingface/transformers/issues/24506/events | https://github.com/huggingface/transformers/issues/24506 | 1,775,598,020 | I_kwDOCUB6oc5p1XnE | 24,506 | Image-Classification Dataloader Missing Image Key | {
"login": "umarkhalidAI",
"id": 46391971,
"node_id": "MDQ6VXNlcjQ2MzkxOTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/46391971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umarkhalidAI",
"html_url": "https://github.com/umarkhalidAI",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This dataset seems to have `img` as key in the dataset.",
"If you just want to try the script, the official example in the README is\r\n\r\n```python\r\npython run_image_classification.py \\\r\n --dataset_name beans \\\r\n --output_dir ./beans_outputs/ \\\r\n --remove_unused_columns False \\\r\n --do... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.0-1029-azure-x86_64-with-glibc2.31
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24506/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24505/comments | https://api.github.com/repos/huggingface/transformers/issues/24505/events | https://github.com/huggingface/transformers/pull/24505 | 1,775,591,167 | PR_kwDOCUB6oc5T9s68 | 24,505 | Clean load keys | {
"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._",
"@sgugger with this change, a few of our trained models that used the older format no longer are able to properly load unless we set `strict=False` because they contain `embeddings.position_ids` key that no longer exists. I wonder if ... | 1,687 | 1,707 | 1,687 | COLLABORATOR | null | # What does this PR do?
This PR finishes the work done in and completely cleans up the `_keys_to_ignore_on_save`, `_keys_to_ignore_on_load_missing` and `_keys_to_ignore_on_load_unexpected`. Those were used in three situations:
1. Not saving the tied weights. This came from the (wrong) assumption that torch would... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24505/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24505",
"html_url": "https://github.com/huggingface/transformers/pull/24505",
"diff_url": "https://github.com/huggingface/transformers/pull/24505.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24505.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24504/comments | https://api.github.com/repos/huggingface/transformers/issues/24504/events | https://github.com/huggingface/transformers/pull/24504 | 1,775,555,966 | PR_kwDOCUB6oc5T9lM7 | 24,504 | Add bitsandbytes support for gpt2 models | {
"login": "DarioSucic",
"id": 7669299,
"node_id": "MDQ6VXNlcjc2NjkyOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7669299?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DarioSucic",
"html_url": "https://github.com/DarioSucic",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> FYI, on my side I get these failing tests, I believe there might be a small difference between our envs. We can always update the expected sentence later in case they fail on the daily CI (which probably will be the case). Happy al... | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
The current bitsandbytes integration only supports models using [nn.Linear](https://pytorch.org/docs/stable/generated/torch.nn.Linear.html#torch.nn.Linear), which excludes gpt2 and other models that instead use [Conv1D](https://github.com/huggingface/transformers/blob/68c92981ff2b804979d2e610... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24504/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24504/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24504",
"html_url": "https://github.com/huggingface/transformers/pull/24504",
"diff_url": "https://github.com/huggingface/transformers/pull/24504.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24504.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24503/comments | https://api.github.com/repos/huggingface/transformers/issues/24503/events | https://github.com/huggingface/transformers/pull/24503 | 1,775,508,611 | PR_kwDOCUB6oc5T9ahd | 24,503 | Separate kwargs of tokenizer and feature_extractor in `ClapProcessor` | {
"login": "anmolojha",
"id": 35429956,
"node_id": "MDQ6VXNlcjM1NDI5OTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/35429956?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolojha",
"html_url": "https://github.com/anmolojha",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24503). All of your documentation changes will be reflected on that endpoint.",
"@sanchit-gandhi can we fix both the points discussed in the issue (#23648) (shared kwargs and unexpected padding behaviour) in the same PR or ... | 1,687 | 1,701 | 1,700 | NONE | null | # What does this PR do?
Currently, `ClapProcessor` shares kwargs between the tokenizer and the feature extractor. This PR introduces separate kwargs for both of them.
This was discussed in [comments](https://github.com/huggingface/transformers/issues/23648#issuecomment-1557532041) of #23648.
<!--
Congratulations... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24503",
"html_url": "https://github.com/huggingface/transformers/pull/24503",
"diff_url": "https://github.com/huggingface/transformers/pull/24503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24503.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24502/comments | https://api.github.com/repos/huggingface/transformers/issues/24502/events | https://github.com/huggingface/transformers/issues/24502 | 1,775,486,427 | I_kwDOCUB6oc5p08Xb | 24,502 | Extremely slow model inference for load_in_4bit | {
"login": "cnut1648",
"id": 37067883,
"node_id": "MDQ6VXNlcjM3MDY3ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/37067883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cnut1648",
"html_url": "https://github.com/cnut1648",
"followers_url": "https://api.github.com/users/cnu... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hey @cnut1648 ๐ \r\n\r\nWe also had an internal user reporting the same issue, I'm currently exploring whether it is from the text generation end or from the 4-bit end. Our internal user also reported that unbatched text generation worked fine (in terms of output quality and inference time... | 1,687 | 1,693 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.10.179-171.711.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.9.16
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24501/comments | https://api.github.com/repos/huggingface/transformers/issues/24501/events | https://github.com/huggingface/transformers/pull/24501 | 1,775,272,570 | PR_kwDOCUB6oc5T8my5 | 24,501 | Fix link in utils | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey thanks for the quick response! \r\nNote that the website examples walkthrough is still broken ๐ \r\nLMK uf you shall need a separated issue for this ! or maybe that 404 is creating a placeholder for `v4.30.0`? \r\nHave a nice da... | 1,687 | 1,687 | 1,687 | 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/24501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24501",
"html_url": "https://github.com/huggingface/transformers/pull/24501",
"diff_url": "https://github.com/huggingface/transformers/pull/24501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24501.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24500/comments | https://api.github.com/repos/huggingface/transformers/issues/24500/events | https://github.com/huggingface/transformers/issues/24500 | 1,775,248,972 | I_kwDOCUB6oc5p0CZM | 24,500 | Installation from source | {
"login": "Lawrence0319",
"id": 66525267,
"node_id": "MDQ6VXNlcjY2NTI1MjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/66525267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lawrence0319",
"html_url": "https://github.com/Lawrence0319",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You might have a mix of different installations in your environment. I would try again in a fresh Python environment.",
"I got another problem when running the run_fusion_glue.py from https://docs.adapterhub.ml/training.html#train-adapterfusion in Google Colab. I got the following error:\r\nTraceback (most recen... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
I tried to install the transformers library from source by following the link https://huggingface.co/docs/transformers/installation#install-from-source.
When testing whether the library is correctly installed, I followed the recommendation.
from transformers import pipeline
print(pipeline('sentime... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24500/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24499/comments | https://api.github.com/repos/huggingface/transformers/issues/24499/events | https://github.com/huggingface/transformers/pull/24499 | 1,775,248,962 | PR_kwDOCUB6oc5T8hnl | 24,499 | [WIP] Add LaVIN model | {
"login": "rishabbala",
"id": 39146400,
"node_id": "MDQ6VXNlcjM5MTQ2NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/39146400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishabbala",
"html_url": "https://github.com/rishabbala",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,687 | 1,687 | 1,687 | 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/24499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24499/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24499",
"html_url": "https://github.com/huggingface/transformers/pull/24499",
"diff_url": "https://github.com/huggingface/transformers/pull/24499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24498/comments | https://api.github.com/repos/huggingface/transformers/issues/24498/events | https://github.com/huggingface/transformers/pull/24498 | 1,775,230,043 | PR_kwDOCUB6oc5T8dgs | 24,498 | Compute `dropout_probability` only in training mode (SpeechT5) | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Same as in #24486, but I forgot to check `SpeechT5` when I did search/replace (which is a bit different from other models). Sorry! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24498/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24498",
"html_url": "https://github.com/huggingface/transformers/pull/24498",
"diff_url": "https://github.com/huggingface/transformers/pull/24498.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24498.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24497/comments | https://api.github.com/repos/huggingface/transformers/issues/24497/events | https://github.com/huggingface/transformers/issues/24497 | 1,775,140,304 | I_kwDOCUB6oc5pzn3Q | 24,497 | Access to Transformers examples link broken . Impact on navigation as well | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"The link is wrong, it should be https://huggingface.co/docs/transformers/run_scripts\r\nWould you like to make a PR with the fix?",
"Sure, thanks!",
"BTW @sgugger @LysandreJik you can specify doc redirects using a `redirects.yml` like in datasets and other libraries: https://github.com/huggingface/datasets/blo... | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | ### System Info
### Context
Hello there! ๐
Iยดm following [Translation](https://huggingface.co/docs/transformers/tasks/translation) Transformers tutorial .
Thanks for making it possible!
Currently running the script [run_translation.py](https://github.com/huggingface/transformers/blob/main/examples/tensorflow/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24497/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24496/comments | https://api.github.com/repos/huggingface/transformers/issues/24496/events | https://github.com/huggingface/transformers/pull/24496 | 1,774,979,250 | PR_kwDOCUB6oc5T7mi7 | 24,496 | Allow for warn_only selection in enable_full_determinism | {
"login": "Frank995",
"id": 47689966,
"node_id": "MDQ6VXNlcjQ3Njg5OTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/47689966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Frank995",
"html_url": "https://github.com/Frank995",
"followers_url": "https://api.github.com/users/Fra... | [] | closed | false | null | [] | [
"Or don't use the option with a model that does not support it? This is not something that is enabled by default.",
"_The documentation is not available anymore as the PR was closed or merged._",
"> Or don't use the option with a model that does not support it? This is not something that is enabled by default.\... | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | Enable full determinism crashes if the model has layer that do not support it (like layoutlmv2). This fixes it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24496",
"html_url": "https://github.com/huggingface/transformers/pull/24496",
"diff_url": "https://github.com/huggingface/transformers/pull/24496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24496.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24495/comments | https://api.github.com/repos/huggingface/transformers/issues/24495/events | https://github.com/huggingface/transformers/issues/24495 | 1,774,848,385 | I_kwDOCUB6oc5pygmB | 24,495 | DIT Text Detection model | {
"login": "arvisioncode",
"id": 105910211,
"node_id": "U_kgDOBlAPww",
"avatar_url": "https://avatars.githubusercontent.com/u/105910211?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arvisioncode",
"html_url": "https://github.com/arvisioncode",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I know and I desperately want that model to be available... :D however for that, Mask R-CNN first needs to be integrated. I have a PR on that #22973, I need to finish that one up, then we can add it",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this sti... | 1,687 | 1,708 | 1,691 | NONE | null | ### Feature request
Add the text detection models of the dit that are in https://github.com/microsoft/unilm/tree/master/dit/text_detection to the hugging face, to be able to execute them easily with the transformers library like other models as https://huggingface.co/microsoft/dit-base
### Motivation
These mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24494/comments | https://api.github.com/repos/huggingface/transformers/issues/24494/events | https://github.com/huggingface/transformers/issues/24494 | 1,774,819,166 | I_kwDOCUB6oc5pyZde | 24,494 | Finetune ClipSeg model | {
"login": "sleeping4cat",
"id": 112309211,
"node_id": "U_kgDOBrGz2w",
"avatar_url": "https://avatars.githubusercontent.com/u/112309211?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sleeping4cat",
"html_url": "https://github.com/sleeping4cat",
"followers_url": "https://api.github.com/use... | [
{
"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 | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [
{
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url"... | [
"cc @alaradirik for information.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/tran... | 1,687 | 1,703 | null | NONE | null | ### Feature request
Quite recently, I was exploring zero-shot classification to segment medical images. And it looks quite promising. I stumbled upon ```ClipSeg``` a few days ago and it looked wonderful and just well-suited for my work. Unfortunately, I couldn't find any tutorials or notebooks that showed how to perfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24494/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/24494/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24493/comments | https://api.github.com/repos/huggingface/transformers/issues/24493/events | https://github.com/huggingface/transformers/pull/24493 | 1,774,812,376 | PR_kwDOCUB6oc5T7BoD | 24,493 | Make `framework` as class property | {
"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 | [] | [] | 1,687 | 1,688 | 1,687 | COLLABORATOR | null | # What does this PR do?
Similar to #24299, make this property at class level. (Not the most interesting/useful change though, I agree).
(This approach is a bit hacky but it works. Deprecated in python 3.11.) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24493/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24493",
"html_url": "https://github.com/huggingface/transformers/pull/24493",
"diff_url": "https://github.com/huggingface/transformers/pull/24493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24492/comments | https://api.github.com/repos/huggingface/transformers/issues/24492/events | https://github.com/huggingface/transformers/pull/24492 | 1,774,705,650 | PR_kwDOCUB6oc5T6qLC | 24,492 | [InstructBLIP] Fix bos token of LLaMa checkpoints | {
"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._",
"> However this made me wonder, let's say someone trains a new InstructBLIP model with LLaMa as language model, and which has the tokenizer and model's config properly set. Then the line introduced in this PR might not be what we want... | 1,687 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a fix for InstructBLIP as discussed offline with @gante.
The InstructBLIP models trained with Vicuna (LLaMa) checkpoints used inconsistent model/tokenizer files during training, hence the authors include [this line](https://github.com/salesforce/LAVIS/blob/4a85b17846ee62f09c40... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24492",
"html_url": "https://github.com/huggingface/transformers/pull/24492",
"diff_url": "https://github.com/huggingface/transformers/pull/24492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24491/comments | https://api.github.com/repos/huggingface/transformers/issues/24491/events | https://github.com/huggingface/transformers/issues/24491 | 1,774,701,518 | I_kwDOCUB6oc5px8vO | 24,491 | OutOfMemoryError: CUDA out of memory despite available GPU memory | {
"login": "HumzaSami00",
"id": 101699223,
"node_id": "U_kgDOBg_Olw",
"avatar_url": "https://avatars.githubusercontent.com/u/101699223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HumzaSami00",
"html_url": "https://github.com/HumzaSami00",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Your computation does not inclide the optimizer states (an additional 2*3B) and all intermediate activations saved to compute the radients for the backward pass, which will be huge at a batch size of 16 with sequence lengths of 600",
"Seems you are right. But Why memoray allocation is keep increasing ? I started... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
Iโm encountering an issue with GPU memory allocation while training a GPT-2 model on a GPU with 24 GB of VRAM. Despite having a substantial amount of available memory, Iโm receiving the following error:
`OutOfMemoryError: CUDA out of memory. Tried to allocate 64.00 MiB (GPU 0; 23.68 GiB total capa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24491/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24490/comments | https://api.github.com/repos/huggingface/transformers/issues/24490/events | https://github.com/huggingface/transformers/pull/24490 | 1,774,633,280 | PR_kwDOCUB6oc5T6aXS | 24,490 | Update `InstructBlipModelIntegrationTest` | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Fix `InstructBlipModelIntegrationTest`. See comments in the changes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24490/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24490",
"html_url": "https://github.com/huggingface/transformers/pull/24490",
"diff_url": "https://github.com/huggingface/transformers/pull/24490.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24490.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24489/comments | https://api.github.com/repos/huggingface/transformers/issues/24489/events | https://github.com/huggingface/transformers/pull/24489 | 1,774,464,687 | PR_kwDOCUB6oc5T5050 | 24,489 | deepspeed z1/z2 state dict fix | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello Sylvain, updated the description of the PR, Thank you!"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes https://github.com/huggingface/transformers/issues/22822
2. Should be merged after https://github.com/huggingface/accelerate/pull/1638
The fix in accelerate uses the `deepspeed.checkpoint.utils.clone_tensors_for_torch_save` which removes the bloated state_dict. In Trainer, we use `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24489",
"html_url": "https://github.com/huggingface/transformers/pull/24489",
"diff_url": "https://github.com/huggingface/transformers/pull/24489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24489.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24488/comments | https://api.github.com/repos/huggingface/transformers/issues/24488/events | https://github.com/huggingface/transformers/pull/24488 | 1,774,377,481 | PR_kwDOCUB6oc5T5hte | 24,488 | [`InstructBlip`] Add accelerate support for instructblip | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you :) could you add an integration test?",
"Hey @NielsRogge !\r\nLet's maybe add it together with: https://github.com/huggingface/transformers/pull/24490/files#r1242095062 so we should probably merge this first :D"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
As per title, let's make users benefit from 8bit / 4bit loading of instructblip models
cc @amyeroberts @sgugger @NielsRogge
all `accelerate` tests pass for this model
As a side note, as instruct blip relies on flan-t5 as backbone for some models, therefore it is important to add
``... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24488",
"html_url": "https://github.com/huggingface/transformers/pull/24488",
"diff_url": "https://github.com/huggingface/transformers/pull/24488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24488.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24487/comments | https://api.github.com/repos/huggingface/transformers/issues/24487/events | https://github.com/huggingface/transformers/pull/24487 | 1,774,308,038 | PR_kwDOCUB6oc5T5Svy | 24,487 | add missing alignment_heads to Whisper integration test | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null |
## 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/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- [x] Was ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24487",
"html_url": "https://github.com/huggingface/transformers/pull/24487",
"diff_url": "https://github.com/huggingface/transformers/pull/24487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24487.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24486/comments | https://api.github.com/repos/huggingface/transformers/issues/24486/events | https://github.com/huggingface/transformers/pull/24486 | 1,774,278,629 | PR_kwDOCUB6oc5T5MPh | 24,486 | Compute `dropout_probability` only in training mode | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Same issue as in #24483 (caused by #24434 ), but with a different fix. For core maintainers to decide which one is better.
If we decide to go this way, I will do fix-copies. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24486",
"html_url": "https://github.com/huggingface/transformers/pull/24486",
"diff_url": "https://github.com/huggingface/transformers/pull/24486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24486.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24485/comments | https://api.github.com/repos/huggingface/transformers/issues/24485/events | https://github.com/huggingface/transformers/pull/24485 | 1,774,221,117 | PR_kwDOCUB6oc5T4_1w | 24,485 | Fix poor past ci | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
<img width="326" alt="Screenshot 2023-06-26 102340" src="https://github.com/huggingface/transformers/assets/2521628/461069ba-637a-4ebf-bb2e-103bba81bbcc">
:face_with_spiral_eyes: Let's be a bit nice to torch 1.11 and 1.10 ๐ .
(just a type issue: `(line 641) RuntimeError: expected ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24485",
"html_url": "https://github.com/huggingface/transformers/pull/24485",
"diff_url": "https://github.com/huggingface/transformers/pull/24485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24484/comments | https://api.github.com/repos/huggingface/transformers/issues/24484/events | https://github.com/huggingface/transformers/pull/24484 | 1,774,208,624 | PR_kwDOCUB6oc5T49Kk | 24,484 | Update token_classification.md | {
"login": "condor-cp",
"id": 40066676,
"node_id": "MDQ6VXNlcjQwMDY2Njc2",
"avatar_url": "https://avatars.githubusercontent.com/u/40066676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/condor-cp",
"html_url": "https://github.com/condor-cp",
"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_24484). All of your documentation changes will be reflected on that endpoint."
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | Add link to pytorch CrossEntropyLoss so that one understand why '-100' is ignore by the loss function.
# 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24484/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24484",
"html_url": "https://github.com/huggingface/transformers/pull/24484",
"diff_url": "https://github.com/huggingface/transformers/pull/24484.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24484.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24483/comments | https://api.github.com/repos/huggingface/transformers/issues/24483/events | https://github.com/huggingface/transformers/pull/24483 | 1,774,177,374 | PR_kwDOCUB6oc5T42QF | 24,483 | Fix `SpeechT5` doctests | {
"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._",
"Yes, that would be a better fix I agree.",
"Thanks, I will follow the same fix in #24486 instead."
] | 1,687 | 1,688 | 1,687 | COLLABORATOR | null | # What does this PR do?
PR #24434 changes `np.random.uniform(0, 1)` to `torch.rand([])`. In the forward method of `SpeechT5ForSpeechToSpeech` and `SpeechT5ForTextToSpeech`, the line `dropout_probability = torch.rand([])` is executed no matter if we are in training/inference mode. So the new change in #24434 will cha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24483",
"html_url": "https://github.com/huggingface/transformers/pull/24483",
"diff_url": "https://github.com/huggingface/transformers/pull/24483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24483.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24482/comments | https://api.github.com/repos/huggingface/transformers/issues/24482/events | https://github.com/huggingface/transformers/pull/24482 | 1,774,120,816 | PR_kwDOCUB6oc5T4qBF | 24,482 | [Time-Series] Added blog-post to tips | {
"login": "elisim",
"id": 17675462,
"node_id": "MDQ6VXNlcjE3Njc1NDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/17675462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elisim",
"html_url": "https://github.com/elisim",
"followers_url": "https://api.github.com/users/elisim/fo... | [] | closed | false | null | [] | [
"thanks! LGTM ๐๐ฝ ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks!"
] | 1,687 | 1,688 | 1,688 | CONTRIBUTOR | null | @kashif | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24482/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24482",
"html_url": "https://github.com/huggingface/transformers/pull/24482",
"diff_url": "https://github.com/huggingface/transformers/pull/24482.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24482.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24481/comments | https://api.github.com/repos/huggingface/transformers/issues/24481/events | https://github.com/huggingface/transformers/pull/24481 | 1,774,084,608 | PR_kwDOCUB6oc5T4iIg | 24,481 | [`T5`] Add T5ForQuestionAnswering and MT5ForQuestionAnswering | {
"login": "sjrl",
"id": 10526848,
"node_id": "MDQ6VXNlcjEwNTI2ODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/10526848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjrl",
"html_url": "https://github.com/sjrl",
"followers_url": "https://api.github.com/users/sjrl/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @ArthurZucker thanks for the review! I do have a question about the check_repository_consistency. I noticed that the error I currently receive is (link [here](https://app.circleci.com/pipelines/github/huggingface/transformers/671... | 1,687 | 1,690 | 1,687 | 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/24481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24481",
"html_url": "https://github.com/huggingface/transformers/pull/24481",
"diff_url": "https://github.com/huggingface/transformers/pull/24481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24480/comments | https://api.github.com/repos/huggingface/transformers/issues/24480/events | https://github.com/huggingface/transformers/issues/24480 | 1,773,964,901 | I_kwDOCUB6oc5pvI5l | 24,480 | RoBERTa required token_type_ids issue | {
"login": "Sion1225",
"id": 50553429,
"node_id": "MDQ6VXNlcjUwNTUzNDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/50553429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sion1225",
"html_url": "https://github.com/Sion1225",
"followers_url": "https://api.github.com/users/Sio... | [] | closed | false | null | [] | [
"It was solved.\r\ncode should be \r\n```python\r\ndef get_config(self):\r\n config = super().get_config()\r\n config.update({\r\n \"model_name\": self.model_name,\r\n \"Corr_layer_config\": self.Corr_layer_path # suppose Corr_layer_path is the variable that holds the path to Co... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.9.0
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cpu (False)
- Tensorflow version (GPU?): 2.10.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24479/comments | https://api.github.com/repos/huggingface/transformers/issues/24479/events | https://github.com/huggingface/transformers/issues/24479 | 1,773,937,296 | I_kwDOCUB6oc5pvCKQ | 24,479 | Enhanced Parameter Freezing Capabilities in Trainer Class | {
"login": "Hiusam",
"id": 43744525,
"node_id": "MDQ6VXNlcjQzNzQ0NTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/43744525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hiusam",
"html_url": "https://github.com/Hiusam",
"followers_url": "https://api.github.com/users/Hiusam/fo... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,687 | 1,691 | 1,691 | NONE | null | ### Feature request
The feature proposal aims to introduce a more streamlined and intuitive approach to freezing and unfreezing specific model components directly in the Trainer class of the Hugging Face transformers library.
### Motivation
I've found that when I need to freeze certain parameters or components of my... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24479/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/24479/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24478/comments | https://api.github.com/repos/huggingface/transformers/issues/24478/events | https://github.com/huggingface/transformers/issues/24478 | 1,773,908,552 | I_kwDOCUB6oc5pu7JI | 24,478 | cannot import name 'OwlViTImageProcessor' from 'transformers' | {
"login": "mazhai",
"id": 5811436,
"node_id": "MDQ6VXNlcjU4MTE0MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5811436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mazhai",
"html_url": "https://github.com/mazhai",
"followers_url": "https://api.github.com/users/mazhai/foll... | [] | closed | false | null | [] | [
"It is definitely in the lbirary so I would suggest re-installing `transformers` and double-checking you are running your code in the right environment.",
"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... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
transformer version:4.29.2
platform: macOS Ventura
cpu: apple M2 Max
python versin: 3.10
### 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, .... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24478/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24477/comments | https://api.github.com/repos/huggingface/transformers/issues/24477/events | https://github.com/huggingface/transformers/pull/24477 | 1,773,871,047 | PR_kwDOCUB6oc5T34bd | 24,477 | [`Umt5`] Add google's umt5 to `transformers` | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @ArthurZucker , thanks for updating this! As far as we can tell, it is not just mT5, because of joined/separate key-value in attention. Was this problem solved in latest conversion script of this PR :thinking: \r\n\r\n/cc @agemagi... | 1,687 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
Superseeds #22626 which has been stale for quite some time
A kaggle notebook for reproducing and running the originial model:
https://www.kaggle.com/arthurzucker/umt5-inference
- Tokenizer is a BertGenerationTokenizer. Here is how to convert it:
```python
!wget https://storage.goo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24477",
"html_url": "https://github.com/huggingface/transformers/pull/24477",
"diff_url": "https://github.com/huggingface/transformers/pull/24477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24476/comments | https://api.github.com/repos/huggingface/transformers/issues/24476/events | https://github.com/huggingface/transformers/pull/24476 | 1,773,763,792 | PR_kwDOCUB6oc5T3jyH | 24,476 | [`WhisperTokenizer`] Allow encoding timestamp tokens | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sanchit-gandhi ",
"In order to keep backward compatibility / follow the original behaviour, I'll add a `encode_special_token` to whisper tokenizer. Not sure we can have 100% backward on this, because all specials tokens will be... | 1,687 | 1,694 | 1,690 | COLLABORATOR | null | # What does this PR do?
Adresses #20225. Openai recently changed their tokenizer to allow encoding timestamp tokens as is (instead of splitting them). This is a breaking change because you can't encode them by splitting anymore, it will fail with the following error:
```ptyhon
ValueError: Encountered text corres... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24476",
"html_url": "https://github.com/huggingface/transformers/pull/24476",
"diff_url": "https://github.com/huggingface/transformers/pull/24476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24475/comments | https://api.github.com/repos/huggingface/transformers/issues/24475/events | https://github.com/huggingface/transformers/issues/24475 | 1,773,727,595 | I_kwDOCUB6oc5puO9r | 24,475 | Does the model.generate supports batch_size > 1 ? | {
"login": "liuchengyuan123",
"id": 34617968,
"node_id": "MDQ6VXNlcjM0NjE3OTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/34617968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liuchengyuan123",
"html_url": "https://github.com/liuchengyuan123",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Yes, I'm specifically adding docs for it in #24432 ",
"FYI this is the script you can use for batched generation:\r\n```\r\nfrom transformers import LlamaTokenizer, AutoModelForCausalLM\r\nimport torch\r\n\r\ntokenizer = LlamaTokenizer.from_pretrained(\"openlm-research/open_llama_3b\")\r\nmodel = AutoModelForCau... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
Does the function `model.generate` supports the case when batch size of `input_ids` > 1?
It is required especially for evaluation!
The following bugs are reported when I call `model.generate` to generate 2 or more `input_ids`, where model is a`LlamaForCausalLM`:
```
RuntimeError: CUDA error: devi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24474/comments | https://api.github.com/repos/huggingface/transformers/issues/24474/events | https://github.com/huggingface/transformers/issues/24474 | 1,773,626,704 | I_kwDOCUB6oc5pt2VQ | 24,474 | VideoMAE pretraining error when customizing compute_metrics | {
"login": "gindij",
"id": 6021161,
"node_id": "MDQ6VXNlcjYwMjExNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6021161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gindij",
"html_url": "https://github.com/gindij",
"followers_url": "https://api.github.com/users/gindij/foll... | [] | closed | false | null | [] | [
"Hi @gindij, \r\n\r\nFor us help debug the issue, it's necessary to be able to reproduce the error on our side. At the moment this isn't possible without knowing `_data_collator`, `_compute_metrics_videomae` or the dataset. Could you share a minimal reproducer please? ",
"@amyeroberts thanks for the quick reply!\... | 1,687 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: macOS-13.4.1-arm64-i386-64bit
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24474/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24473/comments | https://api.github.com/repos/huggingface/transformers/issues/24473/events | https://github.com/huggingface/transformers/issues/24473 | 1,773,624,603 | I_kwDOCUB6oc5pt10b | 24,473 | Stucked on tokenization before training when using 3 GPU, but not when using 2 GPU | {
"login": "higopires",
"id": 66256549,
"node_id": "MDQ6VXNlcjY2MjU2NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/66256549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/higopires",
"html_url": "https://github.com/higopires",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @Narsil you know more about me potential problems here (I remember a flag for tokenizer parallelism, might need to be set)",
"This is very odd, since `tokenizers` doesn't use the GPU at all.\r\n\r\nYou could try using `TOKENIZERS_PARALLELISM=0 CUDA_VISIBLE_DEVICE....` to disable the parallelism in `tokenizers... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.14.21-150400.24.55-default-x86_64-with-glibc2.31
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Fla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24472/comments | https://api.github.com/repos/huggingface/transformers/issues/24472/events | https://github.com/huggingface/transformers/issues/24472 | 1,773,585,785 | I_kwDOCUB6oc5ptsV5 | 24,472 | Adding support for scaling rotary position embeddings | {
"login": "kaiokendev",
"id": 129691954,
"node_id": "U_kgDOB7rxMg",
"avatar_url": "https://avatars.githubusercontent.com/u/129691954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaiokendev",
"html_url": "https://github.com/kaiokendev",
"followers_url": "https://api.github.com/users/kai... | [] | closed | false | null | [] | [
"any updates on this?",
"@lucasjinreal Yes, it is now an official part of the library\r\nhttps://github.com/huggingface/transformers/pull/24653#issuecomment-1635324005\r\n\r\nSo I will close this issue",
"Here are the docs btw\r\nhttps://huggingface.co/docs/transformers/main/en/model_doc/llama#transformers.Llam... | 1,687 | 1,689 | 1,689 | NONE | null | ### Feature request
Hello,
I would like if possible for Rotary Position Embedding scaling factors to be usable in the library. Currently this can only be done by monkey-patching the library.
Namely, it requires modifying the:
- `max_position_embeddings`: This can already be done via the model's config class o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24472/reactions",
"total_count": 8,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24472/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24471/comments | https://api.github.com/repos/huggingface/transformers/issues/24471/events | https://github.com/huggingface/transformers/issues/24471 | 1,773,546,213 | I_kwDOCUB6oc5ptirl | 24,471 | "MPTForCausalLM not supported" error when using pipeline, but not when using from_pretrained | {
"login": "leondz",
"id": 121934,
"node_id": "MDQ6VXNlcjEyMTkzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/121934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leondz",
"html_url": "https://github.com/leondz",
"followers_url": "https://api.github.com/users/leondz/follow... | [] | closed | false | null | [] | [
"Hey, I suggest you to open this issue on the repo, this is because the `auto_map ` attribute in the `config.json` file is not properly set. We are probably going to add this model to transformers soon too! "
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | ### System Info
Python 3.8.10 (default, Nov 14 2022, 12:59:47)
transformers.__version__ is '4.30.2'
lambda labs 1xA100
invoking `generator = transformers.pipeline(task="text-generation", model="mosaicml/mpt-7b", trust_remote_code=True)` ends with this exception:
```
You are using config.init_device='cpu'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24470/comments | https://api.github.com/repos/huggingface/transformers/issues/24470/events | https://github.com/huggingface/transformers/issues/24470 | 1,773,502,078 | I_kwDOCUB6oc5ptX5- | 24,470 | Error when try to load pretrained model | {
"login": "BrahianVT",
"id": 12876560,
"node_id": "MDQ6VXNlcjEyODc2NTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/12876560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BrahianVT",
"html_url": "https://github.com/BrahianVT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Please follow the issue template and give us the result of `transformers-cli env`.",
"thanks installing transformers fixed the error, I'm like a beginner in this topic , sorry \r\nRegards"
] | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
I've been trying to load a pretrained model:
When I tried to execute this :
from transformers import T5ForConditionalGeneration,T5Tokenizer
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
models = T5ForConditionalGeneration.from_pretrained("Michau/t5-b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24470/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24469/comments | https://api.github.com/repos/huggingface/transformers/issues/24469/events | https://github.com/huggingface/transformers/issues/24469 | 1,773,499,348 | I_kwDOCUB6oc5ptXPU | 24,469 | ValueError raised during accelerate decoding | {
"login": "petroskarypis",
"id": 52904479,
"node_id": "MDQ6VXNlcjUyOTA0NDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/52904479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/petroskarypis",
"html_url": "https://github.com/petroskarypis",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
transformers-4.28.1
python-3.11.3
### Who can help?
@gant
Example code found in this blogpost raises errors: [https://huggingface.co/blog/assisted-generation](https://huggingface.co/blog/assisted-generation).
### Information
- [X] The official example scripts
- [ ] My own modified sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24468/comments | https://api.github.com/repos/huggingface/transformers/issues/24468/events | https://github.com/huggingface/transformers/issues/24468 | 1,773,454,335 | I_kwDOCUB6oc5ptMP_ | 24,468 | DeepSpeed ZeRO stage3+huggyllama/llama: RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu) | {
"login": "memray",
"id": 4197249,
"node_id": "MDQ6VXNlcjQxOTcyNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4197249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/memray",
"html_url": "https://github.com/memray",
"followers_url": "https://api.github.com/users/memray/foll... | [] | closed | false | null | [] | [
"Hello @memray, this issue seems unrelated to DeepSpeed integration. Could you provide a minimal reproducible example?",
"No, I also tested `mosaicml/mpt-7b` and I found it worked. I believe it's more related to the implementation of LLaMA because `openlm-research/open_llama_7b` also fails. Can you let me know wh... | 1,687 | 1,693 | 1,693 | NONE | null | ### System Info
- deepspeed: 0.9.5+1491e14e
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.10.133+-x86_64-with-glibc2.17
- Python version: 3.8.15
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24468/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/24468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24467/comments | https://api.github.com/repos/huggingface/transformers/issues/24467/events | https://github.com/huggingface/transformers/issues/24467 | 1,773,425,934 | I_kwDOCUB6oc5ptFUO | 24,467 | Pipeline cannot be initialized with the "state_dict" parameter | {
"login": "tg-bomze",
"id": 48222107,
"node_id": "MDQ6VXNlcjQ4MjIyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/48222107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tg-bomze",
"html_url": "https://github.com/tg-bomze",
"followers_url": "https://api.github.com/users/tg-... | [] | closed | false | null | [] | [
"You cannot use the `state_dict` argument with `device_map=\"auto\"`, we only support the base case\r\n```py\r\nbase_model = LlamaForCausalLM.from_pretrained(None, config=config, state_dict=state_dict)\r\n```",
"Thanks @sgugger. Your advice really helped. I don't have enough memory to load the model even on fp16,... | 1,687 | 1,698 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24466/comments | https://api.github.com/repos/huggingface/transformers/issues/24466/events | https://github.com/huggingface/transformers/issues/24466 | 1,773,402,629 | I_kwDOCUB6oc5ps_oF | 24,466 | Confusing behavior of push_to_hub + from_pretrained + safetensors | {
"login": "morrisalp",
"id": 8263996,
"node_id": "MDQ6VXNlcjgyNjM5OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8263996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/morrisalp",
"html_url": "https://github.com/morrisalp",
"followers_url": "https://api.github.com/users/mo... | [] | closed | false | null | [] | [
"FYI, the ad-hoc solution I used now is to delete `model.safetensors` from the model hub repo and then use the convert space [here](https://huggingface.co/spaces/safetensors/convert).\r\nBut it's not obvious to do this and not convenient to have to do this every time I update the model.\r\nIMO the behavior of `push... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.30.1
- Platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24466/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24465/comments | https://api.github.com/repos/huggingface/transformers/issues/24465/events | https://github.com/huggingface/transformers/issues/24465 | 1,773,369,508 | I_kwDOCUB6oc5ps3ik | 24,465 | squad_convert_examples_to_features does not work with tensorflow | {
"login": "Tialo",
"id": 65392801,
"node_id": "MDQ6VXNlcjY1MzkyODAx",
"avatar_url": "https://avatars.githubusercontent.com/u/65392801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tialo",
"html_url": "https://github.com/Tialo",
"followers_url": "https://api.github.com/users/Tialo/follow... | [] | closed | false | null | [] | [
"This is not a maintained part of the library anyore, we use `datasets` for the preprocessing, you can check the QA example [here](https://github.com/huggingface/transformers/blob/main/examples/tensorflow/question-answering/run_qa.py)."
] | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: macOS-13.4-x86_64-i386-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24465/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24464/comments | https://api.github.com/repos/huggingface/transformers/issues/24464/events | https://github.com/huggingface/transformers/issues/24464 | 1,773,350,476 | I_kwDOCUB6oc5psy5M | 24,464 | force_download for pipelines | {
"login": "morrisalp",
"id": 8263996,
"node_id": "MDQ6VXNlcjgyNjM5OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8263996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/morrisalp",
"html_url": "https://github.com/morrisalp",
"followers_url": "https://api.github.com/users/mo... | [] | closed | false | null | [] | [
"cc @Narsil for information. You can already pass this in the `model_kwargs` @morrisalp , I don't think it's worth surfacing it more than this.",
"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.\... | 1,687 | 1,691 | 1,691 | NONE | null | ### Feature request
Add `force_download=True/False` argument to the pipeline API to allow for re-downloading a model and ignoring local cache.
### Motivation
[PreTrainedModel](https://huggingface.co/docs/transformers/main_classes/model#transformers.PreTrainedModel) has the very useful argument `force_download` argum... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24463/comments | https://api.github.com/repos/huggingface/transformers/issues/24463/events | https://github.com/huggingface/transformers/pull/24463 | 1,773,197,292 | PR_kwDOCUB6oc5T1vGD | 24,463 | when resume from peft checkpoint, the model should be trainable | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@younesbelkada please help review",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | model.training is false after model.load_adapter of peft. see https://github.com/huggingface/peft/blob/main/src/peft/peft_model.py#L402, default value of is_trainable is False
- trainer: @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24463",
"html_url": "https://github.com/huggingface/transformers/pull/24463",
"diff_url": "https://github.com/huggingface/transformers/pull/24463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24462/comments | https://api.github.com/repos/huggingface/transformers/issues/24462/events | https://github.com/huggingface/transformers/issues/24462 | 1,773,186,997 | I_kwDOCUB6oc5psK-1 | 24,462 | 'NoneType' object has no attribute 'flush' | {
"login": "17Reset",
"id": 122418720,
"node_id": "U_kgDOB0v2IA",
"avatar_url": "https://avatars.githubusercontent.com/u/122418720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/17Reset",
"html_url": "https://github.com/17Reset",
"followers_url": "https://api.github.com/users/17Reset/foll... | [] | closed | false | null | [] | [
"cc @LysandreJik ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/m... | 1,687 | 1,690 | 1,690 | NONE | null | When I use PyInstaller to package transformers program, if I choose windowless mode, I get the following error, but I don't want console mode, I want to build the program based on windowless mode.
` File "transformers\utils\import_utils.py", line 37, in <module>
logger = logging.get_logger(__name__) # pylint: d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24462/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24461/comments | https://api.github.com/repos/huggingface/transformers/issues/24461/events | https://github.com/huggingface/transformers/issues/24461 | 1,773,136,095 | I_kwDOCUB6oc5pr-jf | 24,461 | transformers.LlamaTokenizer.from_pretrained does not work after transformers are packaged with Pyinstaller | {
"login": "17Reset",
"id": 122418720,
"node_id": "U_kgDOB0v2IA",
"avatar_url": "https://avatars.githubusercontent.com/u/122418720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/17Reset",
"html_url": "https://github.com/17Reset",
"followers_url": "https://api.github.com/users/17Reset/foll... | [] | closed | false | null | [] | [
"The Pypi package does not have access to your local drive where `LLM_CHECKPOINT` points to, that's why you get different behavior.",
"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 no... | 1,687 | 1,690 | 1,690 | NONE | null | When I use the following code in my python project, the model will load and work properly, but when I package my project using Pyinstaller, I found by debugging that this code to load the model, does not work properly: tokenizer = transformers.LlamaTokenizer.from_ pretrained(LLM_CHECKPOINT). This complete function is s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24460/comments | https://api.github.com/repos/huggingface/transformers/issues/24460/events | https://github.com/huggingface/transformers/pull/24460 | 1,773,113,734 | PR_kwDOCUB6oc5T1dWj | 24,460 | use accelerate autocast in jit eval path, since mix precision logic isโฆ | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@yao-matrix",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | โฆ in accelerator currently
Fixes # (issue)
mix precision logic is all moved to accelerator, so autocast_smart_context_manager does not take effect any longer. use accelerate autocast instead
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24460",
"html_url": "https://github.com/huggingface/transformers/pull/24460",
"diff_url": "https://github.com/huggingface/transformers/pull/24460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24460.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24459/comments | https://api.github.com/repos/huggingface/transformers/issues/24459/events | https://github.com/huggingface/transformers/pull/24459 | 1,772,947,812 | PR_kwDOCUB6oc5T06vD | 24,459 | Add FlaxMinNewTokensLengthLogitsProcessor | {
"login": "yeandy",
"id": 14128880,
"node_id": "MDQ6VXNlcjE0MTI4ODgw",
"avatar_url": "https://avatars.githubusercontent.com/u/14128880?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeandy",
"html_url": "https://github.com/yeandy",
"followers_url": "https://api.github.com/users/yeandy/fo... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,687 | 1,690 | 1,690 | NONE | null | # What does this PR do?
PyTorch's options of logit processors has both `MinLengthLogitsProcessor` and `MinNewTokensLengthLogitsProcessor`. See [code](https://github.com/huggingface/transformers/blob/v4.30.2/src/transformers/generation/utils.py#L886C1-L901C14).
However, Flax only has [FlaxMinLengthLogitsProcessor]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24459/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24459",
"html_url": "https://github.com/huggingface/transformers/pull/24459",
"diff_url": "https://github.com/huggingface/transformers/pull/24459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24459.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24458/comments | https://api.github.com/repos/huggingface/transformers/issues/24458/events | https://github.com/huggingface/transformers/issues/24458 | 1,772,871,881 | I_kwDOCUB6oc5pq-DJ | 24,458 | audio classification example script RuntimeError on evaluation | {
"login": "adamkatav",
"id": 13109136,
"node_id": "MDQ6VXNlcjEzMTA5MTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/13109136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adamkatav",
"html_url": "https://github.com/adamkatav",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @adamkatav - do you have a reproducible code snippet we could use to emulate this behaviour?",
"> Hey @adamkatav - do you have a reproducibl\r\ne code snippet we could use to emulate this behaviour?\r\n\r\nSure, it's a copy-paste from [here](https://github.com/huggingface/transformers/tree/main/examples/pyto... | 1,687 | 1,690 | 1,690 | NONE | null | ### System Info
accelerate==0.21.0.dev0
OS: Ubuntu 20.04
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.0-57-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24458/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24457/comments | https://api.github.com/repos/huggingface/transformers/issues/24457/events | https://github.com/huggingface/transformers/pull/24457 | 1,772,871,730 | PR_kwDOCUB6oc5T0q6u | 24,457 | Generate: deprecation timeline for parameterization though the model config | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24457). 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,687 | 1,690 | 1,690 | MEMBER | null | # What does this PR do?
We had a warning about deprecating the parameterization of `.generate()` through the model config, but there was no specific date. This PR makes it clear it will go away in `v4.32`.
The extra parameters and code to allow the old and the new way of parameterizing `.generate()` to live toget... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24457",
"html_url": "https://github.com/huggingface/transformers/pull/24457",
"diff_url": "https://github.com/huggingface/transformers/pull/24457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24456/comments | https://api.github.com/repos/huggingface/transformers/issues/24456/events | https://github.com/huggingface/transformers/pull/24456 | 1,772,850,100 | PR_kwDOCUB6oc5T0mv0 | 24,456 | Generate: `group_beam_search` requires `diversity_penalty>0.0` | {
"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,687 | 1,687 | 1,687 | MEMBER | null | # What does this PR do?
While revisiting `group_beam_search` to review https://github.com/huggingface/transformers/pull/24407, I noticed that we do not require `diversity_penalty` to be `>0.0`. If it is not `>0.0`, then `group_beam_search` degenerates to `beam_search` with `num_beams=num_beams/num_beam_groups` -- us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24456/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24456",
"html_url": "https://github.com/huggingface/transformers/pull/24456",
"diff_url": "https://github.com/huggingface/transformers/pull/24456.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24456.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24455/comments | https://api.github.com/repos/huggingface/transformers/issues/24455/events | https://github.com/huggingface/transformers/issues/24455 | 1,772,847,671 | I_kwDOCUB6oc5pq4I3 | 24,455 | Trajectory Transformer - NameError: name 'self' is not defined | {
"login": "km5ar",
"id": 54015474,
"node_id": "MDQ6VXNlcjU0MDE1NDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54015474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/km5ar",
"html_url": "https://github.com/km5ar",
"followers_url": "https://api.github.com/users/km5ar/follow... | [] | closed | false | null | [] | [
"`self` is indeed not defined in your code. Please use the [forums](https://discuss.huggingface.co/) to debug your code :-)",
"Yeah, but I was using the code directly from the tutorial, so that's the reason I raised this issue...",
"This issue has been automatically marked as stale because it has not had recent... | 1,687 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Using GPU in script?: No
- Using distributed or paral... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24454/comments | https://api.github.com/repos/huggingface/transformers/issues/24454/events | https://github.com/huggingface/transformers/issues/24454 | 1,772,764,421 | I_kwDOCUB6oc5pqj0F | 24,454 | v4.30-release run_ner gives datasets.builder.DatasetGenerationError | {
"login": "santoshcoder23",
"id": 135539914,
"node_id": "U_kgDOCBQsyg",
"avatar_url": "https://avatars.githubusercontent.com/u/135539914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/santoshcoder23",
"html_url": "https://github.com/santoshcoder23",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"That sounds like an issue for `datasets`, not Transformers :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](http... | 1,687 | 1,690 | 1,690 | NONE | null | ### System Info
transformers==v4.30-release
pytorch latest
datasets latest
Ubuntu-20.0
### Who can help?
@sgugger
### 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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24453/comments | https://api.github.com/repos/huggingface/transformers/issues/24453/events | https://github.com/huggingface/transformers/pull/24453 | 1,772,580,505 | PR_kwDOCUB6oc5Tzrp6 | 24,453 | Generate: `min_tokens_to_keep` has to be `>= 1` | {
"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._",
"Thanks @gante!"
] | 1,687 | 1,687 | 1,687 | MEMBER | null | # What does this PR do?
As pointed out by @njhill in [this comment](https://github.com/huggingface/transformers/pull/24111#issuecomment-1601824441), `min_tokens_to_keep` has to be `>=1`. When it is not, the sampling step will lead to numerical exceptions, as all tokens have `-float("inf")` as logits.
This PR upda... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24453",
"html_url": "https://github.com/huggingface/transformers/pull/24453",
"diff_url": "https://github.com/huggingface/transformers/pull/24453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24453.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24452/comments | https://api.github.com/repos/huggingface/transformers/issues/24452/events | https://github.com/huggingface/transformers/pull/24452 | 1,772,332,569 | PR_kwDOCUB6oc5Ty2qD | 24,452 | Fix tpu_metrics_debug | {
"login": "cowanmeg",
"id": 6570496,
"node_id": "MDQ6VXNlcjY1NzA0OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6570496?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cowanmeg",
"html_url": "https://github.com/cowanmeg",
"followers_url": "https://api.github.com/users/cowan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Adding the `--tpu_metrics_debug` argument causes an error. Quick fix before the argument is deprecated.
In `training_args.py` check if `self.debug` is None before appending the string since `self.debug` is now initialized to None instead of the empty string. Related to https://github.com/hu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24452/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24452",
"html_url": "https://github.com/huggingface/transformers/pull/24452",
"diff_url": "https://github.com/huggingface/transformers/pull/24452.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24452.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24451/comments | https://api.github.com/repos/huggingface/transformers/issues/24451/events | https://github.com/huggingface/transformers/issues/24451 | 1,772,258,057 | I_kwDOCUB6oc5pooMJ | 24,451 | is_torch_bf16_gpu_available does not check for AMD GPUs | {
"login": "cjekel",
"id": 13884657,
"node_id": "MDQ6VXNlcjEzODg0NjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/13884657?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cjekel",
"html_url": "https://github.com/cjekel",
"followers_url": "https://api.github.com/users/cjekel/fo... | [] | closed | false | null | [] | [
"We don't officially support AMD GPUs yet. This is coming soon as we get AMD GPUs to run our CI and check everything runs smoothly, so stay tuned!",
"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 threa... | 1,687 | 1,690 | 1,690 | NONE | null | ### System Info
transformer 4.30.2
python 3.9.13.1
torch 2.0.1
rocm 5.4.2
AMD mi250x
### 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, ...)
- [X] My own ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24450/comments | https://api.github.com/repos/huggingface/transformers/issues/24450/events | https://github.com/huggingface/transformers/pull/24450 | 1,771,913,022 | PR_kwDOCUB6oc5TxdE5 | 24,450 | Update AlbertModel type annotation | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Fixes type annotations.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24450",
"html_url": "https://github.com/huggingface/transformers/pull/24450",
"diff_url": "https://github.com/huggingface/transformers/pull/24450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24449/comments | https://api.github.com/repos/huggingface/transformers/issues/24449/events | https://github.com/huggingface/transformers/issues/24449 | 1,771,890,836 | I_kwDOCUB6oc5pnOiU | 24,449 | RuntimeError: unscale_() has already been called on this optimizer since the last update(). | {
"login": "kunaldeo",
"id": 441799,
"node_id": "MDQ6VXNlcjQ0MTc5OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/441799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kunaldeo",
"html_url": "https://github.com/kunaldeo",
"followers_url": "https://api.github.com/users/kunalde... | [] | closed | false | null | [] | [
"cc @pacman100 and @muellerzr ",
"Hello, this is a duplicate issue. Please search the already existing ones. This is fixed via PR https://github.com/huggingface/transformers/pull/24415",
"Yes this is fixed. Thanks."
] | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- `accelerate` version: 0.21.0.dev0
- `peft` version: 0.4.0.dev0
- Platform: Linux-6.3.9-zen1-1-zen-x86_64-with-glibc2.37
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24448/comments | https://api.github.com/repos/huggingface/transformers/issues/24448/events | https://github.com/huggingface/transformers/pull/24448 | 1,771,633,050 | PR_kwDOCUB6oc5TwfRj | 24,448 | Improved keras imports | {
"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._",
"> Keras and they keep moving it around\r\n\r\nIt's tensor-flow ... that's probably the reason.",
"I tested this with a spread of TF versions going back to 2.6. Even at 2.6, it was pretty hard to get an environment that worked with ... | 1,687 | 1,687 | 1,687 | MEMBER | null | A sneaky bug was hiding in our Keras imports, where an import for `call_context` appeared to succeed on some TF versions, but actually got an older, unusable version of the function. This caused `build()` to behave improperly in some cases.
I went on a quest to fix this, and generally clean up our version-specific i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24448/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/24448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24448",
"html_url": "https://github.com/huggingface/transformers/pull/24448",
"diff_url": "https://github.com/huggingface/transformers/pull/24448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24448.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24447/comments | https://api.github.com/repos/huggingface/transformers/issues/24447/events | https://github.com/huggingface/transformers/issues/24447 | 1,771,337,524 | I_kwDOCUB6oc5plHc0 | 24,447 | Error when trying to install transformers with Conda | {
"login": "sophiamaedler",
"id": 15019107,
"node_id": "MDQ6VXNlcjE1MDE5MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/15019107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sophiamaedler",
"html_url": "https://github.com/sophiamaedler",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @LysandreJik ",
"Hey, that seems to be a problem with a missing SSL package.\r\n\r\nCould you check if following these instructions fixes your issue? https://github.com/huggingface/transformers/issues/21805#issuecomment-1478161530",
"This issue has been automatically marked as stale because it has not had r... | 1,687 | 1,704 | 1,690 | NONE | null | ### System Info
- Platform: Linux-5.14.21-150400.24.41-default-x86_64-with-glibc2.10
- Python version: 3.8.17
- Huggingface_hub version: 0.15.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24446/comments | https://api.github.com/repos/huggingface/transformers/issues/24446/events | https://github.com/huggingface/transformers/pull/24446 | 1,771,213,469 | PR_kwDOCUB6oc5TvDvt | 24,446 | fixes issue when saving fsdp via accelerate's FSDP plugin | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks again for this issue! I just finished training a largeish (7b param) model using this fix and have some questions. \r\nI noticed the directory where the model was meant to save looks a bit odd. While the training code seems to... | 1,687 | 1,688 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes https://github.com/huggingface/transformers/issues/24057#issuecomment-1595152783
2. When using Accelerate's integration for FSDP, fsdp_plugin saves the optimizer state under various configs such as Full_Dict, Sharded_Dict ... properly. For other cases such as with FSDP-XLA, the traine... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24446",
"html_url": "https://github.com/huggingface/transformers/pull/24446",
"diff_url": "https://github.com/huggingface/transformers/pull/24446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24446.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24445/comments | https://api.github.com/repos/huggingface/transformers/issues/24445/events | https://github.com/huggingface/transformers/issues/24445 | 1,771,188,958 | I_kwDOCUB6oc5pkjLe | 24,445 | LoRA is incompatible with DeepSpeed ZeRO3 | {
"login": "Weiyun1025",
"id": 47669167,
"node_id": "MDQ6VXNlcjQ3NjY5MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/47669167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Weiyun1025",
"html_url": "https://github.com/Weiyun1025",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hello, please refer this doc for the correct way of using PEFT + DeepSpeed: https://huggingface.co/docs/peft/accelerate/deepspeed-zero3-offload",
"> Hello, please refer this doc for the correct way of using PEFT + DeepSpeed: https://huggingface.co/docs/peft/accelerate/deepspeed-zero3-offload\r\n\r\n Thank you fo... | 1,687 | 1,704 | 1,699 | NONE | null | ### System Info
`pytorch==2.0.0, transformers==4.28.0, peft==0.2.0`
When use LoRA to wrap model in `__init__` and enable deepspeed ZeRO3, i will get the following errors:
```
โญโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโฎ
โ /mnt/petrelfs/wangweiyun/miniconda3/envs/recognize_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24445/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24444/comments | https://api.github.com/repos/huggingface/transformers/issues/24444/events | https://github.com/huggingface/transformers/pull/24444 | 1,771,170,382 | PR_kwDOCUB6oc5Tu6Wm | 24,444 | [`Trainer`] Fix `.to` call on 4bit models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts thanks! \r\nAbsolutely yes, for reference, here is how we set that attribute: https://github.com/huggingface/transformers/blob/ea91c2adca842da3d2f87e094504fa7d66a7008a/src/transformers/modeling_utils.py#L2922 ",
"I can... | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Currently the Trainer fails when calling initializing it on some scenarios using 4bit models
In fact, the device placement is correctly skipped for 8bit models but needs to be skipped as well for 4bit models as the `to` operation is not supported for 4bit models as well.
This PR adds a pat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24444",
"html_url": "https://github.com/huggingface/transformers/pull/24444",
"diff_url": "https://github.com/huggingface/transformers/pull/24444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24444.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24443/comments | https://api.github.com/repos/huggingface/transformers/issues/24443/events | https://github.com/huggingface/transformers/pull/24443 | 1,771,087,084 | PR_kwDOCUB6oc5TuoQy | 24,443 | Update `JukeboxConfig.from_pretrained` | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
The `from_pretrained` of `JukeboxConfig` needs an update (too) after #24306 to avoid the error `TypeError: __init__() got an unexpected keyword argument 'token'`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24443",
"html_url": "https://github.com/huggingface/transformers/pull/24443",
"diff_url": "https://github.com/huggingface/transformers/pull/24443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24442/comments | https://api.github.com/repos/huggingface/transformers/issues/24442/events | https://github.com/huggingface/transformers/issues/24442 | 1,770,965,741 | I_kwDOCUB6oc5pjsrt | 24,442 | Wrong special tokens using XLM-RoBERTa's tokenizer for question answering | {
"login": "severinsimmler",
"id": 16133277,
"node_id": "MDQ6VXNlcjE2MTMzMjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/16133277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/severinsimmler",
"html_url": "https://github.com/severinsimmler",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey, I am not sure where your expectations come from, but in the task of `sequence_classification`, you are not simply concatenating two sentences. If you have a look [here](https://github.com/facebookresearch/XLM/blob/cd281d32612d145c6742b4d3f048f80df8669c30/generate-embeddings.ipynb#L130), an original colab form... | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-6.2.0-20-generic-x86_64-with-glibc2.37
- Python version: 3.11.3
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24441/comments | https://api.github.com/repos/huggingface/transformers/issues/24441/events | https://github.com/huggingface/transformers/issues/24441 | 1,770,760,302 | I_kwDOCUB6oc5pi6hu | 24,441 | Calling the tokenizer modifies the tokenizer object | {
"login": "vikigenius",
"id": 12724810,
"node_id": "MDQ6VXNlcjEyNzI0ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12724810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikigenius",
"html_url": "https://github.com/vikigenius",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Most likely the issue lies in Fast Tokenizers here:\r\n\r\nhttps://github.com/huggingface/transformers/blob/fe861e578f50dc9c06de33cd361d2f625017e624/src/transformers/tokenization_utils_fast.py#L319-L388\r\n\r\nI don't actually see anyplace where the original strategy is restored.\r\n\r\nBecause this snippet\r\n\r\... | 1,687 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-6.1.31_1-x86_64-with-glibc2.36
- Python version: 3.9.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?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24441/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/24441/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24440/comments | https://api.github.com/repos/huggingface/transformers/issues/24440/events | https://github.com/huggingface/transformers/pull/24440 | 1,770,747,173 | PR_kwDOCUB6oc5TtjGg | 24,440 | Fix typo | {
"login": "siryuon",
"id": 28976334,
"node_id": "MDQ6VXNlcjI4OTc2MzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28976334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siryuon",
"html_url": "https://github.com/siryuon",
"followers_url": "https://api.github.com/users/siryuo... | [] | closed | false | null | [] | [
"Thanks for the fix!"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Fix typo (funcionality -> functionality)
<!--
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 co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24440",
"html_url": "https://github.com/huggingface/transformers/pull/24440",
"diff_url": "https://github.com/huggingface/transformers/pull/24440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24440.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24439/comments | https://api.github.com/repos/huggingface/transformers/issues/24439/events | https://github.com/huggingface/transformers/issues/24439 | 1,770,721,007 | I_kwDOCUB6oc5piw7v | 24,439 | AttributeError: 'QuantLinear' object has no attribute 'weight' | {
"login": "sigmareaver",
"id": 6249501,
"node_id": "MDQ6VXNlcjYyNDk1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6249501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sigmareaver",
"html_url": "https://github.com/sigmareaver",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi there. The script you are using is not one we have in Transformers, and we also do not have an object `QuantLinear`, so I'm really unsure why you are reporting this here?",
"Forgive me, I do not understand Python object mechanisms well, but I thought the following line was the error:\r\n`File \"~/anaconda3/li... | 1,687 | 1,693 | 1,687 | NONE | null | ### System Info
Python = 3.9.10
Transformers = 4.30.0.dev0
PyTorch = 2.0.1
Model = Google/flan-ul2
### 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, ...)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24439/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24438/comments | https://api.github.com/repos/huggingface/transformers/issues/24438/events | https://github.com/huggingface/transformers/issues/24438 | 1,770,571,065 | I_kwDOCUB6oc5piMU5 | 24,438 | Problem with Deepspeed integration | {
"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 | [] | [
"cc @pacman100 ",
"Hello, this isn't an issue with DeepSpeed integration. The issue is this: \r\n```\r\nImportError: /root/.cache/torch_extensions/py311_cu118/cpu_adam/cpu_adam.so: cannot open shared object file: No such file or directory\r\n...\r\n\r\nRuntimeError: Error building extension 'cpu_adam'\r\n```",
... | 1,687 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.31
- Python version: 3.11.3
- 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/24438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24437/comments | https://api.github.com/repos/huggingface/transformers/issues/24437/events | https://github.com/huggingface/transformers/issues/24437 | 1,770,534,812 | I_kwDOCUB6oc5piDec | 24,437 | TFPreTrainedModel.build breaks pytorch PreTrainedModel.from_pretrained(from_tf=True) | {
"login": "winston-zillow",
"id": 26907141,
"node_id": "MDQ6VXNlcjI2OTA3MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26907141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winston-zillow",
"html_url": "https://github.com/winston-zillow",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@winston-zillow thanks for the bug report! We're investigating now.",
"Hi @winston-zillow, I did some investigation and I can't reproduce the issue! At my end `RobertaModel.from_pretrained(\"roberta-base\", from_tf=True)` or `RobertaForSequenceClassification.from_pretrained(\"roberta-base\", from_tf=True)` both ... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: macOS-13.4-x86_64-i386-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): 2.10.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24437/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24436/comments | https://api.github.com/repos/huggingface/transformers/issues/24436/events | https://github.com/huggingface/transformers/pull/24436 | 1,770,488,222 | PR_kwDOCUB6oc5TswE4 | 24,436 | [llama] Fix comments in weights converter | {
"login": "weimingzha0",
"id": 38259546,
"node_id": "MDQ6VXNlcjM4MjU5NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/38259546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weimingzha0",
"html_url": "https://github.com/weimingzha0",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | Explain the reason to clone tensor
The original comment doesn't explain much about why we need to do clone.
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@ArthurZucker @younesbelkada ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24436",
"html_url": "https://github.com/huggingface/transformers/pull/24436",
"diff_url": "https://github.com/huggingface/transformers/pull/24436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24436.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24435/comments | https://api.github.com/repos/huggingface/transformers/issues/24435/events | https://github.com/huggingface/transformers/pull/24435 | 1,770,469,793 | PR_kwDOCUB6oc5TssNl | 24,435 | ๐ [i18n-KO] Translated `tflite.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"๋ฒ์ญ ๋ฌธ์ฅ ๋ชจ๋ ์ข์ต๋๋ค. ์์ ๋ฐ์๋ ๋ด์ฉ ์ธ์ ์ถ๊ฐ ์๊ฒฌ ์์ต๋๋ค! ๐ ",
"May you please review this PR? ๐ \r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | <!-- PR์ ์ ๋ชฉ์ "๐ [i18n-KO] Translated `<your_file>.mdx` to Korean" ์ผ๋ก ๋ถํ๋๋ฆฝ๋๋ค -->
# What does this PR do?
Translated the `tflite.mdx` file of the documentation to Korean ๐
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- ๋ฉ์ธ ์ด์์ ๊ธฐ๋ก์ด ๋จ์์! ๊ฐ์ง์ฐ๊ตฌ์ ๋ฆฌํฌ๋ฅผ ์ฌ์ฉํด ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24435",
"html_url": "https://github.com/huggingface/transformers/pull/24435",
"diff_url": "https://github.com/huggingface/transformers/pull/24435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24435.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24434/comments | https://api.github.com/repos/huggingface/transformers/issues/24434/events | https://github.com/huggingface/transformers/pull/24434 | 1,770,393,324 | PR_kwDOCUB6oc5Tsb9o | 24,434 | Replace python random with torch.rand to enable dynamo.export | {
"login": "BowenBao",
"id": 9376104,
"node_id": "MDQ6VXNlcjkzNzYxMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9376104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BowenBao",
"html_url": "https://github.com/BowenBao",
"followers_url": "https://api.github.com/users/Bowen... | [] | closed | false | null | [] | [
"> You are touching multiple Flax model which shouldn't depend on torch, could you revert that?\r\n\r\nNice catch! Done.",
"_The documentation is not available anymore as the PR was closed or merged._",
"@BowenBao Does this really solve the export problem. We are seeing export issues here - https://github.com/p... | 1,687 | 1,692 | 1,687 | 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/24434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24434",
"html_url": "https://github.com/huggingface/transformers/pull/24434",
"diff_url": "https://github.com/huggingface/transformers/pull/24434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24434.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24433/comments | https://api.github.com/repos/huggingface/transformers/issues/24433/events | https://github.com/huggingface/transformers/issues/24433 | 1,770,331,387 | I_kwDOCUB6oc5phRz7 | 24,433 | Decoding error while using DataCollatorForSeq2Seq | {
"login": "Pavloveuge",
"id": 49618087,
"node_id": "MDQ6VXNlcjQ5NjE4MDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/49618087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pavloveuge",
"html_url": "https://github.com/Pavloveuge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Yes, you need to replace the labels indices that are at -100 to be able to decode them. The -100 indicates to PyTorch the corresponding token should be ignored during the loss computation, this is not a bug.\r\n\r\nAlso please use the [forums](https://discuss.huggingface.co/) for questions like this.",
"OK, than... | 1,687 | 1,697 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24433/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/24433/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24432/comments | https://api.github.com/repos/huggingface/transformers/issues/24432/events | https://github.com/huggingface/transformers/pull/24432 | 1,770,306,285 | PR_kwDOCUB6oc5TsI8i | 24,432 | [GPT-2] Add docs | {
"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 | [] | [
"cc @stevhliu ",
"_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 t... | 1,687 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Lots of people don't seem to know about batched generation with GPT-2 and friends. Hence this PR adds a section to the docs, similar to the T5 docs.
It also fixes an issue in the T5 docs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24432",
"html_url": "https://github.com/huggingface/transformers/pull/24432",
"diff_url": "https://github.com/huggingface/transformers/pull/24432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24432.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24431/comments | https://api.github.com/repos/huggingface/transformers/issues/24431/events | https://github.com/huggingface/transformers/issues/24431 | 1,770,247,718 | I_kwDOCUB6oc5pg9Ym | 24,431 | bug in trainer with accelerate prepare of GPT2LMHeadModel using fp16 | {
"login": "StevenSong",
"id": 26208374,
"node_id": "MDQ6VXNlcjI2MjA4Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/26208374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StevenSong",
"html_url": "https://github.com/StevenSong",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @pacman100 and @muellerzr ",
"Having the same issue with QLoRA style PEFT (also when setting FP16 to off).",
"Hello @StevenSong, \r\n\r\nThank you for the minimal reproducible example. The culprit in the above example is `device_map=\"auto\",`. The below code runs fine:\r\n\r\n```diff\r\nimport os\r\nimport... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
```
- `transformers` version: 4.30.2
- Platform: Linux-4.15.0-192-generic-x86_64-with-glibc2.27
- Python version: 3.11.3
- 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?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24431/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/24431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24430/comments | https://api.github.com/repos/huggingface/transformers/issues/24430/events | https://github.com/huggingface/transformers/pull/24430 | 1,770,118,206 | PR_kwDOCUB6oc5Trf0C | 24,430 | Clarify batch size displayed when using DataParallel | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
As pointed out in #24345, the batch size displayed when using `DataParallel` is unclear, this PR fixes that.
Fixes #24345 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24430/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24430",
"html_url": "https://github.com/huggingface/transformers/pull/24430",
"diff_url": "https://github.com/huggingface/transformers/pull/24430.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24430.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24429/comments | https://api.github.com/repos/huggingface/transformers/issues/24429/events | https://github.com/huggingface/transformers/pull/24429 | 1,770,025,126 | PR_kwDOCUB6oc5TrLos | 24,429 | Add support for for loops in python interpreter | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
For loops are safe to execute in our restricted Python interpreter, this PR adds support for it and adds `range` in the list of base Python tools allowed.
Fixes #24362 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24429/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24429",
"html_url": "https://github.com/huggingface/transformers/pull/24429",
"diff_url": "https://github.com/huggingface/transformers/pull/24429.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24429.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24428/comments | https://api.github.com/repos/huggingface/transformers/issues/24428/events | https://github.com/huggingface/transformers/pull/24428 | 1,769,942,590 | PR_kwDOCUB6oc5Tq5aZ | 24,428 | Fix some `TFWhisperModelIntegrationTests` | {
"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._",
"> LGTM- thanks for fixing!\r\n> \r\n> Regarding the PyTorch tests failing with the same inputs - how do they fail?\r\n\r\nIt gives different outputs ",
"I am very sorry, **I was doing something stupid and made wrong claims**. The `... | 1,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
(Probably since the introduction of `GenerationConfig`), some TF Whisper Integration tests fail with error
```bash
ValueError: The following `model_kwargs` are not used by the model: ['language', 'task'] (note: typos in the generate arguments will also show up in this list)
```
From ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24428",
"html_url": "https://github.com/huggingface/transformers/pull/24428",
"diff_url": "https://github.com/huggingface/transformers/pull/24428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24428.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24427/comments | https://api.github.com/repos/huggingface/transformers/issues/24427/events | https://github.com/huggingface/transformers/issues/24427 | 1,769,878,332 | I_kwDOCUB6oc5pfjM8 | 24,427 | Make it possible to customize generation config for Trainer's training loop evaluation | {
"login": "antonioalegria",
"id": 49322,
"node_id": "MDQ6VXNlcjQ5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/49322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonioalegria",
"html_url": "https://github.com/antonioalegria",
"followers_url": "https://api.github.com/u... | [] | closed | false | null | [] | [
"You can customize the model `generation_config` as you want and it will be the one being used. cc @gante to make sure I'm not saying something untrue.",
"Maybe it's because I was setting the Generation Config in the model without putting _from_model_config = False and it was triggering the following, which reset... | 1,687 | 1,693 | 1,692 | NONE | null | ### Feature request
When using `predict_with_generate` and we want to compute generation-based metrics during the eval happening during training, it would be good if the model's generation config is used and/or if we can pass the indented generation config into the train method so that it can be passed to evaluate.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24427/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/24427/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24426/comments | https://api.github.com/repos/huggingface/transformers/issues/24426/events | https://github.com/huggingface/transformers/pull/24426 | 1,769,796,677 | PR_kwDOCUB6oc5Tqbp5 | 24,426 | TF CI fix for Segformer | {
"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 | [] | [
"Ah, I know, I just thought you might still be unconscious!",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,687 | 1,687 | 1,687 | MEMBER | null | This very small PR rewrites a couple of reshapes so the TF compiler can figure out the channels dim for Segformer even when some input dimensions are undefined. Should fix any CI issues the model has been having. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24426/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24426",
"html_url": "https://github.com/huggingface/transformers/pull/24426",
"diff_url": "https://github.com/huggingface/transformers/pull/24426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24426.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24425/comments | https://api.github.com/repos/huggingface/transformers/issues/24425/events | https://github.com/huggingface/transformers/issues/24425 | 1,769,712,054 | I_kwDOCUB6oc5pe6m2 | 24,425 | LayoutXLM / LayoutLMv2: error when doing export to TorchScript | {
"login": "sudoandros",
"id": 27918948,
"node_id": "MDQ6VXNlcjI3OTE4OTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/27918948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudoandros",
"html_url": "https://github.com/sudoandros",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [
{
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.githu... | [
"[Error message](https://github.com/huggingface/transformers/files/11834624/error.txt)\r\n\r\nIt's gigantic so attaching it as a file\r\n",
"Hi @sudoandros , we investigated with @ArthurZucker and found out that the issue comes from this line: https://github.com/huggingface/transformers/blob/8e164c5400b7b413c7b8f... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-4.15.0-212-generic-x86_64-with-glibc2.27
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24425/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24424/comments | https://api.github.com/repos/huggingface/transformers/issues/24424/events | https://github.com/huggingface/transformers/pull/24424 | 1,769,652,444 | PR_kwDOCUB6oc5Tp7mr | 24,424 | Save `site-packages` as cache in CircleCI job | {
"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._",
">If we save .pyenv/versions as cache too:\r\n\r\n>loading this new extra cache takes ~ 2 min\r\npip install takes 20 ~ 30 seconds\r\n\r\n\r\n@ydshieh Wait - are the timings of these in the right order? ",
"> Do we still get updates... | 1,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Currently, we save `~/.cache/pip` as cache. Take `check_repository_consistency` job as example:
- it installs `[all, quality]`
- loading cache takes ~ 45 seconds
- `pip install` takes ~ 3-4 minutes
If we save `.pyenv/versions` as cache too:
- loading this new extra cache takes ~ 2 min
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24424",
"html_url": "https://github.com/huggingface/transformers/pull/24424",
"diff_url": "https://github.com/huggingface/transformers/pull/24424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24423/comments | https://api.github.com/repos/huggingface/transformers/issues/24423/events | https://github.com/huggingface/transformers/issues/24423 | 1,769,434,901 | I_kwDOCUB6oc5pd28V | 24,423 | False truncation of generated sequences when calling Seq2SeqTrainer.predict with num_return_sequences>1 | {
"login": "namespace-Pt",
"id": 61188463,
"node_id": "MDQ6VXNlcjYxMTg4NDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/namespace-Pt",
"html_url": "https://github.com/namespace-Pt",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"It's true that `num_return_sequences>1` is not supported by the `Seq2SeqTrainer`. If you have an idea of a fix, I'm happy to look at a PR!\r\n\r\nAs for setting generation parameters, the recommended way is to use the generation config (using the model config is deprecated).",
"@sgugger Wow I find opening a pull... | 1,687 | 1,689 | 1,687 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.0
- Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24423/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24422/comments | https://api.github.com/repos/huggingface/transformers/issues/24422/events | https://github.com/huggingface/transformers/pull/24422 | 1,769,420,572 | PR_kwDOCUB6oc5TpIf4 | 24,422 | Update RayTune doc link for Hyperparameter tuning | {
"login": "JoshuaEPSamuel",
"id": 66880119,
"node_id": "MDQ6VXNlcjY2ODgwMTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/66880119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoshuaEPSamuel",
"html_url": "https://github.com/JoshuaEPSamuel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24422). All of your documentation changes will be reflected on that endpoint."
] | 1,687 | 1,687 | 1,687 | CONTRIBUTOR | null | Link to RayTune search space API docs was outdated - have provided correct new link for docs.
# What does this PR do?
Updates broken link to RayTune search space API docs for the Transformers Hyperparameter tuning function.
<!-- Remove if not applicable -->
Fixes #24135
## Before submitting
- [x] Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24422",
"html_url": "https://github.com/huggingface/transformers/pull/24422",
"diff_url": "https://github.com/huggingface/transformers/pull/24422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24422.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24421/comments | https://api.github.com/repos/huggingface/transformers/issues/24421/events | https://github.com/huggingface/transformers/issues/24421 | 1,769,293,287 | I_kwDOCUB6oc5pdUXn | 24,421 | GPT2 and -100 in input_ids | {
"login": "spyroot",
"id": 11797329,
"node_id": "MDQ6VXNlcjExNzk3MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/11797329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spyroot",
"html_url": "https://github.com/spyroot",
"followers_url": "https://api.github.com/users/spyroo... | [] | closed | false | null | [] | [
"You can put -100 in the `labels` so they are ignored by the loss, but in the inputs as it's not a valid index for the embedding matrix.\r\n\r\nAlso this kind of questions is better suite for the [forums](https://discuss.huggingface.co/) as we keep GitHub issues for bugs and feature requests only.",
"Thank you ve... | 1,687 | 1,687 | 1,687 | NONE | null | ### System Info
I post all detail maybe it is expected behavior.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24421/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24420/comments | https://api.github.com/repos/huggingface/transformers/issues/24420/events | https://github.com/huggingface/transformers/pull/24420 | 1,769,229,802 | PR_kwDOCUB6oc5Toeq2 | 24,420 | Revert "Fix gradient checkpointing + fp16 autocast for most models" | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I'd be pro reverting until we manage to resolve or find another solution. \r\n\r\ncc @ydshieh too as the testing master :) Looking at our daily CI, it seems this hasn't affected our \"normal\" models - is this right? Are there any te... | 1,687 | 1,698 | 1,687 | CONTRIBUTOR | null | Reverts huggingface/transformers#24247
This PR reverts #24247
The investigation initially started with the failing test in https://github.com/huggingface/peft/actions/runs/5340918925/jobs/9686171926 - a training setup that was taking 7GB now takes 15GB and OOM. I looked back at each commit and can confirm this c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24420",
"html_url": "https://github.com/huggingface/transformers/pull/24420",
"diff_url": "https://github.com/huggingface/transformers/pull/24420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24420.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24419/comments | https://api.github.com/repos/huggingface/transformers/issues/24419/events | https://github.com/huggingface/transformers/pull/24419 | 1,769,191,046 | PR_kwDOCUB6oc5ToWU6 | 24,419 | Fix `save_cache` version in `config.yml` | {
"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,687 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
In #22204, I changed the `restore_cache` to `v0.6` but forgot to change `save_cache`. In consequence, no cache is saved/loaded, and the 2 jobs spend 5 minutes to install things:
<img width="716" alt="Screenshot 2023-06-22 101905" src="https://github.com/huggingface/transformers/assets/2521... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24419",
"html_url": "https://github.com/huggingface/transformers/pull/24419",
"diff_url": "https://github.com/huggingface/transformers/pull/24419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24419.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.