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/26631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26631/comments | https://api.github.com/repos/huggingface/transformers/issues/26631/events | https://github.com/huggingface/transformers/pull/26631 | 1,929,830,645 | PR_kwDOCUB6oc5cF5Nb | 26,631 | Make fsdp ram efficient loading optional | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"That PR is merged @ArthurZucker, Thank you!"
] | 1,696 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
1. Make fsdp ram efficient loading optional. Certain models are having issues when handling meta devices during pre-trained model loading. Fixes https://github.com/huggingface/accelerate/issues/1948 and https://github.com/huggingface/accelerate/issues/2031 by making the ram efficient loading op... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26631",
"html_url": "https://github.com/huggingface/transformers/pull/26631",
"diff_url": "https://github.com/huggingface/transformers/pull/26631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26630/comments | https://api.github.com/repos/huggingface/transformers/issues/26630/events | https://github.com/huggingface/transformers/issues/26630 | 1,929,789,394 | I_kwDOCUB6oc5zBj_S | 26,630 | Having a `to_grayscale` function | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"hello @rafaelpadilla can i work on this issue\r\n",
"Hi @Neel-07,\r\n\r\nSure, that'd be awesome. :) \r\nBut let's just wait until one of our core maintainers (@amyeroberts and @ArthurZucker) approves this request.",
"okay sure @rafaelpadilla \r\n",
"I don't have a strong opinion on this, think that when it ... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | ### Feature request
It would be useful to have a general `to_grayscale` function into our `image_transforms.py` so it can be called by any model in their `preprocess()`.
### Motivation
Our image processing got more robust and can now accept 1-channel and 3-channel images.
Seeing that, new models (like [SuperM... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26630/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/26630/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26629/comments | https://api.github.com/repos/huggingface/transformers/issues/26629/events | https://github.com/huggingface/transformers/issues/26629 | 1,929,699,108 | I_kwDOCUB6oc5zBN8k | 26,629 | BLIVA | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [
{
"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,696 | 1,696 | null | CONTRIBUTOR | null | ### Model description
BLIVA: A Simple Multimodal LLM for Better Handling of Text-rich Visual Questions
BLIVA performs VQA tasks. It is an augmented version of InstructBLIP with Visual Assistant. It incorporates the query embeddings from InstructBLIP and also directly projects encoded patch embeddings into the LLM.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26629/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26628/comments | https://api.github.com/repos/huggingface/transformers/issues/26628/events | https://github.com/huggingface/transformers/issues/26628 | 1,929,555,362 | I_kwDOCUB6oc5zAq2i | 26,628 | [New Model] Retrieval-based Voice Conversion | {
"login": "wfjsw",
"id": 2220320,
"node_id": "MDQ6VXNlcjIyMjAzMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2220320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wfjsw",
"html_url": "https://github.com/wfjsw",
"followers_url": "https://api.github.com/users/wfjsw/follower... | [
{
"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 | [] | [
"cc @sanchit-gandhi ",
"Hey @wfjsw, thanks for brining this model to our attention! We have recently been trying to push for model on the hub and have as much support as we can there. This is the recommended way of adding new models, since it's easier to integrate them and they can be made available as soon as th... | 1,696 | 1,696 | null | CONTRIBUTOR | null | ### Model description
Type: Audio-to-Audio
Framework: Pytorch / ONNX
License: MIT
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
Source Code: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26628/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26627/comments | https://api.github.com/repos/huggingface/transformers/issues/26627/events | https://github.com/huggingface/transformers/pull/26627 | 1,929,424,327 | PR_kwDOCUB6oc5cEh6s | 26,627 | docs(zh): review and punctuation & space fix | {
"login": "wfjsw",
"id": 2220320,
"node_id": "MDQ6VXNlcjIyMjAzMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2220320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wfjsw",
"html_url": "https://github.com/wfjsw",
"followers_url": "https://api.github.com/users/wfjsw/follower... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26627). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Briefly reviewed the Simplified Chinese documentation.
- Fix punctuation and spacing issues.
- Fixes #26603
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26627/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26627",
"html_url": "https://github.com/huggingface/transformers/pull/26627",
"diff_url": "https://github.com/huggingface/transformers/pull/26627.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26627.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26626/comments | https://api.github.com/repos/huggingface/transformers/issues/26626/events | https://github.com/huggingface/transformers/issues/26626 | 1,929,071,041 | I_kwDOCUB6oc5y-0nB | 26,626 | Docs request: installation for various hardware acceleration | {
"login": "jamesbraza",
"id": 8990777,
"node_id": "MDQ6VXNlcjg5OTA3Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8990777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesbraza",
"html_url": "https://github.com/jamesbraza",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,696 | 1,702 | 1,702 | NONE | null | ### Feature request
It would be nice to have a centralized and standardized page on how to `pip install transformers` with hardware acceleration for various systems (e.g. Metal, cuBLAS, OpenBLAS, etc).
Here are some examples:
- https://github.com/abetlen/llama-cpp-python/tree/v0.2.11#installation-with-hardware-a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26626/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26625/comments | https://api.github.com/repos/huggingface/transformers/issues/26625/events | https://github.com/huggingface/transformers/pull/26625 | 1,928,743,416 | PR_kwDOCUB6oc5cCN1L | 26,625 | Update chat template docs with more tips on writing a template | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | MEMBER | null | This PR updates the chat templates doc with more tips on writing your own templates. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26625",
"html_url": "https://github.com/huggingface/transformers/pull/26625",
"diff_url": "https://github.com/huggingface/transformers/pull/26625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26624/comments | https://api.github.com/repos/huggingface/transformers/issues/26624/events | https://github.com/huggingface/transformers/issues/26624 | 1,928,656,841 | I_kwDOCUB6oc5y9PfJ | 26,624 | Beam search calculates mean logprobs wrong? | {
"login": "TomerRonen34",
"id": 38310481,
"node_id": "MDQ6VXNlcjM4MzEwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/38310481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomerRonen34",
"html_url": "https://github.com/TomerRonen34",
"followers_url": "https://api.github.c... | [
{
"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 | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @TomerRonen34 👋 \r\n\r\nA few points that help explain what you're seeing, and how to disable certain default behaviors:\r\n1. It's actually the other way around, there is a default preference for long generations :) Taking the first scores from your example, `-0.0049241515807807446` (long prompt) > `-0.170240... | 1,696 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26624/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/26624/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26623/comments | https://api.github.com/repos/huggingface/transformers/issues/26623/events | https://github.com/huggingface/transformers/pull/26623 | 1,928,565,764 | PR_kwDOCUB6oc5cBoIE | 26,623 | 🎉 Add prompt tuning for bigcode models | {
"login": "mayank31398",
"id": 32954280,
"node_id": "MDQ6VXNlcjMyOTU0Mjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/32954280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayank31398",
"html_url": "https://github.com/mayank31398",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hmmm I'm not sure we have the expectation that all models have a `word_embeddings` property, at least we really don't enforce it right now.\r\n\r\nDoes PEFT make that assumption?",
"Hi, I just realized PEFT doesn't make any such assumptions.\r\n\r\n\r\n.
@ArthurZucker, @younesbelkada, @pacman100 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26623",
"html_url": "https://github.com/huggingface/transformers/pull/26623",
"diff_url": "https://github.com/huggingface/transformers/pull/26623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26623.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26622/comments | https://api.github.com/repos/huggingface/transformers/issues/26622/events | https://github.com/huggingface/transformers/pull/26622 | 1,928,395,337 | PR_kwDOCUB6oc5cBCaW | 26,622 | Don't install `pytorch-quantization` in Doc Builder docker file | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"For the record, here is the issue when running the suggested installation command: at **the doc build time**\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.8/site-packages/transformers/utils/impor... | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Doc builder docker image build starts to fail with
```
The package you are trying to install is only a placeholder project on PyPI.org repository.
This package is hosted on NVIDIA Python Package Index.
This package can be installed as:
$ pip install --no-cache-dir --extra-index-u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26622/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26622",
"html_url": "https://github.com/huggingface/transformers/pull/26622",
"diff_url": "https://github.com/huggingface/transformers/pull/26622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26622.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26621/comments | https://api.github.com/repos/huggingface/transformers/issues/26621/events | https://github.com/huggingface/transformers/pull/26621 | 1,928,376,712 | PR_kwDOCUB6oc5cA-Ry | 26,621 | [DO NOT MERGE] Testing new release candidates. | {
"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._"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26621",
"html_url": "https://github.com/huggingface/transformers/pull/26621",
"diff_url": "https://github.com/huggingface/transformers/pull/26621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26621.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26619/comments | https://api.github.com/repos/huggingface/transformers/issues/26619/events | https://github.com/huggingface/transformers/issues/26619 | 1,928,270,059 | I_kwDOCUB6oc5y7xDr | 26,619 | LayoutLMv3FeatureExtractor(apply_ocr=True) not returning words | {
"login": "rahulss14",
"id": 45919225,
"node_id": "MDQ6VXNlcjQ1OTE5MjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/45919225?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahulss14",
"html_url": "https://github.com/rahulss14",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks! ",
"Hello \r\nthank you for your prompt response , I am new to this can you answer this here . I will ask my furthe... | 1,696 | 1,699 | 1,699 | NONE | null | I have trained a LILT using my custom dataset , everything works fine but I am not getting ocr words of the detected regions . How can I get the words . | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26619/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26618/comments | https://api.github.com/repos/huggingface/transformers/issues/26618/events | https://github.com/huggingface/transformers/pull/26618 | 1,928,225,999 | PR_kwDOCUB6oc5cAczY | 26,618 | Register ModelOutput as supported torch pytree nodes | {
"login": "XuehaiPan",
"id": 16078332,
"node_id": "MDQ6VXNlcjE2MDc4MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/16078332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuehaiPan",
"html_url": "https://github.com/XuehaiPan",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This looks important but I don't have the bandwidth to dive into it, could you take a look if you have bandwidth @ydshieh ?",
"Hi @XuehaiPan,\r\n\r\nCould you elaborate a bit more on why we need to register `ModelOutput` itself: why #25358 isn't enough?\r\n\r\n",
"> Could you elaborate a bit more on why we nee... | 1,696 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26618/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26618",
"html_url": "https://github.com/huggingface/transformers/pull/26618",
"diff_url": "https://github.com/huggingface/transformers/pull/26618.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26618.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26617/comments | https://api.github.com/repos/huggingface/transformers/issues/26617/events | https://github.com/huggingface/transformers/pull/26617 | 1,928,206,804 | PR_kwDOCUB6oc5cAYmy | 26,617 | [WIP] Add CharacterBERT model | {
"login": "helboukkouri",
"id": 36409068,
"node_id": "MDQ6VXNlcjM2NDA5MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/36409068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/helboukkouri",
"html_url": "https://github.com/helboukkouri",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Nice, welcome back :grin:! Please don't hesitate to ping @ArthurZucker as soon as you're happy with the state of the PR so that we can merge it in quickly :eyes: \r\n\r\nThanks for your PR!",
"Hey @LysandreJik 👋 been a while 😊\r\n\r\nQuick question if you don't mind:\r\n\r\nI'm trying to use the cookiecutter c... | 1,696 | 1,705 | 1,705 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26617/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26617",
"html_url": "https://github.com/huggingface/transformers/pull/26617",
"diff_url": "https://github.com/huggingface/transformers/pull/26617.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26617.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26616/comments | https://api.github.com/repos/huggingface/transformers/issues/26616/events | https://github.com/huggingface/transformers/issues/26616 | 1,928,132,010 | I_kwDOCUB6oc5y7PWq | 26,616 | Any way we can get dropout added to modeling_llama.py? | {
"login": "enn-nafnlaus",
"id": 116288799,
"node_id": "U_kgDOBu5tHw",
"avatar_url": "https://avatars.githubusercontent.com/u/116288799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enn-nafnlaus",
"html_url": "https://github.com/enn-nafnlaus",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,696 | 1,699 | 1,699 | NONE | null | ### Feature request
Re: https://github.com/OpenAccess-AI-Collective/axolotl/issues/672
We currently lack any way to prevent overweighting of specific neurons, which becomes a problem when trying to finetune on limited datasets. Something like dropout should go a long way towards being able to develop better models ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26616/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26615/comments | https://api.github.com/repos/huggingface/transformers/issues/26615/events | https://github.com/huggingface/transformers/pull/26615 | 1,927,997,563 | PR_kwDOCUB6oc5b_q-E | 26,615 | Fix `transformers-pytorch-gpu` docker build | {
"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,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Currently failed, see [here](https://github.com/huggingface/transformers/actions/runs/6413071912/job/17411419865) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26615/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26615",
"html_url": "https://github.com/huggingface/transformers/pull/26615",
"diff_url": "https://github.com/huggingface/transformers/pull/26615.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26615.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26614/comments | https://api.github.com/repos/huggingface/transformers/issues/26614/events | https://github.com/huggingface/transformers/pull/26614 | 1,927,842,591 | PR_kwDOCUB6oc5b_KQP | 26,614 | Don't close ClearML task if it was created externally | {
"login": "eugen-ajechiloae-clearml",
"id": 97950284,
"node_id": "U_kgDOBdaaTA",
"avatar_url": "https://avatars.githubusercontent.com/u/97950284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eugen-ajechiloae-clearml",
"html_url": "https://github.com/eugen-ajechiloae-clearml",
"followers... | [] | closed | false | null | [] | [] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | One may want to create the ClearML task manually (for example by calling `Task.init`) to be used after the training ends. This PR handles that case. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26614/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26614",
"html_url": "https://github.com/huggingface/transformers/pull/26614",
"diff_url": "https://github.com/huggingface/transformers/pull/26614.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26614.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26613/comments | https://api.github.com/repos/huggingface/transformers/issues/26613/events | https://github.com/huggingface/transformers/issues/26613 | 1,927,714,145 | I_kwDOCUB6oc5y5pVh | 26,613 | 'flash_attn' library is not installed | {
"login": "priyaray21",
"id": 139554535,
"node_id": "U_kgDOCFFu5w",
"avatar_url": "https://avatars.githubusercontent.com/u/139554535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/priyaray21",
"html_url": "https://github.com/priyaray21",
"followers_url": "https://api.github.com/users/pri... | [] | closed | false | null | [] | [
"cc @younesbelkada :grin: ",
"Hi @priyaray21 - this sounds like an issue that is not related with transformers. Can you refer to the official repository of flash attention? https://github.com/Dao-AILab/flash-attention/\r\nYou might have a device that is not compatible with FA or a wrong CUDA version",
"This iss... | 1,696 | 1,699 | 1,699 | NONE | null | ### System Info
%pip install transformers==4.33.3
%pip install mlflow
%pip install azureml-mlflow==1.53.0
%pip install azure-ai-ml
%pip install transformers[torch]
%pip install torchvision
%pip install azure-ai-ml
%pip install azureml-core
%pip install azureml-mlflow
%pip install mlflow
%pip install python-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26613/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26612/comments | https://api.github.com/repos/huggingface/transformers/issues/26612/events | https://github.com/huggingface/transformers/issues/26612 | 1,927,666,593 | I_kwDOCUB6oc5y5duh | 26,612 | OSError: Can't load tokenizer | {
"login": "amarahiqbal",
"id": 141737528,
"node_id": "U_kgDOCHK-OA",
"avatar_url": "https://avatars.githubusercontent.com/u/141737528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amarahiqbal",
"html_url": "https://github.com/amarahiqbal",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @amarahiqbal, see the model card of this model here: https://huggingface.co/facebook/xmod-base#tokenizer\r\n\r\nNamely, this part:\r\n\r\n\r\nFeel free to open a discussion in their repository; ideally, th... | 1,696 | 1,699 | 1,699 | NONE | null | ### System Info
Python Version: 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0]
Transformers Version: 4.29.2
Platform - Azure
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folde... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26612/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26611/comments | https://api.github.com/repos/huggingface/transformers/issues/26611/events | https://github.com/huggingface/transformers/issues/26611 | 1,927,643,141 | I_kwDOCUB6oc5y5YAF | 26,611 | AttributeError: module 'bitsandbytes.nn' has no attribute 'Linear8bitLt' | {
"login": "priyaray21",
"id": 139554535,
"node_id": "U_kgDOCFFu5w",
"avatar_url": "https://avatars.githubusercontent.com/u/139554535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/priyaray21",
"html_url": "https://github.com/priyaray21",
"followers_url": "https://api.github.com/users/pri... | [] | closed | false | null | [] | [
"Hi @priyaray21 \r\nThanks for the issue, this sounds like an issue with peft, can you try to uninstall `bitsandbytes-cuda111` as it is an old version of the lib and install `bitsandbytes` instead?\r\n\r\n```bash\r\npip uninstall bitsandbytes-cuda11\r\npip install -U bitsandbytes\r\n```",
"This issue has been aut... | 1,696 | 1,699 | 1,699 | NONE | null | ### System Info
transformers==4.33.3
python 3.10
azureml-mlflow==1.53.0
### Who can help?
Hi,
@ArthurZucker , @younesbelkada and @sanchit-gandhi
When I am trying to run GPTQ family models, throwing AttributeError: module 'bitsandbytes.nn' has no attribute 'Linear8bitLt'
<img width="408" alt="image" src="ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26611/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26610/comments | https://api.github.com/repos/huggingface/transformers/issues/26610/events | https://github.com/huggingface/transformers/pull/26610 | 1,927,610,345 | PR_kwDOCUB6oc5b-YCo | 26,610 | `HfQuantizer` class for quantization-related stuff in `modeling_utils.py` | {
"login": "poedator",
"id": 24738311,
"node_id": "MDQ6VXNlcjI0NzM4MzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poedator",
"html_url": "https://github.com/poedator",
"followers_url": "https://api.github.com/users/poe... | [] | closed | false | null | [] | [
"Thanks a lot for your huge work! I really like the idea! Let me know once this is ready for a first pass, I'll have a deep look",
"Hi, @younesbelkada!\r\nBy now I reworked `_load_pretrained_model()` and `_load_state_dict_into_model()` functions. \r\n`Integations.bitsandbytes.py::set_module_quantized_tensor_to_de... | 1,696 | 1,706 | 1,706 | CONTRIBUTOR | null | ### What does this PR do?
Refactoring `modeling_utils.py` to move all quantization-related logic into new `HFQuantizer` class
### Reasons and benefits:
- easier to understand how quantization works during loading.
- easier to add new quantization methods like SPQR.
- much easier to implement 4-bit serialization ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26610/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/26610/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26610",
"html_url": "https://github.com/huggingface/transformers/pull/26610",
"diff_url": "https://github.com/huggingface/transformers/pull/26610.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26610.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26609/comments | https://api.github.com/repos/huggingface/transformers/issues/26609/events | https://github.com/huggingface/transformers/issues/26609 | 1,927,569,191 | I_kwDOCUB6oc5y5F8n | 26,609 | AttributeError: module transformers has no attribute RWForCausalLM / MosaicGPT / GPT2LMHeadCustomModel / BTLMLMHeadModel / MossForCausalLM / MPTForCausalLM / InternLMForCausalLM / DistilBertJapaneseTokenizer / FalconForCausalLM / LongLlamaForCausalLM | {
"login": "amarahiqbal",
"id": 141737528,
"node_id": "U_kgDOCHK-OA",
"avatar_url": "https://avatars.githubusercontent.com/u/141737528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amarahiqbal",
"html_url": "https://github.com/amarahiqbal",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @amarahiqbal, I'm not sure we have access to your entire script nor traceback. Could you please share it here so that we may see how to help you best?\r\n\r\nThanks.",
"Sharing the script for 1 Attribute Error - \r\n\r\n```py\r\nfrom huggingface_hub import HfApi\r\nimport pandas as pd\r\nimport re\r\n\r\nLIS... | 1,696 | 1,700 | 1,700 | NONE | null | ### System Info
Python Version: 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0]
Transformers Version: 4.29.2
Platform: Azure
### Who can help?
@gante @Rocketknight1 @ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26608/comments | https://api.github.com/repos/huggingface/transformers/issues/26608/events | https://github.com/huggingface/transformers/pull/26608 | 1,927,564,100 | PR_kwDOCUB6oc5b-O8G | 26,608 | [ `NougatProcessor`] Fix the default channel | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26608). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fixes #26597 by updating the default data format | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26608/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26608",
"html_url": "https://github.com/huggingface/transformers/pull/26608",
"diff_url": "https://github.com/huggingface/transformers/pull/26608.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26608.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26607/comments | https://api.github.com/repos/huggingface/transformers/issues/26607/events | https://github.com/huggingface/transformers/pull/26607 | 1,927,537,864 | PR_kwDOCUB6oc5b-JNr | 26,607 | Fix failing tests on `main` due to torch 2.1 | {
"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._",
"@michaelbenayoun Could you help us on the torch fx tests for wav2vec2/hubert with torch 2.1.\r\n\r\nSee [this internal discussion](https://huggingface.slack.com/archives/C01NE71C4F7/p1695971833833119)\r\n\r\nBut in short, it can't do... | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fix failing tests on `main` due to torch 2.1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26607",
"html_url": "https://github.com/huggingface/transformers/pull/26607",
"diff_url": "https://github.com/huggingface/transformers/pull/26607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26607.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26606/comments | https://api.github.com/repos/huggingface/transformers/issues/26606/events | https://github.com/huggingface/transformers/pull/26606 | 1,927,530,775 | PR_kwDOCUB6oc5b-HrP | 26,606 | [`LlamaTokenizerFast`] Adds edge cases for the template processor | {
"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._",
"Yep rebased on main to remove them! "
] | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fixes #26605 by making sure the LlamaTokenizerFast handles the cases when bos or eos is None and `add_bos_token` is set to `True` by raising an error. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26606",
"html_url": "https://github.com/huggingface/transformers/pull/26606",
"diff_url": "https://github.com/huggingface/transformers/pull/26606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26605/comments | https://api.github.com/repos/huggingface/transformers/issues/26605/events | https://github.com/huggingface/transformers/issues/26605 | 1,927,367,296 | I_kwDOCUB6oc5y4UqA | 26,605 | Cannot save/load tokenizer without special tokens | {
"login": "jonathanasdf",
"id": 511073,
"node_id": "MDQ6VXNlcjUxMTA3Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/511073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonathanasdf",
"html_url": "https://github.com/jonathanasdf",
"followers_url": "https://api.github.com/u... | [] | closed | false | null | [] | [
"Thanks for reporting fixing now 😉 "
] | 1,696 | 1,696 | 1,696 | NONE | null | ### System Info
main
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduct... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26604/comments | https://api.github.com/repos/huggingface/transformers/issues/26604/events | https://github.com/huggingface/transformers/pull/26604 | 1,927,264,931 | PR_kwDOCUB6oc5b9N_D | 26,604 | Create motion-detection.py | {
"login": "mdazfar2",
"id": 100375390,
"node_id": "U_kgDOBfubXg",
"avatar_url": "https://avatars.githubusercontent.com/u/100375390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mdazfar2",
"html_url": "https://github.com/mdazfar2",
"followers_url": "https://api.github.com/users/mdazfar2/... | [] | closed | false | null | [] | [
"Hey @mdazfar2 I'm not sure I asked for this? In which issue was this mentioned?",
"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... | 1,696 | 1,699 | 1,699 | NONE | null | @LysandreJik done i will upload the code according to your request if you like feel free to ask anything | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26604",
"html_url": "https://github.com/huggingface/transformers/pull/26604",
"diff_url": "https://github.com/huggingface/transformers/pull/26604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26604.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26603/comments | https://api.github.com/repos/huggingface/transformers/issues/26603/events | https://github.com/huggingface/transformers/issues/26603 | 1,927,138,431 | I_kwDOCUB6oc5y3cx_ | 26,603 | [Docs] Weird rendering of a code block | {
"login": "wfjsw",
"id": 2220320,
"node_id": "MDQ6VXNlcjIyMjAzMjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2220320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wfjsw",
"html_url": "https://github.com/wfjsw",
"followers_url": "https://api.github.com/users/wfjsw/follower... | [] | closed | false | null | [] | [
"I think it's because there's an extra line between where the function is defined and where we map it. Removing the extra line should fix it:\r\n\r\n```diff\r\n>>> def tokenize_dataset(dataset):\r\n... return tokenizer(dataset[\"text\"])\r\n# remove blank line here\r\n\r\n>>> dataset = dataset.map(tokenize_data... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | See
https://github.com/huggingface/transformers/blob/3e203f92bed937fa13c35adee1bdc45a92d18e61/docs/source/zh/quicktour.md?plain=1#L459
https://huggingface.co/docs/transformers/main/zh/quicktour#:~:text=dataset%20%3D%20dataset.map(tokenize_dataset%2C%20batched%3DTrue)

```
After converting to onnx graph, however, Range Ops in `onn... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26602",
"html_url": "https://github.com/huggingface/transformers/pull/26602",
"diff_url": "https://github.com/huggingface/transformers/pull/26602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26602.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26601/comments | https://api.github.com/repos/huggingface/transformers/issues/26601/events | https://github.com/huggingface/transformers/issues/26601 | 1,927,102,726 | I_kwDOCUB6oc5y3UEG | 26,601 | llama2 forward pass seemingly not working with padded inputs, unless one element in batch is not padded | {
"login": "joebhakim",
"id": 13984157,
"node_id": "MDQ6VXNlcjEzOTg0MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/13984157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joebhakim",
"html_url": "https://github.com/joebhakim",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"WDYT @ArthurZucker @Rocketknight1 ?",
"Running on CPU + float32, but I can't reproduce this issue, unfortunately! The pasted code works for me. So either the issue is specific to the device + dtype, which seems unlikely, or it's some weird dependency/version problem.",
"@Rocketknight1 which vesion of CUDA are ... | 1,696 | 1,700 | 1,696 | NONE | null | ### System Info
- `transformers` version: 4.33.2
- Platform: Linux-3.10.0-1160.99.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.16
- Huggingface_hub version: 0.17.2
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0.dev20230621+cu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26601/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26600/comments | https://api.github.com/repos/huggingface/transformers/issues/26600/events | https://github.com/huggingface/transformers/issues/26600 | 1,927,078,767 | I_kwDOCUB6oc5y3ONv | 26,600 | Introducing magic number to get the probability distribution of an image captioning model | {
"login": "snpushpi",
"id": 55248448,
"node_id": "MDQ6VXNlcjU1MjQ4NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/55248448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snpushpi",
"html_url": "https://github.com/snpushpi",
"followers_url": "https://api.github.com/users/snp... | [] | closed | false | null | [] | [
"Also cc @rafaelpadilla @amyeroberts ",
"Hi @snpushpi \r\nThanks a lot for your question, per my understanding the output logits have the shape that you have specified, `batch_size, sequence_length, vocab_size`\r\nMeaning each element in the second dimension corresponds to `P(w_{i+1}| image, w_i, ..)` - in your c... | 1,696 | 1,700 | 1,700 | NONE | null | ### System Info
I was considering the BLIP2 model for getting the probability distribution of each token in the caption given an image. So basically if the words in a caption are w1,w2,w3,…wt then I want to get these estimates P(w1|image), P(w2|image,w1),P(w3|image,w1,w2) etc. So this is the approach I took
```pyt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26600/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26599/comments | https://api.github.com/repos/huggingface/transformers/issues/26599/events | https://github.com/huggingface/transformers/issues/26599 | 1,927,008,060 | I_kwDOCUB6oc5y2888 | 26,599 | Recent docker images missing from dockerhub | {
"login": "Ben-Epstein",
"id": 22605641,
"node_id": "MDQ6VXNlcjIyNjA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/22605641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ben-Epstein",
"html_url": "https://github.com/Ben-Epstein",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ydshieh in case you have the bandwidth to take a look at this!",
"Thank you for reporting @Ben-Epstein .\r\n\r\n@glegendre01 @mfuntowicz Due to the disk space issue, I change the workflow file to build AMD CI docker image on AMD machine. See https://github.com/huggingface/transformers/blob/54e17a15dc4fb4be32... | 1,696 | 1,701 | 1,701 | NONE | null | ### System Info
It seems like your GHA to push released images to dockerhub has been failing for a bit https://github.com/huggingface/transformers/actions/workflows/build-docker-images.yml
I wanted to flag it incase it was going unnoticed. Your latest is consistently being updated,
<img width="337" alt="image" src... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26599/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26598/comments | https://api.github.com/repos/huggingface/transformers/issues/26598/events | https://github.com/huggingface/transformers/issues/26598 | 1,926,729,066 | I_kwDOCUB6oc5y141q | 26,598 | [SpeechT5] Attention mask not changed according to decoder inputs | {
"login": "Joao-Maria-Janeiro",
"id": 34111347,
"node_id": "MDQ6VXNlcjM0MTExMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/34111347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Joao-Maria-Janeiro",
"html_url": "https://github.com/Joao-Maria-Janeiro",
"followers_url": "ht... | [] | open | false | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [
{
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.... | [
"cc @ylacombe could you take a look when you get the chance? You know SpeechT5 pretty well by now!",
"Hey, thanks for opening this issue!\r\nI will take a look in the next few days, in the meantime, do you have a script to reproduce the mismatch @Joao-Maria-Janeiro ?",
"Hey @Joao-Maria-Janeiro , any update on a... | 1,696 | 1,707 | null | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-5.15.0-84-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26598/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26597/comments | https://api.github.com/repos/huggingface/transformers/issues/26597/events | https://github.com/huggingface/transformers/issues/26597 | 1,926,433,368 | I_kwDOCUB6oc5y0wpY | 26,597 | processor_nougat has wrong default data type | {
"login": "NormXU",
"id": 33339685,
"node_id": "MDQ6VXNlcjMzMzM5Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/33339685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NormXU",
"html_url": "https://github.com/NormXU",
"followers_url": "https://api.github.com/users/NormXU/fo... | [] | closed | false | null | [] | [
"Thanks for reporting I'll open a PR for a fix asap\r\n"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-6.2.0-26-generic-x86_64-with-glibc2.27
- Python version: 3.8.0
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3-post.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26597/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26596/comments | https://api.github.com/repos/huggingface/transformers/issues/26596/events | https://github.com/huggingface/transformers/pull/26596 | 1,926,433,088 | PR_kwDOCUB6oc5b6Ztb | 26,596 | Fix embarrassing typo in the doc chat template! | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | MEMBER | null | Please ignore the extra unwanted bracket | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26596/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26596",
"html_url": "https://github.com/huggingface/transformers/pull/26596",
"diff_url": "https://github.com/huggingface/transformers/pull/26596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26596.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26595/comments | https://api.github.com/repos/huggingface/transformers/issues/26595/events | https://github.com/huggingface/transformers/pull/26595 | 1,926,407,780 | PR_kwDOCUB6oc5b6T7g | 26,595 | Image-to-Image Task Guide | {
"login": "merveenoyan",
"id": 53175384,
"node_id": "MDQ6VXNlcjUzMTc1Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/merveenoyan",
"html_url": "https://github.com/merveenoyan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@LysandreJik can you give a review or merge if this looks good? "
] | 1,696 | 1,697 | 1,697 | CONTRIBUTOR | null | This PR contributes task guide for image-to-image. cc @NielsRogge @rafaelpadilla @amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26595/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/26595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26595",
"html_url": "https://github.com/huggingface/transformers/pull/26595",
"diff_url": "https://github.com/huggingface/transformers/pull/26595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26595.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26594/comments | https://api.github.com/repos/huggingface/transformers/issues/26594/events | https://github.com/huggingface/transformers/pull/26594 | 1,926,397,686 | PR_kwDOCUB6oc5b6Rm6 | 26,594 | skip flaky hub tests | {
"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._"
] | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
cc @LysandreJik, @ydshieh main is red quite often because of these two tests (custom pr-ci as well) let's skip for now. Marked flaky by test insight | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26594/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26594",
"html_url": "https://github.com/huggingface/transformers/pull/26594",
"diff_url": "https://github.com/huggingface/transformers/pull/26594.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26594.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26593/comments | https://api.github.com/repos/huggingface/transformers/issues/26593/events | https://github.com/huggingface/transformers/pull/26593 | 1,926,367,441 | PR_kwDOCUB6oc5b6K_a | 26,593 | [Mistral] Update config docstring | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"#26592 is all green 👼🏻 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26593). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Runs `make fix-copies` to correct the Mistral config after the PR #26052, and subsequently fills out the missing docstring args.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26593",
"html_url": "https://github.com/huggingface/transformers/pull/26593",
"diff_url": "https://github.com/huggingface/transformers/pull/26593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26593.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26592/comments | https://api.github.com/repos/huggingface/transformers/issues/26592/events | https://github.com/huggingface/transformers/pull/26592 | 1,926,357,614 | PR_kwDOCUB6oc5b6I2l | 26,592 | [`CI-Quality`] Main is red following `Docstring check (#26052)` | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26592). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fixes the doc of mistral | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26592/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26592",
"html_url": "https://github.com/huggingface/transformers/pull/26592",
"diff_url": "https://github.com/huggingface/transformers/pull/26592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26592.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26591/comments | https://api.github.com/repos/huggingface/transformers/issues/26591/events | https://github.com/huggingface/transformers/pull/26591 | 1,926,334,208 | PR_kwDOCUB6oc5b6Dx4 | 26,591 | Update conftest.py | {
"login": "A-R-I-S-E",
"id": 123771692,
"node_id": "U_kgDOB2CbLA",
"avatar_url": "https://avatars.githubusercontent.com/u/123771692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/A-R-I-S-E",
"html_url": "https://github.com/A-R-I-S-E",
"followers_url": "https://api.github.com/users/A-R-I-... | [] | closed | false | null | [] | [
"i have imported numpy that has been used afterwards in the code."
] | 1,696 | 1,696 | 1,696 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26591/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26591",
"html_url": "https://github.com/huggingface/transformers/pull/26591",
"diff_url": "https://github.com/huggingface/transformers/pull/26591.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26591.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26590/comments | https://api.github.com/repos/huggingface/transformers/issues/26590/events | https://github.com/huggingface/transformers/pull/26590 | 1,926,184,793 | PR_kwDOCUB6oc5b5jEK | 26,590 | Update mistral.md to update 404 link | {
"login": "Galland",
"id": 3932759,
"node_id": "MDQ6VXNlcjM5MzI3NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3932759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Galland",
"html_url": "https://github.com/Galland",
"followers_url": "https://api.github.com/users/Galland/... | [] | closed | false | null | [] | [] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | url changed, previous returns 404 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26590/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26590",
"html_url": "https://github.com/huggingface/transformers/pull/26590",
"diff_url": "https://github.com/huggingface/transformers/pull/26590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26590.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26589/comments | https://api.github.com/repos/huggingface/transformers/issues/26589/events | https://github.com/huggingface/transformers/pull/26589 | 1,926,148,958 | PR_kwDOCUB6oc5b5bTB | 26,589 | [`core`] fix silent bug `keep_in_fp32` modules | {
"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._",
"Before merging this PR I want to test it on T5 models and 8bit tests as this might affect them",
"Relevant T5 and bnb tests are passing, this PR is ready for review! ",
"... and tested the failing instructblip tests on the latest... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Same PR as https://github.com/huggingface/transformers/pull/26484 but without any extra diff
Before this PR we were performing a simple check if module_name in key but that lead to some modules silently converted in fp32.
For example instructblip models got their word_embedding layers ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26589/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/26589/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26589",
"html_url": "https://github.com/huggingface/transformers/pull/26589",
"diff_url": "https://github.com/huggingface/transformers/pull/26589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26589.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26588/comments | https://api.github.com/repos/huggingface/transformers/issues/26588/events | https://github.com/huggingface/transformers/issues/26588 | 1,926,006,311 | I_kwDOCUB6oc5yzIYn | 26,588 | RWKV's "RNN mode" results in unchecked memory growth, causing OOM | {
"login": "LuciferianInk",
"id": 94832312,
"node_id": "U_kgDOBacGuA",
"avatar_url": "https://avatars.githubusercontent.com/u/94832312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LuciferianInk",
"html_url": "https://github.com/LuciferianInk",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hey! Thanks for opening a detailed issue! If you are training it would make sense to have an increasing memory usage! Coud you try with `model.eval()` and `with torch.no_grad()`? \r\n",
"I'm not training, but `torch.no_grad()` does seem to work! Y'all HF guys are always so quick to respond; I really appreciate t... | 1,696 | 1,696 | 1,696 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-6.5.3-arch1-1-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26588/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26587/comments | https://api.github.com/repos/huggingface/transformers/issues/26587/events | https://github.com/huggingface/transformers/pull/26587 | 1,925,974,477 | PR_kwDOCUB6oc5b408- | 26,587 | Fix encoder->decoder typo bug in convert_t5x_checkpoint_to_pytorch.py | {
"login": "soyoung97",
"id": 29880214,
"node_id": "MDQ6VXNlcjI5ODgwMjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/29880214?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soyoung97",
"html_url": "https://github.com/soyoung97",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26587). All of your documentation changes will be reflected on that endpoint.",
"I think it went unnoticed because v1.0 model conversion is not used frequently than v1.1 models. Thanks a lot for the fast review!!"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
The convert_t5x_checkpoint_to_pytorch is used to convert t5x models into pytorch models.
However, it contains a typo at [line 142](https://github.com/huggingface/transformers/blob/main/src/transformers/models/t5/convert_t5x_checkpoint_to_pytorch.py#L142): The wi weights in **decoder** is conve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26587/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26587",
"html_url": "https://github.com/huggingface/transformers/pull/26587",
"diff_url": "https://github.com/huggingface/transformers/pull/26587.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26587.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26586/comments | https://api.github.com/repos/huggingface/transformers/issues/26586/events | https://github.com/huggingface/transformers/pull/26586 | 1,925,792,775 | PR_kwDOCUB6oc5b4NFj | 26,586 | Fix failing `MusicgenTest .test_pipeline_text_to_audio` | {
"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._",
"Hi @sanchit-gandhi \r\n\r\nI have updated the tiny models on the Hub (config/model file) manually. I have to update the commit sha info. so the pipeline tests will take this new versions.\r\n\r\nFailing test passes now.\r\n\r\nI will... | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fix failing `MusicgenTest .test_pipeline_text_to_audio` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26586",
"html_url": "https://github.com/huggingface/transformers/pull/26586",
"diff_url": "https://github.com/huggingface/transformers/pull/26586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26586.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26585/comments | https://api.github.com/repos/huggingface/transformers/issues/26585/events | https://github.com/huggingface/transformers/pull/26585 | 1,925,677,806 | PR_kwDOCUB6oc5b30fX | 26,585 | Add Bert flash attention2 | {
"login": "sorenmc",
"id": 42963644,
"node_id": "MDQ6VXNlcjQyOTYzNjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/42963644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sorenmc",
"html_url": "https://github.com/sorenmc",
"followers_url": "https://api.github.com/users/sorenm... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @younesbelkada \r\n\r\nNo problem! I feel a little stuck with the CI errors I am getting. I finished most of the work for bert, but as you can see `check_repository_consistency` fails because several models are linked to BERT, meaning that i would have to do this same implementation for ... | 1,696 | 1,703 | 1,703 | NONE | null | # What does this PR do?
This introduces flash attention 2 for bert as discussed in https://github.com/huggingface/transformers/issues/26350
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26585/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/26585/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26585",
"html_url": "https://github.com/huggingface/transformers/pull/26585",
"diff_url": "https://github.com/huggingface/transformers/pull/26585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26585.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26584/comments | https://api.github.com/repos/huggingface/transformers/issues/26584/events | https://github.com/huggingface/transformers/issues/26584 | 1,925,513,670 | I_kwDOCUB6oc5yxQHG | 26,584 | Convert MetaCLIP checkpoints | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"@NielsRogge Hi! I will do it. ",
"Hi @NielsRogge, I am new to all of this and not sure what HF format is. Could you please help me with some resources to learn about it a little more.\r\n",
"@plon-Susk7 / @Natyren , The translation of these weights should more or less follow a similar pattern to the conversio... | 1,696 | 1,704 | 1,699 | CONTRIBUTOR | null | ### Feature request
Would be great to port the MetaCLIP checkpoints released by Meta to the HF format.
Link: https://github.com/facebookresearch/MetaCLIP
### Motivation
MetaCLIP claims to reproduce the pipeline that OpenAI used when creating CLIP, outperforming the original models.
### Your contribution
I could... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26584/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26583/comments | https://api.github.com/repos/huggingface/transformers/issues/26583/events | https://github.com/huggingface/transformers/issues/26583 | 1,925,394,685 | I_kwDOCUB6oc5ywzD9 | 26,583 | Training issue with the Transformer CAPTCHA recognition model: Unable to converge | {
"login": "Arc-2023",
"id": 64178177,
"node_id": "MDQ6VXNlcjY0MTc4MTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/64178177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arc-2023",
"html_url": "https://github.com/Arc-2023",
"followers_url": "https://api.github.com/users/Arc... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks! ",
"> Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests. Could you ask... | 1,696 | 1,696 | 1,696 | NONE | null | I have built a model from scratch, inspired by the Transformer model and related code (such as ViT), with the goal of recognizing CAPTCHAs. However, during training, I've encountered an issue with the Transformer model. After several batch iterations, I consistently observe that the highest probability value in the out... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26583/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26582/comments | https://api.github.com/repos/huggingface/transformers/issues/26582/events | https://github.com/huggingface/transformers/pull/26582 | 1,925,317,061 | PR_kwDOCUB6oc5b2nTj | 26,582 | testing doc-builder | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26582). 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,696 | 1,699 | 1,699 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/423
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26582/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26582",
"html_url": "https://github.com/huggingface/transformers/pull/26582",
"diff_url": "https://github.com/huggingface/transformers/pull/26582.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26582.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26581/comments | https://api.github.com/repos/huggingface/transformers/issues/26581/events | https://github.com/huggingface/transformers/pull/26581 | 1,925,220,979 | PR_kwDOCUB6oc5b2S6U | 26,581 | Add # Copied from statements to audio feature extractors that use the floats_list function | {
"login": "dg845",
"id": 58458699,
"node_id": "MDQ6VXNlcjU4NDU4Njk5",
"avatar_url": "https://avatars.githubusercontent.com/u/58458699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dg845",
"html_url": "https://github.com/dg845",
"followers_url": "https://api.github.com/users/dg845/follow... | [] | closed | false | null | [] | [
"The `floats_list` function is typically preceded by a `global_rng = random.Random()` statement:\r\n\r\nhttps://github.com/huggingface/transformers/blob/2f3ea08a077ba3133fa8a604b22436cad250b055/tests/models/whisper/test_feature_extraction_whisper.py#L39-L45\r\n\r\nhttps://github.com/huggingface/transformers/pull/24... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
This PR adds `# Copied from` statements to audio feature extractors (and other related data processing modules) that use the `floats_list` function. The [Whisper version](https://github.com/huggingface/transformers/blob/2f3ea08a077ba3133fa8a604b22436cad250b055/tests/models/whisper/test_featur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26581/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26581",
"html_url": "https://github.com/huggingface/transformers/pull/26581",
"diff_url": "https://github.com/huggingface/transformers/pull/26581.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26581.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26580/comments | https://api.github.com/repos/huggingface/transformers/issues/26580/events | https://github.com/huggingface/transformers/pull/26580 | 1,925,192,575 | PR_kwDOCUB6oc5b2MyK | 26,580 | Bump pillow from 9.3.0 to 10.0.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._"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.3.0 to 10.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.0.1</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/release... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26580/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26580",
"html_url": "https://github.com/huggingface/transformers/pull/26580",
"diff_url": "https://github.com/huggingface/transformers/pull/26580.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26580.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26579/comments | https://api.github.com/repos/huggingface/transformers/issues/26579/events | https://github.com/huggingface/transformers/pull/26579 | 1,925,147,424 | PR_kwDOCUB6oc5b2Cu0 | 26,579 | Fix TypicalLogitsWarper tensor OOB indexing edge case | {
"login": "njhill",
"id": 16958488,
"node_id": "MDQ6VXNlcjE2OTU4NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/16958488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njhill",
"html_url": "https://github.com/njhill",
"followers_url": "https://api.github.com/users/njhill/fo... | [] | closed | false | null | [] | [
"I'm going to be honest - I don't fully understand the code here!\r\n\r\nThe array `last_ind` is created as:\r\n`last_ind = (cumulative_probs < self.mass).sum(dim=1)`\r\n\r\nThis is the sum of a boolean array, which should be strictly nonnegative, because boolean arrays only contain 0 and 1 values. Therefore, I don... | 1,696 | 1,698 | 1,698 | CONTRIBUTOR | null | This can be triggered fairly quickly with low precision e.g. `bfloat16` and `typical_p=0.99`.
@gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26579/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26579",
"html_url": "https://github.com/huggingface/transformers/pull/26579",
"diff_url": "https://github.com/huggingface/transformers/pull/26579.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26579.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26578/comments | https://api.github.com/repos/huggingface/transformers/issues/26578/events | https://github.com/huggingface/transformers/issues/26578 | 1,925,137,998 | I_kwDOCUB6oc5yv0ZO | 26,578 | No `past_key_values` argument for RobertaForMaskedLM, RobertaForTokenClassification, etc. | {
"login": "simonlevine",
"id": 50503513,
"node_id": "MDQ6VXNlcjUwNTAzNTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/50503513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonlevine",
"html_url": "https://github.com/simonlevine",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@ArthurZucker I'm not sure if this is just a miss-out (maybe it's not as `MaskedLMOutput/TokenClassifierOutput` does not have a `past-key-value` arg), but `past_key_values` are of course necessary for PEFT, a quick fix would be to pass `past_key_values` through forward. \r\nhttps://github.com/huggingface/transform... | 1,696 | 1,696 | 1,696 | NONE | null | ### System Info
@ArthurZucker @younesbelkada
RoBERTa's encoder allows for `past_key_values` to be passed, but RobertaForMaskedLM / RobertaForTokenClassification `forward()` doesn't. As a result, prefix tuning (in PEFT) fails as the forward signature `past_key_values` . I'd suggest adding encoder kwargs or similar.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26578/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26577/comments | https://api.github.com/repos/huggingface/transformers/issues/26577/events | https://github.com/huggingface/transformers/issues/26577 | 1,925,052,707 | I_kwDOCUB6oc5yvfkj | 26,577 | Getting token probabilities of a caption given an image from BLIP2 | {
"login": "snpushpi",
"id": 55248448,
"node_id": "MDQ6VXNlcjU1MjQ4NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/55248448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snpushpi",
"html_url": "https://github.com/snpushpi",
"followers_url": "https://api.github.com/users/snp... | [] | closed | false | null | [] | [
"Hey! I would like to work on this issue.\r\n",
"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/hu... | 1,696 | 1,701 | 1,701 | NONE | null | I was considering the BLIP2 model for getting the probability distribution of each token in the caption given an image. So basically if the words in a caption are w1,w2,w3,…wt then I want to get these estimates P(w1|image), P(w2|image,w1),P(w3|image,w1,w2) etc. So this is the approach I took -
`
from PIL import Ima... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26577/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26576/comments | https://api.github.com/repos/huggingface/transformers/issues/26576/events | https://github.com/huggingface/transformers/pull/26576 | 1,924,730,717 | PR_kwDOCUB6oc5b0n4A | 26,576 | Update tokenization_code_llama_fast.py | {
"login": "andyl98",
"id": 31980222,
"node_id": "MDQ6VXNlcjMxOTgwMjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/31980222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andyl98",
"html_url": "https://github.com/andyl98",
"followers_url": "https://api.github.com/users/andyl9... | [] | closed | false | null | [] | [
"Added some unit tests :) ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26576). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26576/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26576",
"html_url": "https://github.com/huggingface/transformers/pull/26576",
"diff_url": "https://github.com/huggingface/transformers/pull/26576.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26576.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26575/comments | https://api.github.com/repos/huggingface/transformers/issues/26575/events | https://github.com/huggingface/transformers/issues/26575 | 1,924,714,840 | I_kwDOCUB6oc5yuNFY | 26,575 | CodeLlama FastTokenizer Infilling Format Bug with `suffix_first=True` | {
"login": "andyl98",
"id": 31980222,
"node_id": "MDQ6VXNlcjMxOTgwMjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/31980222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andyl98",
"html_url": "https://github.com/andyl98",
"followers_url": "https://api.github.com/users/andyl9... | [] | closed | false | null | [] | [] | 1,696 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
Suppose the code is:
```
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("codellama/codellama-7b-hf")
input = tokenizer("# print hello world<FILL_ME>orld')", suffix_first=True)
tokenizer.batch_decode([input["input_ids"]])[0]
```
The output will be
```
"<s> <PRE... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26575/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26574/comments | https://api.github.com/repos/huggingface/transformers/issues/26574/events | https://github.com/huggingface/transformers/pull/26574 | 1,924,608,122 | PR_kwDOCUB6oc5b0NYa | 26,574 | [Tokenizers] Skip tests temporarily | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26574). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | MEMBER | null | Skip tests temporarily so that `main` remains green. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26574/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26574",
"html_url": "https://github.com/huggingface/transformers/pull/26574",
"diff_url": "https://github.com/huggingface/transformers/pull/26574.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26574.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26573/comments | https://api.github.com/repos/huggingface/transformers/issues/26573/events | https://github.com/huggingface/transformers/pull/26573 | 1,924,601,301 | PR_kwDOCUB6oc5b0L6Q | 26,573 | Add add_generation_prompt argument to apply_chat_template | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | MEMBER | null | This PR adds a new `add_generation_prompt` argument to `apply_chat_template`. We need this when we want to chat with a chat model - if the model has special tokens that indicate the start of a bot message, then we need to append these to the end of a generation prompt to indicate to the model that it should write a bot... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26573/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26573",
"html_url": "https://github.com/huggingface/transformers/pull/26573",
"diff_url": "https://github.com/huggingface/transformers/pull/26573.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26573.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26572/comments | https://api.github.com/repos/huggingface/transformers/issues/26572/events | https://github.com/huggingface/transformers/pull/26572 | 1,924,580,423 | PR_kwDOCUB6oc5b0HYS | 26,572 | F.scaled_dot_product_attention support | {
"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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26572). All of your documentation changes will be reflected on that endpoint.",
"As https://github.com/huggingface/transformers/pull/26792 was merged will get back to it this week, targeting next to next transformers releas... | 1,696 | 1,708 | 1,702 | COLLABORATOR | null | As per title, this PR proposes to support natively `torch.nn.functional.scaled_dot_product_attention` in transformers. I propose to enable SDPA by default if `torch>=2.1.1` (released 15 Nov. 2023), for the reasons written in the PR. The support could then be extended using https://github.com/huggingface/optimum/blob/ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26572/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26572",
"html_url": "https://github.com/huggingface/transformers/pull/26572",
"diff_url": "https://github.com/huggingface/transformers/pull/26572.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26572.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26571/comments | https://api.github.com/repos/huggingface/transformers/issues/26571/events | https://github.com/huggingface/transformers/issues/26571 | 1,924,575,154 | I_kwDOCUB6oc5ytq-y | 26,571 | Can't release memory occupied by model after trainer.train() with del model and gc.collect(). | {
"login": "hanrui4248",
"id": 81265961,
"node_id": "MDQ6VXNlcjgxMjY1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/81265961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanrui4248",
"html_url": "https://github.com/hanrui4248",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"WDYT @muellerzr @pacman100 ?",
"I'm not sure we really *can* reduce it all to zero, due to PyTorch itself. Take the below example, which removes all major transformers and accelerate code and does everything in pure python, bare freeing of memory (it's the same thing as what you do manually there). **No matter w... | 1,696 | 1,699 | 1,699 | NONE | null | ### System Info
- torch==2.0.1
- transformers==4.31.0
- peft==0.4.0
- accelerate==0.20.3
- bitsandbytes==0.41.1
- gpu : Quadro RTX 8000
### Who can help?
@muellerzr @pacman1 @ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26571/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26570/comments | https://api.github.com/repos/huggingface/transformers/issues/26570/events | https://github.com/huggingface/transformers/pull/26570 | 1,924,563,689 | PR_kwDOCUB6oc5b0Dvc | 26,570 | [`Tokenizer`] Fix slow and fast serialization | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26570). All of your documentation changes will be reflected on that endpoint.",
"I ran into the error below\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \".../src/train_flash_attn_2.py\", line 11, in <module>\... | 1,696 | 1,698 | 1,697 | COLLABORATOR | null | # What does this PR do?
- sets the defaults for AddedToken instances where needed to match what is pushed to the hub
- sets the default for AddedToken to not strip left and right to match the fast tokenizers
- fixes the `added_tokens.json` file: a recent push made it save all the added tokens encoder, but it shoul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26570/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26570",
"html_url": "https://github.com/huggingface/transformers/pull/26570",
"diff_url": "https://github.com/huggingface/transformers/pull/26570.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26570.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26569/comments | https://api.github.com/repos/huggingface/transformers/issues/26569/events | https://github.com/huggingface/transformers/issues/26569 | 1,924,555,866 | I_kwDOCUB6oc5ytmRa | 26,569 | text-generation results inconsistent depending on padding side | {
"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 | [] | [
"Thanks for the report! Feel free to investigate @fxmarty, pinging @gante for when he's back from leave",
"This is also a duplicate of #25921, and #26380! ",
"@fxmarty The results are supposed to be different on all `generate`-compatible, decoder-only models :D \r\n\r\nIn the attention layer, the token that is ... | 1,696 | 1,700 | 1,700 | COLLABORATOR | null | ### System Info
transformers main (but same issue on transformers 4.33.3)
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26569/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/26569/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26568/comments | https://api.github.com/repos/huggingface/transformers/issues/26568/events | https://github.com/huggingface/transformers/pull/26568 | 1,924,510,056 | PR_kwDOCUB6oc5bz4R0 | 26,568 | #26566 swin2 sr allow in out channels | {
"login": "marvingabler",
"id": 51857438,
"node_id": "MDQ6VXNlcjUxODU3NDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/51857438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marvingabler",
"html_url": "https://github.com/marvingabler",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Good point, yes lets do that! Let me update the PR soon :)",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26568). All of your documentation changes will be reflected on that endpoint.",
"Just realized that there are a couple of more changes required, as the `Swin2S... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the feature of accepting arbitary number of input and output channels when using the Swin2SR model. This allows to perform super resolution from greyscale (1 channel) to color (rgb), or from low resolution multi band satellite to high resolution rgb satellite.
All examples and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26568",
"html_url": "https://github.com/huggingface/transformers/pull/26568",
"diff_url": "https://github.com/huggingface/transformers/pull/26568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26568.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26567/comments | https://api.github.com/repos/huggingface/transformers/issues/26567/events | https://github.com/huggingface/transformers/issues/26567 | 1,924,397,304 | I_kwDOCUB6oc5ys_j4 | 26,567 | V4.34 tokenizer incompatible with mistral | {
"login": "edmondja",
"id": 11833428,
"node_id": "MDQ6VXNlcjExODMzNDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11833428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edmondja",
"html_url": "https://github.com/edmondja",
"followers_url": "https://api.github.com/users/edm... | [] | closed | false | null | [] | [
"Hey @edmondja, if you run the following command, do you have an issue?\r\n\r\n```\r\npip install transformers==4.34.0 tokenizers==0.14.0\r\n```\r\n",
"`transformers` version v4.34.0 brings a lot of significant improvements for tokenizers, but therefore requires tokenizers >= 0.14.0 ",
"> Hey @edmondja, if you ... | 1,696 | 1,696 | 1,696 | NONE | null | Hello, I dont know how much my problem is related to https://github.com/huggingface/transformers/issues/26455 but when I install the last version of transformers I have the correct version of tokenizers disappearing, like they can not coexist :
`
Requirement already satisfied: transformers in c:\users\ext.edmond_j... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26567/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26566/comments | https://api.github.com/repos/huggingface/transformers/issues/26566/events | https://github.com/huggingface/transformers/issues/26566 | 1,924,280,297 | I_kwDOCUB6oc5ysi_p | 26,566 | SWIN2SR: Allow to choose number of in_channels and out_channels | {
"login": "marvingabler",
"id": 51857438,
"node_id": "MDQ6VXNlcjUxODU3NDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/51857438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marvingabler",
"html_url": "https://github.com/marvingabler",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | ### Feature request
I'd like to be able to specify a different number of output and input channels for the Swin2sr superresolution model. The current [SWIN2SR](https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/models/swin2sr/modeling_swin2sr.py) implementation expects input and output images ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26566/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26565/comments | https://api.github.com/repos/huggingface/transformers/issues/26565/events | https://github.com/huggingface/transformers/issues/26565 | 1,924,271,902 | I_kwDOCUB6oc5ysg8e | 26,565 | Why is assisted decoding slower than the paper reported peformance? | {
"login": "cliangyu",
"id": 45140242,
"node_id": "MDQ6VXNlcjQ1MTQwMjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/45140242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cliangyu",
"html_url": "https://github.com/cliangyu",
"followers_url": "https://api.github.com/users/cli... | [] | closed | false | null | [] | [
"I'm also confused about this, specially the following piece:\r\n\r\n```python\r\n# 4. Compare the argmax from the original model logits with the assistant forecasted tokens. We can keep\r\n# the assistant forecasted tokens until the first mismatch, or until the max length is reached.\r\ncandidate_new_tokens = cand... | 1,696 | 1,701 | 1,701 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-6.2.0-26-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26565/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26564/comments | https://api.github.com/repos/huggingface/transformers/issues/26564/events | https://github.com/huggingface/transformers/issues/26564 | 1,924,264,182 | I_kwDOCUB6oc5ysfD2 | 26,564 | Flax T5 model - code typo during AutoRegressive decoding? | {
"login": "giganttheo",
"id": 71786646,
"node_id": "MDQ6VXNlcjcxNzg2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/71786646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/giganttheo",
"html_url": "https://github.com/giganttheo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @giganttheo - this indeed looks like a bug! The attention mask should be overridden, as in Flax GPT Neo: https://github.com/huggingface/transformers/blob/2aef9a96011133f6b399b598fd69cfeca936eb37/src/transformers/models/gpt_neo/modeling_flax_gpt_neo.py#L219\r\n\r\nWould you like to open a PR to correct this? We... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26564/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26563/comments | https://api.github.com/repos/huggingface/transformers/issues/26563/events | https://github.com/huggingface/transformers/issues/26563 | 1,924,260,807 | I_kwDOCUB6oc5ysePH | 26,563 | FIXED POSITION OF NAVBAR | {
"login": "kiranugale2o",
"id": 141510294,
"node_id": "U_kgDOCG9Glg",
"avatar_url": "https://avatars.githubusercontent.com/u/141510294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiranugale2o",
"html_url": "https://github.com/kiranugale2o",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I would Like to take this issue.",
"@kiranugale2o can please assign this issue to me ?",
"Might be of interest to @mishig25 ",
"i am not working on this anymore, @iamadisinghal would be a better choice for this issue",
"Could you elaborate on what do you mean by \"Fixed position in navbar\"?",
"> Could y... | 1,696 | 1,699 | 1,699 | NONE | null | ### Feature request
FIXED POSITION OF NAVBAR

![Oh My Zsh - a delightful open source frame... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26563/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26562/comments | https://api.github.com/repos/huggingface/transformers/issues/26562/events | https://github.com/huggingface/transformers/pull/26562 | 1,924,258,551 | PR_kwDOCUB6oc5bzBq4 | 26,562 | [`Nougat`] from transformers import * | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26562). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Doing `python -c "from transformers import *"` on a fresh env fails | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26562/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26562",
"html_url": "https://github.com/huggingface/transformers/pull/26562",
"diff_url": "https://github.com/huggingface/transformers/pull/26562.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26562.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26561/comments | https://api.github.com/repos/huggingface/transformers/issues/26561/events | https://github.com/huggingface/transformers/pull/26561 | 1,923,997,358 | PR_kwDOCUB6oc5byIxL | 26,561 | Fixed inconsistency in several fast tokenizers | {
"login": "Towdo",
"id": 13337196,
"node_id": "MDQ6VXNlcjEzMzM3MTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/13337196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Towdo",
"html_url": "https://github.com/Towdo",
"followers_url": "https://api.github.com/users/Towdo/follow... | [] | closed | false | null | [] | [
"> Thanks a lot for these changes! Let's add a small test in the test_tokenization_common 😉\r\n\r\nI changed the test_build_inputs_with_special_tokens to test this edge case :)",
"Thanks 😉 ",
"> Very good thanks, I would just like 1 hard coded expected value, otherwise if both are broken we are not testing an... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | Fixed case where behavior of BertTokenizer and BertTokenizerFast is different.
An empty list will be evaluated to `False` but not to `is None`.
(I mistakenly closed my first merge request)
Fixes #26123
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26561/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26561",
"html_url": "https://github.com/huggingface/transformers/pull/26561",
"diff_url": "https://github.com/huggingface/transformers/pull/26561.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26561.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26560/comments | https://api.github.com/repos/huggingface/transformers/issues/26560/events | https://github.com/huggingface/transformers/pull/26560 | 1,923,939,386 | PR_kwDOCUB6oc5bx8Ys | 26,560 | [`FA2`] Cast to correct dtype | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26560). All of your documentation changes will be reflected on that endpoint.",
"I agree we should make all hacks / changes with respect to FA2 modules inside them. However this might introduce multiple patches and other ha... | 1,696 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/26451
Currently performing bf16 fine-tuning with FA-2 leads to hidden states silently being casted in float16
As it is challenging to retrieve the original dtype of the model in case the model is quantized, I propose to store that ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26560/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26560",
"html_url": "https://github.com/huggingface/transformers/pull/26560",
"diff_url": "https://github.com/huggingface/transformers/pull/26560.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26560.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26559/comments | https://api.github.com/repos/huggingface/transformers/issues/26559/events | https://github.com/huggingface/transformers/pull/26559 | 1,923,868,100 | PR_kwDOCUB6oc5bxtBp | 26,559 | [`PEFT`] Final fixes | {
"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._",
"@younesbelkada thanks for this, does this allow pushing 4-bit nf4 models to hub? thanks",
"Hi @RonanKMcGovern \r\nFor pushing 4-bit weights on the Hub, please refer to this PR: https://github.com/huggingface/transformers/pull/26037... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes multiple bugs with PEFT and some corner cases such as:
- loading an adapter model with `token` argument that currently fails
- logger.warning that errors out since it does not seem to accept the argument `FutureWarning`
- Saving that fails with 4-bit quantized models
Add... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26559/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26559",
"html_url": "https://github.com/huggingface/transformers/pull/26559",
"diff_url": "https://github.com/huggingface/transformers/pull/26559.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26559.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26558/comments | https://api.github.com/repos/huggingface/transformers/issues/26558/events | https://github.com/huggingface/transformers/pull/26558 | 1,923,851,456 | PR_kwDOCUB6oc5bxpcj | 26,558 | [WIP] Adding BLIVA model | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [
{
"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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26558). All of your documentation changes will be reflected on that endpoint."
] | 1,696 | 1,696 | null | CONTRIBUTOR | null | # What does this PR do?
Adds BLIVA to transformers.
* Original repo: https://github.com/mlpc-ucsd/BLIVA
* Paper: https://arxiv.org/abs/2308.09936
Fixes #26629 - issue with new model request
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26558/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26558",
"html_url": "https://github.com/huggingface/transformers/pull/26558",
"diff_url": "https://github.com/huggingface/transformers/pull/26558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26558.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26557/comments | https://api.github.com/repos/huggingface/transformers/issues/26557/events | https://github.com/huggingface/transformers/issues/26557 | 1,923,825,147 | I_kwDOCUB6oc5yqz37 | 26,557 | Native support of `torch.nn.functionnal.scaled_dot_product_attention` | {
"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 | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [
{
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.githu... | [
"@younesbelkada, is there a reason why `torch.nn.functionnal.scaled_dot_product_attention` is not always integrated ? For instance the `LlamaAttention` class does not use it (see [here](https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L264))",
"Hi @SimJeg !\r\n... | 1,696 | 1,702 | 1,702 | CONTRIBUTOR | null | ### Feature request
PyTorch has released `torch.nn.functionnal.scaled_dot_product_attention` since its 2.0 version that supports more memory efficient attention computation
Official documentation [here](https://pytorch.org/docs/stable/generated/torch.nn.functional.scaled_dot_product_attention.html). Currently three... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26557/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/26557/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26556/comments | https://api.github.com/repos/huggingface/transformers/issues/26556/events | https://github.com/huggingface/transformers/issues/26556 | 1,923,738,390 | I_kwDOCUB6oc5yqesW | 26,556 | Training failure with `--use_cpu` option when GPU memory is saturated | {
"login": "qgallouedec",
"id": 45557362,
"node_id": "MDQ6VXNlcjQ1NTU3MzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/45557362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qgallouedec",
"html_url": "https://github.com/qgallouedec",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,696 | 1,701 | 1,701 | CONTRIBUTOR | null | ### System Info
Transformers: 4.33.2
Torch 2.0.1
Python 3.9.12
### Who can help?
@muellerzr and @pacman100
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My ow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26556/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/26556/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26555/comments | https://api.github.com/repos/huggingface/transformers/issues/26555/events | https://github.com/huggingface/transformers/pull/26555 | 1,923,725,192 | PR_kwDOCUB6oc5bxOUY | 26,555 | Enable testing against mi250 | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"[**Update**]\r\n\r\nI might be able to do minimal changes to make the slack report work with the CI having 2 GPU favors like this PR. I will have to try though.\r\n\r\n----------------------------------------------\r\n\r\n\r\nAs test... | 1,696 | 1,697 | 1,697 | MEMBER | null | Currently we are testing only against mi210 AMD devices, this PR enables testing on mi250 as well 🤗 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26555/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26555",
"html_url": "https://github.com/huggingface/transformers/pull/26555",
"diff_url": "https://github.com/huggingface/transformers/pull/26555.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26555.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26554/comments | https://api.github.com/repos/huggingface/transformers/issues/26554/events | https://github.com/huggingface/transformers/pull/26554 | 1,923,369,656 | PR_kwDOCUB6oc5bwDOo | 26,554 | Bump urllib3 from 1.26.9 to 1.26.17 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | [//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [urllib3](https://github.com/urllib3/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26554/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26554",
"html_url": "https://github.com/huggingface/transformers/pull/26554",
"diff_url": "https://github.com/huggingface/transformers/pull/26554.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26554.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26553/comments | https://api.github.com/repos/huggingface/transformers/issues/26553/events | https://github.com/huggingface/transformers/issues/26553 | 1,923,358,618 | I_kwDOCUB6oc5ypB-a | 26,553 | Implement StreamingLLM/Windowed Attention with Attention Sinks | {
"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 | [] | [
"Hey @tomaarsen, very cool feature and implementation!\r\n\r\nThis definitely looks like a good fit for `transformers`, or at least it should be of very high value for the community to have access to attention sinks very easily.\r\n\r\nKeeping a drop-in implementation up to date on the long term is hard to do, so I... | 1,696 | 1,704 | 1,702 | MEMBER | null | ### Feature request
Hello!
I would love to see StreamingLLM/ Windowed Attention with Attention Sinks implemented, as proposed in https://arxiv.org/abs/2309.17453.
The primary author (@Guangxuan-Xiao) has also released the code here: https://github.com/mit-han-lab/streaming-llm
And I've adapted that code to a dro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26553/reactions",
"total_count": 18,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 7,
"rocket": 0,
"eyes": 11
} | https://api.github.com/repos/huggingface/transformers/issues/26553/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26552/comments | https://api.github.com/repos/huggingface/transformers/issues/26552/events | https://github.com/huggingface/transformers/pull/26552 | 1,923,298,624 | PR_kwDOCUB6oc5bv0ED | 26,552 | Bump urllib3 from 1.26.5 to 1.26.17 in /examples/research_projects/visual_bert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.17</h2>
<ul>
<li>Added the <code>Cookie</code> header to the list of hea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26552/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26552",
"html_url": "https://github.com/huggingface/transformers/pull/26552",
"diff_url": "https://github.com/huggingface/transformers/pull/26552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26552.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26551/comments | https://api.github.com/repos/huggingface/transformers/issues/26551/events | https://github.com/huggingface/transformers/pull/26551 | 1,923,293,309 | PR_kwDOCUB6oc5bvy6P | 26,551 | Bump urllib3 from 1.26.5 to 1.26.17 in /examples/research_projects/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.17</h2>
<ul>
<li>Added the <code>Cookie</code> header to the list of hea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26551/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26551",
"html_url": "https://github.com/huggingface/transformers/pull/26551",
"diff_url": "https://github.com/huggingface/transformers/pull/26551.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26551.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26550/comments | https://api.github.com/repos/huggingface/transformers/issues/26550/events | https://github.com/huggingface/transformers/issues/26550 | 1,923,256,580 | I_kwDOCUB6oc5yopEE | 26,550 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "Lena43",
"id": 107714082,
"node_id": "U_kgDOBmuWIg",
"avatar_url": "https://avatars.githubusercontent.com/u/107714082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lena43",
"html_url": "https://github.com/Lena43",
"followers_url": "https://api.github.com/users/Lena43/follower... | [] | closed | false | null | [] | [
"Hey @Lena43, what language would you like to help kickstart a translation in?",
"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 g... | 1,696 | 1,699 | 1,699 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26550/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26549/comments | https://api.github.com/repos/huggingface/transformers/issues/26549/events | https://github.com/huggingface/transformers/issues/26549 | 1,922,476,707 | I_kwDOCUB6oc5ylqqj | 26,549 | Update resuming with FSDP to work with different number of nodes | {
"login": "jmzeng",
"id": 5641698,
"node_id": "MDQ6VXNlcjU2NDE2OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5641698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmzeng",
"html_url": "https://github.com/jmzeng",
"followers_url": "https://api.github.com/users/jmzeng/foll... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"cc @pacman100 ",
"Hello @jmzeng, what is the FSDP config and launch command(s) along with the library versions? \r\n\r\nYou can save the whole model ckpt instead of the sharded ckpts and then load it when changing the distributed setup from 1 nodes to 3 nodes for example. Did you t... | 1,696 | 1,702 | 1,702 | NONE | null | ### Feature request
It would be great if it's possible to resume a FSDP run on single node to two or three nodes. When I try it currently, it would give the following warning and OOM:
`Didn't find an RNG file for process 8, if you are resuming a training that wasn't launched in a distributed fashion, reproducibilit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26549/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26548/comments | https://api.github.com/repos/huggingface/transformers/issues/26548/events | https://github.com/huggingface/transformers/issues/26548 | 1,922,451,593 | I_kwDOCUB6oc5ylkiJ | 26,548 | Trainer errors out when concatenating different sequence length batches with distributed training and IterableDataset | {
"login": "ssharpe42",
"id": 8136905,
"node_id": "MDQ6VXNlcjgxMzY5MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8136905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ssharpe42",
"html_url": "https://github.com/ssharpe42",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"FYI, I think this was a regression introduced between transformers 4.30.x and 4.31.x (I haven't bisected the specific release, but 4.30.x will run the example here correctly)",
"Think I found it, this is where the IterableDatasetShard option is removed for IterableDatasets and it just relies on accelerate prepar... | 1,696 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-5.10.186-179.751.amzn2.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.17
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26548/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/26548/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26547/comments | https://api.github.com/repos/huggingface/transformers/issues/26547/events | https://github.com/huggingface/transformers/issues/26547 | 1,922,422,051 | I_kwDOCUB6oc5yldUj | 26,547 | [SpeechT5] Decode function strips space after special token | {
"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": "... | [
"Thanks for reporting! This is happening because:\r\n```python \r\n def convert_tokens_to_string(self, tokens):\r\n \"\"\"Converts a sequence of tokens (string) in a single string.\"\"\"\r\n current_sub_tokens = []\r\n out_string = \"\"\r\n for token in tokens:\r\n # make s... | 1,696 | 1,705 | 1,705 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.8.1
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.12.1+cu116 (True)
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26547/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26546/comments | https://api.github.com/repos/huggingface/transformers/issues/26546/events | https://github.com/huggingface/transformers/pull/26546 | 1,922,338,876 | PR_kwDOCUB6oc5bsfUF | 26,546 | [docs] Update to scripts building index.md | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Super nice, I think it's a lot cleaner like this! ✨\r\n> \r\n> It looks like some models (like Llama 2, Flan T5, DiT) are missing though.\r\n\r\nThe reason they are missing is that the table is based on the model classes. And in ca... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | The `docs/index.md` file currently contains two auto-generated parts: the list of models (same as in README), and a table of models with supported frameworks. Due to the number of models available in transformers (200+), the list and the table have become quite large, and there have been internal discussions about remo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26546/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/26546/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26546",
"html_url": "https://github.com/huggingface/transformers/pull/26546",
"diff_url": "https://github.com/huggingface/transformers/pull/26546.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26546.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26545/comments | https://api.github.com/repos/huggingface/transformers/issues/26545/events | https://github.com/huggingface/transformers/pull/26545 | 1,922,248,387 | PR_kwDOCUB6oc5bsL1R | 26,545 | [RFC, Logging] Change warning to info | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,696 | 1,696 | 1,696 | MEMBER | null | # What does this PR do?
Change warning to info when adding a new text embedding. The reason is that this warning is trigger every time someone runs:
which confuses users: https://github.com/huggingface/diffusers/issues/5212 .
I don't think we should use `pad_to_multiple` here as it would mean that we add 8 new... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26545/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26545",
"html_url": "https://github.com/huggingface/transformers/pull/26545",
"diff_url": "https://github.com/huggingface/transformers/pull/26545.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26545.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26544/comments | https://api.github.com/repos/huggingface/transformers/issues/26544/events | https://github.com/huggingface/transformers/issues/26544 | 1,922,208,467 | I_kwDOCUB6oc5ykpLT | 26,544 | RWKV v4 not working with device_map auto and 4 GPUs | {
"login": "Epliz",
"id": 63452361,
"node_id": "MDQ6VXNlcjYzNDUyMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/63452361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Epliz",
"html_url": "https://github.com/Epliz",
"followers_url": "https://api.github.com/users/Epliz/follow... | [] | closed | false | null | [] | [
"Maybe of interest to @SunMarc when back from leave :)",
"Hi @Epliz\r\n\r\nI have ran:\r\n\r\n```python\r\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\r\n\r\ncheckpoint = \"RWKV/rwkv-4-169m-pile\"\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(checkpoint)\r\nmodel = AutoModelForCausalLM.from_pr... | 1,696 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-4.18.0-477.13.1.el8_8.x86_64-x86_64-with-glibc2.2.5
- Python version: 3.8.16
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26544/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26543/comments | https://api.github.com/repos/huggingface/transformers/issues/26543/events | https://github.com/huggingface/transformers/issues/26543 | 1,922,188,156 | I_kwDOCUB6oc5ykkN8 | 26,543 | new T5 tokenisation unexpected behaviour immediately after added special tokens | {
"login": "mickeymickeymonkey",
"id": 142171154,
"node_id": "U_kgDOCHlcEg",
"avatar_url": "https://avatars.githubusercontent.com/u/142171154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mickeymickeymonkey",
"html_url": "https://github.com/mickeymickeymonkey",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey! This is expected. If you use `tokenizer.tokenize` instead of encode decode you will have a better understanding of what is happening. The `legacy = False` behave properly. And the tokens are by default stripping left and right. \r\n\r\n<details>\r\n <summary> A small snippet: </summary>\r\n\r\n```python \r\n... | 1,696 | 1,696 | 1,696 | NONE | null | ### System Info
System Info
transformers version: 4.33.1
Python version: 3.8.16
PyTorch version (GPU?): 2.0.1+cu118
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26543/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26542/comments | https://api.github.com/repos/huggingface/transformers/issues/26542/events | https://github.com/huggingface/transformers/pull/26542 | 1,922,073,470 | PR_kwDOCUB6oc5brmAs | 26,542 | fix CLIPImageProcessor returns NaNs/Infs when input is a float tensor… | {
"login": "mtuan4i",
"id": 13715393,
"node_id": "MDQ6VXNlcjEzNzE1Mzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/13715393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mtuan4i",
"html_url": "https://github.com/mtuan4i",
"followers_url": "https://api.github.com/users/mtuan4... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,696 | 1,698 | 1,698 | NONE | null | … or np.array filled with 0s or 1s, and do_rescale=False
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26542/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26542",
"html_url": "https://github.com/huggingface/transformers/pull/26542",
"diff_url": "https://github.com/huggingface/transformers/pull/26542.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26542.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26541/comments | https://api.github.com/repos/huggingface/transformers/issues/26541/events | https://github.com/huggingface/transformers/issues/26541 | 1,922,003,916 | I_kwDOCUB6oc5yj3PM | 26,541 | Using IterableDataset, Trainer never calls `set_epoch` to increment and resets the epochs to 0 at the beginning of each epoch. | {
"login": "ssharpe42",
"id": 8136905,
"node_id": "MDQ6VXNlcjgxMzY5MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8136905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ssharpe42",
"html_url": "https://github.com/ssharpe42",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"Hi, thanks for your patience. https://github.com/huggingface/accelerate/pull/2057 will be aiming to fix this"
] | 1,696 | 1,698 | 1,698 | NONE | null | ### System Info
I am using a Huggingface implementation of IterableDataset with the `set_epoch` method with the standard Trainer class. However, during training the `_epoch` attribute of the dataset is never changed.(https://github.com/huggingface/datasets/blob/0cc77d7f45c73698c31eab4f8cfff901044d0020/src/datasets/i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26540/comments | https://api.github.com/repos/huggingface/transformers/issues/26540/events | https://github.com/huggingface/transformers/pull/26540 | 1,921,918,241 | PR_kwDOCUB6oc5brEdu | 26,540 | typo: list to tuple | {
"login": "pavloshushkov",
"id": 23094949,
"node_id": "MDQ6VXNlcjIzMDk0OTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/23094949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pavloshushkov",
"html_url": "https://github.com/pavloshushkov",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello @pavloshushkov \r\n\r\nWhat is this change?",
"@LysandreJik Using \"in\" with sets is more efficient than using it with lists or other non-set containers.",
"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 comm... | 1,696 | 1,699 | 1,699 | NONE | null | Using a tuple in this case is more optimal | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26540/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26540",
"html_url": "https://github.com/huggingface/transformers/pull/26540",
"diff_url": "https://github.com/huggingface/transformers/pull/26540.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26540.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26539/comments | https://api.github.com/repos/huggingface/transformers/issues/26539/events | https://github.com/huggingface/transformers/issues/26539 | 1,921,884,940 | I_kwDOCUB6oc5yjaMM | 26,539 | Chat Template Upgrades | {
"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 | [] | [
"can u assign it to me",
"I'll probably be taking this PR myself, @draksham, but thanks for the offer!",
"Here's my current best plan:\r\n\r\n1) Add a `add_generation_prompt` kwarg to `apply_chat_template`. \r\n2) Update our default chat templates to use this kwarg. When the kwarg is `True`, we add a prompt for... | 1,696 | 1,697 | 1,696 | MEMBER | null | Hey all, I was thinking about the chat templates API and I realized something important. When you're generating responses from the model, you want the prompt to include the message history, but **also the tokens that indicate the start of a bot response**. That makes sure that the model actually replies to you, instead... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26539/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/26539/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26538/comments | https://api.github.com/repos/huggingface/transformers/issues/26538/events | https://github.com/huggingface/transformers/pull/26538 | 1,921,857,897 | PR_kwDOCUB6oc5bq3dQ | 26,538 | Nit-added-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._",
"A small benchmark on the `get_added_vocab()`:\r\n```python \r\nfrom transformers import AutoTokenizer\r\nimport time \r\ntokenizer = AutoTokenizer.from_pretrained(\"facebook/nllb-moe-54b\")\r\nstart = time.time();tokenizer.get_added_... | 1,696 | 1,696 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fixes #26500, fixes #26536 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26538/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26538",
"html_url": "https://github.com/huggingface/transformers/pull/26538",
"diff_url": "https://github.com/huggingface/transformers/pull/26538.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26538.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26537/comments | https://api.github.com/repos/huggingface/transformers/issues/26537/events | https://github.com/huggingface/transformers/pull/26537 | 1,921,794,233 | PR_kwDOCUB6oc5bqprU | 26,537 | [`PEFT`] Protect `adapter_kwargs` check | {
"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,696 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Protect `adapter_kwargs` check in case it is excplicitly None
Addresses: https://github.com/huggingface/transformers/pull/26488#issuecomment-1742821190
cc @LysandreJik
The fix could be also to pop with an empty dict here: https://github.com/huggingface/transformers/blob/main/src/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26537/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26537",
"html_url": "https://github.com/huggingface/transformers/pull/26537",
"diff_url": "https://github.com/huggingface/transformers/pull/26537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26537.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26536/comments | https://api.github.com/repos/huggingface/transformers/issues/26536/events | https://github.com/huggingface/transformers/issues/26536 | 1,921,765,113 | I_kwDOCUB6oc5yi875 | 26,536 | Tokenizer AddedToken load from file bug | {
"login": "kai01ai",
"id": 140378742,
"node_id": "U_kgDOCF4Cdg",
"avatar_url": "https://avatars.githubusercontent.com/u/140378742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kai01ai",
"html_url": "https://github.com/kai01ai",
"followers_url": "https://api.github.com/users/kai01ai/foll... | [] | closed | false | null | [] | [
"Hey8 Thanks for reporting! That's indeed a bug. It appears in \r\n```python\r\n # 4. If some of the special tokens are not part of the vocab, we add them, at the end.\r\n # the order of addition is the same as self.SPECIAL_TOKENS_ATTRIBUTES following `tokenizers`\r\n self._add_tokens(self.all_... | 1,696 | 1,696 | 1,696 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: macOS-13.6-arm64-arm-64bit
- Python version: 3.9.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
### Who can help?
@Arth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26536/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26535/comments | https://api.github.com/repos/huggingface/transformers/issues/26535/events | https://github.com/huggingface/transformers/pull/26535 | 1,921,705,529 | PR_kwDOCUB6oc5bqWtS | 26,535 | bnb_8bit, gptq generation tests updated | {
"login": "poedator",
"id": 24738311,
"node_id": "MDQ6VXNlcjI0NzM4MzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poedator",
"html_url": "https://github.com/poedator",
"followers_url": "https://api.github.com/users/poe... | [] | closed | false | null | [] | [
"in issue discussion https://github.com/huggingface/transformers/issues/26533 @younesbelkada suggested that this could be caused by Ampere vs Turing architecture differences. \r\nWhile this fix is not really pressing, it may make life easier for developers with Ampere cards, so that they see fewer failed tests and ... | 1,696 | 1,699 | 1,699 | CONTRIBUTOR | null | ## What does this PR do?
Updating tests to (presumably) adjust for minor packages/models changes elsewhere.
See Issue #26533 for details.
## Who can review?
- generate: @gante
- quantization (bitsandbytes, autogpt): @SunMarc and @younesbelkada
## Testing
I tested this PR locally with RUN_SLOW=1 and two GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26535/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26535",
"html_url": "https://github.com/huggingface/transformers/pull/26535",
"diff_url": "https://github.com/huggingface/transformers/pull/26535.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26535.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26534/comments | https://api.github.com/repos/huggingface/transformers/issues/26534/events | https://github.com/huggingface/transformers/pull/26534 | 1,921,602,709 | PR_kwDOCUB6oc5bqAfp | 26,534 | Add CLIP resources | {
"login": "eenzeenee",
"id": 71638597,
"node_id": "MDQ6VXNlcjcxNjM4NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eenzeenee",
"html_url": "https://github.com/eenzeenee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"LGTM! Thanks for adding resources for CLIP. \r\nBy the way, please fix `Part of #20555` to `Part of #20055` since 20055 is the issue of `Model resources contribution`.",
"Thank you for reviewing!! I fixed it!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26534). A... | 1,696 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Adds resources of CLIP according to [this issue](https://github.com/huggingface/transformers/issues/20055.)
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26534/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26534/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26534",
"html_url": "https://github.com/huggingface/transformers/pull/26534",
"diff_url": "https://github.com/huggingface/transformers/pull/26534.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26534.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26533/comments | https://api.github.com/repos/huggingface/transformers/issues/26533/events | https://github.com/huggingface/transformers/issues/26533 | 1,921,570,774 | I_kwDOCUB6oc5yiNfW | 26,533 | Broken generation tests for quantized models | {
"login": "poedator",
"id": 24738311,
"node_id": "MDQ6VXNlcjI0NzM4MzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poedator",
"html_url": "https://github.com/poedator",
"followers_url": "https://api.github.com/users/poe... | [] | closed | false | null | [] | [
"### Model class mismatch: possible causes and solutions\r\n[TODO] research on causes and propose solution\r\nError message with class names side-by-side:\r\n```\r\n(model has \r\n<class 'transformers_modules.mosaicml.mpt-7b.0b57768f52b7775563f7cc78c4724e407b39593b.configuration_mpt.MPTConfig'> \r\nand you passed \... | 1,696 | 1,699 | 1,699 | CONTRIBUTOR | null | ### System Info
Ubuntu-20, A100
Python 3.10.13, pytest-7.4.2, pluggy-1.3.0, torch==2.0.1, cuda=11.7
quite fresh transformers from repo
### Who can help
- quantization (bitsandbytes, autogpt): @SunMarc and @younesbelkada
- generate: @gante
### problem description
When working on PR on quantization, I noticed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26533/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26532/comments | https://api.github.com/repos/huggingface/transformers/issues/26532/events | https://github.com/huggingface/transformers/pull/26532 | 1,921,513,298 | PR_kwDOCUB6oc5bptb0 | 26,532 | changed the import order of the model and configuration classes and a… | {
"login": "madhubabu147",
"id": 113609366,
"node_id": "U_kgDOBsWKlg",
"avatar_url": "https://avatars.githubusercontent.com/u/113609366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/madhubabu147",
"html_url": "https://github.com/madhubabu147",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"changed the import order of the model and configuration classes and added comment before model initialization line and Add configuration_[model_name].py to utils/documentation_tests.txt #19487",
"Hi.\r\n\r\nIt's unclear to me the reason behind the changes in this PR.",
"This issue has been automatically marked... | 1,696 | 1,699 | 1,699 | NONE | null | …dded comment before model initialization line and Add configuration_[model_name].py to utils/documentation_tests.txt
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26532/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26532",
"html_url": "https://github.com/huggingface/transformers/pull/26532",
"diff_url": "https://github.com/huggingface/transformers/pull/26532.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26532.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26531/comments | https://api.github.com/repos/huggingface/transformers/issues/26531/events | https://github.com/huggingface/transformers/issues/26531 | 1,921,483,691 | I_kwDOCUB6oc5yh4Or | 26,531 | Bark Text-to-Speech | {
"login": "ss8319",
"id": 72968523,
"node_id": "MDQ6VXNlcjcyOTY4NTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/72968523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ss8319",
"html_url": "https://github.com/ss8319",
"followers_url": "https://api.github.com/users/ss8319/fo... | [] | closed | false | null | [] | [
"cc @ylacombe ",
"Hey @ss8319, thanks for your message! could you kindly provide a script to replicate your error? I believe that the script you provided here doesn't correspond to your issue:\r\n```python\r\nimport time\r\nfrom transformers import BarkModel, BarkProcessor\r\n\r\n# Load the model and processor\r\... | 1,696 | 1,701 | 1,699 | NONE | null | ### System Info
**System Setup**
Google Colab
**Who can help?**
@sanchit-gandhi
@gante
Hi guys. I am trying to test Bark (TTS) functionalities. I set up the code as from the audio course. https://huggingface.co/learn/audio-course/chapter6/pre-trained_models#bark. I am running into the error as indicated. The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26531/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.