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/22394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22394/comments | https://api.github.com/repos/huggingface/transformers/issues/22394/events | https://github.com/huggingface/transformers/pull/22394 | 1,641,673,041 | PR_kwDOCUB6oc5M8xOM | 22,394 | [Pix2Struct] Add support to resize embeddings | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge could you share a notebook on finetuning in this dataset?"
] | 1,679 | 1,680 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
This PR adds `resize_token_embeddings` support for Pix2Struct. This was required when I fine-tuned Pix2Struct on a key-value pair dataset (the one from [this Donut notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/Donut/CORD/Fine_tune_Donut_on_a_custom_dataset_(CORD)_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22394/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22394/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22394",
"html_url": "https://github.com/huggingface/transformers/pull/22394",
"diff_url": "https://github.com/huggingface/transformers/pull/22394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22394.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22393/comments | https://api.github.com/repos/huggingface/transformers/issues/22393/events | https://github.com/huggingface/transformers/pull/22393 | 1,641,550,782 | PR_kwDOCUB6oc5M8XX6 | 22,393 | (Re-)Enable Nightly + Past CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The DS part looks good, @ydshieh\r\n\r\nI wonder if you want to continue testing torchdynamo at all. Users wanting to use it should be encouraged to move to torch>=2.0 instead, where it's built in. But a subject for a different PR I ... | 1,679 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
(Re-)Enable Nightly + Past CI
cc @stas00 : I don't think there is something (related to `DeepSpeed`) that really needs your review in this PR. But if you prefer, you can take a look the 2 `Dockerfile` files under `docker` (and more files if you want). Thank you.
p.s. I launched a full r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22393/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22393",
"html_url": "https://github.com/huggingface/transformers/pull/22393",
"diff_url": "https://github.com/huggingface/transformers/pull/22393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22393.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22392/comments | https://api.github.com/repos/huggingface/transformers/issues/22392/events | https://github.com/huggingface/transformers/issues/22392 | 1,641,546,472 | I_kwDOCUB6oc5h2ALo | 22,392 | Inconsistent Normalization for ViTImageProcessor when `do_resize` is False | {
"login": "Interpause",
"id": 42513874,
"node_id": "MDQ6VXNlcjQyNTEzODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/42513874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Interpause",
"html_url": "https://github.com/Interpause",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"Hi @Interpause, thanks for raising this issue! \r\n\r\nIndeed, this is a funny behaviour. This is happening because of the use of the PIL library to resize images and the rescaling behaviour that happens in `ToTensor`. \r\n\r\nTo explain in more detail, I'll refer to the input `im` and `im_pi... | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.31
- Python version: 3.10.9
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22392/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22391/comments | https://api.github.com/repos/huggingface/transformers/issues/22391/events | https://github.com/huggingface/transformers/issues/22391 | 1,641,500,669 | I_kwDOCUB6oc5h10_9 | 22,391 | Docs: Clarify stride for upcoming token classification pipeline | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Sounds like something missing indeed. Would you like to open a PR with such documentation?",
"I'm not confident that I could hit the style that you're looking for in your docs, especially given the history behind the naming.\r\n\r\nIt might be a lot simpler to document if `stride` were renamed, though, would you... | 1,679 | 1,704 | 1,681 | NONE | null | I just tried out the upcoming `stride` option for token classification pipelines (#21771, very useful!) without being familiar with the non-standard use of `stride` in the underlying tokenizer settings.
I think it would be helpful to also explain in the pipelines API documentation that the `stride` parameter sets th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22391/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/22391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22390/comments | https://api.github.com/repos/huggingface/transformers/issues/22390/events | https://github.com/huggingface/transformers/issues/22390 | 1,641,475,777 | I_kwDOCUB6oc5h1u7B | 22,390 | ImportError: cannot import name 'hf_bucket_url' from 'transformers.file_utils' | {
"login": "Andy824",
"id": 37765645,
"node_id": "MDQ6VXNlcjM3NzY1NjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/37765645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Andy824",
"html_url": "https://github.com/Andy824",
"followers_url": "https://api.github.com/users/Andy82... | [] | closed | false | null | [] | [
"Yes, this function was removed several versions ago. It was only relevant for downloading files before the model Hub was properly setup. You should now use the `huggingface_hub` library to manage downloads of models from the Hub.",
"This issue has been automatically marked as stale because it has not had recent ... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
`from transformers.file_utils import default_cache_path, hf_bucket_url`
I want to import hf_bucket_url on Colab, but I got the error
"ImportError: cannot import name 'hf_bucket_url' from 'transformers.file_utils' (/usr/local/lib/python3.9/dist-packages/transformers/file_utils.py)"
### Who can help?
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22390/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22389/comments | https://api.github.com/repos/huggingface/transformers/issues/22389/events | https://github.com/huggingface/transformers/issues/22389 | 1,641,400,172 | I_kwDOCUB6oc5h1cds | 22,389 | Exception: expected value at line 1 column 1 | {
"login": "wccccp",
"id": 55964850,
"node_id": "MDQ6VXNlcjU1OTY0ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/55964850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wccccp",
"html_url": "https://github.com/wccccp",
"followers_url": "https://api.github.com/users/wccccp/fo... | [] | closed | false | null | [] | [
"Hey @wccccp 👋 \r\n\r\nThat exception is not due to `transformers`, but rather due to a `.json` file (or similar). There is probably something fishy with your tokenizer checkpoint.\r\n\r\nSee [this](https://stackoverflow.com/questions/16573332/jsondecodeerror-expecting-value-line-1-column-1-char-0) stack overflow ... | 1,679 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-144-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22389/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22388/comments | https://api.github.com/repos/huggingface/transformers/issues/22388/events | https://github.com/huggingface/transformers/pull/22388 | 1,641,395,266 | PR_kwDOCUB6oc5M711V | 22,388 | Translated documentation in italian | {
"login": "nickprock",
"id": 11136646,
"node_id": "MDQ6VXNlcjExMTM2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickprock",
"html_url": "https://github.com/nickprock",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ## What does this PR do?
Italian translation of doc related to the preprocessing of :hugs: Transformers.
* updated _toctree.yml
* added perf_infer_tpu.mdx
* added perf_infer_special.mdx
* added perf_train_tpu.mdx
* added perf_train_special.mdx
## Before submitting
- [X] This PR fixes a typo or improves the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22388/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22388",
"html_url": "https://github.com/huggingface/transformers/pull/22388",
"diff_url": "https://github.com/huggingface/transformers/pull/22388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22388.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22387/comments | https://api.github.com/repos/huggingface/transformers/issues/22387/events | https://github.com/huggingface/transformers/issues/22387 | 1,641,388,958 | I_kwDOCUB6oc5h1Zue | 22,387 | Pipeline for inference "You seem to be using the pipelines sequentially on GPU. In order to maximize efficiency please use a dataset" | {
"login": "MLBurnham",
"id": 41241150,
"node_id": "MDQ6VXNlcjQxMjQxMTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/41241150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MLBurnham",
"html_url": "https://github.com/MLBurnham",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey, there are a few things:\r\n\r\nFirst:\r\n- I cannot really reproduce your example since your data is missing, meaning I'm not able to see exactly what's going on for your particular case.\r\n\r\nSecond:\r\n\r\nThere are 2 things at play, `streaming` vs `n-calls` and `batching` vs `no-batching`.\r\nStreaming i... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
Transformers 4.16.2
Windows 10
Python 3.9.12
Datasets 2.2.2
@Narsil
### Who can help?
@Narsil
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22387/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22386/comments | https://api.github.com/repos/huggingface/transformers/issues/22386/events | https://github.com/huggingface/transformers/pull/22386 | 1,641,297,757 | PR_kwDOCUB6oc5M7gwj | 22,386 | Add memory-efficient attention and optional features to Llama | {
"login": "s-JoL",
"id": 16948304,
"node_id": "MDQ6VXNlcjE2OTQ4MzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/16948304?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/s-JoL",
"html_url": "https://github.com/s-JoL",
"followers_url": "https://api.github.com/users/s-JoL/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22386). All of your documentation changes will be reflected on that endpoint.",
"> Thanks for your PR. Transformers is not meant to be a modular toolbox, so we don't add every feature to every model. Llama was trained witho... | 1,679 | 1,682 | 1,682 | CONTRIBUTOR | null | This PR adds memory-efficient attention to Llama, resulting in a 30% improvement in training efficiency. We also removed some transposes to adapt to the shapes allowed by the *memory_efficient_attention* operation. Additionally, we have added hidden dropout and attention dropout to the model, which helps with better ge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22386/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22386",
"html_url": "https://github.com/huggingface/transformers/pull/22386",
"diff_url": "https://github.com/huggingface/transformers/pull/22386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22385/comments | https://api.github.com/repos/huggingface/transformers/issues/22385/events | https://github.com/huggingface/transformers/issues/22385 | 1,641,235,661 | I_kwDOCUB6oc5h00TN | 22,385 | How to use the method model.generate() correctly? | {
"login": "zt991211",
"id": 57473580,
"node_id": "MDQ6VXNlcjU3NDczNTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/57473580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zt991211",
"html_url": "https://github.com/zt991211",
"followers_url": "https://api.github.com/users/zt9... | [] | closed | false | null | [] | [
"cc @gante ",
"@zt991211, thanks for raising an issue! \r\n\r\nCould you provide a more detailed snippet which is reproducible i.e. can be directly copied and run as well as a full traceback of the error encountered? ",
"This issue has been automatically marked as stale because it has not had recent activity. I... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.19.4
- Platform: Linux-4.9.93-010.ali3000.alios7.x86_64-x86_64-with-redhat-7.2-Paladin
- Python version: 3.7.11
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22384/comments | https://api.github.com/repos/huggingface/transformers/issues/22384/events | https://github.com/huggingface/transformers/issues/22384 | 1,641,167,505 | I_kwDOCUB6oc5h0jqR | 22,384 | ValueError: Could not load model EleutherAI/gpt-neo-2.7B with any of the following classes: | {
"login": "hongyi-zhao",
"id": 11155854,
"node_id": "MDQ6VXNlcjExMTU1ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11155854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hongyi-zhao",
"html_url": "https://github.com/hongyi-zhao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @hongyi-zhao, \r\n\r\nThe issue is arising because the checkpoint `\"EleutherAI/gpt-neo-2.7B\"` is for the [GPT Neo](https://huggingface.co/docs/transformers/v4.27.2/en/model_doc/gpt_neo), which has architectures for the text generation -- [GPTNeoForCausalLM](https://huggingface.co/docs/transformers/v4.27.2/en/... | 1,679 | 1,682 | 1,679 | NONE | null | ### Feature request
Want to run "EleutherAI/gpt-neo-2.7B"
### Motivation
Want to run "EleutherAI/gpt-neo-2.7B"
### Your contribution
```python
(datasci) werner@X10DAi:~$ ipython
Python 3.11.1 (main, Dec 22 2022, 17:06:07) [GCC 12.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.7.0 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22384/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22383/comments | https://api.github.com/repos/huggingface/transformers/issues/22383/events | https://github.com/huggingface/transformers/pull/22383 | 1,640,981,314 | PR_kwDOCUB6oc5M6fbC | 22,383 | TensorFlow: additional missing `cmake` dependencies in CI | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
Adds `cmake` to CI runs that depend on `transformers[tensorflow]`, on all missing cases. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22383/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22383",
"html_url": "https://github.com/huggingface/transformers/pull/22383",
"diff_url": "https://github.com/huggingface/transformers/pull/22383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22383.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22382/comments | https://api.github.com/repos/huggingface/transformers/issues/22382/events | https://github.com/huggingface/transformers/pull/22382 | 1,640,972,018 | PR_kwDOCUB6oc5M6dnC | 22,382 | Generate: support for left-padding on GPTNeoX and Llama | {
"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 failing CI is fixed by #22383 :)",
"@ArthurZucker @sgugger woopsie, I forgot that it affected the weight loading code -- I come from a place where weight names have to be specified 👼 Reverted (`self.llama` is `self.model` agai... | 1,679 | 1,688 | 1,679 | MEMBER | null | # What does this PR do?
As the title indicates, adds left-padding support for GPTNeoX and Llama.
It adds the `position_ids` input, propagates all the way to the position embedding, and gathers the position embeddings given the value in `position_ids`. All slow tests are now passing in both models, including the n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22382",
"html_url": "https://github.com/huggingface/transformers/pull/22382",
"diff_url": "https://github.com/huggingface/transformers/pull/22382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22381/comments | https://api.github.com/repos/huggingface/transformers/issues/22381/events | https://github.com/huggingface/transformers/pull/22381 | 1,640,871,035 | PR_kwDOCUB6oc5M6KAt | 22,381 | Changed world_size() to get_world_size() bugfix | {
"login": "Charlie-Bell",
"id": 103143406,
"node_id": "U_kgDOBiXX7g",
"avatar_url": "https://avatars.githubusercontent.com/u/103143406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Charlie-Bell",
"html_url": "https://github.com/Charlie-Bell",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"BTW, there is a CI error due to this branch being created from an older version of `main` -- you should rebase with `main` to make our CI green ",
"> BTW, there is a CI error due to this branch being created from an older version o... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | Edited one line in src/transormers/generation/utils.py. Changed dist.….world_size() to dist.get_world_size() since world_size() doesn't exist in pytorch.dist.
# What does this PR do?
Fixes # Pytorch 2 generation/utils.py , 'torch.distributed' has no attribute 'world_size' #22375
https://github.com/huggingface/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22381/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22381",
"html_url": "https://github.com/huggingface/transformers/pull/22381",
"diff_url": "https://github.com/huggingface/transformers/pull/22381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22381.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22380/comments | https://api.github.com/repos/huggingface/transformers/issues/22380/events | https://github.com/huggingface/transformers/pull/22380 | 1,640,308,588 | PR_kwDOCUB6oc5M4cGm | 22,380 | Bump tensorflow from 2.8.1 to 2.11.1 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major ... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.8.1 to 2.11.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tensorflow/tensorflow/releases">tensorflow's releases</a>.</em></p>
<blockquote>
<h2>TensorFlow 2.11.1</h2>
<h1>Release 2.11.1</h1>
<p><strong>Not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22380/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22380",
"html_url": "https://github.com/huggingface/transformers/pull/22380",
"diff_url": "https://github.com/huggingface/transformers/pull/22380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22380.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22379/comments | https://api.github.com/repos/huggingface/transformers/issues/22379/events | https://github.com/huggingface/transformers/issues/22379 | 1,640,278,762 | I_kwDOCUB6oc5hxKrq | 22,379 | CLIP default download location is /root/.cache/..., not current working dir like other models | {
"login": "krahnikblis",
"id": 84637076,
"node_id": "MDQ6VXNlcjg0NjM3MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/84637076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krahnikblis",
"html_url": "https://github.com/krahnikblis",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @krahnikblis, thanks for raising this issue! \r\n\r\nIn the transformers library, `from_pretrained` can be used to load a model from the hub and from a local file. When `from_pretrained(path)` is called, if `path` is a local folder, these weights are loaded. If it's a checkpoint on the hub e.g. `openai/clip-vit... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.27.3
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.4 (cpu)
- Jax version: 0.3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22379/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22378/comments | https://api.github.com/repos/huggingface/transformers/issues/22378/events | https://github.com/huggingface/transformers/pull/22378 | 1,640,260,258 | PR_kwDOCUB6oc5M4TDU | 22,378 | [performance] ensure `causal_mask` is created directly on device | {
"login": "jeffra",
"id": 645595,
"node_id": "MDQ6VXNlcjY0NTU5NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/645595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffra",
"html_url": "https://github.com/jeffra",
"followers_url": "https://api.github.com/users/jeffra/follow... | [
{
"id": 2690307185,
"node_id": "MDU6TGFiZWwyNjkwMzA3MTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Performance",
"name": "Performance",
"color": "207F32",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @thomasw21 @NouamaneTazi since both of you are experts on this kind of things - to see if you have any general opinion and/or if you would like to review this PR too.",
"@jeffra Would it possible for you (and/or @tjruwase and @t... | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
@tjruwase and @tohtana discovered that causal_mask is currently being created on CPU then moved to GPU during the forward pass of OPT (and we think other models). This appears to be causing a significant performance degradation on multi-gpu environments due to parallel host to device copies g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22378/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22378/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22378",
"html_url": "https://github.com/huggingface/transformers/pull/22378",
"diff_url": "https://github.com/huggingface/transformers/pull/22378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22377/comments | https://api.github.com/repos/huggingface/transformers/issues/22377/events | https://github.com/huggingface/transformers/pull/22377 | 1,640,187,430 | PR_kwDOCUB6oc5M4CeL | 22,377 | load_in_8bit now respects 'balanced' device maps in multi-gpu environments | {
"login": "kooshi",
"id": 1934337,
"node_id": "MDQ6VXNlcjE5MzQzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1934337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kooshi",
"html_url": "https://github.com/kooshi",
"followers_url": "https://api.github.com/users/kooshi/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I'm not sure if this is caused by your work but I met this problem:\r\n\r\nI'm training LLaMA-13B with PEFT, using lora + modules_to_save=['model.embed_tokens', 'lm_head']\r\nAnd it can run training normally\r\nBut the finally model ... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes `max_memory` generation for 'auto' 'balanced' and 'balanced_low_0' `device_map`s for models being loaded in 8bit
Fixes # (N/A)
no issues found, but one guy made a [comment](https://github.com/TimDettmers/bitsandbytes/issues/177#issuecomment-1481609654) about it in the bnb issues, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22377/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22377",
"html_url": "https://github.com/huggingface/transformers/pull/22377",
"diff_url": "https://github.com/huggingface/transformers/pull/22377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22377.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22376/comments | https://api.github.com/repos/huggingface/transformers/issues/22376/events | https://github.com/huggingface/transformers/issues/22376 | 1,640,160,941 | I_kwDOCUB6oc5hwt6t | 22,376 | AttributeError: 'Tensor' object has no attribute 'tile' | {
"login": "nikita-stha",
"id": 66687885,
"node_id": "MDQ6VXNlcjY2Njg3ODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/66687885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikita-stha",
"html_url": "https://github.com/nikita-stha",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"PyTorch 1.7 is not supported anymore, we only ensure support for PyTorch >= 1.9 Could you try updating your Pytorch install and see if it fixes the issue?",
"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 t... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.27.3
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.7 (gpu)
- Jax version: 0.4.6
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22376/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22375/comments | https://api.github.com/repos/huggingface/transformers/issues/22375/events | https://github.com/huggingface/transformers/issues/22375 | 1,640,145,881 | I_kwDOCUB6oc5hwqPZ | 22,375 | Pytorch 2 generation/utils.py , 'torch.distributed' has no attribute 'world_size' | {
"login": "djaym7",
"id": 12378820,
"node_id": "MDQ6VXNlcjEyMzc4ODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/12378820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/djaym7",
"html_url": "https://github.com/djaym7",
"followers_url": "https://api.github.com/users/djaym7/fo... | [] | closed | false | null | [] | [
"Looks like get_world_size() is supposed to be used in pytorch.distributed. [I will make a PR.](https://github.com/huggingface/transformers/pull/22381)",
"Should be fixed now that the PR above has been merged."
] | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
transformers 4.28.0.dev0
pytorch 2
cuda 117
File "/usr/local/lib/python3.8/dist-packages/transformers/generation/utils.py", line 1196, in generate
if is_deepspeed_zero3_enabled() and dist.world_size() > 1:
AttributeError: module 'torch.distributed' has no attribute 'world_size'
https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22375/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/22375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22374/comments | https://api.github.com/repos/huggingface/transformers/issues/22374/events | https://github.com/huggingface/transformers/pull/22374 | 1,640,016,543 | PR_kwDOCUB6oc5M3cV3 | 22,374 | Report safetensors version in transformers-cli env | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
This PR adds `safetensors` to the info reported by `transformers-cli env` and in particular puts a note when safetensors is ignored becuase of a too old PyTorch (see #22370 ) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22374/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22374",
"html_url": "https://github.com/huggingface/transformers/pull/22374",
"diff_url": "https://github.com/huggingface/transformers/pull/22374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22374.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22373/comments | https://api.github.com/repos/huggingface/transformers/issues/22373/events | https://github.com/huggingface/transformers/issues/22373 | 1,639,998,303 | I_kwDOCUB6oc5hwGNf | 22,373 | llama model cannot run with accelerate setting | {
"login": "TeddLi",
"id": 67747139,
"node_id": "MDQ6VXNlcjY3NzQ3MTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/67747139?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TeddLi",
"html_url": "https://github.com/TeddLi",
"followers_url": "https://api.github.com/users/TeddLi/fo... | [] | closed | false | null | [] | [
"Please follow the template of the issues as there is nothing anyone can do to help with so little information.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that ... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
transformer version 4.28.0.dev0
Error
`loading file tokenizer_config.json
loading weights file ./llama1/pytorch_model.bin
Generate config GenerationConfig {
"_from_model_config": true,
"bos_token_id": 0,
"eos_token_id": 1,
"pad_token_id": 1,
"transformers_version": "4.28.0.dev0"
}
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22373/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22372/comments | https://api.github.com/repos/huggingface/transformers/issues/22372/events | https://github.com/huggingface/transformers/issues/22372 | 1,639,989,623 | I_kwDOCUB6oc5hwEF3 | 22,372 | Add Restormer | {
"login": "tushdon2",
"id": 76245823,
"node_id": "MDQ6VXNlcjc2MjQ1ODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/76245823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tushdon2",
"html_url": "https://github.com/tushdon2",
"followers_url": "https://api.github.com/users/tus... | [
{
"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 @tushdon2, please let me know if and how can I contribute to this model."
] | 1,679 | 1,680 | null | NONE | null | ### Model description
**Restormer: Efficient Transformer for High-Resolution Image Restoration** was published in CVPR 2022, which introduced a new Vision Transformer based architecture for Image Restoration tasks like Deraining, Motion Deblurring, Defocus Deblurring and Denoising. It reduced the time complexity of Se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22372/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22371/comments | https://api.github.com/repos/huggingface/transformers/issues/22371/events | https://github.com/huggingface/transformers/issues/22371 | 1,639,980,312 | I_kwDOCUB6oc5hwB0Y | 22,371 | Conv1D doesn't output token-wise results consistently. | {
"login": "wsjeon",
"id": 20200538,
"node_id": "MDQ6VXNlcjIwMjAwNTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/20200538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wsjeon",
"html_url": "https://github.com/wsjeon",
"followers_url": "https://api.github.com/users/wsjeon/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
... | closed | false | null | [] | [
"Hey! Wow that's interesting. \r\nTwo parts of answer:\r\n1. Very cool. We can use `torch.testing.assert_allclose` to checkout the max differences, and indeed I have the following outputs:\r\n```python \r\nIn [73]: torch.testing.assert_allclose(addmm(x1, b, w)[:10], addbmm(x2, b, w))\r\n----------------------------... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
Hi, I recently observed from huggingface's GPT2 that
(1) the output (logits y1, ..., yN) from using a sequence with N tokens (say x1, ..., xN)
(2) the output (logits z1, ..., zM) from using the earlier part of the above sequence (say x1, ..., xM)
are not perfectly matched (y1!=z1,..., yM!=zM) durin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22371/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22370/comments | https://api.github.com/repos/huggingface/transformers/issues/22370/events | https://github.com/huggingface/transformers/pull/22370 | 1,639,940,837 | PR_kwDOCUB6oc5M3MEL | 22,370 | [safetensors] don't use in `torch<1.10` | {
"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._",
"I need a PR merged to test my fix for the torch and tf run which is broken on main (but the fix itself does not trigger any tests). This one seems a good candidate so merging now and will keep an eye on the test :-) ",
"Shouldn't t... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | `safetensors` only seems to work with pt>=1.10. This PR fixes this breakage:
```
python -c 'import sys; from transformers import AutoModel; AutoModel.from_pretrained(sys.argv[1])' "bigscience/bigscience-small-testing"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/mnt/nvme0/c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22370/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/22370/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22370",
"html_url": "https://github.com/huggingface/transformers/pull/22370",
"diff_url": "https://github.com/huggingface/transformers/pull/22370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22370.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22369/comments | https://api.github.com/repos/huggingface/transformers/issues/22369/events | https://github.com/huggingface/transformers/issues/22369 | 1,639,924,102 | I_kwDOCUB6oc5hv0GG | 22,369 | Make inheritance consistent for classes having a `generate` method | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"cc @gante @ArthurZucker ",
"As seen in Slack, let's see if there is interest from others before acting on it, especially as the `generate` method for other modalities than text is prone to evolve to support other use-cases.\r\n\r\nIf anyone stumbles upon this issue as they're blocked by the above, please comment... | 1,679 | 1,683 | 1,683 | COLLABORATOR | null | ### Feature request
Hi, I create this issue to see if this may be blocking to other people or not.
`GenerationMixin` does not inherit from `nn.Module`, while `WhisperForConditionalGeneration` does. Both now have a `generate` method.
This issue is to highlight that PRs as https://github.com/huggingface/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22369/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22368/comments | https://api.github.com/repos/huggingface/transformers/issues/22368/events | https://github.com/huggingface/transformers/pull/22368 | 1,639,884,248 | PR_kwDOCUB6oc5M3ACe | 22,368 | [Trainer] add disclaimer that full_determinism is slow | {
"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,679 | 1,679 | 1,679 | CONTRIBUTOR | null | Flag to users that `--full_determinism` shouldn't be used in production as it's likely to worsen the performance. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22368/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22368",
"html_url": "https://github.com/huggingface/transformers/pull/22368",
"diff_url": "https://github.com/huggingface/transformers/pull/22368.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22368.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22367/comments | https://api.github.com/repos/huggingface/transformers/issues/22367/events | https://github.com/huggingface/transformers/pull/22367 | 1,639,880,698 | PR_kwDOCUB6oc5M2_Py | 22,367 | Test fetch v2 | {
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I guess it's ready for a review?",
"No I haven't finished this PR yet.",
"Hi @sgugger . Thank you a lot for working on this important task! I feel it's better for me to look this work in depth, and I tried to play with the test f... | 1,679 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
This PR rewrites the test fetcher util to be more accurate in the tests collection, and also comes with a restriction on the tests run when a large amount of tests are picked when modifying a core file (like modeling_utils).
The code that extracts the dependencies of a given module now ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22367/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22367",
"html_url": "https://github.com/huggingface/transformers/pull/22367",
"diff_url": "https://github.com/huggingface/transformers/pull/22367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22367.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22366/comments | https://api.github.com/repos/huggingface/transformers/issues/22366/events | https://github.com/huggingface/transformers/issues/22366 | 1,639,871,381 | I_kwDOCUB6oc5hvnOV | 22,366 | VisionEncoderDecoderModel to work with CNN-based models | {
"login": "jbdel",
"id": 17854096,
"node_id": "MDQ6VXNlcjE3ODU0MDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/17854096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbdel",
"html_url": "https://github.com/jbdel",
"followers_url": "https://api.github.com/users/jbdel/follow... | [] | closed | false | null | [] | [
"Hi @jbdel, thanks for raising this issue! \r\n\r\nThe `VisionEncoderDecoder` class is specifically designed to work with transformer architectures, and the decoder model expects a transformer encoder output for its `encoder_hidden_state`. These are activations in the shape `(batch_size, sequence_length, hidden_siz... | 1,679 | 1,683 | 1,683 | NONE | null | ### Feature request
Hello,
VisionEncoderDecoderModel works only with vision-transformers-based models.
Typically, using a ResNet as encoder would trigger an error in the forward:
`TypeError: forward() got an unexpected keyword argument 'output_attentions'`
I'm pretty sure making this pipeline work with CNN... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22365/comments | https://api.github.com/repos/huggingface/transformers/issues/22365/events | https://github.com/huggingface/transformers/pull/22365 | 1,639,786,368 | PR_kwDOCUB6oc5M2q6L | 22,365 | Auto-translate GPTNeo to TensorFlow with GPT-4 | {
"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 | [] | [
"Shame Github doesn't have 🔥 as an available reaction",
"> Shame Github doesn't have 🔥 as an available reaction\r\n\r\n@amyeroberts 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥\r\n\r\n<img width=\"666\" alt=\"Screenshot 2023-03-24 185139\" src=\"https://user-images.githubusercontent.com/2521628/227602659-692ebc96-a5d9-4b7b-9519-bac449... | 1,679 | 1,683 | 1,683 | MEMBER | null | cc @gante @amyeroberts @ydshieh @sayakpaul
This is the preliminary result of auto-translating an entire module to TensorFlow using GPT-4.
The prompt I used was:
>
> Hi GPT, can you translate this class from Hugging Face Transformers from PyTorch to TensorFlow for me?
> Some pointers:
> - When creating laye... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22365/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/22365/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22365",
"html_url": "https://github.com/huggingface/transformers/pull/22365",
"diff_url": "https://github.com/huggingface/transformers/pull/22365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22365.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22364/comments | https://api.github.com/repos/huggingface/transformers/issues/22364/events | https://github.com/huggingface/transformers/pull/22364 | 1,639,678,704 | PR_kwDOCUB6oc5M2T5F | 22,364 | TensorFlow: pin maximum version to 2.12 | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
TF Text 2.12 has been released (a few hours after TF 2.12), so that problem got sorted by itself.
Adding `cmake` to install onnx from source gets rid of the remaining problems :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22364/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 2,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22364",
"html_url": "https://github.com/huggingface/transformers/pull/22364",
"diff_url": "https://github.com/huggingface/transformers/pull/22364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22363/comments | https://api.github.com/repos/huggingface/transformers/issues/22363/events | https://github.com/huggingface/transformers/issues/22363 | 1,639,583,753 | I_kwDOCUB6oc5huhAJ | 22,363 | Multi-node training with Deepspeed hangs when `full_determinism = True` | {
"login": "apoorvkh",
"id": 7005565,
"node_id": "MDQ6VXNlcjcwMDU1NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7005565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apoorvkh",
"html_url": "https://github.com/apoorvkh",
"followers_url": "https://api.github.com/users/apoor... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"I suspect the problem comes from `enable_full_determinism` doing this:\r\n\r\nhttps://github.com/huggingface/transformers/blob/6587125c0a60f5d5cc207fe1e7fc30d5a0c44a6a/src/transformers/trainer_utils.py#L71\r\n\r\nthis setting leads to hanging since torch>=1.13 and it's still broken in the current torch==2.0 (and n... | 1,679 | 1,684 | null | CONTRIBUTOR | null | Hey, as I've described below, I think there are problems training Deepspeed in a multi-node setting when `full_determinism = True` in the `TrainingArguments`. I've replicated this on multiple hardware configurations (i.e. different nodes and GPU types — specifically A6000, V100, RTX 3090 — on the same large cluster sys... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22363/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22362/comments | https://api.github.com/repos/huggingface/transformers/issues/22362/events | https://github.com/huggingface/transformers/pull/22362 | 1,639,468,763 | PR_kwDOCUB6oc5M1nKg | 22,362 | Pin tensorflow-text to go with tensorflow | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
This PR pins `tensorflow-text` to go with TensorFlow, otherwise it tries to install the TF 2.12 which is not supported yet. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22362",
"html_url": "https://github.com/huggingface/transformers/pull/22362",
"diff_url": "https://github.com/huggingface/transformers/pull/22362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22362.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22361/comments | https://api.github.com/repos/huggingface/transformers/issues/22361/events | https://github.com/huggingface/transformers/pull/22361 | 1,639,460,699 | PR_kwDOCUB6oc5M1lgF | 22,361 | Improve error message | {
"login": "Mahrkeenerh",
"id": 43829749,
"node_id": "MDQ6VXNlcjQzODI5NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/43829749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mahrkeenerh",
"html_url": "https://github.com/Mahrkeenerh",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Mahrkeenerh for the `check_repository_consistency` tests, running `make fix-copies` in the top level of the repo should make all the necessary code updates and resolve these. It might be necessary to run `make style` as well to fix ... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Add specific numbers to error message.
@amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22361",
"html_url": "https://github.com/huggingface/transformers/pull/22361",
"diff_url": "https://github.com/huggingface/transformers/pull/22361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22360/comments | https://api.github.com/repos/huggingface/transformers/issues/22360/events | https://github.com/huggingface/transformers/pull/22360 | 1,639,450,544 | PR_kwDOCUB6oc5M1jhW | 22,360 | Adapt find_tied_parameters to handle breaking change in Accelerate | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
In the upcoming version of Accelerate, `find_tied_parameters` returns a list of list instead of dictionary. While there is a hack in place to make sure the code in Transformers keeps working, it is a hack so it would be best to change the way we handle the result of `find_tied_parameters`.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22360/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22360",
"html_url": "https://github.com/huggingface/transformers/pull/22360",
"diff_url": "https://github.com/huggingface/transformers/pull/22360.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22360.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22359/comments | https://api.github.com/repos/huggingface/transformers/issues/22359/events | https://github.com/huggingface/transformers/issues/22359 | 1,639,419,572 | I_kwDOCUB6oc5ht460 | 22,359 | self.offset=2 in Bart position_embedding | {
"login": "ShiyuNee",
"id": 74317813,
"node_id": "MDQ6VXNlcjc0MzE3ODEz",
"avatar_url": "https://avatars.githubusercontent.com/u/74317813?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShiyuNee",
"html_url": "https://github.com/ShiyuNee",
"followers_url": "https://api.github.com/users/Shi... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey, I am not sure I understand your question. Could you clarify what you mean by `we just want to keep with the pretrained results and offset=2 is not relevant to ids in positions`? ",
"Here is an answer : \r\n\r\nThe reason why we are not using \r\n\r\n```python\r\n>>> embed_tokens = nn... | 1,679 | 1,681 | 1,681 | NONE | null | ### System Info
I think the code in BartLearnedPositionalEmbedding is not the same as the code for BART pretraining.
The offset = 2 is because we just want to keep with the pretrained results and offset=2 is not relevant to ids in positions
### Who can help?
_No response_
### Information
- [X] The official examp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22359/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22358/comments | https://api.github.com/repos/huggingface/transformers/issues/22358/events | https://github.com/huggingface/transformers/issues/22358 | 1,639,121,340 | I_kwDOCUB6oc5hswG8 | 22,358 | Training Loop Error | {
"login": "vrunm",
"id": 97465624,
"node_id": "U_kgDOBc81GA",
"avatar_url": "https://avatars.githubusercontent.com/u/97465624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vrunm",
"html_url": "https://github.com/vrunm",
"followers_url": "https://api.github.com/users/vrunm/followers",
... | [] | closed | false | null | [] | [
"I just tried an install on a fresh environment of Transformers v4.27.2 and I cannot reproduce this. Can you maybe retry a fresh install? The constant not found is definitely in that module and it's a basic dict.",
"@sgugger I did try a fresh environment but still ran into the same issue.\r\n```\r\n╭─────────────... | 1,679 | 1,692 | 1,682 | NONE | null | ### System Info
transformers` version: 4.27.2
- Platform: Linux-5.15.89+-x86_64-with-debian-bullseye-sid
- Python version: 3.7.12
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.0+cpu (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.4 (cpu)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22358/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22357/comments | https://api.github.com/repos/huggingface/transformers/issues/22357/events | https://github.com/huggingface/transformers/pull/22357 | 1,638,930,856 | PR_kwDOCUB6oc5MzydG | 22,357 | Update docker files to use official torch 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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
(basically just revert to what we have before #22135, except the torch and cuda version numbers)
We used
```python
--index-url https://download.pytorch.org/whl/test/cu117
```
to run CI before `torch 2.0.0` release. Now since the official release it out, let's use
```python
--index-u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22357/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22357",
"html_url": "https://github.com/huggingface/transformers/pull/22357",
"diff_url": "https://github.com/huggingface/transformers/pull/22357.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22357.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22355/comments | https://api.github.com/repos/huggingface/transformers/issues/22355/events | https://github.com/huggingface/transformers/issues/22355 | 1,638,876,459 | I_kwDOCUB6oc5hr0Ur | 22,355 | No module named transformers.onnx | {
"login": "co-develop-drv",
"id": 50092251,
"node_id": "MDQ6VXNlcjUwMDkyMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/50092251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co-develop-drv",
"html_url": "https://github.com/co-develop-drv",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"This is an old version of Transformers and a dead version of Python. Upgrading might help solve the issue.",
"thanks"
] | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.5.1
- Platform: Linux-5.19.0-35-generic-x86_64-with-debian-bookworm-sid
- Python version: 3.6.13
- PyTorch version (GPU?): 1.5.0 (False)
- Tensorflow version (GPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22355/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22354/comments | https://api.github.com/repos/huggingface/transformers/issues/22354/events | https://github.com/huggingface/transformers/pull/22354 | 1,638,685,794 | PR_kwDOCUB6oc5My95v | 22,354 | Update document_question_answering.py | {
"login": "AdiaWu",
"id": 60185619,
"node_id": "MDQ6VXNlcjYwMTg1NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/60185619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdiaWu",
"html_url": "https://github.com/AdiaWu",
"followers_url": "https://api.github.com/users/AdiaWu/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22354). All of your documentation changes will be reflected on that endpoint.",
"Hello @ankrgyl , I created a pull request with @AdiaWu to add support for multi-page documents. Would you mind if you can give me further adv... | 1,679 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
This is a draft pull request to add support for multi-page documents on question-answering document.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22354/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22354",
"html_url": "https://github.com/huggingface/transformers/pull/22354",
"diff_url": "https://github.com/huggingface/transformers/pull/22354.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22354.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22356/comments | https://api.github.com/repos/huggingface/transformers/issues/22356/events | https://github.com/huggingface/transformers/issues/22356 | 1,638,884,639 | I_kwDOCUB6oc5hr2Uf | 22,356 | The output of TFAutoModel-save_pretrained and keras-ModelCheckpoint do not equal. | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [
{
"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 @guotong1988 , I think this issue is more related to the `transformers` library so I'm transferring the issue to the corresponding repo. I'll let @sgugger @ydshieh comment about the issue itself.",
"@guotong1988 \r\n\r\nIt's not clear to me what question you have in mind. Do you mean one output `h5` file and ... | 1,679 | 1,681 | 1,681 | CONTRIBUTOR | null | ### Describe the bug
```
history = model.fit(
tf_train_dataset, validation_split=0.01,
epochs=int(training_args.num_train_epochs),
callbacks=callbacks,
)
model.save_pretrained(checkpoint_local)
```
output: `h5` file
```
callbacks = [tf.keras.callbacks.ModelCheckpoint(checkpoint_local)]
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22356/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22352/comments | https://api.github.com/repos/huggingface/transformers/issues/22352/events | https://github.com/huggingface/transformers/issues/22352 | 1,638,488,620 | I_kwDOCUB6oc5hqVos | 22,352 | XVector Finetuning process - Whisper XVector | {
"login": "rafael-ariascalles",
"id": 45745870,
"node_id": "MDQ6VXNlcjQ1NzQ1ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/45745870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafael-ariascalles",
"html_url": "https://github.com/rafael-ariascalles",
"followers_url": "ht... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [] | 1,679 | 1,679 | null | NONE | null | ### Model description
The idea is to apply XVector to Whisper and, In the process, generate documentation to Finetune or Adapt XVector (Maybe something similar to SetFit for Audio) @vaibva
### Open source status
- [ ] The model implementation is available
- [ ] The model weights are available
### Provide useful li... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22352/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/22352/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22351/comments | https://api.github.com/repos/huggingface/transformers/issues/22351/events | https://github.com/huggingface/transformers/issues/22351 | 1,638,481,621 | I_kwDOCUB6oc5hqT7V | 22,351 | Should update accelerate minimum version requirement to 0.15 | {
"login": "rsmith49",
"id": 17658617,
"node_id": "MDQ6VXNlcjE3NjU4NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/17658617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsmith49",
"html_url": "https://github.com/rsmith49",
"followers_url": "https://api.github.com/users/rsm... | [] | closed | false | null | [] | [
"The code handles both versions. Without having the real traceback we can't know what went wrong on our side.",
"Unfortunately this traceback is as granular as the HF Inference Endpoints logs give me",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this s... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
Using Huggingface Inference Endpoints deployment
contents of `requirements.txt` file below:
```
accelerate==0.13.2
bitsandbytes
```
### Who can help?
@sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22351/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22350/comments | https://api.github.com/repos/huggingface/transformers/issues/22350/events | https://github.com/huggingface/transformers/pull/22350 | 1,638,461,448 | PR_kwDOCUB6oc5MyN3Z | 22,350 | :rotating_light: :rotating_light: :rotating_light: Fixing BPE spm converter. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger \r\n\r\nAt least reformer and camembert are concerned (some test failed when writing bogus code here.)",
"IT's breaking and breaking reformer and xlnet, I removed the breaking part of it for Llama."
] | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
The spm BPE converter seemed to have been wrong (for quite a while if true).
The merges are recreated from the vocab, but where ordered by their vocab id instead
of the score within spm vocab. It seems to be wrong for Llama.
This PR fixes it.
<!--
Congratulations! You've made it this far! Yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22350/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22350",
"html_url": "https://github.com/huggingface/transformers/pull/22350",
"diff_url": "https://github.com/huggingface/transformers/pull/22350.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22350.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22349/comments | https://api.github.com/repos/huggingface/transformers/issues/22349/events | https://github.com/huggingface/transformers/issues/22349 | 1,638,319,955 | I_kwDOCUB6oc5hpsdT | 22,349 | Error while using CLIP embeddings with VisualBERT. | {
"login": "nityanandmathur",
"id": 77379835,
"node_id": "MDQ6VXNlcjc3Mzc5ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/77379835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nityanandmathur",
"html_url": "https://github.com/nityanandmathur",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @amyeroberts "
] | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-4.18.0-348.2.1.el8_5.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22349/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22349/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22348/comments | https://api.github.com/repos/huggingface/transformers/issues/22348/events | https://github.com/huggingface/transformers/issues/22348 | 1,638,299,936 | I_kwDOCUB6oc5hpnkg | 22,348 | Possibly Incorrect Perplexity Calculation in Conceptual Guide | {
"login": "fpgaminer",
"id": 1585817,
"node_id": "MDQ6VXNlcjE1ODU4MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1585817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fpgaminer",
"html_url": "https://github.com/fpgaminer",
"followers_url": "https://api.github.com/users/fp... | [] | closed | false | null | [] | [
"That's correct, would you like to open a PR with your fix?",
"I can, yes. Which would be best: a fix for those two lines, or re-writing to calculate loss outside the model? The latter better matches how the guide explains things but is a more extensive change and requires updating verbiage in the guide.\r\n\r\n... | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | In the docs, Conceptual Guides->Perplexity, the code underneath the section titled "Example: Calculating perplexity with GPT-2 in 🤗 Transformers" might be wrong. This is based on my understanding. The specific line of example code:
https://github.com/huggingface/transformers/blob/e8cc02555ee7dce7213e624ab088d8d4d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22348/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22347/comments | https://api.github.com/repos/huggingface/transformers/issues/22347/events | https://github.com/huggingface/transformers/pull/22347 | 1,638,196,694 | PR_kwDOCUB6oc5MxUfO | 22,347 | [HFTracer] Make embeddings ops take on the dtype of the weight | {
"login": "jamesr66a",
"id": 4685384,
"node_id": "MDQ6VXNlcjQ2ODUzODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4685384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesr66a",
"html_url": "https://github.com/jamesr66a",
"followers_url": "https://api.github.com/users/ja... | [] | closed | false | null | [] | [
"cc @michaelbenayoun ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Previously, `HFTracer` would assume a dtype of `torch.float32` as the output for `embedding` operators. This would cause issues downstream if you're tracing out a model that is initialized as e.g. `torch.bfloat16`. This makes it so that the embeddings ops outputs take on the dtype of the weig... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22347/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22347/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22347",
"html_url": "https://github.com/huggingface/transformers/pull/22347",
"diff_url": "https://github.com/huggingface/transformers/pull/22347.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22347.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22346/comments | https://api.github.com/repos/huggingface/transformers/issues/22346/events | https://github.com/huggingface/transformers/pull/22346 | 1,638,133,566 | PR_kwDOCUB6oc5MxGvB | 22,346 | Generate: Add GPTNeoX integration test | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
I'm adding left-padding support to GPTNeoX, which requires some refactoring of the model code. I've decided to add a small integration test to ensure we don't regress on the basics. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22346/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22346",
"html_url": "https://github.com/huggingface/transformers/pull/22346",
"diff_url": "https://github.com/huggingface/transformers/pull/22346.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22346.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22345/comments | https://api.github.com/repos/huggingface/transformers/issues/22345/events | https://github.com/huggingface/transformers/pull/22345 | 1,638,014,741 | PR_kwDOCUB6oc5MwtRB | 22,345 | Fix typo in Greedy Search Description | {
"login": "awinml",
"id": 97467100,
"node_id": "U_kgDOBc863A",
"avatar_url": "https://avatars.githubusercontent.com/u/97467100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awinml",
"html_url": "https://github.com/awinml",
"followers_url": "https://api.github.com/users/awinml/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger I rebased with main. All the CI checks pass now.",
"Thanks!"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
There is a small typographical error in the documentation for Greedy Search.
Fixes #22335
- [x] This PR fixes a typo.
## Who can review?
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22345/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22345",
"html_url": "https://github.com/huggingface/transformers/pull/22345",
"diff_url": "https://github.com/huggingface/transformers/pull/22345.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22345.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22344/comments | https://api.github.com/repos/huggingface/transformers/issues/22344/events | https://github.com/huggingface/transformers/issues/22344 | 1,637,860,032 | I_kwDOCUB6oc5hn8LA | 22,344 | Pix2struct screen2words not working | {
"login": "lambainsaan",
"id": 14011001,
"node_id": "MDQ6VXNlcjE0MDExMDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/14011001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lambainsaan",
"html_url": "https://github.com/lambainsaan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @lambainsaan, thanks for raising this issue!\r\n\r\nPix2Struct was merged into `main` after the 4.27.2 release. To get the most recent version of the codebase, you can install from the dev branch by running: \r\n`pip install git+https://github.com/huggingface/transformers`.\r\n\r\nNote: It is not possible to lo... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: macOS-13.2.1-x86_64-i386-64bit
- Python version: 3.10.10
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?[/GPU](https://file+.vscode-resource.vscode-cdn.net/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22344/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22342/comments | https://api.github.com/repos/huggingface/transformers/issues/22342/events | https://github.com/huggingface/transformers/pull/22342 | 1,637,786,992 | PR_kwDOCUB6oc5Mv7od | 22,342 | added biogpt token classification | {
"login": "upjabir",
"id": 40956091,
"node_id": "MDQ6VXNlcjQwOTU2MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/40956091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upjabir",
"html_url": "https://github.com/upjabir",
"followers_url": "https://api.github.com/users/upjabi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge @sgugger can you please look into it ?"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
It add the class for BioGptForTokenClassification based on BioGpt model
Fixes #21786
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22342/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22342",
"html_url": "https://github.com/huggingface/transformers/pull/22342",
"diff_url": "https://github.com/huggingface/transformers/pull/22342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22342.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22341/comments | https://api.github.com/repos/huggingface/transformers/issues/22341/events | https://github.com/huggingface/transformers/pull/22341 | 1,637,768,559 | PR_kwDOCUB6oc5Mv3pc | 22,341 | Add clean_up_tokenization_spaces to config | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @Narsil ",
"Also linked to #20846. A follow up PR can now be made to add a simple warning if the default value is set to `True` / put the default value to True",
"It seems like no model defaulted to use `cleanup_tokenization_s... | 1,679 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
DRAFT | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22341",
"html_url": "https://github.com/huggingface/transformers/pull/22341",
"diff_url": "https://github.com/huggingface/transformers/pull/22341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22341.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22340/comments | https://api.github.com/repos/huggingface/transformers/issues/22340/events | https://github.com/huggingface/transformers/issues/22340 | 1,637,607,635 | I_kwDOCUB6oc5hm-jT | 22,340 | StoppingCritera for individual samples in batched input | {
"login": "Muennighoff",
"id": 62820084,
"node_id": "MDQ6VXNlcjYyODIwMDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/62820084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muennighoff",
"html_url": "https://github.com/Muennighoff",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @gante",
"Hey @Muennighoff 👋 \r\n\r\nIf I'm reading right, the sole purpose of the proposal is faster generation. In that case, implementing what you suggested is probably possible, but actually low impact. This is because the bottleneck in `.generate()` is the memory bandwidth associated with pulling the mo... | 1,679 | 1,692 | 1,684 | CONTRIBUTOR | null | ### Feature request
IIURC if I'm running batched generation and one sample in the batch has hit the stopping criteria but others have not, there is no way to be able to stop generations for **only that** sample. I.e. either I stop generating for all samples or the model will keep generating for all samples until all o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22340/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/22340/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22339/comments | https://api.github.com/repos/huggingface/transformers/issues/22339/events | https://github.com/huggingface/transformers/pull/22339 | 1,637,583,352 | PR_kwDOCUB6oc5MvPfE | 22,339 | Minor typo in pipeline FillMaskPipeline's documentation. | {
"login": "SamuelLarkin",
"id": 7314973,
"node_id": "MDQ6VXNlcjczMTQ5NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7314973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SamuelLarkin",
"html_url": "https://github.com/SamuelLarkin",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for spotting and fixing this! "
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes a minor typo in the documentation for FillMaskPipeline.__call__().
## Before submitting
- [X ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
@Narsil. @sgugger, @stevhliu and @MKhalusova | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22339/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/22339/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22339",
"html_url": "https://github.com/huggingface/transformers/pull/22339",
"diff_url": "https://github.com/huggingface/transformers/pull/22339.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22339.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22338/comments | https://api.github.com/repos/huggingface/transformers/issues/22338/events | https://github.com/huggingface/transformers/issues/22338 | 1,637,572,529 | I_kwDOCUB6oc5hm1-x | 22,338 | WhisperTokenizer for two languages at once. | {
"login": "BakingBrains",
"id": 51019420,
"node_id": "MDQ6VXNlcjUxMDE5NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/51019420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BakingBrains",
"html_url": "https://github.com/BakingBrains",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @sanchit-gandhi ",
"Hey @BakingBrains! You'll have to set the prefix tokens each time you switch language. You can do this using the [`.set_prefix_tokens`](https://huggingface.co/docs/transformers/model_doc/whisper#transformers.WhisperTokenizer.set_prefix_tokens) method, e.g. for French:\r\n... | 1,679 | 1,682 | 1,682 | CONTRIBUTOR | null | In the blog https://huggingface.co/blog/fine-tune-whisper I see the code piece.
```tokenizer = WhisperTokenizer.from_pretrained("openai/whisper-small", language="Hindi", task="transcribe")```
What if I want to include both French and Hindi?
Any suggestions here?
Thanks and Regards. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22338/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22337/comments | https://api.github.com/repos/huggingface/transformers/issues/22337/events | https://github.com/huggingface/transformers/issues/22337 | 1,637,418,009 | I_kwDOCUB6oc5hmQQZ | 22,337 | NER pipeline adding unnecessary spaces to extracted entities | {
"login": "SergeyShk",
"id": 10076495,
"node_id": "MDQ6VXNlcjEwMDc2NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/10076495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SergeyShk",
"html_url": "https://github.com/SergeyShk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @SergeyShk .\r\n\r\nThis is linked to how tokenizers work, and there's nothing to be done about it (there's no difference for it if there was a space or not, so during decoding it can arbitrarily choose to put it or not.).\r\n\r\nHowever, you do have `start` and `stop` which can help you recover the exact origi... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: macOS-13.1-x86_64-i386-64bit
- Python version: 3.10.9
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22336/comments | https://api.github.com/repos/huggingface/transformers/issues/22336/events | https://github.com/huggingface/transformers/issues/22336 | 1,637,401,383 | I_kwDOCUB6oc5hmMMn | 22,336 | Have you considered using falsh attention to speed up? | {
"login": "macheng6",
"id": 37951216,
"node_id": "MDQ6VXNlcjM3OTUxMjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/37951216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/macheng6",
"html_url": "https://github.com/macheng6",
"followers_url": "https://api.github.com/users/mac... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @macheng6 \r\nThanks a lot for your interest in this! \r\nIndeed there is a similar integration to this called `BetterTransformer` that uses flash attention in the backend I believe. \r\nThis support most of the encoder and decoder models (if you use the `main` branch of `optimum`, pleas... | 1,679 | 1,682 | 1,682 | NONE | null | ### Feature request
using flash attention to speed up
### Motivation
none
### Your contribution
none | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22336/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22335/comments | https://api.github.com/repos/huggingface/transformers/issues/22335/events | https://github.com/huggingface/transformers/issues/22335 | 1,637,385,614 | I_kwDOCUB6oc5hmIWO | 22,335 | Typo in Greedy Search Description | {
"login": "awinml",
"id": 97467100,
"node_id": "U_kgDOBc863A",
"avatar_url": "https://avatars.githubusercontent.com/u/97467100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awinml",
"html_url": "https://github.com/awinml",
"followers_url": "https://api.github.com/users/awinml/followers"... | [] | closed | false | null | [] | [
"Sure, would you like to suggest a PR?",
"Yeah, I can open a PR to fix this."
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu117 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.0 (cpu)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22335/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22343/comments | https://api.github.com/repos/huggingface/transformers/issues/22343/events | https://github.com/huggingface/transformers/issues/22343 | 1,637,811,311 | I_kwDOCUB6oc5hnwRv | 22,343 | Link for Absent Longformer Task Documentation | {
"login": "mert-kurttutan",
"id": 88637659,
"node_id": "MDQ6VXNlcjg4NjM3NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/88637659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mert-kurttutan",
"html_url": "https://github.com/mert-kurttutan",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Transferred to transformers. As far as I can see, this is fixed in main and will work as intended in the next release. https://huggingface.co/docs/transformers/main/en/model_doc/longformer",
"Oh. Ok. Thanks.\r\nIt still seems weird that resources of this page are about generic task demonstration, not particularl... | 1,679 | 1,679 | 1,679 | NONE | null | Hi,
I tried to look at the example tasks for Longformer. It lead to a page that does not exist and non-ideal response page.
How to reproduce:
1) Go to https://huggingface.co/docs/transformers/model_doc/longformer#documentation-resources
2) Click on any of the documentation resources, and arrive at the next ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22343/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22334/comments | https://api.github.com/repos/huggingface/transformers/issues/22334/events | https://github.com/huggingface/transformers/pull/22334 | 1,637,279,262 | PR_kwDOCUB6oc5MuNPR | 22,334 | [`bnb`] Fix bnb slow test | {
"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._",
"Seems to be fixed on `main`, probably thanks to https://github.com/huggingface/transformers/pull/22311 "
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes a failing daily CI test. https://github.com/huggingface/transformers/actions/runs/4485738346/jobs/7887641218
Which can be simplified as:
```python
from transformers import AutoModelForCausalLM
model_name = "bigscience/bloom-560m"
memory_mapping = {0: "1GB", 1: "2GB"}
model_p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22334/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22334",
"html_url": "https://github.com/huggingface/transformers/pull/22334",
"diff_url": "https://github.com/huggingface/transformers/pull/22334.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22334.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22333/comments | https://api.github.com/repos/huggingface/transformers/issues/22333/events | https://github.com/huggingface/transformers/pull/22333 | 1,637,236,124 | PR_kwDOCUB6oc5MuEEE | 22,333 | Mention why one needs to specify max_steps in Trainer | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | Just a minor change following https://discuss.huggingface.co/t/streaming-dataset-into-trainer-does-not-implement-len-max-steps-has-to-be-specified/32893 about why max_steps is needed for iterable datasets | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22333/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22333",
"html_url": "https://github.com/huggingface/transformers/pull/22333",
"diff_url": "https://github.com/huggingface/transformers/pull/22333.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22333.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22331/comments | https://api.github.com/repos/huggingface/transformers/issues/22331/events | https://github.com/huggingface/transformers/issues/22331 | 1,636,970,282 | I_kwDOCUB6oc5hki8q | 22,331 | whisper model's default task should be "transcribe" | {
"login": "chenht2021",
"id": 1046370,
"node_id": "MDQ6VXNlcjEwNDYzNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1046370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenht2021",
"html_url": "https://github.com/chenht2021",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @sanchit-gandhi 🙏 ",
"Hey! As you can see [here](https://github.com/ArthurZucker/transformers/blob/d2854e753bcfd62dce2f968d6088232d0fc41f8c/src/transformers/models/whisper/modeling_whisper.py#L1586) the default (if the generation_config does not have a `task` set is still `transcribe`. What... | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22331/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22330/comments | https://api.github.com/repos/huggingface/transformers/issues/22330/events | https://github.com/huggingface/transformers/issues/22330 | 1,636,830,512 | I_kwDOCUB6oc5hkA0w | 22,330 | Can't export Deformable Detr to ONNX | {
"login": "ashim-mahara",
"id": 48154590,
"node_id": "MDQ6VXNlcjQ4MTU0NTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/48154590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashim-mahara",
"html_url": "https://github.com/ashim-mahara",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Detr export should be supported: https://github.com/huggingface/optimum/blob/8252f4b0c48183198f4bed54bd6e0822213ef78b/optimum/exporters/tasks.py#L344-L349\r\n\r\nCan you try `pip install -U optimum transformers` and `optimum-cli export onnx --model SenseTime/deformable-detr --task object-segmentation detr_onnx/`?"... | 1,679 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: Linux-6.2.0-76060200-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22330/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22329/comments | https://api.github.com/repos/huggingface/transformers/issues/22329/events | https://github.com/huggingface/transformers/pull/22329 | 1,636,813,751 | PR_kwDOCUB6oc5MspoK | 22,329 | Enable training Llama with model or pipeline parallelism | {
"login": "kooshi",
"id": 1934337,
"node_id": "MDQ6VXNlcjE5MzQzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1934337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kooshi",
"html_url": "https://github.com/kooshi",
"followers_url": "https://api.github.com/users/kooshi/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Great jobs!",
"Could you share a snippet of code that is failing prior to this PR?",
"Certainly, here's a relatively minimal example:\r\n```python\r\nimport transformers, datasets\r\nfrom peft import (\r\n LoraConfig,\r\n g... | 1,679 | 1,680 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
This PR enables model and pipeline parallelism for Llama models.
The change moves the target tensor to the output device, if needed, for loss calculation.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22329/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22329",
"html_url": "https://github.com/huggingface/transformers/pull/22329",
"diff_url": "https://github.com/huggingface/transformers/pull/22329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22329.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22328/comments | https://api.github.com/repos/huggingface/transformers/issues/22328/events | https://github.com/huggingface/transformers/issues/22328 | 1,636,765,286 | I_kwDOCUB6oc5hjw5m | 22,328 | PyTorch/XLA FSDP doesn't seem to work on TPU-v3-8 VM | {
"login": "vjeronymo2",
"id": 37119493,
"node_id": "MDQ6VXNlcjM3MTE5NDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/37119493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vjeronymo2",
"html_url": "https://github.com/vjeronymo2",
"followers_url": "https://api.github.com/use... | [
{
"id": 4101623725,
"node_id": "LA_kwDOCUB6oc70ec-t",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch%20FSDP",
"name": "PyTorch FSDP",
"color": "B60205",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I still think this still needs to be addressed ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/... | 1,679 | 1,685 | 1,685 | NONE | null | ### System Info
GCP TPU-v3-8 VM
Operating System: Ubuntu 20.04.4 LTS
Kernel: Linux 5.13.0-1027-gcp
transformers 4.28.0.dev0 (pip install git+https://github.com/huggingface/transformers.git on 03/22/2023)
torch 2.0.0
torch-xla 2.0
### Who can help?
People from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22328/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22327/comments | https://api.github.com/repos/huggingface/transformers/issues/22327/events | https://github.com/huggingface/transformers/pull/22327 | 1,636,714,827 | PR_kwDOCUB6oc5MsVCB | 22,327 | Added type hints to TFDeiTModel | {
"login": "Batese2001",
"id": 69521504,
"node_id": "MDQ6VXNlcjY5NTIxNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/69521504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Batese2001",
"html_url": "https://github.com/Batese2001",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds type hints for modeling_tf_deit.py as outlined in Issue #16059
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22327",
"html_url": "https://github.com/huggingface/transformers/pull/22327",
"diff_url": "https://github.com/huggingface/transformers/pull/22327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22326/comments | https://api.github.com/repos/huggingface/transformers/issues/22326/events | https://github.com/huggingface/transformers/issues/22326 | 1,636,710,163 | I_kwDOCUB6oc5hjjcT | 22,326 | torch_compile fail with multi-gpus on samples | {
"login": "frank-dong-ms",
"id": 123416088,
"node_id": "U_kgDOB1suGA",
"avatar_url": "https://avatars.githubusercontent.com/u/123416088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frank-dong-ms",
"html_url": "https://github.com/frank-dong-ms",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I don't think `torch.compile` support `DataParallel`. You should launch your script in a distributed fashion using `torchrun`.",
"Make sense, in that case I think transformers trainer should be refined to let torch.compile work on multi-gpu",
"This issue has been automatically marked as stale because it has no... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
platform: ubuntu 20.04
Pytorch version: nightly
transformer version: build from source
### Who can help?
@sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22326/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22325/comments | https://api.github.com/repos/huggingface/transformers/issues/22325/events | https://github.com/huggingface/transformers/pull/22325 | 1,636,666,663 | PR_kwDOCUB6oc5MsLC5 | 22,325 | [gptj] support older pytorch version | {
"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._",
"Thank you for the quick review, Sylvain.",
"Thank you @stas00 @sgugger and sorry again for the breakage.",
"You haven't done anything wrong, Nick. It's just very difficult to instantly test all the different variations. We have m... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | Unbreak 2 issues introduced by https://github.com/huggingface/transformers/pull/22069 . I validated that this version works even with pt-1.9, which is the new lowest version supported by transformers since https://github.com/huggingface/transformers/pull/22291
Fixes:
```
E File "/mnt/nvme0/code/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22325/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22325",
"html_url": "https://github.com/huggingface/transformers/pull/22325",
"diff_url": "https://github.com/huggingface/transformers/pull/22325.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22325.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22324/comments | https://api.github.com/repos/huggingface/transformers/issues/22324/events | https://github.com/huggingface/transformers/issues/22324 | 1,636,438,457 | I_kwDOCUB6oc5hihG5 | 22,324 | GPT2ForSequenceClassification logits unmatched size | {
"login": "OshriAvnery",
"id": 16324226,
"node_id": "MDQ6VXNlcjE2MzI0MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/16324226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OshriAvnery",
"html_url": "https://github.com/OshriAvnery",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi! \r\nI am not really sure about your usage (setting the vocabulary size to the number of classes?) but as it can be found on the documentation, this is how you should be using the `GPT2ForSequenceClassification` class : \r\n```python \r\nimport torch\r\nfrom transformers import GPT2Tokenizer, GPT2ForSequenceCla... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
huggingface-hub-0.13.3 tokenizers-0.13.2 transformers-4.27.2
python3.9
Hi :)
Using GPT2ForSequenceClassification, I have num_labels > 1, but get logits with shape (batch_size,1) instead of (batch_size, config.num_labels) as written in the docs.
I verified that those values are correct:
con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22324/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22323/comments | https://api.github.com/repos/huggingface/transformers/issues/22323/events | https://github.com/huggingface/transformers/pull/22323 | 1,636,344,601 | PR_kwDOCUB6oc5MrF8m | 22,323 | Seq2seq trainer generation config arg | {
"login": "Natooz",
"id": 56734983,
"node_id": "MDQ6VXNlcjU2NzM0OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/56734983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natooz",
"html_url": "https://github.com/Natooz",
"followers_url": "https://api.github.com/users/Natooz/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Examples are broken here is due to `Seq2SeqTrainingArguments.generation_max_length` and `Seq2SeqTrainingArguments.generation_num_beams` being removed.\r\n\r\nFrom here what do you suggest between putting them back (and send a warning... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
`Seq2SeqTrainer` can load a `GenerationConfig`, by calling the `from_pretrained` method. This is done with the `generation_config_from_pretrain` argument from `Seq2SeqTrainingArguments` (or in `kwargs` of the `Seq2SeqTrainer.evaluate` and `Seq2SeqTrainer.predict` methods).
At first, we tho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22323/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22323",
"html_url": "https://github.com/huggingface/transformers/pull/22323",
"diff_url": "https://github.com/huggingface/transformers/pull/22323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22323.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22322/comments | https://api.github.com/repos/huggingface/transformers/issues/22322/events | https://github.com/huggingface/transformers/pull/22322 | 1,636,304,182 | PR_kwDOCUB6oc5Mq9QU | 22,322 | Generate: add test for left-padding support | {
"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 | [] | [
"Current failures -- including Llama and GPTNeoX, the two I had my eyes on:\r\n\r\n",
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugg... | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
This PR adds a test to check whether a decoder-only model supports left padding. The test was somewhat tricky to design -- the reasoning is all commented in the code, for future reference.
Let me know if you agree with the decisions made in the test!
Hopefully we will be able to detect ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22322/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/22322/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22322",
"html_url": "https://github.com/huggingface/transformers/pull/22322",
"diff_url": "https://github.com/huggingface/transformers/pull/22322.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22322.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22321/comments | https://api.github.com/repos/huggingface/transformers/issues/22321/events | https://github.com/huggingface/transformers/issues/22321 | 1,636,270,864 | I_kwDOCUB6oc5hh4MQ | 22,321 | line 714 bsz, seq_len = input_shape may crash in CLIPTextTransformer | {
"login": "qilei123",
"id": 21085736,
"node_id": "MDQ6VXNlcjIxMDg1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/21085736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qilei123",
"html_url": "https://github.com/qilei123",
"followers_url": "https://api.github.com/users/qil... | [] | closed | false | null | [] | [
"Hi @qilei123, thanks for raising this issue.\r\n\r\nCould you share a minimal code sample which reproduces the error and information about the environment the code was run in (run `transformers-cli env` to get this info)?",
"This issue has been automatically marked as stale because it has not had recent activity... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
Hi, there,
When input_ids is more than 2 dimentions , the input_shape = input_ids.size() will give more than 2 numbers. Then bsz, seq_len = input_shape will crash.
I don't know if I was right. Just face the issue and change the code in my machine and it works.
### Who can help?
_No response_
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22321/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22320/comments | https://api.github.com/repos/huggingface/transformers/issues/22320/events | https://github.com/huggingface/transformers/pull/22320 | 1,636,226,763 | PR_kwDOCUB6oc5Mqsj0 | 22,320 | Fix PipelineTests skip conditions | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
While I am starting to try to fix some pipeline tests that are skipped previously, I realized PR #21516 (removing the usage of meta class in pipeline testing) **accidentally skip more tests than it should**.
- previously, each combination of model/tokenizer/processor class has its own test... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22320",
"html_url": "https://github.com/huggingface/transformers/pull/22320",
"diff_url": "https://github.com/huggingface/transformers/pull/22320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22320.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22319/comments | https://api.github.com/repos/huggingface/transformers/issues/22319/events | https://github.com/huggingface/transformers/pull/22319 | 1,636,198,984 | PR_kwDOCUB6oc5MqmlX | 22,319 | Hardware Auto-Setup for Examples | {
"login": "dongreenberg",
"id": 15992114,
"node_id": "MDQ6VXNlcjE1OTkyMTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/15992114?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dongreenberg",
"html_url": "https://github.com/dongreenberg",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Definitely, that makes sense, and thanks for the fast review! Updated per your suggestions.",
"Thanks for iterating! There is just the issue of the tests that are not running now. It seems there is an issue with your CircleCI permi... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Discussed with @sgugger and @LysandreJik . This PR introduces auto-setup functionality for tutorials and examples (we are sending a parallel PR to accelerate, and maybe Diffusers and Spaces shortly). This allows users to run transformers code, tutorials, and scripts on self-hosted hardware (e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22319/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22319",
"html_url": "https://github.com/huggingface/transformers/pull/22319",
"diff_url": "https://github.com/huggingface/transformers/pull/22319.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22319.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22318/comments | https://api.github.com/repos/huggingface/transformers/issues/22318/events | https://github.com/huggingface/transformers/pull/22318 | 1,636,178,944 | PR_kwDOCUB6oc5MqiS- | 22,318 | Hardware Auto-Setup for Tutorials and Examples | {
"login": "dongreenberg",
"id": 15992114,
"node_id": "MDQ6VXNlcjE1OTkyMTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/15992114?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dongreenberg",
"html_url": "https://github.com/dongreenberg",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Whoops, shouldn't be on main, I'll close and reopen on a new branch.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Discussed with @sgugger and @LysandreJik . This PR introduces auto-setup functionality for tutorials and examples (we are sending a parallel PR to accelerate, and maybe Diffusers and Spaces shortly). This allows users to run transformers code, tutorials, and scripts on self-hosted hardware (e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22318/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22318",
"html_url": "https://github.com/huggingface/transformers/pull/22318",
"diff_url": "https://github.com/huggingface/transformers/pull/22318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22318.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22317/comments | https://api.github.com/repos/huggingface/transformers/issues/22317/events | https://github.com/huggingface/transformers/pull/22317 | 1,636,103,388 | PR_kwDOCUB6oc5MqSH7 | 22,317 | Add `MegatronT5ForConditionalGeneration` | {
"login": "eagle705",
"id": 7252598,
"node_id": "MDQ6VXNlcjcyNTI1OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7252598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eagle705",
"html_url": "https://github.com/eagle705",
"followers_url": "https://api.github.com/users/eagle... | [
{
"id": 2669577093,
"node_id": "MDU6TGFiZWwyNjY5NTc3MDkz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PR%20for%20Model%20Addition",
"name": "PR for Model Addition",
"color": "5319e7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22317). 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,679 | 1,689 | 1,689 | NONE | null | # What does this PR do?
This PR adds the `MegatronT5ForConditionalGeneration` class, which among standard applications can be used for pretrained T5 model from NVIDIA NeMo MegatronT5 :)
I also add converting script from NeMo MegatronT5 to Huggingface MegatronT5ForConditionalGeneration model
<!--
Congratulations! Yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22317/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22317",
"html_url": "https://github.com/huggingface/transformers/pull/22317",
"diff_url": "https://github.com/huggingface/transformers/pull/22317.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22317.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22316/comments | https://api.github.com/repos/huggingface/transformers/issues/22316/events | https://github.com/huggingface/transformers/pull/22316 | 1,635,999,677 | PR_kwDOCUB6oc5Mp8YW | 22,316 | docs: Resolve incorrect type typo in trainer methods | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
Replace incorrect `Lst[str]` with `List[str]` in docstrings in various locations in the `Trainer`.
## Before submitting
- [x] This PR fixes a typo or improves the docs
## Who can review?
Documentation: @sgugger
* Tom Aarsen | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22316/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22316",
"html_url": "https://github.com/huggingface/transformers/pull/22316",
"diff_url": "https://github.com/huggingface/transformers/pull/22316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22316.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22315/comments | https://api.github.com/repos/huggingface/transformers/issues/22315/events | https://github.com/huggingface/transformers/issues/22315 | 1,635,962,835 | I_kwDOCUB6oc5hgs_T | 22,315 | Add MegatronT5 | {
"login": "eagle705",
"id": 7252598,
"node_id": "MDQ6VXNlcjcyNTI1OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7252598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eagle705",
"html_url": "https://github.com/eagle705",
"followers_url": "https://api.github.com/users/eagle... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [] | 1,679 | 1,679 | null | NONE | null | ### Model description
In NeMo Megatron, the T5 model is available, but there is currently no MegatronT5 class for huggingface, such as MegatronBERT or MegatronGPT2. I have recently finished the porting work and have tested the model internally. I would like to share this model with the community.
### Open sou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22315/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22315/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22314/comments | https://api.github.com/repos/huggingface/transformers/issues/22314/events | https://github.com/huggingface/transformers/pull/22314 | 1,635,949,187 | PR_kwDOCUB6oc5Mpxbf | 22,314 | Beef up Llama tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
I was starting to work on left padding support for Llama, and I noticed it was missing the usual test mixins. This PR rectifies that before I introduce further changes on Llama. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22314/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22314",
"html_url": "https://github.com/huggingface/transformers/pull/22314",
"diff_url": "https://github.com/huggingface/transformers/pull/22314.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22314.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22313/comments | https://api.github.com/repos/huggingface/transformers/issues/22313/events | https://github.com/huggingface/transformers/pull/22313 | 1,635,907,907 | PR_kwDOCUB6oc5Mpoyf | 22,313 | 🚨🚨🚨 `[NLLB Tokenizer]` Fix the prefix tokens 🚨🚨🚨 | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for the implementation, @ArthurZucker!\r\n\r\nCould you please put in the PR description the gist of the breaking change with a code sample, and how to revert to the previous behavior if users would like that?\r\n\r\nThank ... | 1,679 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
The NLLB tokenizer's suffix and prefix token were wrong w.r.t to the paper.
This breaking change fixes the tokenizer.
Could be none breaking if we add these to the configuration file maybe? But it is a required change
Have to update the tests but should be good.
The big problem was ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22313/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22313/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22313",
"html_url": "https://github.com/huggingface/transformers/pull/22313",
"diff_url": "https://github.com/huggingface/transformers/pull/22313.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22313.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22312/comments | https://api.github.com/repos/huggingface/transformers/issues/22312/events | https://github.com/huggingface/transformers/issues/22312 | 1,635,734,739 | I_kwDOCUB6oc5hf1TT | 22,312 | LlamaTokenizer has no `pad` token, leading to failure during batch-tokenization | {
"login": "adivekar-utexas",
"id": 71379271,
"node_id": "MDQ6VXNlcjcxMzc5Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/71379271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adivekar-utexas",
"html_url": "https://github.com/adivekar-utexas",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"- Possible root cause:\r\n\r\nI don't see padding token set anywhere: https://github.com/huggingface/transformers/blob/c07a02a4b7892edfee22cbe57d3cdd9e10ae7a4d/src/transformers/models/llama/convert_llama_weights_to_hf.py#L241\r\n\r\nA bunch of LLaMa libraries seem to be setting the IDs from the sentencepiece `toke... | 1,679 | 1,707 | 1,682 | NONE | null | ### System Info
System info:
- Code: Current `main` branch, installed via: `pip install git+https://github.com/huggingface/transformers` on 22nd March 2023
### Who can help?
@ArthurZucker @sgugger @zphang
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An offi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22312/reactions",
"total_count": 10,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 5,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22312/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22311/comments | https://api.github.com/repos/huggingface/transformers/issues/22311/events | https://github.com/huggingface/transformers/pull/22311 | 1,635,717,778 | PR_kwDOCUB6oc5MpAI- | 22,311 | Enforce `max_memory` for device_map strategies | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
In #22271, by removing the `max_memory` from the kwargs before it gets passed to `get_balanced_memory`, I effectively made the `max_memory` argument ignored when `device_map` is `"auto"`, `"balanced"` or `"balanced_low_0"` (as was caught in the multi-GPU tests). This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22311/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22311",
"html_url": "https://github.com/huggingface/transformers/pull/22311",
"diff_url": "https://github.com/huggingface/transformers/pull/22311.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22311.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22310/comments | https://api.github.com/repos/huggingface/transformers/issues/22310/events | https://github.com/huggingface/transformers/pull/22310 | 1,635,670,992 | PR_kwDOCUB6oc5Mo2Pg | 22,310 | Generate: Export TF generate with a TF tokenizer | {
"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 | [] | [
"@Rocketknight1 no need to review, but FYI -- we can now compile the whole thing into a graph :D",
"_The documentation is not available anymore as the PR was closed or merged._",
"This is amazing!"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
See #22254
As the title says, this PR adds the possibility to export TF generate with a TF-native tokenizer -- the full thing in a single TF graph 🤯
The missing piece was removing a redundant `if` before `tf.while_cond` -- `tf.while_cond` checks the condition before running the body,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22310/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22310",
"html_url": "https://github.com/huggingface/transformers/pull/22310",
"diff_url": "https://github.com/huggingface/transformers/pull/22310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22310.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22309/comments | https://api.github.com/repos/huggingface/transformers/issues/22309/events | https://github.com/huggingface/transformers/pull/22309 | 1,635,568,976 | PR_kwDOCUB6oc5MogQb | 22,309 | [`MBart`] Add `accelerate` support for MBart | {
"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,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Partially fixes: #22305
This PR adds `accelerate` support for `MBart` models.
To run the `accelerate` tests:
```bash
RUN_SLOW=1 pytest -m accelerate_tests tests/models/mbart/test_modeling_mbart.py
```
A fix similar to https://github.com/huggingface/transformers/pull/19927 needs t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22309/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22309",
"html_url": "https://github.com/huggingface/transformers/pull/22309",
"diff_url": "https://github.com/huggingface/transformers/pull/22309.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22309.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22308/comments | https://api.github.com/repos/huggingface/transformers/issues/22308/events | https://github.com/huggingface/transformers/issues/22308 | 1,635,475,791 | I_kwDOCUB6oc5he2FP | 22,308 | Using FNet model in Encoder Decoder Models | {
"login": "Parmida-Granfar",
"id": 26651199,
"node_id": "MDQ6VXNlcjI2NjUxMTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/26651199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Parmida-Granfar",
"html_url": "https://github.com/Parmida-Granfar",
"followers_url": "https://api... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hi @Parmida-Granfar \r\n\r\nI would suggest to make the necessary changes to the `EncoderDecoderModel` and/or `FNetModel` code according your own need.\r\nAs you have already observed `FNet does not have attention` (very nice finding 💯 ), you can remove the following line\r\n\r\nhttps://github.com/huggingface/tra... | 1,679 | 1,682 | 1,682 | NONE | null | Hello every one
I want to train a model with an encoder with FNet model and decoder with another transformer model like gpt. I searched and found EncoderDecoderModel in hugging face library which makes such changes easier. I put the link below:
[(https://huggingface.co/transformers/v3.5.1/model_doc/encoderdecod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22308/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22307/comments | https://api.github.com/repos/huggingface/transformers/issues/22307/events | https://github.com/huggingface/transformers/pull/22307 | 1,635,043,529 | PR_kwDOCUB6oc5Mmufy | 22,307 | Fix --bf16 option support for Neuron after PR #22300 | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> This means no mixed precision at all will be used during training as this variable controls the autocast context manager.\r\n\r\n@sgugger could you help point me to the autocast context manager? Is there a way to make it use [PyTor... | 1,679 | 1,680 | 1,679 | CONTRIBUTOR | null | This PR fixes the "RuntimeError: No CUDA GPUs are available" when running with --bf16 option on Neuron.
Related PRs:
https://github.com/huggingface/transformers/pull/20684
https://github.com/huggingface/transformers/pull/22300
# What does this PR do?
While PR #22300 restores fp16 option on XLA GPU device, it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22307/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22307",
"html_url": "https://github.com/huggingface/transformers/pull/22307",
"diff_url": "https://github.com/huggingface/transformers/pull/22307.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22307.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22306/comments | https://api.github.com/repos/huggingface/transformers/issues/22306/events | https://github.com/huggingface/transformers/issues/22306 | 1,635,040,912 | I_kwDOCUB6oc5hdL6Q | 22,306 | Malfunctioning of PreTrainedTokenizer's tokenize method | {
"login": "chless",
"id": 76512090,
"node_id": "MDQ6VXNlcjc2NTEyMDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/76512090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chless",
"html_url": "https://github.com/chless",
"followers_url": "https://api.github.com/users/chless/fo... | [] | closed | false | null | [] | [
"Hi @chless, thanks for raising this issue. \r\n\r\nThe `Ġ` symbol is a special character which represents a space. The reason it's seen here is that the sentence is tokenized into `\"example\"` and `\" input\"` i.e. `Ġ` indicates there's a space in front of `input`. We see the symmetric if the words are reversed... | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
* transformers.__version__
'4.25.1'
I found that at least a tokenizer's tokenized method shows wrong return.
Below is code for reproduce
```python
transformers.__version__
'4.25.1'
tokenizer = transformers.BartTokenizer.from_pretrained("facebook/bart-large")
tokenizer.tokenize("example inpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22305/comments | https://api.github.com/repos/huggingface/transformers/issues/22305/events | https://github.com/huggingface/transformers/issues/22305 | 1,635,020,142 | I_kwDOCUB6oc5hdG1u | 22,305 | MarianMTModel/MBartForConditionalGeneration does not support `device_map='auto'` yet | {
"login": "TranPhu1999",
"id": 43123257,
"node_id": "MDQ6VXNlcjQzMTIzMjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/43123257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TranPhu1999",
"html_url": "https://github.com/TranPhu1999",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @TranPhu1999, thanks for raising this issue.\r\n\r\nYes, it seems an equivalent update to the MBart and MarianMT models would need to be added, as the one added [to XGLM](https://github.com/huggingface/transformers/pull/22207/). Would you like to open a PR to add these changes? \r\n\r\ncc @younesbelkada ",
"H... | 1,679 | 1,693 | 1,682 | NONE | null | ### System Info
Hi, I'm experiment some Transformer models for Translation task. These model are [vinai-translate-en2vi](https://huggingface.co/vinai/vinai-translate-en2vi), [wmt19-ru-en](https://huggingface.co/facebook/wmt19-ru-en)
In the attempt to optimize the Transformer inference time on single GPU, I tried ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22305/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22304/comments | https://api.github.com/repos/huggingface/transformers/issues/22304/events | https://github.com/huggingface/transformers/issues/22304 | 1,634,988,923 | I_kwDOCUB6oc5hc_N7 | 22,304 | Why there is no data send to data_collator? | {
"login": "Luoyang144",
"id": 63402979,
"node_id": "MDQ6VXNlcjYzNDAyOTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/63402979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Luoyang144",
"html_url": "https://github.com/Luoyang144",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"That's related to the data you are preprocessing, not the Transformers library or its examples. There is simply no `\"seq2seq2\"` in the features you prepare with your function. I suggest posting on the [forums](https://discuss.huggingface.co/) to get help from the larger community.",
"This issue has been automa... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-3.10.0-514.el7.x86_64-x86_64-with-centos-7.3.1611-Core
- Python version: 3.7.13
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22304/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22303/comments | https://api.github.com/repos/huggingface/transformers/issues/22303/events | https://github.com/huggingface/transformers/issues/22303 | 1,634,974,505 | I_kwDOCUB6oc5hc7sp | 22,303 | "LlamaTokenizer" in transformers._import_structure["models.llama"] │ │ 9 ), "LLaMA is now in HuggingFace's main branch.\nPlease reinstall it: pip uninstall trans │ │ 10 from transformers import LlamaTokenizer, LlamaForCausalLM, GenerationConfig | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Solved.",
"> Solved.\r\n\r\nHow?\r\nCould you tell us more?",
"> > Solved.\r\n> \r\n> How? Could you tell us more?\r\n\r\npip install sentencepiece && pip install git+https://github.com/huggingface/transformers.git",
"Related: #22222 ?",
"I do not understand. It was not working with the latest version, but... | 1,679 | 1,680 | 1,679 | NONE | null | ### System Info
transformers main does have LlamaTokenizer
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22302/comments | https://api.github.com/repos/huggingface/transformers/issues/22302/events | https://github.com/huggingface/transformers/pull/22302 | 1,634,606,345 | PR_kwDOCUB6oc5MlSET | 22,302 | Fixed bug to calculate correct xpath_sub_list in MarkupLMTokenizer | {
"login": "silentghoul-spec",
"id": 58596410,
"node_id": "MDQ6VXNlcjU4NTk2NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/58596410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/silentghoul-spec",
"html_url": "https://github.com/silentghoul-spec",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for fixing!"
] | 1,679 | 1,680 | 1,679 | CONTRIBUTOR | null | Fixed the problem where xpath_sub_list was computed incorrectly due to bug in code of MarkupLM Tokenizers.
# What does this PR do?
This PR fixes the bug with function get_xpath_seq method of MarkupLMTokenizer class inside src.transformers.models.markuplm.tokenization_markuplm module.
Earlier in line number 304 xp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22302/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22302",
"html_url": "https://github.com/huggingface/transformers/pull/22302",
"diff_url": "https://github.com/huggingface/transformers/pull/22302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22302.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22301/comments | https://api.github.com/repos/huggingface/transformers/issues/22301/events | https://github.com/huggingface/transformers/issues/22301 | 1,634,569,900 | I_kwDOCUB6oc5hbY6s | 22,301 | BlenderbotSmall incorrect usage of start and end tokens | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! Thanks for reporting, will investigate! ",
"Hey! When I use the Conversational pipeline I get the same outputs as you. \r\nRegarding the content of the special tokens, it does not really matter as long as the mapping is correct. If the model's bos_id is 1, then as long as `<s>` maps to `1` then the generati... | 1,679 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.27.2
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.3
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22301/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22300/comments | https://api.github.com/repos/huggingface/transformers/issues/22300/events | https://github.com/huggingface/transformers/pull/22300 | 1,634,546,426 | PR_kwDOCUB6oc5MlFPi | 22,300 | Restore fp16 support on xla gpu device | {
"login": "ymwangg",
"id": 19481308,
"node_id": "MDQ6VXNlcjE5NDgxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/19481308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ymwangg",
"html_url": "https://github.com/ymwangg",
"followers_url": "https://api.github.com/users/ymwang... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failure is unrelated and due to the branch being old, it's fixed on main, so merging."
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ERROR: type should be string, got "https://github.com/huggingface/transformers/pull/20684 accidentally disabled fp16 support on xla gpu device, which leads to significant performance regression. This PR restores this feature.\r\n\r\ncc @jeffhataws @sgugger @Lokiiiiii\r\n\r\nTested with \r\n```\r\nGPU_NUM_DEVICES=1 python run_mlm.py \\\r\n --model_name_or_path bert-base-uncased \\\r\n --dataset_name wikitext \\\r\n --dataset_config_name wikitext-2-raw-v1 \\\r\n --overwrite_output_dir true \\\r\n --output_dir /tmp/test-mlm \\\r\n --per_gpu_train_batch_size 24 \\\r\n --do_eval \\\r\n --fp16 true \\\r\n --do_train \\\r\n --num_train_epochs 3 \\\r\n --optim adamw_torch_xla\r\n```\r\n\r\n```\r\n***** train metrics *****\r\n epoch = 3.0\r\n train_loss = 1.7725\r\n train_runtime = 0:04:58.00\r\n train_samples = 4627\r\n train_samples_per_second = 46.58\r\n train_steps_per_second = 1.943\r\nINFO:__main__:*** Evaluate ***\r\n[INFO|trainer.py:739] 2023-03-21 19:05:53,483 >> The following columns in the evaluation set don't have a corresponding argument in `BertForMaskedLM.forward` and have been ignored: special_tokens_mask. If special_tokens_mask are not expected by `BertForMaskedLM.forward`, you can safely ignore this message.\r\n[INFO|trainer.py:3072] 2023-03-21 19:05:53,487 >> ***** Running Evaluation *****\r\n[INFO|trainer.py:3074] 2023-03-21 19:05:53,487 >> Num examples = 479\r\n[INFO|trainer.py:3077] 2023-03-21 19:05:53,487 >> Batch size = 8\r\n100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 60/60 [00:07<00:00, 8.38it/s]\r\n***** eval metrics *****\r\n epoch = 3.0\r\n eval_loss = 1.5811\r\n eval_runtime = 0:00:29.83\r\n eval_samples = 479\r\n eval_samples_per_second = 16.055\r\n eval_steps_per_second = 2.011\r\n perplexity = 4.8601\r\n```" | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22300/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22300/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22300",
"html_url": "https://github.com/huggingface/transformers/pull/22300",
"diff_url": "https://github.com/huggingface/transformers/pull/22300.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22300.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22299/comments | https://api.github.com/repos/huggingface/transformers/issues/22299/events | https://github.com/huggingface/transformers/pull/22299 | 1,634,527,968 | PR_kwDOCUB6oc5MlBRv | 22,299 | Final update of doctest | {
"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 | [] | [
"There is a style issue for `src/transformers/models/bertweet/tokenization_bertweet.py`. Will check it tomorrow instead. Sorry.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Fix the remaining doc examples. The doc example in `feature_extraction_markuplm` is un-fixable (unless we remove the example), so not added to the list for testing.
Follow up PR of #22268 and #22292 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22299/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22299",
"html_url": "https://github.com/huggingface/transformers/pull/22299",
"diff_url": "https://github.com/huggingface/transformers/pull/22299.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22299.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22298/comments | https://api.github.com/repos/huggingface/transformers/issues/22298/events | https://github.com/huggingface/transformers/pull/22298 | 1,634,515,815 | PR_kwDOCUB6oc5Mk-sn | 22,298 | Correct NATTEN function signatures and force new version | {
"login": "alihassanijr",
"id": 68103095,
"node_id": "MDQ6VXNlcjY4MTAzMDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/68103095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alihassanijr",
"html_url": "https://github.com/alihassanijr",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Unsure why a Flax test is failing. I'm assuming I'll have to wait for another PR to merge and then rebase?",
"Hi, Thank you for the fix and PR. Regarding failing flax test, you can ignore it🤗",
"This is needed to fix the CI on t... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
This complements #22229. (Sorry for breaking it into two; I was traveling when I realized the issue so I only started a quick PR to fix circleci builds.)
We're releasing a new [NATTEN](https://github.com/SHI-Labs/NATTEN/pull/24) build that corrects the signature inconsistency between the f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22298",
"html_url": "https://github.com/huggingface/transformers/pull/22298",
"diff_url": "https://github.com/huggingface/transformers/pull/22298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22298.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22297/comments | https://api.github.com/repos/huggingface/transformers/issues/22297/events | https://github.com/huggingface/transformers/issues/22297 | 1,634,441,294 | I_kwDOCUB6oc5ha5hO | 22,297 | Training wav2vac2 requires a lot of compute power | {
"login": "ngawang88",
"id": 62231990,
"node_id": "MDQ6VXNlcjYyMjMxOTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/62231990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngawang88",
"html_url": "https://github.com/ngawang88",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @ngawang88, thanks for opening an issue! \r\n\r\nThis is a question that is better suited to the [forums](https://discuss.huggingface.co/). We try and keep github issues reserved for bugs and feature requests. ",
"This issue has been automatically marked as stale because it has not had recent activity. If you... | 1,679 | 1,682 | 1,682 | NONE | null | I am trying to Fine tune wav2vac2 model for my national language and I have 15k data points but while trainings my system could only train on 1k datapoints and if I increase the datapoints my system either crashes or I get CUDA out of memory. so I am wonder is their any other alternatives ??
secondly can I first tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22297/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22296/comments | https://api.github.com/repos/huggingface/transformers/issues/22296/events | https://github.com/huggingface/transformers/pull/22296 | 1,634,277,972 | PR_kwDOCUB6oc5MkMDM | 22,296 | Add translation perf_infer_gpu_one for it | {
"login": "davidegazze",
"id": 1748729,
"node_id": "MDQ6VXNlcjE3NDg3Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1748729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidegazze",
"html_url": "https://github.com/davidegazze",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @nickprock The PR is good to merge with your seal of approval :) ",
"@amyeroberts LGTM\r\nThanks @davidegazze "
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | [davidegazze](https://github.com/davidegazze)
davidegazze commented [52 minutes ago](https://github.com/huggingface/transformers/pull/22295#issue-1634162644) •
See issue [https://github.com/https://github.com/https://github.com/huggingface/transformers/issues/17459]
Add Italian translation of perf_infer_gpu_one.mdx... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22296/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22296",
"html_url": "https://github.com/huggingface/transformers/pull/22296",
"diff_url": "https://github.com/huggingface/transformers/pull/22296.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22296.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22295/comments | https://api.github.com/repos/huggingface/transformers/issues/22295/events | https://github.com/huggingface/transformers/pull/22295 | 1,634,162,644 | PR_kwDOCUB6oc5Mjy7b | 22,295 | Translate perf_infer_gpu one | {
"login": "davidegazze",
"id": 1748729,
"node_id": "MDQ6VXNlcjE3NDg3Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1748729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidegazze",
"html_url": "https://github.com/davidegazze",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | See issue [https://github.com/https://github.com/huggingface/transformers/issues/17459]
Add Italian translation of perf_infer_gpu_one.mdx and update _toctree.yml.
It's my first pull request, so I hope it's ok
The GitHub related issue is [here](https://github.com/huggingface/transformers/issues/22294)
@omarespej... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22295/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22295",
"html_url": "https://github.com/huggingface/transformers/pull/22295",
"diff_url": "https://github.com/huggingface/transformers/pull/22295.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22295.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22294/comments | https://api.github.com/repos/huggingface/transformers/issues/22294/events | https://github.com/huggingface/transformers/issues/22294 | 1,634,156,178 | I_kwDOCUB6oc5hZz6S | 22,294 | Add perf_infer_gpu_one.mdx italian translation | {
"login": "davidegazze",
"id": 1748729,
"node_id": "MDQ6VXNlcjE3NDg3Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1748729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidegazze",
"html_url": "https://github.com/davidegazze",
"followers_url": "https://api.github.com/us... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"Thanks again for the contribution and congrats on your first PR @davidegazze 🔥 ! Feel free to close the issue if all of the relevant pieces of work have been merged in. "
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | See issue [https://github.com/huggingface/transformers/issues/17459]
Add Italian translation of perf_infer_gpu_one.mdx and update _toctree.yml.
It's my first pull request, so I hope it's ok | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22294/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22293/comments | https://api.github.com/repos/huggingface/transformers/issues/22293/events | https://github.com/huggingface/transformers/pull/22293 | 1,634,103,805 | PR_kwDOCUB6oc5MjmPz | 22,293 | fix: Allow only test_file in pytorch and flax summarization | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes #22276 for `flax`and `pytorch` run_summarization. Is this wanted for `tensforflow`'s? I see an option in the tensorflow file to provide a test_file but not for do_predict.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is goin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22293/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22293",
"html_url": "https://github.com/huggingface/transformers/pull/22293",
"diff_url": "https://github.com/huggingface/transformers/pull/22293.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22293.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.