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/22091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22091/comments | https://api.github.com/repos/huggingface/transformers/issues/22091/events | https://github.com/huggingface/transformers/issues/22091 | 1,619,533,981 | I_kwDOCUB6oc5giCCd | 22,091 | flan-t5-xl and flan-t5-xxl model deployment on Sagemaker fails on deploying from HuggingFace Hub | {
"login": "rags1357",
"id": 19560176,
"node_id": "MDQ6VXNlcjE5NTYwMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/19560176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rags1357",
"html_url": "https://github.com/rags1357",
"followers_url": "https://api.github.com/users/rag... | [] | closed | false | null | [] | [
"@philschmid could you please help here? I've gone though your workaround [here](https://www.philschmid.de/deploy-t5-11b)",
"You need to install a more recent version of Transformers, 4.17.0 won't support sharded checkpoints.",
"@rags1357 you can check out this blog post: [Deploy FLAN-T5 XXL on Amazon SageMake... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
Code to replicate from model hub - https://huggingface.co/google/flan-t5-large/tree/main -> Deploy -> Amazon SageMaker endpoint -> AWS
```
from sagemaker.huggingface import HuggingFaceModel
import sagemaker
role = sagemaker.get_execution_role()
# Hub Model configuration. https://huggingface.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22090/comments | https://api.github.com/repos/huggingface/transformers/issues/22090/events | https://github.com/huggingface/transformers/pull/22090 | 1,619,319,115 | PR_kwDOCUB6oc5LyP_M | 22,090 | Add TF port of BLIP | {
"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._",
"The TF port is mostly complete now and tests are passing locally - I just need to go around updating docs and auto classes and so on. The main code should be ready for review!",
"Looks like there are many comments to address for no... | 1,678 | 1,680 | 1,680 | MEMBER | null | Work in progress right now, will update this when it's closer to being ready! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22090/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22090/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22090",
"html_url": "https://github.com/huggingface/transformers/pull/22090",
"diff_url": "https://github.com/huggingface/transformers/pull/22090.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22090.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22089/comments | https://api.github.com/repos/huggingface/transformers/issues/22089/events | https://github.com/huggingface/transformers/pull/22089 | 1,619,060,543 | PR_kwDOCUB6oc5LxYST | 22,089 | [`Gpt-neo-x`] Fix gpt neo-x multi gpu training | {
"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._",
"Yes that also what I have thought after opening the PR, I'll find a workaroud to set everything on the correct device"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
This PR attempts to solve some issues users may encounter when training gpt-neo-x in multiple GPUs
Related: https://github.com/lvwerra/trl/pull/210
This PR might be not needed so putting it as draft for now | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22089/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22089",
"html_url": "https://github.com/huggingface/transformers/pull/22089",
"diff_url": "https://github.com/huggingface/transformers/pull/22089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22088/comments | https://api.github.com/repos/huggingface/transformers/issues/22088/events | https://github.com/huggingface/transformers/issues/22088 | 1,619,035,296 | I_kwDOCUB6oc5ggISg | 22,088 | Key error during Training | {
"login": "kashalakarthik",
"id": 90444415,
"node_id": "MDQ6VXNlcjkwNDQ0NDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/90444415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashalakarthik",
"html_url": "https://github.com/kashalakarthik",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Without seeing the code you run or the whole traceback, there is nothing we can do to help you.",
"The below is the code link, you can access it:\r\n[https://colab.research.google.com/drive/1ySZS1VifUxbccI81y9dLOHxg_nr9mSc0?usp=sharing](url)",
"> Without seeing the code you run or the whole traceback, there is... | 1,678 | 1,681 | 1,681 | NONE | null | We are trying to do text summarization using BERT2BERT model. But facing this error mentioned below:
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last)
[/usr/local/lib/python3.9/dist-packages/pandas/core/indexes/base.py](... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22087/comments | https://api.github.com/repos/huggingface/transformers/issues/22087/events | https://github.com/huggingface/transformers/pull/22087 | 1,619,003,290 | PR_kwDOCUB6oc5LxL_m | 22,087 | Add AutoModelForZeroShotImageClassification | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The CI tests are failing due to unrelated issues, I will rebase the PR to the main branch once they are fixed."
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Adds `AutoModelForZeroShotImageClassification` and `TFAutoModelForZeroShotImageClassification` to transformers.
CC @MKhalusova will be adding a task guide in a separate PR
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22087/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22087",
"html_url": "https://github.com/huggingface/transformers/pull/22087",
"diff_url": "https://github.com/huggingface/transformers/pull/22087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22087.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22086/comments | https://api.github.com/repos/huggingface/transformers/issues/22086/events | https://github.com/huggingface/transformers/pull/22086 | 1,618,988,019 | PR_kwDOCUB6oc5LxIvh | 22,086 | GPT-J specific half precision on CPU note | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"My bad, I misunderstood the interaction in the issue. Tried the example, and it does indeed not work. I'll do another pass.",
"Did another take. It should now be clear that half-precision works on CUDA devices only. \r\n\r\nBtw, no... | 1,678 | 1,699 | 1,678 | CONTRIBUTOR | null | This PR adds a note to the GPT-J model doc indicating that the half precision on CPU example is specific to the model, and doesn't generally apply. Related to https://github.com/huggingface/transformers/issues/21989 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22086/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22086",
"html_url": "https://github.com/huggingface/transformers/pull/22086",
"diff_url": "https://github.com/huggingface/transformers/pull/22086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22086.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22085/comments | https://api.github.com/repos/huggingface/transformers/issues/22085/events | https://github.com/huggingface/transformers/issues/22085 | 1,618,948,972 | I_kwDOCUB6oc5gfzNs | 22,085 | Some problems when using vit model | {
"login": "vegetablelearning",
"id": 100191632,
"node_id": "U_kgDOBfjNkA",
"avatar_url": "https://avatars.githubusercontent.com/u/100191632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vegetablelearning",
"html_url": "https://github.com/vegetablelearning",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Better use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPleas... | 1,678 | 1,681 | 1,681 | NONE | null | ### Feature request
I am a novice in AI. Recently, I am learning the vit model. There are many teaching about nlp in the document. I want to know how to load the vit model downloaded from the hugging face, and how to use the imagenet dataset to train and test the vit model. I can't find the relevant tutorial. My quest... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22085/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22084/comments | https://api.github.com/repos/huggingface/transformers/issues/22084/events | https://github.com/huggingface/transformers/issues/22084 | 1,618,866,515 | I_kwDOCUB6oc5gffFT | 22,084 | input_ids_seq_length is always 1 | {
"login": "ChrisSpraaklab",
"id": 126086340,
"node_id": "U_kgDOB4PsxA",
"avatar_url": "https://avatars.githubusercontent.com/u/126086340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChrisSpraaklab",
"html_url": "https://github.com/ChrisSpraaklab",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @ChrisSpraaklab 👋 In both types of models, `input_ids_seq_length` is relative to the output of the model, which is different for encoder-decoder (does not contain the prompt) and decoder-only models (contains the prompt). I agree that we might benefit from a rework there, for clarity :)\r\n\r\... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.5.0 (gpu)
- Jax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22083/comments | https://api.github.com/repos/huggingface/transformers/issues/22083/events | https://github.com/huggingface/transformers/pull/22083 | 1,618,834,836 | PR_kwDOCUB6oc5Lwn82 | 22,083 | [Safetensors] Add explicit flag to from pretrained | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | MEMBER | null | ## Give user more control when loading safetensors
It would be very helpful if we could give the user more control over loading safetensors checkpoints by adding a `use_safetensors` flag to `from_pretrained`.
At the moment, `safetensors` weights are **always** loaded when `safetensors` is installed and are **sil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22083/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/22083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22083",
"html_url": "https://github.com/huggingface/transformers/pull/22083",
"diff_url": "https://github.com/huggingface/transformers/pull/22083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22083.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22082/comments | https://api.github.com/repos/huggingface/transformers/issues/22082/events | https://github.com/huggingface/transformers/issues/22082 | 1,618,824,667 | I_kwDOCUB6oc5gfU3b | 22,082 | Inconsistent training steps between Trainer and DeepSpeed | {
"login": "fenchri",
"id": 15857706,
"node_id": "MDQ6VXNlcjE1ODU3NzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/15857706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fenchri",
"html_url": "https://github.com/fenchri",
"followers_url": "https://api.github.com/users/fenchr... | [] | closed | false | null | [] | [
"Thank you for the great and easy to reproduce report, @fenchri\r\n\r\nIndeed, you found a grad accumulation bug in HF Trainer. This is not an bug in DeepSpeed or its integration.\r\n\r\nI did:\r\n\r\n```\r\ndiff --git a/src/transformers/trainer.py b/src/transformers/trainer.py\r\nindex 344523842..a75110ee9 100755... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-5.4.0-136-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22134/comments | https://api.github.com/repos/huggingface/transformers/issues/22134/events | https://github.com/huggingface/transformers/issues/22134 | 1,621,516,022 | I_kwDOCUB6oc5gpl72 | 22,134 | How can I create a repository automatically when defining the `Trainer`? | {
"login": "ahmad-alismail",
"id": 46696930,
"node_id": "MDQ6VXNlcjQ2Njk2OTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/46696930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmad-alismail",
"html_url": "https://github.com/ahmad-alismail",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @ahmad-alismail , thanks for reporting this. \r\n\r\n~If you don't mind I'll transfer this issue to the `transformers` repo and rename it. A breaking change has being introduced in [`huggingface_hub==0.12.0`](https://github.com/huggingface/huggingface_hub/releases/tag/v0.12.0). Since then, `Repository` do not h... | 1,678 | 1,678 | 1,678 | NONE | null | ### Describe the bug
I'm trying to fine-tune XLM-RoBERTa model on a German corpus for NER task. To handle the training loop I'm using the 🤗 Transformers `Trainer`, so first I need to define the training attributes using the `TrainingArguments` class:
````python
from transformers import TrainingArguments
# Set ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22134/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22081/comments | https://api.github.com/repos/huggingface/transformers/issues/22081/events | https://github.com/huggingface/transformers/pull/22081 | 1,618,798,300 | PR_kwDOCUB6oc5LwgMZ | 22,081 | Fix gradient checkpointing bug in switch transformer | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing.
Fixes Issue https://github.com/huggingface/transformers/issues/21737
cc @younesbelkada or @gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22081/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22081",
"html_url": "https://github.com/huggingface/transformers/pull/22081",
"diff_url": "https://github.com/huggingface/transformers/pull/22081.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22081.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22080/comments | https://api.github.com/repos/huggingface/transformers/issues/22080/events | https://github.com/huggingface/transformers/pull/22080 | 1,618,788,225 | PR_kwDOCUB6oc5LweA8 | 22,080 | Fix gradient checkpointing bug in Speecht5 | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"Sorry fixed that",
"_The documentation is not available anymore as the PR was closed or merged._",
"@KMFODA it is possible that this is the wrong branch -- the diff doesn't contain changes to speecht5 :)",
"Yes the diff seems to have changed a bit, can you please double check 🙏 @KMFODA ?",
"Sorry yes I th... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing.
Fixes Issue https://github.com/huggingface/transformers/issues/21737
cc @younesbelkada or @gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22080",
"html_url": "https://github.com/huggingface/transformers/pull/22080",
"diff_url": "https://github.com/huggingface/transformers/pull/22080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22080.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22079/comments | https://api.github.com/repos/huggingface/transformers/issues/22079/events | https://github.com/huggingface/transformers/pull/22079 | 1,618,772,177 | PR_kwDOCUB6oc5LwajK | 22,079 | Fix gradient checkpointing bug in Speech2Text | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sorry fixed that",
"@KMFODA your fork probably needs to pull from `main` :p "
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing.
Fixes Issue https://github.com/huggingface/transformers/issues/21737
cc @younesbelkada or @gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22079/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22079",
"html_url": "https://github.com/huggingface/transformers/pull/22079",
"diff_url": "https://github.com/huggingface/transformers/pull/22079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22079.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22078/comments | https://api.github.com/repos/huggingface/transformers/issues/22078/events | https://github.com/huggingface/transformers/pull/22078 | 1,618,662,075 | PR_kwDOCUB6oc5LwCta | 22,078 | Generate - Fix broken documentation links | {
"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._",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,684 | 1,678 | MEMBER | null | # What does this PR do?
Fixes #22077
`main_classes` is not on the same level as `generation_strategies`, hence the broken link.
EDIT: confirmed that it works in the CI docs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22078/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22078",
"html_url": "https://github.com/huggingface/transformers/pull/22078",
"diff_url": "https://github.com/huggingface/transformers/pull/22078.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22078.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22077/comments | https://api.github.com/repos/huggingface/transformers/issues/22077/events | https://github.com/huggingface/transformers/issues/22077 | 1,618,597,527 | I_kwDOCUB6oc5gedaX | 22,077 | Broken link in Documentation | {
"login": "datavistics",
"id": 22736772,
"node_id": "MDQ6VXNlcjIyNzM2Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/22736772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datavistics",
"html_url": "https://github.com/datavistics",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @datavistics -- the problem is not present on `main`, but rather in the previous release (which we can't fix unless we make a new release) \r\n\r\nSee these docs: https://huggingface.co/docs/transformers/main/en/main_classes/text_generation",
"I still get the broken link here: https://huggingface.co/docs/tra... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
@sgugger
Where I started
https://huggingface.co/docs/transformers/v4.26.1/en/main_classes/text_generation#transformers.GenerationMixin.contrastive_search
What doesnt exist
https://huggingface.co/docs/transformers/v4.26.1/en/main_classes/generation_strategies
https://huggingface.co/docs/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22077/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22076/comments | https://api.github.com/repos/huggingface/transformers/issues/22076/events | https://github.com/huggingface/transformers/pull/22076 | 1,618,518,392 | PR_kwDOCUB6oc5LvkX8 | 22,076 | [Time-Series] fix past_observed_mask type | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looked into the falling tests, looks like it's not related to the change (correct me if I'm wrong) 🙂",
"thanks! "
] | 1,678 | 1,680 | 1,680 | CONTRIBUTOR | null | small fix to make `past_observed_mask` bool type in Informer and vanilla tests
@kashif | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22076",
"html_url": "https://github.com/huggingface/transformers/pull/22076",
"diff_url": "https://github.com/huggingface/transformers/pull/22076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22076.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22075/comments | https://api.github.com/repos/huggingface/transformers/issues/22075/events | https://github.com/huggingface/transformers/issues/22075 | 1,618,505,000 | I_kwDOCUB6oc5geG0o | 22,075 | [Time-Series] time-series patching | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"PatchTST is in Gluon, thanks to @kashif . Closing here :) https://github.com/awslabs/gluonts/pull/2748",
"Oh I apologize that I just notice this issue. Somehow I haven't seen it previously... And I appreciate so much for your attention on the PatchTST! Anything I could do for it? \r\nAlso, glad to see the Gluont... | 1,678 | 1,692 | 1,686 | CONTRIBUTOR | null | ### Model description
"time-series patching" refers to the process of segmentation the series into subseries-level patches which are served as input tokens to the transformer. It's really similar to what's done in ViT, but for time-series. This idea was first propsed in a recent ICLR paper:
[A Time Series is Wort... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22074/comments | https://api.github.com/repos/huggingface/transformers/issues/22074/events | https://github.com/huggingface/transformers/pull/22074 | 1,618,477,425 | PR_kwDOCUB6oc5Lvb5U | 22,074 | Fix hint in src/transformers/modeling_utils.py | {
"login": "J-shang",
"id": 33053116,
"node_id": "MDQ6VXNlcjMzMDUzMTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/33053116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/J-shang",
"html_url": "https://github.com/J-shang",
"followers_url": "https://api.github.com/users/J-shan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | 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/22074/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/22074/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22074",
"html_url": "https://github.com/huggingface/transformers/pull/22074",
"diff_url": "https://github.com/huggingface/transformers/pull/22074.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22074.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22073/comments | https://api.github.com/repos/huggingface/transformers/issues/22073/events | https://github.com/huggingface/transformers/pull/22073 | 1,618,455,637 | PR_kwDOCUB6oc5LvXSL | 22,073 | Add TensorFlow Wav2Vec2 for sequence classification | {
"login": "nandwalritik",
"id": 48522685,
"node_id": "MDQ6VXNlcjQ4NTIyNjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/48522685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nandwalritik",
"html_url": "https://github.com/nandwalritik",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,678 | 1,682 | 1,682 | 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/22073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22073",
"html_url": "https://github.com/huggingface/transformers/pull/22073",
"diff_url": "https://github.com/huggingface/transformers/pull/22073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22072/comments | https://api.github.com/repos/huggingface/transformers/issues/22072/events | https://github.com/huggingface/transformers/pull/22072 | 1,618,440,655 | PR_kwDOCUB6oc5LvUMH | 22,072 | Enable traced model for text-generation task | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22072). All of your documentation changes will be reflected on that endpoint.",
"@sgugger please help review",
"@gante Could you have a first look at the changes in generate?",
"@gante Hi, Gante. Thanks for your delica... | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | @sywangyi
Enable traced model for text-generation task.
I changed beam_search and greedy_search of generation for traced model. If a traced model has been set on the attribute of "trace_graph", then we will use the model.trace_grapg to forward. I also changed the text-generation example and found that model optimize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22072/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22072",
"html_url": "https://github.com/huggingface/transformers/pull/22072",
"diff_url": "https://github.com/huggingface/transformers/pull/22072.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22072.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22071/comments | https://api.github.com/repos/huggingface/transformers/issues/22071/events | https://github.com/huggingface/transformers/issues/22071 | 1,618,370,944 | I_kwDOCUB6oc5gdmGA | 22,071 | Why Bloom tokenizer use padding to max_length it will placed the padding tokens to the head ? | {
"login": "svjack",
"id": 27874014,
"node_id": "MDQ6VXNlcjI3ODc0MDE0",
"avatar_url": "https://avatars.githubusercontent.com/u/27874014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/svjack",
"html_url": "https://github.com/svjack",
"followers_url": "https://api.github.com/users/svjack/fo... | [] | closed | false | null | [] | [
"That's because BLOOM is a generative models, and when using `generate` padding should go on the left for better results. This is thus the default behavior of its tokenizer.",
"> That's because BLOOM is a generative models, and when using `generate` padding should go on the left for better results. This is thus t... | 1,678 | 1,681 | 1,681 | NONE | null | As the title say,
The following snippet produce:
```python
native_tokenizer = AutoTokenizer.from_pretrained("bigscience/bloom-560m",
use_fast=False)
caption = "a bear in the woods."
tokenized_data = native_tokenizer(
caption,
return_tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22070/comments | https://api.github.com/repos/huggingface/transformers/issues/22070/events | https://github.com/huggingface/transformers/issues/22070 | 1,618,309,442 | I_kwDOCUB6oc5gdXFC | 22,070 | Custom dataset builder for multichannel 'float32' hyperspectral images? | {
"login": "petteriTeikari",
"id": 1060514,
"node_id": "MDQ6VXNlcjEwNjA1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1060514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/petteriTeikari",
"html_url": "https://github.com/petteriTeikari",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"This question might be better suited for the [forums](https://discuss.huggingface.co/) as we keep issues for bugs and feature requests only.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\... | 1,678 | 1,681 | 1,681 | NONE | null | ### Feature request
Is there an easy way to train e.g. `ViTMAE` using hyperspectral images (more than 3 "color" channels), and could (or is there already) a best practice on how to load all the images with `tifffile` (would return `np.ndarray` 3D cubes per tiff file) instead of the typical `PIL`?
### Motivation
I wa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22069/comments | https://api.github.com/repos/huggingface/transformers/issues/22069/events | https://github.com/huggingface/transformers/pull/22069 | 1,618,307,367 | PR_kwDOCUB6oc5Lu34z | 22,069 | Fix position embeddings for GPT-J and CodeGen | {
"login": "njhill",
"id": 16958488,
"node_id": "MDQ6VXNlcjE2OTU4NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/16958488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njhill",
"html_url": "https://github.com/njhill",
"followers_url": "https://api.github.com/users/njhill/fo... | [] | closed | false | null | [] | [
"I have tested this with my own code/usecase but wanted to check that there is interest in the contribution before also updating any applicable unit tests.\r\n\r\nI also wonder whether there should be a universal test applied to all models that just tests the same input with different amounts of padding and makes s... | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Identical inputs to GPT-J and CodeGen models will currently generate different outputs if they are padded differently (for example in a batch of variable sequence lengths).
This PR reverts the recent change #21869 that removes GPT-J `position_ids`, and then applies similar changes as were ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22069/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22069",
"html_url": "https://github.com/huggingface/transformers/pull/22069",
"diff_url": "https://github.com/huggingface/transformers/pull/22069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22068/comments | https://api.github.com/repos/huggingface/transformers/issues/22068/events | https://github.com/huggingface/transformers/pull/22068 | 1,618,253,047 | PR_kwDOCUB6oc5Lusqx | 22,068 | Fix small typo in flan-ul2.mdx | {
"login": "kevin51jiang",
"id": 33907581,
"node_id": "MDQ6VXNlcjMzOTA3NTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/33907581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevin51jiang",
"html_url": "https://github.com/kevin51jiang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Force-merging this without the tests as I'm 99.9% sure everything will be fine, but for future PR, there is an issue with your CircleCI permissions, the tests won't run.\r\nYou will need to refresh your permissions as shown [here](ht... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Saw small typo while reading. Not sure why the last line shows as changed; used GitHub's web UI and just modified "Resources".
Thanks for making thie library!
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22068/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22068",
"html_url": "https://github.com/huggingface/transformers/pull/22068",
"diff_url": "https://github.com/huggingface/transformers/pull/22068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22068.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22067/comments | https://api.github.com/repos/huggingface/transformers/issues/22067/events | https://github.com/huggingface/transformers/pull/22067 | 1,618,242,501 | PR_kwDOCUB6oc5Luqdf | 22,067 | Fixed docstring formatting | {
"login": "koullouros",
"id": 67971682,
"node_id": "MDQ6VXNlcjY3OTcxNjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/67971682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/koullouros",
"html_url": "https://github.com/koullouros",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22067). All of your documentation changes will be reflected on that endpoint."
] | 1,678 | 1,678 | 1,678 | NONE | null | # What does this PR do?
Fixes the formatting in docstring for whisper model.
Fixes #22052
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22067",
"html_url": "https://github.com/huggingface/transformers/pull/22067",
"diff_url": "https://github.com/huggingface/transformers/pull/22067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22066/comments | https://api.github.com/repos/huggingface/transformers/issues/22066/events | https://github.com/huggingface/transformers/issues/22066 | 1,618,098,131 | I_kwDOCUB6oc5gcjfT | 22,066 | Add Canine Model Config to AutoModelForCausalLM | {
"login": "itsbvk",
"id": 57064909,
"node_id": "MDQ6VXNlcjU3MDY0OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/57064909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itsbvk",
"html_url": "https://github.com/itsbvk",
"followers_url": "https://api.github.com/users/itsbvk/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nCANINE doesn't support causal attention. It can only be used as an encoder.",
"Thanks @NielsRogge for pointing that out. Is there then, any pre-trained language model similar to that of canine that processes the tokens at unicode character level. i.e. the tokenizer basically does \r\n```\r\ntokens = ... | 1,678 | 1,695 | 1,681 | NONE | null | ### Feature request
Kindly add a class such as https://github.com/huggingface/transformers/blob/a9bd5df16a46356463f2712dd8f6c109fa83d6f9/src/transformers/models/bert/modeling_bert.py#L1161
for the [Canine Model](https://huggingface.co/docs/transformers/model_doc/canine).
Basically, in the list of models availa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22065/comments | https://api.github.com/repos/huggingface/transformers/issues/22065/events | https://github.com/huggingface/transformers/pull/22065 | 1,618,060,950 | PR_kwDOCUB6oc5LuEGG | 22,065 | Fix imports of TF MobileViT | {
"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._",
"It's only the type hints that are wrong, not the actual init.",
"> It's only the type hints that are wrong, not the actual init.\r\n\r\nYeah, just figure it out after I posted. Deleted it but you are too fast to answer",
"Failure... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Small cleanup in the main init. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22065",
"html_url": "https://github.com/huggingface/transformers/pull/22065",
"diff_url": "https://github.com/huggingface/transformers/pull/22065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22065.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22064/comments | https://api.github.com/repos/huggingface/transformers/issues/22064/events | https://github.com/huggingface/transformers/issues/22064 | 1,617,973,622 | I_kwDOCUB6oc5gcFF2 | 22,064 | BLIP2 hangs after loading shards, no errors | {
"login": "thely",
"id": 4604094,
"node_id": "MDQ6VXNlcjQ2MDQwOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4604094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thely",
"html_url": "https://github.com/thely",
"followers_url": "https://api.github.com/users/thely/follower... | [] | closed | false | null | [] | [
"hi @thely \r\nThanks for the issue, it might be indeed a CPU related issue but this is hard to tell , I'd give a try by loading a model with `low_cpu_mem_usage=True`:\r\n\r\n```python\r\nmodel = Blip2ForConditionalGeneration.from_pretrained(\"Salesforce/blip2-opt-2.7b\", torch_dtype=torch.float16, cache_dir=cached... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
python: 3.9.13
torch: 1.12.0+cu113
transformers: 4.27.0.dev0
Note: I'm on an HPC, running everything through SLURM. I'm not privy to what kind of CPU I'm using.
CPU: Unknown
GPU: NVIDIA A100
GPU memory: 40GB
### Who can help?
@ArthurZucker @younesbelkada @sgugger
### Information
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22064/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22063/comments | https://api.github.com/repos/huggingface/transformers/issues/22063/events | https://github.com/huggingface/transformers/pull/22063 | 1,617,875,847 | PR_kwDOCUB6oc5LtcDN | 22,063 | Add a new script to check model testers' config | {
"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._",
"Request a review from @amyeroberts too - to celebrate her new core maintainer role 🔥 🚀 \r\n",
"> I think that's way too specific\r\n\r\nI agree that `100` is way to specific.\r\n\r\n> and will require lots of exceptions\r\n\r\nNo... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Add a new check to check model testers will give tiny config.
The objective is to ensure no test will run with large configuration values (such as `BridgeTowerModelTest(er)`, except the integration or slow tests.
The check is not added to PR/daily CI workflow: we don't want to add more ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22063",
"html_url": "https://github.com/huggingface/transformers/pull/22063",
"diff_url": "https://github.com/huggingface/transformers/pull/22063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22062/comments | https://api.github.com/repos/huggingface/transformers/issues/22062/events | https://github.com/huggingface/transformers/pull/22062 | 1,617,873,655 | PR_kwDOCUB6oc5LtbjO | 22,062 | Add a progress bar for the total download of shards | {
"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._",
"I'm not observing any changes with this branch:\r\n\r\nI tried:\r\n```\r\npython -c 'import sys; from transformers import AutoModel; AutoModel.from_pretrained(sys.argv[1], revision=\"sharded\")' t5-11b\r\n```\r\n\r\nafter deleting th... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
This PR adds a feature requested in #22047 and fixes a small bug I encountered while testing it.
**The feature**: a new progress bar is added when loading a sharded checkpoint that gives the overall progress.
**The bug**: when passing along `force_download=True`, the files were not down... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22062",
"html_url": "https://github.com/huggingface/transformers/pull/22062",
"diff_url": "https://github.com/huggingface/transformers/pull/22062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22061/comments | https://api.github.com/repos/huggingface/transformers/issues/22061/events | https://github.com/huggingface/transformers/issues/22061 | 1,617,746,977 | I_kwDOCUB6oc5gbNwh | 22,061 | Assistance Exporting git-large to ONNX | {
"login": "gracemcgrath",
"id": 46832828,
"node_id": "MDQ6VXNlcjQ2ODMyODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/46832828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gracemcgrath",
"html_url": "https://github.com/gracemcgrath",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Questions around conversion to ONNX should go in the [optimum repo](https://github.com/huggingface/optimum) as this is where the feature is actually implemented :-)",
"> Questions around conversion to ONNX should go in the [optimum repo](https://github.com/huggingface/optimum) as this is where the feature is ac... | 1,678 | 1,678 | 1,678 | NONE | null | Hello! I am looking to export an image captioning Hugging Face model to ONNX (specifically I was playing with the [git-large](https://huggingface.co/microsoft/git-large) model but if anyone knows of one that might be easier to deal with in terms of exporting that is great too)
I'm trying to follow [these](https://hu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22060/comments | https://api.github.com/repos/huggingface/transformers/issues/22060/events | https://github.com/huggingface/transformers/pull/22060 | 1,617,667,590 | PR_kwDOCUB6oc5LsuUC | 22,060 | Skip 3 tests for `WhisperEncoderModelTest` | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Skip 3 tests for `WhisperEncoderModelTest` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22060",
"html_url": "https://github.com/huggingface/transformers/pull/22060",
"diff_url": "https://github.com/huggingface/transformers/pull/22060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22060.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22059/comments | https://api.github.com/repos/huggingface/transformers/issues/22059/events | https://github.com/huggingface/transformers/issues/22059 | 1,617,602,654 | I_kwDOCUB6oc5gaqhe | 22,059 | Adam Weight Decay Rate does not hear the opinion of tf.stop_gradient | {
"login": "arivero",
"id": 43174,
"node_id": "MDQ6VXNlcjQzMTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/43174?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arivero",
"html_url": "https://github.com/arivero",
"followers_url": "https://api.github.com/users/arivero/follower... | [] | closed | false | null | [] | [
"This is a standard behaviour of all TF optimizers - `tf.stop_gradient()` stops gradient \"flowing\" back through that operation, but the optimizer is not aware of this control step, and so it simply sees weights with a gradient of 0 and applies weight decay to them as normal (in fact, it probably also applies upda... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.19.0-32-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22059/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22058/comments | https://api.github.com/repos/huggingface/transformers/issues/22058/events | https://github.com/huggingface/transformers/pull/22058 | 1,617,596,879 | PR_kwDOCUB6oc5Lse8C | 22,058 | Update tiny model creation script | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Main changes:
- **Better error message**, including allowing to save the traceback to the report files
- Add `UNCONVERTIBLE_MODEL_ARCHITECTURES`, so for those models could not be converted to tiny versions, the code will skip them (and we have cleaner reports)
- Add a method `build_tiny_mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22058/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22058",
"html_url": "https://github.com/huggingface/transformers/pull/22058",
"diff_url": "https://github.com/huggingface/transformers/pull/22058.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22058.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22057/comments | https://api.github.com/repos/huggingface/transformers/issues/22057/events | https://github.com/huggingface/transformers/pull/22057 | 1,617,453,242 | PR_kwDOCUB6oc5Lr_xS | 22,057 | rm $ symbol from code block from contributing.md | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | Removed the $ symbol from the code block to make copy-pasting easier.
# 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 reflect... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22057",
"html_url": "https://github.com/huggingface/transformers/pull/22057",
"diff_url": "https://github.com/huggingface/transformers/pull/22057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22056/comments | https://api.github.com/repos/huggingface/transformers/issues/22056/events | https://github.com/huggingface/transformers/issues/22056 | 1,617,438,238 | I_kwDOCUB6oc5gaCYe | 22,056 | Difference in the architecture of openai whisper and huggingface whisper | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [] | closed | false | null | [] | [
"Hey @hannan72!\r\n\r\nWe register the activation function here (`activation_fn` in the state dict):\r\nhttps://github.com/huggingface/transformers/blob/fdf84096565b8d2e15de35ac0cd86818c4b12adb/src/transformers/models/whisper/modeling_whisper.py#L468\r\n\r\nAnd then apply it directly after the first feedforward lay... | 1,678 | 1,678 | 1,678 | NONE | null | I was comparing the whisper-medium which I got from OpenAI directly (from https://github.com/openai/whisper.git) with the HuggingFace whisper-medium.
In the decoder part of the model, both has 24 decoder blocks but there is a difference in the block architecture between openai's and huggingFaces.
As it is represented... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22056/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22055/comments | https://api.github.com/repos/huggingface/transformers/issues/22055/events | https://github.com/huggingface/transformers/pull/22055 | 1,617,351,816 | PR_kwDOCUB6oc5Lrpp9 | 22,055 | pt-to-tf model architecture override | {
"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._"
] | 1,678 | 1,678 | 1,678 | MEMBER | null | This PR adds an extra arg to the `pt-to-tf` conversion script. We've seen a few uploaded models where the `config.json` doesn't specify the model class and the script autodetects the wrong one, which means some weights are not converted. This argument lets you override the autodetection and specify a model class to use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22055",
"html_url": "https://github.com/huggingface/transformers/pull/22055",
"diff_url": "https://github.com/huggingface/transformers/pull/22055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22055.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22054/comments | https://api.github.com/repos/huggingface/transformers/issues/22054/events | https://github.com/huggingface/transformers/pull/22054 | 1,617,329,286 | PR_kwDOCUB6oc5LrkwN | 22,054 | Show the number of `huggingface_hub` warnings in CI report | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Show the number of `huggingface_hub` warnings in CI report, as discussed in #22051
Will be shown like below
<img width="488" alt="Screenshot 2023-03-09 134910" src="https://user-images.githubusercontent.com/2521628/224050100-90c1477a-c33f-485e-85e1-ec648cbb4f91.png">
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22054/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/22054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22054",
"html_url": "https://github.com/huggingface/transformers/pull/22054",
"diff_url": "https://github.com/huggingface/transformers/pull/22054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22054.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22053/comments | https://api.github.com/repos/huggingface/transformers/issues/22053/events | https://github.com/huggingface/transformers/issues/22053 | 1,616,947,617 | I_kwDOCUB6oc5gYKmh | 22,053 | WhisperTimeStampLogitsProcessor error while using Whisper pipelines. Was WhisperTimeStampLogitsProcessor used? | {
"login": "melihogutcen",
"id": 43522440,
"node_id": "MDQ6VXNlcjQzNTIyNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/43522440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/melihogutcen",
"html_url": "https://github.com/melihogutcen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @Narsil as this might follow the latest update of the `return_stimestamps`",
"Do you have the faulty sample too ? I cannot reproduce with a dummy file ?\r\n\r\n@ArthurZucker it does look like the last token is indeed not a timestamp, but it could be linked to batching possibly ?",
"I'm using this audio http... | 1,678 | 1,687 | 1,680 | NONE | null | ### System Info
Hello,
When I tried this notebook, https://colab.research.google.com/drive/1rS1L4YSJqKUH_3YxIQHBI982zso23wor?usp=sharing#scrollTo=Ca4YYdtATxzo, I encountered an error that is:` There was an error while processing timestamps, we haven't found a timestamp as last token. Was WhisperTimeStampLogitsProc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22052/comments | https://api.github.com/repos/huggingface/transformers/issues/22052/events | https://github.com/huggingface/transformers/issues/22052 | 1,616,917,718 | I_kwDOCUB6oc5gYDTW | 22,052 | Add a newline here in the docstring | {
"login": "stefanvasilev",
"id": 31345149,
"node_id": "MDQ6VXNlcjMxMzQ1MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/31345149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefanvasilev",
"html_url": "https://github.com/stefanvasilev",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Seems like it indeed! Do you want to suggest a PR with the change?",
"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](... | 1,678 | 1,681 | 1,681 | NONE | null | There should be a newline to separate prev_key_values from inputs_embeds.
https://github.com/huggingface/transformers/blob/ae54e3c3b18bac0832ad62ea9b896dfd52a09850/src/transformers/models/whisper/modeling_whisper.py#L827 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22051/comments | https://api.github.com/repos/huggingface/transformers/issues/22051/events | https://github.com/huggingface/transformers/pull/22051 | 1,616,797,048 | PR_kwDOCUB6oc5LpuaY | 22,051 | Remove set_access_token usage + fail tests if FutureWarning | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | `set_access_token` is deprecated and will be removed in `huggingface_hub>=0.14`.
This PR removes it from the tests (it was not used in `transformers` source code itself). In the future, use `set_git_credential` if needed. It is a git-credential-agnostic helper, i.e. you can store your git token in `git-credential-ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22051",
"html_url": "https://github.com/huggingface/transformers/pull/22051",
"diff_url": "https://github.com/huggingface/transformers/pull/22051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22050/comments | https://api.github.com/repos/huggingface/transformers/issues/22050/events | https://github.com/huggingface/transformers/issues/22050 | 1,616,761,103 | I_kwDOCUB6oc5gXdEP | 22,050 | run_speech_recognition_seq2seq to fine-tune whisper tiny model stop in dataset map | {
"login": "xyx361100238",
"id": 19569322,
"node_id": "MDQ6VXNlcjE5NTY5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/19569322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xyx361100238",
"html_url": "https://github.com/xyx361100238",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @xyx361100238 - could you try with a lower value of `preprocessing_num_workers`? Maybe first by reducing it by a factor of 2:\r\n```diff\r\n-\t--preprocessing_num_workers=\"16\" \\\r\n+\t--preprocessing_num_workers=\"8\" \\\r\n```\r\nThis is usually the cause of datasets map hanging.",
"THX @sanchit-gandhi ,... | 1,678 | 1,679 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.4.0-144-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.13
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22049/comments | https://api.github.com/repos/huggingface/transformers/issues/22049/events | https://github.com/huggingface/transformers/issues/22049 | 1,616,648,065 | I_kwDOCUB6oc5gXBeB | 22,049 | Tracing mismatch during conversion of Whisper model to ONNX using torch.onnx.export | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [] | closed | false | null | [] | [
"Hi @hannan72! I recommend that you use Optimum for exporting Whisper to the ONNX format (it will basically be a wrapper around `torch.onnx.export` but it is tested and Whisper is supported). You can find more information in the doc: https://huggingface.co/docs/optimum/exporters/onnx/overview\r\nIf you encounter an... | 1,678 | 1,681 | 1,681 | NONE | null | I'm trying to convert Whisper model to onnx, so when exporting encoder of Whisper model to onnx by using torch.onnx.export:
```
mel = torch.zeros((1, 80, 3000))
encoder = model.get_encoder().to('cpu')
audio_features = encoder(mel)
torch.onnx.export(
encoder,
mel,
"whisper_encoder.onnx",
input... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22048/comments | https://api.github.com/repos/huggingface/transformers/issues/22048/events | https://github.com/huggingface/transformers/issues/22048 | 1,616,643,413 | I_kwDOCUB6oc5gXAVV | 22,048 | Cannot import name 'deepspeed_reinit' from 'transformers.deepspeed' | {
"login": "rubenCrayon",
"id": 121863605,
"node_id": "U_kgDOB0N9tQ",
"avatar_url": "https://avatars.githubusercontent.com/u/121863605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rubenCrayon",
"html_url": "https://github.com/rubenCrayon",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @rubenCrayon!\r\n`deepspeed_reinit` was removed a few versions ago, you should use a more recent version of Optimum. Which may requires to change your script a bit, in that case I recommend that you open an issue in Optimum: https://github.com/huggingface/optimum/issues",
"This issue has been automatically ma... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
Bug found when following the optimization steps provided in **https://huggingface.co/blog/optimum-inference.**
It seems like transformers/deepspeed.py does not contain the method '**deepspeed_reinit**' so it's not possible to import it when loading ORTModel objects.
Thanks in advance for your i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22047/comments | https://api.github.com/repos/huggingface/transformers/issues/22047/events | https://github.com/huggingface/transformers/issues/22047 | 1,616,607,875 | I_kwDOCUB6oc5gW3qD | 22,047 | add progress bar to the sharded model download status | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Nested tqdm bars in the console are unreadable though, so not sure how to fix that.",
"I didn't know that. I remember it definitely worked in the past. Unless you're referring to something I'm not aware of when you say it's unreadable. Is it because the outside tqdm line will be so far from line 72 that it won't... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | ### Feature request
`from_pretrained('bigscience/bloom')` is taking forever the first time until it's cached (~350GB) - I thought that perhaps with 72 shards it'd be awesome to have an overall progress bar (in addition to the each shard download progress bar) to know where things stand and how many hours the coffee ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22046/comments | https://api.github.com/repos/huggingface/transformers/issues/22046/events | https://github.com/huggingface/transformers/pull/22046 | 1,616,439,678 | PR_kwDOCUB6oc5Lofuo | 22,046 | Can't install tf2 on M1 Chip by default | {
"login": "shaun-scale",
"id": 58447835,
"node_id": "MDQ6VXNlcjU4NDQ3ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/58447835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaun-scale",
"html_url": "https://github.com/shaun-scale",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This actually got worse... if you open a new Laptop, you also have to do the following\r\n```\r\nbrew install cmake\r\nbrew install pkg-config\r\nbrew install sentencepiece\r\npip install sentencepiece\r\n```\r\n\r\nand then I had to also install Rust next...\r\n```\r\ncurl --proto '=https' --tlsv1.2 -sSf https://... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Trying to
```
pip install 'transformers[tf-cpu]'
```
will give you a confusing error like below
```
Collecting sentencepiece==0.1.91
Using cached sentencepiece-0.1.91.tar.gz (500 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22046",
"html_url": "https://github.com/huggingface/transformers/pull/22046",
"diff_url": "https://github.com/huggingface/transformers/pull/22046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22045/comments | https://api.github.com/repos/huggingface/transformers/issues/22045/events | https://github.com/huggingface/transformers/pull/22045 | 1,616,405,822 | PR_kwDOCUB6oc5LoYSw | 22,045 | Docs Improvement - In ZSH, not using ' ' around pip install fails, fix it | {
"login": "shaun-scale",
"id": 58447835,
"node_id": "MDQ6VXNlcjU4NDQ3ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/58447835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaun-scale",
"html_url": "https://github.com/shaun-scale",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Running
```
pip install transformers[torch]
```
in the default ZSH terminal will fail with the error `zsh: no matches found: transformers[torch]`
The solution is to wrap the installation path in ' ' like
```
pip install 'transformers[torch]'
```
Relevant StackOverflow: https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22045",
"html_url": "https://github.com/huggingface/transformers/pull/22045",
"diff_url": "https://github.com/huggingface/transformers/pull/22045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22044/comments | https://api.github.com/repos/huggingface/transformers/issues/22044/events | https://github.com/huggingface/transformers/pull/22044 | 1,616,319,411 | PR_kwDOCUB6oc5LoFjH | 22,044 | [deepspeed] offload + non-cpuadam optimizer exception doc | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | part 2 of https://github.com/huggingface/transformers/pull/22043, but we can't merge it until `deepspeed==0.8.3` is released.
This PR documents the new feature and up's the min deepspeed version.
**XXX: DO NOT MERGE UNTIL `deepspeed==0.8.3` is released.**
I'm keeping it as a DRAFT so that I don't mistakenly me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22044/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22044",
"html_url": "https://github.com/huggingface/transformers/pull/22044",
"diff_url": "https://github.com/huggingface/transformers/pull/22044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22044.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22043/comments | https://api.github.com/repos/huggingface/transformers/issues/22043/events | https://github.com/huggingface/transformers/pull/22043 | 1,616,223,978 | PR_kwDOCUB6oc5LnxFg | 22,043 | [deepspeed] offload + non-cpuadam optimizer exception | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | adapting to https://github.com/microsoft/DeepSpeed/pull/2971 - as our deepspeed tests will fail without that new flag when that deepspeed PR will get merged.
Will add the new config `zero_force_ds_cpu_optimizer` to the integration docs and require `deepspeed>=0.8.3`, but can't do it here w/o breaking DS' CI. Will d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22043/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22043",
"html_url": "https://github.com/huggingface/transformers/pull/22043",
"diff_url": "https://github.com/huggingface/transformers/pull/22043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22042/comments | https://api.github.com/repos/huggingface/transformers/issues/22042/events | https://github.com/huggingface/transformers/pull/22042 | 1,616,180,092 | PR_kwDOCUB6oc5LnnyJ | 22,042 | testing tokengt | {
"login": "Raman-Kumar",
"id": 32980600,
"node_id": "MDQ6VXNlcjMyOTgwNjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/32980600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Raman-Kumar",
"html_url": "https://github.com/Raman-Kumar",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22042). 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,678 | 1,681 | 1,681 | 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/22042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22042/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22042",
"html_url": "https://github.com/huggingface/transformers/pull/22042",
"diff_url": "https://github.com/huggingface/transformers/pull/22042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22042.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22041/comments | https://api.github.com/repos/huggingface/transformers/issues/22041/events | https://github.com/huggingface/transformers/pull/22041 | 1,616,063,838 | PR_kwDOCUB6oc5LnNnr | 22,041 | Tokengt branch | {
"login": "Raman-Kumar",
"id": 32980600,
"node_id": "MDQ6VXNlcjMyOTgwNjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/32980600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Raman-Kumar",
"html_url": "https://github.com/Raman-Kumar",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22041). 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,678 | 1,681 | 1,681 | 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/22041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22041/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22041",
"html_url": "https://github.com/huggingface/transformers/pull/22041",
"diff_url": "https://github.com/huggingface/transformers/pull/22041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22041.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22040/comments | https://api.github.com/repos/huggingface/transformers/issues/22040/events | https://github.com/huggingface/transformers/pull/22040 | 1,615,923,155 | PR_kwDOCUB6oc5LmvDD | 22,040 | Return analysis for hyperparameter_search with Ray backend | {
"login": "anruijian",
"id": 115125339,
"node_id": "U_kgDOBtysWw",
"avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anruijian",
"html_url": "https://github.com/anruijian",
"followers_url": "https://api.github.com/users/anruij... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | 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/22040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22040",
"html_url": "https://github.com/huggingface/transformers/pull/22040",
"diff_url": "https://github.com/huggingface/transformers/pull/22040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22040.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22039/comments | https://api.github.com/repos/huggingface/transformers/issues/22039/events | https://github.com/huggingface/transformers/pull/22039 | 1,615,894,710 | PR_kwDOCUB6oc5Lmo4S | 22,039 | Mark all `BridgeTower` tests slow for now | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Mark all `BridgeTower` tests slow for now. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22039/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22039",
"html_url": "https://github.com/huggingface/transformers/pull/22039",
"diff_url": "https://github.com/huggingface/transformers/pull/22039.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22039.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22038/comments | https://api.github.com/repos/huggingface/transformers/issues/22038/events | https://github.com/huggingface/transformers/issues/22038 | 1,615,832,586 | I_kwDOCUB6oc5gT6YK | 22,038 | Pytorch MBart Model - Trace on CPU and run inference on GPU. | {
"login": "gnovack",
"id": 50467879,
"node_id": "MDQ6VXNlcjUwNDY3ODc5",
"avatar_url": "https://avatars.githubusercontent.com/u/50467879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gnovack",
"html_url": "https://github.com/gnovack",
"followers_url": "https://api.github.com/users/gnovac... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"cc @ArthurZucker and @younesbelkada ",
"EDIT: in order to actually solve this, we would need a lot of potential usage. \r\nThe reason is that after fixing the positional ids with a `registered buffer` we need to modify the causal attention mask which also has to be a buffer otherwise it does not work. \r\nThis i... | 1,678 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.10.157-139.675.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.9.15
- Huggingface_hub version: 0.13.0
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22037/comments | https://api.github.com/repos/huggingface/transformers/issues/22037/events | https://github.com/huggingface/transformers/issues/22037 | 1,615,801,760 | I_kwDOCUB6oc5gTy2g | 22,037 | Trainer hyperparameter_search only returns the best trial config | {
"login": "anruijian",
"id": 115125339,
"node_id": "U_kgDOBtysWw",
"avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anruijian",
"html_url": "https://github.com/anruijian",
"followers_url": "https://api.github.com/users/anruij... | [] | closed | false | null | [] | [
"We'd be happy to look at a PR!",
"@sgugger I have a concern regarding the different backends we use (ray, optuna, sigopt, wandb) and their varying return objects. I wonder if we should consider modifying all backends to return a more comprehensive object, such as the `analysis` object used in ray, to ensure cons... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | ### Feature request
Allow `hyperparameter_search` method of `Trainer` to return the entire `ExperimentAnalysis` object instead of a single `best_run`.
### Motivation
The `hyperparameter_search` method of the `Trainer` currently only returns the best configuration `best_run`, instead of the more comprehensive ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22037/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/22037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22036/comments | https://api.github.com/repos/huggingface/transformers/issues/22036/events | https://github.com/huggingface/transformers/pull/22036 | 1,615,770,698 | PR_kwDOCUB6oc5LmO8O | 22,036 | [21737][T5]: Fix gradient checkpoint bug | {
"login": "nipunjindal",
"id": 6430864,
"node_id": "MDQ6VXNlcjY0MzA4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6430864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nipunjindal",
"html_url": "https://github.com/nipunjindal",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"cc @gante ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you @gante!"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | <!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a description of the ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22036/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22036",
"html_url": "https://github.com/huggingface/transformers/pull/22036",
"diff_url": "https://github.com/huggingface/transformers/pull/22036.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22036.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22035/comments | https://api.github.com/repos/huggingface/transformers/issues/22035/events | https://github.com/huggingface/transformers/pull/22035 | 1,615,560,336 | PR_kwDOCUB6oc5LliB_ | 22,035 | Avoid `text_config_dict` and `vision_config_dict` being saved for CLIP-like models | {
"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 | [] | [
"> Thanks! This may need to be copied over some CLIP-like models that also have some backward-compatibility code with the config dicts.\r\n\r\nSure, in the plan already. Quoted in the PR description\r\n\r\n> I will apply the same change to other CLIP-like models if the idea/approach is accepted.",
"_The documenta... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
**Avoid `text_config_dict` and `vision_config_dict` being saved for CLIP-like models.** So less confusion.
Currently, configuration classes for CLIP-like models will save both `text_config` and `text_config_dict`, if `text_config_dict` is provided (as `kwargs`). Similarly, for `vision_co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22035",
"html_url": "https://github.com/huggingface/transformers/pull/22035",
"diff_url": "https://github.com/huggingface/transformers/pull/22035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22035.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22034/comments | https://api.github.com/repos/huggingface/transformers/issues/22034/events | https://github.com/huggingface/transformers/pull/22034 | 1,615,552,741 | PR_kwDOCUB6oc5LlgbI | 22,034 | Bug fix: token classification pipeline while passing offset_mapping | {
"login": "cceyda",
"id": 15624271,
"node_id": "MDQ6VXNlcjE1NjI0Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cceyda",
"html_url": "https://github.com/cceyda",
"followers_url": "https://api.github.com/users/cceyda/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"the current failing tests look unrelated to me \r\n",
"LGTM @sgugger \r\n\r\nI'm confused by the failure, I'm guessing it's CircleCI running the wrong runner, but I don't remember the fix."
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Bug fix: add check so `AttributeError` isn't preventing using slow tokenizers with `offset_mapping`
On token-classification pipelines it threw an error (AttributeError None) if using a slow tokenizer & passing `offset_mapping`.
It is intended to work so (if you want) you can calculate off... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22034",
"html_url": "https://github.com/huggingface/transformers/pull/22034",
"diff_url": "https://github.com/huggingface/transformers/pull/22034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22034.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22033/comments | https://api.github.com/repos/huggingface/transformers/issues/22033/events | https://github.com/huggingface/transformers/pull/22033 | 1,615,514,271 | PR_kwDOCUB6oc5LlYIV | 22,033 | Edit the docstring of `image_processing_donut` to match code | {
"login": "vermouthmjl",
"id": 3142085,
"node_id": "MDQ6VXNlcjMxNDIwODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3142085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vermouthmjl",
"html_url": "https://github.com/vermouthmjl",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@vermouthmjl If running `make style` didn't resolve the `check_code_quality` checks, make sure the most recent formatting libraries are installed using `pip install -e .[quality]`"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
It changes the list of arguments in the the docstring of the class `DonutImageProcessor`, for the current docstring does not match the list of parameters in the code.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22033",
"html_url": "https://github.com/huggingface/transformers/pull/22033",
"diff_url": "https://github.com/huggingface/transformers/pull/22033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22033.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22032/comments | https://api.github.com/repos/huggingface/transformers/issues/22032/events | https://github.com/huggingface/transformers/pull/22032 | 1,615,494,099 | PR_kwDOCUB6oc5LlTxs | 22,032 | handle numpy inputs in whole word mask data collator | {
"login": "dwyatte",
"id": 2512762,
"node_id": "MDQ6VXNlcjI1MTI3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwyatte",
"html_url": "https://github.com/dwyatte",
"followers_url": "https://api.github.com/users/dwyatte/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1, can you have a look too plz? You have been working with these :) Then we can tag Sylvain, after you approve too"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Adds support to `DataCollatorForWholeWordMask` to work on numpy arrays as inputs. I added tests for all variants (np, pt, tf), but only tf had the bug which is now fixed.
Fixes https://github.com/huggingface/transformers/issues/22009
## Before submitting
- [ ] This PR fixes a typo or i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22032",
"html_url": "https://github.com/huggingface/transformers/pull/22032",
"diff_url": "https://github.com/huggingface/transformers/pull/22032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22032.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22031/comments | https://api.github.com/repos/huggingface/transformers/issues/22031/events | https://github.com/huggingface/transformers/pull/22031 | 1,615,470,381 | PR_kwDOCUB6oc5LlO2D | 22,031 | Add tokenize_kwargs parameter definition in the FeatureExtractionPipeline | {
"login": "anruijian",
"id": 115125339,
"node_id": "U_kgDOBtysWw",
"avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anruijian",
"html_url": "https://github.com/anruijian",
"followers_url": "https://api.github.com/users/anruij... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks great to me.\r\n\r\nTo fix quality you can do `pip install -e .[quality] && make fixup` \r\n\r\n@sgugger for final review.",
"The quality is failing due to the branch being too old, not something in this PR. Merging.\r\nThank... | 1,678 | 1,678 | 1,678 | 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/22031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22031",
"html_url": "https://github.com/huggingface/transformers/pull/22031",
"diff_url": "https://github.com/huggingface/transformers/pull/22031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22031.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22030/comments | https://api.github.com/repos/huggingface/transformers/issues/22030/events | https://github.com/huggingface/transformers/pull/22030 | 1,615,464,066 | PR_kwDOCUB6oc5LlNd- | 22,030 | Thomas/llama | {
"login": "yonikremer",
"id": 76044840,
"node_id": "MDQ6VXNlcjc2MDQ0ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/76044840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonikremer",
"html_url": "https://github.com/yonikremer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi! Thank you for opening a PR. I see that you've forked my branch. I think it's perfectly fine if you want to keep on working on my branch for your experiments. However I think the more promising branch is this one https://github.com/huggingface/transformers/pull/21955 (as in the most likely to be merged). I'm cl... | 1,678 | 1,678 | 1,678 | 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/22030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22030",
"html_url": "https://github.com/huggingface/transformers/pull/22030",
"diff_url": "https://github.com/huggingface/transformers/pull/22030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22028/comments | https://api.github.com/repos/huggingface/transformers/issues/22028/events | https://github.com/huggingface/transformers/pull/22028 | 1,615,319,842 | PR_kwDOCUB6oc5LkuT4 | 22,028 | Fix test for torchneuroncore in Trainer | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
The test was always passing since the function is not None... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22028",
"html_url": "https://github.com/huggingface/transformers/pull/22028",
"diff_url": "https://github.com/huggingface/transformers/pull/22028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22028.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22027/comments | https://api.github.com/repos/huggingface/transformers/issues/22027/events | https://github.com/huggingface/transformers/issues/22027 | 1,615,290,456 | I_kwDOCUB6oc5gR2BY | 22,027 | KeyError: 'eval_metric-name' in trainer.py, line 2339 | {
"login": "pminervini",
"id": 227357,
"node_id": "MDQ6VXNlcjIyNzM1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/227357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pminervini",
"html_url": "https://github.com/pminervini",
"followers_url": "https://api.github.com/users/p... | [] | closed | false | null | [] | [
"Without seeing the code you run and how it was launched, there is very little we can do to help you.",
"@sgugger no worries it's just to be able to reference to an issue when/if I submit a pull request"
] | 1,678 | 1,680 | 1,680 | CONTRIBUTOR | null | ### System Info
Latest `transformers` version from the `main` branch, running on Ubuntu
```python
File "code-cli.py", line 347, in <module>
main(sys.argv[1:])
File "code-cli.py", line 281, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "[..]/python3.10/site-packages/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22027/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22026/comments | https://api.github.com/repos/huggingface/transformers/issues/22026/events | https://github.com/huggingface/transformers/pull/22026 | 1,615,272,712 | PR_kwDOCUB6oc5LkkNK | 22,026 | [`bnb`] Fix bnb error message | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/22018
This PR introduces a clearer error message to users who wants to explore how to dispatch a model between CPU & GPU when loading a model in 8bit
cc @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22026",
"html_url": "https://github.com/huggingface/transformers/pull/22026",
"diff_url": "https://github.com/huggingface/transformers/pull/22026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22025/comments | https://api.github.com/repos/huggingface/transformers/issues/22025/events | https://github.com/huggingface/transformers/pull/22025 | 1,615,224,199 | PR_kwDOCUB6oc5LkZuP | 22,025 | Update ALIGN docs | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Improves ALIGN docs, fixes typos.
## Before submitting
- [X ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22025/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22025",
"html_url": "https://github.com/huggingface/transformers/pull/22025",
"diff_url": "https://github.com/huggingface/transformers/pull/22025.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22025.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22024/comments | https://api.github.com/repos/huggingface/transformers/issues/22024/events | https://github.com/huggingface/transformers/pull/22024 | 1,615,167,681 | PR_kwDOCUB6oc5LkNf1 | 22,024 | [WIP]`NLLB-MoE` Adds the moe model | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Fixes #21300
To-Dos:
- [x] Conversion script and original weights available [here](https://huggingface.co/ArthurZ/fairseq-nllb-moe)
- [x] Converted checkpoints and configuration file available:
- [moe-128](https://huggingface.co/ArthurZ/nllb-moe-128) experts
- [x] Make the common t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22024/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22024",
"html_url": "https://github.com/huggingface/transformers/pull/22024",
"diff_url": "https://github.com/huggingface/transformers/pull/22024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22023/comments | https://api.github.com/repos/huggingface/transformers/issues/22023/events | https://github.com/huggingface/transformers/pull/22023 | 1,615,067,228 | PR_kwDOCUB6oc5Lj30M | 22,023 | Update `AudioClassificationPipelineTests::test_small_model_pt` for PT 2.0.0 | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
(Not tiny, but not too large neither) Different values with different torch/cuda versions. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22023",
"html_url": "https://github.com/huggingface/transformers/pull/22023",
"diff_url": "https://github.com/huggingface/transformers/pull/22023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22022/comments | https://api.github.com/repos/huggingface/transformers/issues/22022/events | https://github.com/huggingface/transformers/pull/22022 | 1,615,052,872 | PR_kwDOCUB6oc5Lj01I | 22,022 | VideoMAE doctest - use valid dummy pixel values | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
This PR updates the raw input video frames to the expected data type.
The pixel values passed into the image processor in the tests took values sampled from a standard normal distribution. For an image (or frame) this represents pixels which have been rescaled between [0 - 1] and normaliz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22022",
"html_url": "https://github.com/huggingface/transformers/pull/22022",
"diff_url": "https://github.com/huggingface/transformers/pull/22022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22021/comments | https://api.github.com/repos/huggingface/transformers/issues/22021/events | https://github.com/huggingface/transformers/pull/22021 | 1,614,894,852 | PR_kwDOCUB6oc5LjS4Q | 22,021 | [DO NOT MERGE] Test v0.13.0.rc0 | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"CI is green. I'm closing this :)"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | DO NOT MERGE.
Only to test the CI with huggingface_hub 0.13 release. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22021",
"html_url": "https://github.com/huggingface/transformers/pull/22021",
"diff_url": "https://github.com/huggingface/transformers/pull/22021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22020/comments | https://api.github.com/repos/huggingface/transformers/issues/22020/events | https://github.com/huggingface/transformers/pull/22020 | 1,614,860,457 | PR_kwDOCUB6oc5LjLqm | 22,020 | Add missing optional argument summary_proj_to_labels to XLNetConfig | {
"login": "akashsara",
"id": 10437649,
"node_id": "MDQ6VXNlcjEwNDM3NjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/10437649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akashsara",
"html_url": "https://github.com/akashsara",
"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_22020). All of your documentation changes will be reflected on that endpoint.",
"Yes. I wanted to get some clarity on that before working on fixing the tests. From a logical perspective, I would believe that the argument sh... | 1,678 | 1,681 | 1,681 | NONE | null | # What does this PR do?
`XLNetConfig` (`src\transformers\models\xlnet\configuration_xlnet.py`) lists an argument `summary_proj_to_labels` as optional and with a default value of `True`. However, this is not actually included in the arguments and is not set anywhere. Initializing an XLNet model thus results in no suc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22020/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22020",
"html_url": "https://github.com/huggingface/transformers/pull/22020",
"diff_url": "https://github.com/huggingface/transformers/pull/22020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22019/comments | https://api.github.com/repos/huggingface/transformers/issues/22019/events | https://github.com/huggingface/transformers/pull/22019 | 1,614,843,226 | PR_kwDOCUB6oc5LjH-b | 22,019 | fixes the gradient checkpointing of whisper | {
"login": "soma2000-lang",
"id": 56045049,
"node_id": "MDQ6VXNlcjU2MDQ1MDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/56045049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soma2000-lang",
"html_url": "https://github.com/soma2000-lang",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | fixes the gradient checkpointing of whisper
@gante
#21737 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22019/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22019",
"html_url": "https://github.com/huggingface/transformers/pull/22019",
"diff_url": "https://github.com/huggingface/transformers/pull/22019.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22019.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22018/comments | https://api.github.com/repos/huggingface/transformers/issues/22018/events | https://github.com/huggingface/transformers/issues/22018 | 1,614,838,684 | I_kwDOCUB6oc5gQHuc | 22,018 | PretrainedModel.from_pretrained does not work with load_in_8bit=True, llm_int8_enable_fp32_cpu_offload=True and device_map='auto' | {
"login": "sgsdxzy",
"id": 1655353,
"node_id": "MDQ6VXNlcjE2NTUzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1655353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgsdxzy",
"html_url": "https://github.com/sgsdxzy",
"followers_url": "https://api.github.com/users/sgsdxzy/... | [] | closed | false | null | [] | [
"All the weights offloaded to the CPU won't be in int8 though, so the model is not loaded in 8 bits as requested. This is why we throw an error and choose not to support this use case (cc @younesbelkada ).",
"Yes, as explained by @sgugger we don't support `device_map=auto` + `llm_int8_enable_fp32_cpu_offload` you... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.8
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22017/comments | https://api.github.com/repos/huggingface/transformers/issues/22017/events | https://github.com/huggingface/transformers/issues/22017 | 1,614,764,225 | I_kwDOCUB6oc5gP1jB | 22,017 | Weight mismatch when using deepspeed zero-stage 3 and pretrained codegen model | {
"login": "KaiLv69",
"id": 39761308,
"node_id": "MDQ6VXNlcjM5NzYxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/39761308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KaiLv69",
"html_url": "https://github.com/KaiLv69",
"followers_url": "https://api.github.com/users/KaiLv6... | [] | closed | false | null | [] | [
"Hey, there is something wrong indeed : \r\n> ignore_mismatched_sizes=True # if False, it would run in error \r\nThe error in witch you run should indicate how to fix the problems (most probably malformed configuration file)",
"Thanks for you quick reply.\r\nActually, I followed the error message to set it to Tr... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-4.15.0-189-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22017/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22016/comments | https://api.github.com/repos/huggingface/transformers/issues/22016/events | https://github.com/huggingface/transformers/issues/22016 | 1,614,631,548 | I_kwDOCUB6oc5gPVJ8 | 22,016 | `clean_up_tokenization` too many false positives | {
"login": "davidgilbertson",
"id": 4443482,
"node_id": "MDQ6VXNlcjQ0NDM0ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidgilbertson",
"html_url": "https://github.com/davidgilbertson",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"Hey! Thanks for pointing this out! I do agree with you on this one, I am also guessing that if you have `he said that 'revenge' was over` the same problem will occur. \r\nCurrently this is what is being used :\r\n```python \r\n out_string = (\r\n out_string.replace(\" .\", \".\")\r\n .... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
The method `PreTrainedTokenizerBase.clean_up_tokenization` attempts to fix some quote marks, but breaks quite a lot of the time.
I'm testing various tokenization techniques searching for the holy grail of `original == decode(encode(original))`
Looping through docs in OpenWebText, here's some of t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22014/comments | https://api.github.com/repos/huggingface/transformers/issues/22014/events | https://github.com/huggingface/transformers/issues/22014 | 1,614,598,292 | I_kwDOCUB6oc5gPNCU | 22,014 | Support `padding_side` in `Blip2Processor` | {
"login": "jemmyshin",
"id": 16580382,
"node_id": "MDQ6VXNlcjE2NTgwMzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/16580382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jemmyshin",
"html_url": "https://github.com/jemmyshin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYou can achieve that by simply updating the `padding_side` attribute of the processor's tokenizer:\r\n```\r\nprocessor.tokenizer.padding_side = \"left\"\r\n```\r\nNote that Blip2Processor is just a wrapper around both the image processor and the tokenizer.",
"Thanks a lot!",
"This issue has been aut... | 1,678 | 1,681 | 1,681 | NONE | null | ### Feature request
Support different `padding_side` for `Blip2Processor`.
### Motivation
When I use BLIP2 LLM, I found that the padding style is different between decoder-only model (opt-2.7b for example) and encoder-decoder model (flan-t5-xl for example). So I assume that the paddings are different from `Sal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22014/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22013/comments | https://api.github.com/repos/huggingface/transformers/issues/22013/events | https://github.com/huggingface/transformers/issues/22013 | 1,614,596,821 | I_kwDOCUB6oc5gPMrV | 22,013 | Dataset load problem when using own data to run run_mim.py | {
"login": "chenbingxiayu",
"id": 23647595,
"node_id": "MDQ6VXNlcjIzNjQ3NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23647595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenbingxiayu",
"html_url": "https://github.com/chenbingxiayu",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Would you like to open a PR with your fix?",
"> Would you like to open a PR with your fix?\r\nI am not sure whether my solution is correct, I hope your organization could check it. If the solution is ok, it is my honor to open a new PR.\r\n",
"This issue has been automatically marked as stale because it has n... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
transformers 4.27.0
python 3.8.16
Ubuntu 20.04
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or da... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22013/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22012/comments | https://api.github.com/repos/huggingface/transformers/issues/22012/events | https://github.com/huggingface/transformers/pull/22012 | 1,614,549,272 | PR_kwDOCUB6oc5LiKgV | 22,012 | update: bertology paper | {
"login": "QiushiSun",
"id": 54871790,
"node_id": "MDQ6VXNlcjU0ODcxNzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/54871790?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QiushiSun",
"html_url": "https://github.com/QiushiSun",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Add additional reference papers for the documentation of BERTology.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22012",
"html_url": "https://github.com/huggingface/transformers/pull/22012",
"diff_url": "https://github.com/huggingface/transformers/pull/22012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22011/comments | https://api.github.com/repos/huggingface/transformers/issues/22011/events | https://github.com/huggingface/transformers/issues/22011 | 1,614,503,880 | I_kwDOCUB6oc5gO1_I | 22,011 | Blip2ForConditionalGeneration.from_pretrained is limited by 100% CPU usability (on one single core) | {
"login": "Marcophono2",
"id": 22599855,
"node_id": "MDQ6VXNlcjIyNTk5ODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/22599855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Marcophono2",
"html_url": "https://github.com/Marcophono2",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hello @Marcophono2 \r\nThanks for the issue, can you try: \r\n```python\r\nimport torch\r\nimport requests\r\nfrom PIL import Image\r\nfrom transformers import Blip2Processor, Blip2ForConditionalGeneration\r\nimport torch\r\n\r\ndevice = \"cuda\"\r\n\r\nprocessor = Blip2Processor.from_pretr... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.19.0-31-generic-x86_64-with-glibc2.36
- Python version: 3.10.6
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 2.0.0.dev20230209+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22011/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22010/comments | https://api.github.com/repos/huggingface/transformers/issues/22010/events | https://github.com/huggingface/transformers/issues/22010 | 1,614,418,418 | I_kwDOCUB6oc5gOhHy | 22,010 | Can't import Blip2Processor | {
"login": "tanayvarshney",
"id": 11531975,
"node_id": "MDQ6VXNlcjExNTMxOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/11531975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanayvarshney",
"html_url": "https://github.com/tanayvarshney",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"You need to install transformers from source to get access to BLIP-2:\r\n```\r\npip install git+https://github.com/huggingface/transformers\r\n```",
"@sgugger thank you! Just one minor feedback since you are the docs PIC, if a note modal or just a highlighted note could be added informing if a module hasn't been... | 1,678 | 1,693 | 1,678 | NONE | null | ### System Info
I was trying to follow [this tutorial](https://huggingface.co/docs/transformers/main/en/model_doc/blip-2#transformers.Blip2Model.forward.example) and ran into the following issue:
```
ImportError: cannot import name 'Blip2Processor' from 'transformers' (/usr/local/lib/python3.8/dist-packages/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22009/comments | https://api.github.com/repos/huggingface/transformers/issues/22009/events | https://github.com/huggingface/transformers/issues/22009 | 1,614,418,161 | I_kwDOCUB6oc5gOhDx | 22,009 | DataCollatorForWholeWordMask does not handle numpy inputs when return_tensors="tf" | {
"login": "dwyatte",
"id": 2512762,
"node_id": "MDQ6VXNlcjI1MTI3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwyatte",
"html_url": "https://github.com/dwyatte",
"followers_url": "https://api.github.com/users/dwyatte/... | [] | closed | false | null | [] | [
"Hey @dwyatte 👋 \r\n\r\nAt a first glance, a missing `tf.cast` seems to be indeed the problem. Would you be interested in opening a PR with the fix? 🤗 ",
"@gante sure thing, here you go: https://github.com/huggingface/transformers/pull/22032. Requested you for review"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.1
- Platform: macOS-13.2.1-x86_64-i386-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22008/comments | https://api.github.com/repos/huggingface/transformers/issues/22008/events | https://github.com/huggingface/transformers/issues/22008 | 1,614,345,640 | I_kwDOCUB6oc5gOPWo | 22,008 | DataCollatorForSpanPreTraining | {
"login": "zanussbaum",
"id": 33707069,
"node_id": "MDQ6VXNlcjMzNzA3MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/33707069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zanussbaum",
"html_url": "https://github.com/zanussbaum",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Transformers is a library of models, not data collators. You can adapt the code of this data collator to PyTorch in your code, but we won't have it in the main library (the same way the Flax one is just in an example script).",
"No worries, I thought maybe it would fit nicely within the same class as [DataCollat... | 1,678 | 1,681 | 1,681 | CONTRIBUTOR | null | ### Feature request
It seems that there's already a script existing for [T5 pretraining](https://github.com/huggingface/transformers/blob/main/examples/flax/language-modeling/run_t5_mlm_flax.py) that has a DataCollator, but only available in Flax. Would we be able to add a Data Collator for the Span pretraining task t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22007/comments | https://api.github.com/repos/huggingface/transformers/issues/22007/events | https://github.com/huggingface/transformers/pull/22007 | 1,614,237,610 | PR_kwDOCUB6oc5LhIL8 | 22,007 | Fix case when using --gradient_accumulation_steps with DDP disabled. | {
"login": "sangeethabal",
"id": 83724701,
"node_id": "MDQ6VXNlcjgzNzI0NzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/83724701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sangeethabal",
"html_url": "https://github.com/sangeethabal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I think it would be easier to just adapt [this property](https://github.com/huggingface/transformers/blob/dfe9a3197364c7f0e2169d7c16c357c9c1311cb9/src/transformers/training_args.py#L1802) to add the torch_neuroncore_available there... | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
When --gradient_accumulation_steps option is used with DDP disabled, HF has a call to ```model.no_sync``` which doesn't exist. This PR is to fix the issue of ```model.no_sync```
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22007",
"html_url": "https://github.com/huggingface/transformers/pull/22007",
"diff_url": "https://github.com/huggingface/transformers/pull/22007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22006/comments | https://api.github.com/repos/huggingface/transformers/issues/22006/events | https://github.com/huggingface/transformers/pull/22006 | 1,614,099,982 | PR_kwDOCUB6oc5Lgp6B | 22,006 | Update tiny model creation script and some others files | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
The original goal is to update tiny model creation script, so we can create tiny models for some (newly added) model classes. It turns out some files are needed to be updated too. See my own review comments.
Note: This PR doesn't imply we are able to create tiny models for all involved mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22006",
"html_url": "https://github.com/huggingface/transformers/pull/22006",
"diff_url": "https://github.com/huggingface/transformers/pull/22006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22005/comments | https://api.github.com/repos/huggingface/transformers/issues/22005/events | https://github.com/huggingface/transformers/issues/22005 | 1,614,048,026 | I_kwDOCUB6oc5gNGsa | 22,005 | Bug in t5x to PyTorch weights conversion script | {
"login": "rinapch",
"id": 61157346,
"node_id": "MDQ6VXNlcjYxMTU3MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/61157346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rinapch",
"html_url": "https://github.com/rinapch",
"followers_url": "https://api.github.com/users/rinapc... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @younesbelkada ",
"hello @rinapch \r\nThanks for the issue, \r\nwe used the same script to convert `flan-ul2` and did not face into any issue. Can you share with use the `t5x` version you used?",
"This is related to an update of jax and jax.numpy. `torch.FloatTensor(weights[\"token_embedde... | 1,678 | 1,679 | 1,679 | NONE | null | ### System Info
transformers version: 4.26.1
Platform: Ubuntu 20.04.5 LTS (Focal Fossa)
Python version: 3.8
Huggingface_hub version: 0.12.1
PyTorch version (GPU?): 1.13.1 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): 0.6.6 (GPU)
Jax version: 0.4.5
JaxLib version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22004/comments | https://api.github.com/repos/huggingface/transformers/issues/22004/events | https://github.com/huggingface/transformers/issues/22004 | 1,614,042,972 | I_kwDOCUB6oc5gNFdc | 22,004 | Clip embeddings text/vision missmatch for the model 'laion/CLIP-ViT-H-14-laion2B-s32B-b79K' | {
"login": "johngull",
"id": 1451797,
"node_id": "MDQ6VXNlcjE0NTE3OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1451797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johngull",
"html_url": "https://github.com/johngull",
"followers_url": "https://api.github.com/users/johng... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"Hi, this particular model (laion/CLIP-ViT-H-14-laion2B-s32B-b79K) uses a different `hidden_size` for the text and vision encoders (1024 and 1280 respectively), but they get projected to the same dimensionality using a linear projection layer (for this model, the `projection_dim` is 1024 as se... | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.35
- Python version: 3.10.9
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22004/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22003/comments | https://api.github.com/repos/huggingface/transformers/issues/22003/events | https://github.com/huggingface/transformers/issues/22003 | 1,613,825,490 | I_kwDOCUB6oc5gMQXS | 22,003 | Add X-Decoder Model | {
"login": "ChanBong",
"id": 73221930,
"node_id": "MDQ6VXNlcjczMjIxOTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/73221930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChanBong",
"html_url": "https://github.com/ChanBong",
"followers_url": "https://api.github.com/users/Cha... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @ChanBong, thanks for opening the issue!\r\n\r\nYou can expect to see an X-Decoder PR is the next two weeks :)",
"Hi @alaradirik, can we please collaborate in adding this model?",
"Hi @atharvakavitkar, the PR is almost done but won't include the _referring image editing_ task, which require integration with... | 1,678 | 1,682 | null | NONE | null | ### Model description
X-Decoder is a generalized decoding pipeline that can predict pixel-level segmentation and language tokens seamlessly. X-Decoder is the first work that provides a unified way to support all types of image segmentation and a variety of vision-language (VL) tasks.
The model exhibits strong tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22003/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22002/comments | https://api.github.com/repos/huggingface/transformers/issues/22002/events | https://github.com/huggingface/transformers/issues/22002 | 1,613,736,026 | I_kwDOCUB6oc5gL6ha | 22,002 | Unable to create a keras model with a pretrained TFBertModel using inputs_embeds as inputs | {
"login": "Giorgia3",
"id": 26458245,
"node_id": "MDQ6VXNlcjI2NDU4MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/26458245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Giorgia3",
"html_url": "https://github.com/Giorgia3",
"followers_url": "https://api.github.com/users/Gio... | [] | closed | false | null | [] | [
"Hi @Giorgia3, this is unfortunately part of Keras that we can't work around! What's happening is that our layers can take multiple arguments, but Keras insists that the first argument is always present. \r\n\r\nThe first argument to a `TFBertModel` is `input_ids`, which is a sequence of integer tokens. However, yo... | 1,678 | 1,681 | 1,681 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22001/comments | https://api.github.com/repos/huggingface/transformers/issues/22001/events | https://github.com/huggingface/transformers/issues/22001 | 1,613,717,911 | I_kwDOCUB6oc5gL2GX | 22,001 | Is there a data leakage in causal masking? | {
"login": "Shaier",
"id": 43555163,
"node_id": "MDQ6VXNlcjQzNTU1MTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/43555163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shaier",
"html_url": "https://github.com/Shaier",
"followers_url": "https://api.github.com/users/Shaier/fo... | [] | closed | false | null | [] | [
"Hey! \r\n1. The `attention_mask` can be assimilated to the `padding_mask` which tells the model where the pad tokens are. \r\n2. The `causal_mask` defined with :\r\n```python \r\n # if only \"normal\" attention layer implements causal mask\r\n query_length, key_length = query.size(-2), key.si... | 1,678 | 1,683 | 1,683 | NONE | null | ### System Info
Following [this tutorial](https://huggingface.co/course/chapter7/6?fw=pt) on training a causal language model from scratch. I found the [source code](https://github.com/huggingface/transformers/blob/ae54e3c3b18bac0832ad62ea9b896dfd52a09850/src/transformers/models/gpt2/modeling_gpt2.py#L666) for the m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22000/comments | https://api.github.com/repos/huggingface/transformers/issues/22000/events | https://github.com/huggingface/transformers/issues/22000 | 1,613,688,247 | I_kwDOCUB6oc5gLu23 | 22,000 | Expanding static features when embedding - bug | {
"login": "LtlSh",
"id": 109275417,
"node_id": "U_kgDOBoNpGQ",
"avatar_url": "https://avatars.githubusercontent.com/u/109275417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LtlSh",
"html_url": "https://github.com/LtlSh",
"followers_url": "https://api.github.com/users/LtlSh/followers",
... | [] | closed | false | null | [] | [
"cc @kashif",
"thanks @LtlSh for the report.\r\n\r\nSo `embedding_dimension` is the size of the resulting vector for the given categorical covariate. `cardinality` is the unique number of categories. So if you have only 15 different categories, perhaps it does not make sense to map the resulting vector to a 349 ... | 1,678 | 1,684 | 1,684 | NONE | null | ### System Info
Python 3.9, Pycharm
### Who can help?
@sgugger @ArthurZucker and @younesbelkada
### 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 d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21999/comments | https://api.github.com/repos/huggingface/transformers/issues/21999/events | https://github.com/huggingface/transformers/pull/21999 | 1,613,649,188 | PR_kwDOCUB6oc5LfIY_ | 21,999 | Move `is_pipeline_test_to_skip` to specific model test classes | {
"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._",
"> I don't get the use case for `is_pipeline_test_to_skip`, we have the `pipeline_model_mapping`, why not just remove the model from there?\r\n\r\nThe reasons are:\r\n\r\n- the mapping `pipeline_model_mapping` is (IMO) what should be ... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
As promised!
So far, it's incomplete - just for you to check this way is OK. If so, I will move all of them around.
It's normal to have some test failures at this moment. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21999",
"html_url": "https://github.com/huggingface/transformers/pull/21999",
"diff_url": "https://github.com/huggingface/transformers/pull/21999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21999.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21998/comments | https://api.github.com/repos/huggingface/transformers/issues/21998/events | https://github.com/huggingface/transformers/pull/21998 | 1,613,577,396 | PR_kwDOCUB6oc5Le41J | 21,998 | audio_utils improvements | {
"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._",
"I cleaned up `hertz_to_mel` and `mel_to_hertz` a bit:\r\n\r\n- more consistent doc comments\r\n- both support single float inputs as well as numpy arrays\r\n- simplified the formulas so it's not literally the same as the librosa code... | 1,678 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Recently the `audio_utils.py` file was added to Transformers to provide shared functions for audio processing such as STFT. This PR aims to clean up the code and make the API more robust.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other che... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21998/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21998",
"html_url": "https://github.com/huggingface/transformers/pull/21998",
"diff_url": "https://github.com/huggingface/transformers/pull/21998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21998.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21997/comments | https://api.github.com/repos/huggingface/transformers/issues/21997/events | https://github.com/huggingface/transformers/pull/21997 | 1,613,523,654 | PR_kwDOCUB6oc5LetGg | 21,997 | Stop requiring Torch for our TF examples! | {
"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._"
] | 1,678 | 1,678 | 1,678 | MEMBER | null | This PR overrides a property in `TFTrainingArguments` to ensure that our TF examples don't accidentally depend on `torch` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21997",
"html_url": "https://github.com/huggingface/transformers/pull/21997",
"diff_url": "https://github.com/huggingface/transformers/pull/21997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21996/comments | https://api.github.com/repos/huggingface/transformers/issues/21996/events | https://github.com/huggingface/transformers/pull/21996 | 1,613,493,608 | PR_kwDOCUB6oc5LemZo | 21,996 | [Whisper] Remove embed_tokens from encoder docstring | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Rebased and pushed two dummy commits to re-trigger the CI after GH SSO (no new changes to the PR in the last two commits https://github.com/huggingface/transformers/pull/21996/commits/ef692e28e650d305ba2947c21b572b447d0eb01f and http... | 1,678 | 1,687 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
`embed_tokens` is not an arg for the `WhisperEncoder`. It looks like it was copied from BART (where we do use it) and left in by mistake!
https://github.com/huggingface/transformers/blob/9402788b34fbc6581ae9d7d9d68612a96d9aa111/src/transformers/models/bart/modeling_bart.py#L708
## Before ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21996",
"html_url": "https://github.com/huggingface/transformers/pull/21996",
"diff_url": "https://github.com/huggingface/transformers/pull/21996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21995/comments | https://api.github.com/repos/huggingface/transformers/issues/21995/events | https://github.com/huggingface/transformers/issues/21995 | 1,613,361,099 | I_kwDOCUB6oc5gKe_L | 21,995 | TypeError: 'NoneType' object is not subscriptable in modeling_utils.py | {
"login": "MartinPicc",
"id": 35298861,
"node_id": "MDQ6VXNlcjM1Mjk4ODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/35298861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MartinPicc",
"html_url": "https://github.com/MartinPicc",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think this has been fixed by #21542. Could you try on the main branch of Transformers and see if you still have the bug?",
"Oh yes perfect! I'll wait for the next release to update then.\r\nthank you",
"Next release should be this week or beginning of next, as an FYI :-) "
] | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
Using free tier Google Colab, it gives the following output of `transformers-cli env`:
2023-03-07 12:26:45.314129: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21995/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21994/comments | https://api.github.com/repos/huggingface/transformers/issues/21994/events | https://github.com/huggingface/transformers/issues/21994 | 1,613,331,129 | I_kwDOCUB6oc5gKXq5 | 21,994 | chinese testdata were transcribed as english | {
"login": "v-yunbin",
"id": 38179632,
"node_id": "MDQ6VXNlcjM4MTc5NjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/v-yunbin",
"html_url": "https://github.com/v-yunbin",
"followers_url": "https://api.github.com/users/v-y... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @sanchit-gandhi though this question would be more appropriate for the [forums](https://discuss.huggingface.co/).",
"Hey, this is related to the update of the `generate()` function. The issue is that you are not modifying the `model.generation_config`. If you want to set the language in a pr... | 1,678 | 1,681 | 1,679 | NONE | null | when adding follow codes in a asr server, i send chinese asr data but i get english result. I don't know how to set the language. and try to use "forced_decoder_ids" to set the language, it failed.
```
transcriber = pipeline(task="automatic-speech-recognition", model="openai/whisper-large", device=1)
#transcr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21993/comments | https://api.github.com/repos/huggingface/transformers/issues/21993/events | https://github.com/huggingface/transformers/pull/21993 | 1,613,318,362 | PR_kwDOCUB6oc5Ld_kX | 21,993 | add 1 to cur_len to make up the new beam length | {
"login": "jimmieliu",
"id": 10285837,
"node_id": "MDQ6VXNlcjEwMjg1ODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10285837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jimmieliu",
"html_url": "https://github.com/jimmieliu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante",
"@gante Thx for the great advice. You are suggesting a better coding style. "
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
cur_len is 1 token shorter comparing to the length of the sequence whose best_sum_logprobs is the numerator.
Fixes # (issue)
add 1 to cur_len
## Who can review?
@LysandreJik
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21993",
"html_url": "https://github.com/huggingface/transformers/pull/21993",
"diff_url": "https://github.com/huggingface/transformers/pull/21993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21993.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21992/comments | https://api.github.com/repos/huggingface/transformers/issues/21992/events | https://github.com/huggingface/transformers/pull/21992 | 1,613,308,110 | PR_kwDOCUB6oc5Ld9Ti | 21,992 | Update `notification_service.py` | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
While working on CI report with PyTorch `2.0.0`, the first run failed to send the report due to the following problem:
- The original code checked each line in `summary_short.txt` by `if re.search("FAILED", line):`
- We expect such occurrences have 1-1 correspondence in the file `failures... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21992/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21992",
"html_url": "https://github.com/huggingface/transformers/pull/21992",
"diff_url": "https://github.com/huggingface/transformers/pull/21992.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21992.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21991/comments | https://api.github.com/repos/huggingface/transformers/issues/21991/events | https://github.com/huggingface/transformers/pull/21991 | 1,613,125,973 | PR_kwDOCUB6oc5LdVCA | 21,991 | Skip `test_multi_gpu_data_parallel_forward` for some model tests | {
"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,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
This test fails for some models in CI with torch 2.0, causing CUDA in a bad state, and many other tests fail in this situation.
The only way (I could find online) that it won't fail is to use other GPUs, like `P100` or `V100`.
Let's skip it for now for a few model tests. It's likely it wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21991",
"html_url": "https://github.com/huggingface/transformers/pull/21991",
"diff_url": "https://github.com/huggingface/transformers/pull/21991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21991.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.