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/27545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27545/comments | https://api.github.com/repos/huggingface/transformers/issues/27545/events | https://github.com/huggingface/transformers/issues/27545 | 1,997,599,093 | I_kwDOCUB6oc53EPF1 | 27,545 | runtime shape mismatch for llama2-70 | {
"login": "ZhangShiyue",
"id": 11383558,
"node_id": "MDQ6VXNlcjExMzgzNTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/11383558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhangShiyue",
"html_url": "https://github.com/ZhangShiyue",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I tested flash-attn-2.3.1. It does not work either.",
"Hi @ZhangShiyue \r\nI suspect the issue comes from the fact that Llama-2-70b uses GQA (Grouped Query Attention). I created a dummy llama-2 model that uses GQA [here](https://huggingface.co/ybelkada/tiny-random-LlamaForCausalLM-GQA) (same config as llama-2-70... | 1,700 | 1,700 | 1,700 | NONE | null | ### System Info
transformers-4.34.0.dev0
torch-2.1.0.dev20230711+cu121
accelerate-0.23.0.dev0
flash-attn-2.1.1
cuda 12.1
H100 GPUs
python-3.10
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27545/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27544/comments | https://api.github.com/repos/huggingface/transformers/issues/27544/events | https://github.com/huggingface/transformers/issues/27544 | 1,997,513,585 | I_kwDOCUB6oc53D6Nx | 27,544 | Empty string token gets added for certain numbers with T5 and LLama for fast and slow tokenizers | {
"login": "SumanthRH",
"id": 39546518,
"node_id": "MDQ6VXNlcjM5NTQ2NTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/39546518?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SumanthRH",
"html_url": "https://github.com/SumanthRH",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! As you can read[ from the documentation](https://huggingface.co/docs/transformers/main/model_doc/llama#transformers.LlamaTokenizer.legacy), if you do not set the flag `legacy` to `False`, you won't get the fix for the slow tokenizers. For Fast tokenizers, this can already be fixed by doing:\r\n```python \r\nf... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
`transformers` 4.35.0, `python` 3.11.5
Can also reproduce on the latest dev version 4.36.0.dev0
### Who can help?
@ArthurZucker
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27544/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27543/comments | https://api.github.com/repos/huggingface/transformers/issues/27543/events | https://github.com/huggingface/transformers/pull/27543 | 1,997,359,560 | PR_kwDOCUB6oc5fqCjm | 27,543 | Generate: fix flaky tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,700 | 1,700 | 1,700 | MEMBER | null | # What does this PR do?
Fixes two flaky tests:
1. `tests/models/clvp/test_modeling_clvp.py::ClvpDecoderTest::test_constrained_beam_search_generate` was failing at a ~3% rate because the range for which we were sampling tokens to force in constrained beam search was based on the random input_ids and sometimes invali... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27543/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27543",
"html_url": "https://github.com/huggingface/transformers/pull/27543",
"diff_url": "https://github.com/huggingface/transformers/pull/27543.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27543.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27542/comments | https://api.github.com/repos/huggingface/transformers/issues/27542/events | https://github.com/huggingface/transformers/issues/27542 | 1,997,191,846 | I_kwDOCUB6oc53Crqm | 27,542 | trainer fails when using torchrun for distributed run of transformer model wrapped with PEFT without using device_map | {
"login": "Ahmed-Roushdy",
"id": 68569076,
"node_id": "MDQ6VXNlcjY4NTY5MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/68569076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ahmed-Roushdy",
"html_url": "https://github.com/Ahmed-Roushdy",
"followers_url": "https://api.githu... | [] | open | false | {
"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/... | [
{
"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://a... | [
"@muellerz @pacman100, could you help me with above issue?. I would appreciate your help",
"Gentle ping @pacman100 @muellerzr ",
"Hello, when using FSDP+PEFT, you need to have a different Auto wrap policy. See these lines on how to do that: https://github.com/pacman100/DHS-LLM-Workshop/blob/3c34a1215d7b5f73bb4a... | 1,700 | 1,707 | null | NONE | null | ### System Info
- `transformers` version: 4.33.3 [1/1854]
- Platform: Linux-5.8.0-59-generic-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.19.2
- Safetensors ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27542/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27541/comments | https://api.github.com/repos/huggingface/transformers/issues/27541/events | https://github.com/huggingface/transformers/pull/27541 | 1,997,060,916 | PR_kwDOCUB6oc5fpAZm | 27,541 | Disable docker image build job `latest-pytorch-amd` for now | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"cc @echarlaix (FYI)."
] | 1,700 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
This is currently failing, and we need Guillaume's help from infra team.
Currently, if `setup.py` is modified, this job would be triggered and then fail. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27541/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27541",
"html_url": "https://github.com/huggingface/transformers/pull/27541",
"diff_url": "https://github.com/huggingface/transformers/pull/27541.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27541.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27540/comments | https://api.github.com/repos/huggingface/transformers/issues/27540/events | https://github.com/huggingface/transformers/pull/27540 | 1,997,046,195 | PR_kwDOCUB6oc5fo9KV | 27,540 | Generate: improve assisted generation tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"@amyeroberts `is_decoder` is a poorly named flag ๐
contrarily to `is_encoder_decoder`, which controls many aspects in generation, `is_decoder` only controls one thing AFAIK -- whether to enable `use_cache` ([example](https://github.com/huggingface/transformers/blob/651408a077f842e76e75bfc7d02b8ac38eeb6480/src/tra... | 1,700 | 1,700 | 1,700 | MEMBER | null | # What does this PR do?
Strengthens the test suite for assisted generation. With these modifications, previously found API problems will be properly caught in advance.
## Post mortem
### Why weren't API problems caught before?
Assisted generation has two loops: the loop to obtain the candidate tokens from the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27540/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27540/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27540",
"html_url": "https://github.com/huggingface/transformers/pull/27540",
"diff_url": "https://github.com/huggingface/transformers/pull/27540.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27540.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27539/comments | https://api.github.com/repos/huggingface/transformers/issues/27539/events | https://github.com/huggingface/transformers/pull/27539 | 1,996,944,063 | PR_kwDOCUB6oc5fomfX | 27,539 | 4D `attention_mask` support | {
"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 | [] | [
"Generally, I don't have a problem with allowing to pass 4D attention masks! @poedator can you explain your use case a little bit for why you want to pass 4d attention masks? ",
"@patrickvonplaten \r\nhere is a use example:\r\nSuppose one does beam search and has a starting prefix with tokens `11 22 33` in 4 beam... | 1,700 | 1,708 | 1,702 | CONTRIBUTOR | null | This is implementation for feature request from #27493 [custom 4d attention_mask as transformers .forward() argument](https://github.com/huggingface/transformers/issues/27493).
1) Allowing 4d attention masks to pass thru `_prepare_4d_causal_attention_mask()` intact
2) support in OPT (need to build custom `positions... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27539/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/27539/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27539",
"html_url": "https://github.com/huggingface/transformers/pull/27539",
"diff_url": "https://github.com/huggingface/transformers/pull/27539.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27539.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27538/comments | https://api.github.com/repos/huggingface/transformers/issues/27538/events | https://github.com/huggingface/transformers/issues/27538 | 1,996,781,817 | I_kwDOCUB6oc53BHj5 | 27,538 | New Model Architecture | {
"login": "LegallyCoder",
"id": 119312866,
"node_id": "U_kgDOBxyR4g",
"avatar_url": "https://avatars.githubusercontent.com/u/119312866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LegallyCoder",
"html_url": "https://github.com/LegallyCoder",
"followers_url": "https://api.github.com/use... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"And i completed the architecture . But i must edit the code. And i have few questions. \r\nDo we write the task classes or does someone else?\r\nWhat features should we pay attention to in the files?\r\nSorry, this will be my first PR.",
"Hi @LegallyCoder, thanks for raising an issue! \r\n\r\nThis is a question ... | 1,700 | 1,700 | 1,700 | NONE | null | ### Model description
I am writing a new model architecture. Its implementation is almost complete. I'm wondering how to integrate it into the hub. I forked the transformers lib and tried copying a model architecture, but it didn't work and it gave too many errors. How are things going here?
### Open source status
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27537/comments | https://api.github.com/repos/huggingface/transformers/issues/27537/events | https://github.com/huggingface/transformers/issues/27537 | 1,996,716,822 | I_kwDOCUB6oc53A3sW | 27,537 | Allow script tracing DINOv2 | {
"login": "Danil328",
"id": 11178882,
"node_id": "MDQ6VXNlcjExMTc4ODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/11178882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Danil328",
"html_url": "https://github.com/Danil328",
"followers_url": "https://api.github.com/users/Dan... | [] | closed | false | null | [] | [
"I have exception now:\r\n<img width=\"1153\" alt=\"image\" src=\"https://github.com/huggingface/transformers/assets/11178882/ce61c11a-9247-4045-8da4-5fdd9d3bb899\">\r\n",
"Hi @Danil328, thanks for raising this issue! \r\n\r\nCould you make sure to follow the [issue template](https://github.com/huggingface/transf... | 1,700 | 1,700 | 1,700 | NONE | null | I found PR to dinov2 "Pass scale factor as a tuple of floats to F.interpolate() to allow tracing."
https://github.com/facebookresearch/dinov2/pull/247
https://github.com/huggingface/transformers/blob/85fde09c97213bf7e8625f83096bb2a9e183f987/src/transformers/models/dinov2/modeling_dinov2.py#L104C19-L104C19
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27537/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27536/comments | https://api.github.com/repos/huggingface/transformers/issues/27536/events | https://github.com/huggingface/transformers/issues/27536 | 1,996,618,828 | I_kwDOCUB6oc53AfxM | 27,536 | Adding a model | {
"login": "Ranitbag007",
"id": 133197492,
"node_id": "U_kgDOB_ButA",
"avatar_url": "https://avatars.githubusercontent.com/u/133197492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ranitbag007",
"html_url": "https://github.com/Ranitbag007",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @Ranitbag007, \r\n\r\nIf you're wanting general instructions, you can find the information in our documentation. [This section details](https://huggingface.co/docs/transformers/v4.15.0/model_sharing#add-new-files-to-your-model-repo) adding a tokenizer to the hub. [This page](https://huggingface.co/docs/transfor... | 1,700 | 1,700 | null | NONE | null | ### Model description
I have built a llm and can you tell me how to register my own tokenizer with huggingface hub?
### Open source status
- [x] The model implementation is available
- [ ] The model weights are available
### Provide useful links for the implementation
_No response_ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27536/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27535/comments | https://api.github.com/repos/huggingface/transformers/issues/27535/events | https://github.com/huggingface/transformers/issues/27535 | 1,996,545,559 | I_kwDOCUB6oc53AN4X | 27,535 | Contrastive Image Text example deletes `image_column` because it is doesnt have a corresponding argument in `VisionTextDualEncoderModel.forward` | {
"login": "luisblanche-mirakl",
"id": 144011644,
"node_id": "U_kgDOCJVxfA",
"avatar_url": "https://avatars.githubusercontent.com/u/144011644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luisblanche-mirakl",
"html_url": "https://github.com/luisblanche-mirakl",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @luisblanche-mirakl, thanks for raising this issue! \r\n\r\nCould you confirm the command line command being used to run the script - is it with the default values [here](https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text#train-the-model)?",
"Hi @amyeroberts thansk ... | 1,700 | 1,703 | 1,703 | NONE | null | ## Configuration
Using `transformers==4.35.0` and `datasets==2.14.7`
## Problem Statement:
Running the example in [examples/pytorch/contrastive-image-text/run_clip.py](examples/pytorch/contrastive-image-text/run_clip.py) (tried with the COCO dataset from the example as well as with my own dataset)
The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27535/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27534/comments | https://api.github.com/repos/huggingface/transformers/issues/27534/events | https://github.com/huggingface/transformers/issues/27534 | 1,996,544,899 | I_kwDOCUB6oc53ANuD | 27,534 | transformers import_utils.py module 'torch' has no attribute 'fx' | {
"login": "R0k1e",
"id": 105703383,
"node_id": "U_kgDOBkzn1w",
"avatar_url": "https://avatars.githubusercontent.com/u/105703383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/R0k1e",
"html_url": "https://github.com/R0k1e",
"followers_url": "https://api.github.com/users/R0k1e/followers",
... | [] | closed | false | null | [] | [
"Hi @R0k1e, thanks for raising this issue! \r\n\r\nSo that we can best help you could you provide some more information: \r\n\r\n* The running environment: run `transformers-cli env` in the terminal and copy-paste the output\r\n\r\n> install the llama according to its readme\r\n\r\n* Could you link to the README? W... | 1,700 | 1,702 | 1,700 | NONE | null | ### System Info
env: transformers=4.35.2, torch = 1.12.1+cu113, Ubuntu 20.04.6 LTS python=3.10
when I write this sentence "from transformers import LlamaForCausalLM, LlamaTokenizer, AutoTokenizer, AutoModelForCausalLM", It tell me it cant find fx in torch. I inspect the doc of torch version and found there is fx mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27534/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/27534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27533/comments | https://api.github.com/repos/huggingface/transformers/issues/27533/events | https://github.com/huggingface/transformers/pull/27533 | 1,996,214,229 | PR_kwDOCUB6oc5fmGRW | 27,533 | Add random seed for generation | {
"login": "mokeyish",
"id": 16131917,
"node_id": "MDQ6VXNlcjE2MTMxOTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/16131917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mokeyish",
"html_url": "https://github.com/mokeyish",
"followers_url": "https://api.github.com/users/mok... | [] | closed | false | null | [] | [
"Hi @mokeyish ๐ \r\n\r\nWe already have a `set_seed` function in `transformers` ([doc](https://huggingface.co/docs/transformers/v4.35.2/en/internal/trainer_utils#transformers.set_seed)), which you can call as follows for complete reproducibility:\r\n\r\n```py\r\nfrom transformers import set_seed\r\n# code to load ... | 1,700 | 1,703 | 1,703 | NONE | null | # What does this PR do?
Add a random seed to GenerationConfig, such that with the same `seed` and parameters should return the same result.
openai adds a seed parameter to control the return of the same results, making it easier to reproduce the results and troubleshoot problems.
https://github.com/openai/open... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27533/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27533",
"html_url": "https://github.com/huggingface/transformers/pull/27533",
"diff_url": "https://github.com/huggingface/transformers/pull/27533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27533.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27532/comments | https://api.github.com/repos/huggingface/transformers/issues/27532/events | https://github.com/huggingface/transformers/issues/27532 | 1,996,204,556 | I_kwDOCUB6oc52-6oM | 27,532 | Model implementation with Transformers and Hugging face hub. | {
"login": "sudhakar071",
"id": 84635136,
"node_id": "MDQ6VXNlcjg0NjM1MTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/84635136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudhakar071",
"html_url": "https://github.com/sudhakar071",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @sudhakar071, \r\n\r\nPlease refer to our documentation to see how to push models to the hub: https://huggingface.co/docs/transformers/model_sharing\r\n\r\nAnd make your model accessible using the `AutoModel` API: https://huggingface.co/docs/transformers/custom_models"
] | 1,700 | 1,700 | null | NONE | null | ### Model description
I created a model and for ease in training and fine-tuning, I need to integrate the model with Hugging face hub.
Model's tokenizer is a SentencePiece tokenizer.
Here is the model repository.
https://github.com/sudhakar-71/scratch-ai
### Open source status
- [X] The model implementation is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27532/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27531/comments | https://api.github.com/repos/huggingface/transformers/issues/27531/events | https://github.com/huggingface/transformers/issues/27531 | 1,996,189,021 | I_kwDOCUB6oc52-21d | 27,531 | Automatic mask generation with fine-tuned SAM model | {
"login": "roboticsbrian",
"id": 47238439,
"node_id": "MDQ6VXNlcjQ3MjM4NDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/47238439?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/roboticsbrian",
"html_url": "https://github.com/roboticsbrian",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nIt seems that you only saved the model files, but not the preprocessor file in the \"/tmp/finetuned.wt\" folder. Hence you also need to run the following:\r\n```\r\nfrom transformers import SamImageProcessor\r\n\r\n# assuming you fine-tuned a based-sized SAM model\r\nprocessor = SamImageProcessor.from_... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.19.0
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27531/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27530/comments | https://api.github.com/repos/huggingface/transformers/issues/27530/events | https://github.com/huggingface/transformers/issues/27530 | 1,996,168,301 | I_kwDOCUB6oc52-xxt | 27,530 | Error when set pad_token | {
"login": "AndreWanga",
"id": 114132971,
"node_id": "U_kgDOBs2H6w",
"avatar_url": "https://avatars.githubusercontent.com/u/114132971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreWanga",
"html_url": "https://github.com/AndreWanga",
"followers_url": "https://api.github.com/users/And... | [] | closed | false | null | [] | [
"Hey! Would you mind upgrading to the latest version of transformers and provide me with a reproducer of how you are initializing the model? ๐ค ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
transformer version: 4.24.0
python version: 3.9.13
### 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 (gi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27529/comments | https://api.github.com/repos/huggingface/transformers/issues/27529/events | https://github.com/huggingface/transformers/pull/27529 | 1,996,132,743 | PR_kwDOCUB6oc5fl0qE | 27,529 | docs: fix 404 link | {
"login": "panpan0000",
"id": 14049268,
"node_id": "MDQ6VXNlcjE0MDQ5MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/14049268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/panpan0000",
"html_url": "https://github.com/panpan0000",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@amyeroberts , Many thanks to your kindly review and help.\r\n\r\nBut the check was unsuccessful and I was lost.\r\n\r\n\r\ndetail log as below\r\n
the link is 404 due to URL is case sentitive.
.
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27527",
"html_url": "https://github.com/huggingface/transformers/pull/27527",
"diff_url": "https://github.com/huggingface/transformers/pull/27527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27527.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27526/comments | https://api.github.com/repos/huggingface/transformers/issues/27526/events | https://github.com/huggingface/transformers/issues/27526 | 1,995,949,383 | I_kwDOCUB6oc5298VH | 27,526 | How to preupgrade transformer cache and build the upgraded into docker image? | {
"login": "lanyusan",
"id": 56706512,
"node_id": "MDQ6VXNlcjU2NzA2NTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/56706512?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lanyusan",
"html_url": "https://github.com/lanyusan",
"followers_url": "https://api.github.com/users/lan... | [] | closed | false | null | [] | [
"Hi @lanyusan, thanks for raising this issue! \r\n\r\nCould you confirm which version of transformers you're running? \r\n\r\n> The cache for model files is preupgraded and built into container image to avoid upgrade each time a container is launched.\r\n\r\nThis is something you'd have to handle on your side in te... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
Linux ubuntu 22.04
Docker 24.05
I am not sure if this is the right place for this issue. Apology if it isn't and please direct me to the right place.
I have been using transformer in docker images that are deployed at runpod/replicate. The containers of the images could go cold and be relaunch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27526/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/27526/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27525/comments | https://api.github.com/repos/huggingface/transformers/issues/27525/events | https://github.com/huggingface/transformers/issues/27525 | 1,995,941,895 | I_kwDOCUB6oc5296gH | 27,525 | Multi-thread inference failed when load_in_8bit with chatglm2 | {
"login": "MickeyJ1002",
"id": 50672267,
"node_id": "MDQ6VXNlcjUwNjcyMjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/50672267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MickeyJ1002",
"html_url": "https://github.com/MickeyJ1002",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | [
"Hi @MickeyJ1002, thanks for raising this issue! \r\n\r\nCould you make sure to follow the issue template, and provide a minimal code snippet we can reproduce the error and the running environment it occurs in? Are my statements about the respective bugs [here](https://github.com/huggingface/transformers/issues/251... | 1,700 | 1,707 | null | NONE | null | > till persists
I have tried almost all version combinations and this problem still persists.
Only when transformers==4.31.0, [Multi-thread issue ](https://github.com/huggingface/transformers/issues/25197)was resolved but the GPU memory was not reduced [# 25228](https://github.com/huggingface/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27525/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27524/comments | https://api.github.com/repos/huggingface/transformers/issues/27524/events | https://github.com/huggingface/transformers/pull/27524 | 1,995,863,194 | PR_kwDOCUB6oc5fk7dT | 27,524 | Successfully Resolved The ZeroDivisionError Exception. | {
"login": "hi-sushanta",
"id": 93595990,
"node_id": "U_kgDOBZQpVg",
"avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hi-sushanta",
"html_url": "https://github.com/hi-sushanta",
"followers_url": "https://api.github.com/users/hi... | [] | closed | false | null | [] | [
"I'm always looking for ways to improve my code, so please don't hesitate to share your thoughts.",
"@hi-sushanta It all looks good to me! I can see there's an error on the documentation build unrelated to this PR. Last week there was a fix pushed to `main`. Could you rebase to include that and trigger another CI... | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | I noticed an issue in the issue section and addressed it by adding a small code snippet.
Fixes #27513
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27524/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27524",
"html_url": "https://github.com/huggingface/transformers/pull/27524",
"diff_url": "https://github.com/huggingface/transformers/pull/27524.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27524.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27523/comments | https://api.github.com/repos/huggingface/transformers/issues/27523/events | https://github.com/huggingface/transformers/pull/27523 | 1,995,771,935 | PR_kwDOCUB6oc5fkn02 | 27,523 | Revert "add attention_mask and position_ids in assisted model" | {
"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 | [] | [
"Hi @patrickvonplaten . Sorry for making this mistake, would you please wait for the new [PR](https://github.com/huggingface/transformers/pull/27503) merge, it should have fixed the problem.",
"@patrickvonplaten -- @jiqing-feng's PR should fix it :) The PR being reverted here did break speculative decoding for en... | 1,700 | 1,700 | 1,700 | MEMBER | null | Reverts huggingface/transformers#26892 as it breaks speculative decoding of Whisper | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27523/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27523",
"html_url": "https://github.com/huggingface/transformers/pull/27523",
"diff_url": "https://github.com/huggingface/transformers/pull/27523.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27523.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27522/comments | https://api.github.com/repos/huggingface/transformers/issues/27522/events | https://github.com/huggingface/transformers/pull/27522 | 1,995,511,033 | PR_kwDOCUB6oc5fjusJ | 27,522 | fix no sequence length models error | {
"login": "AdamLouly",
"id": 27873459,
"node_id": "MDQ6VXNlcjI3ODczNDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27873459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdamLouly",
"html_url": "https://github.com/AdamLouly",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@amyeroberts can you check this when you have time?\r\nThank you :) ",
"Hi @AdamLouly - thanks for opening this PR and apologies for the delay! \r\n\r\nI'm not sure that this is where we want to apply the fix: not having a fixed sequence length is a feature of some models. I think it would make more sense to ch... | 1,700 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Models with no sequence length limit will fail to create a dataset because the block_size will be -1.
and it will error this:
`ValueError: num_samples should be a positive integer value, but got num_samples=0`
this PR handles the case where max_position_embeddings is -1, we set block size... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27522/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27522",
"html_url": "https://github.com/huggingface/transformers/pull/27522",
"diff_url": "https://github.com/huggingface/transformers/pull/27522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27522.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27521/comments | https://api.github.com/repos/huggingface/transformers/issues/27521/events | https://github.com/huggingface/transformers/issues/27521 | 1,995,509,268 | I_kwDOCUB6oc528Q4U | 27,521 | Data Issues related to models with no sequence length limit (e.g., XLNet) | {
"login": "AdamLouly",
"id": 27873459,
"node_id": "MDQ6VXNlcjI3ODczNDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27873459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdamLouly",
"html_url": "https://github.com/AdamLouly",
"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,700 | 1,703 | 1,703 | CONTRIBUTOR | null | ### System Info
nightly transformers
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27520/comments | https://api.github.com/repos/huggingface/transformers/issues/27520/events | https://github.com/huggingface/transformers/pull/27520 | 1,995,251,529 | PR_kwDOCUB6oc5fi18A | 27,520 | docs: add docs for map, and add num procs to load_dataset | {
"login": "pphuc25",
"id": 81808312,
"node_id": "MDQ6VXNlcjgxODA4MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pphuc25",
"html_url": "https://github.com/pphuc25",
"followers_url": "https://api.github.com/users/pphuc2... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27520). All of your documentation changes will be reflected on that endpoint."
] | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | Hi,
In the .map, this do both for train and eval dataset, so I add description of .map train and eval to make them clear and logs in terminal look clear
I also add num_proc in load_dataset with the purpose of faster
I would like to cc @stevhliu review my PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27520/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27520",
"html_url": "https://github.com/huggingface/transformers/pull/27520",
"diff_url": "https://github.com/huggingface/transformers/pull/27520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27520.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27519/comments | https://api.github.com/repos/huggingface/transformers/issues/27519/events | https://github.com/huggingface/transformers/pull/27519 | 1,994,939,611 | PR_kwDOCUB6oc5fhxe6 | 27,519 | Incorrect setting for num_beams in translation and summarization examples | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,700 | 1,700 | 1,700 | MEMBER | null | Our translation and summarization examples use `None` as a default value for `num_beams`, but this is no longer valid now that we use `GenerationConfig`. This PR fixes the examples, and also adds a guard in `GenerationConfig` so that `None` values there are replaced with `1` (and a warning is thrown).
Also, while I'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27519/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27519",
"html_url": "https://github.com/huggingface/transformers/pull/27519",
"diff_url": "https://github.com/huggingface/transformers/pull/27519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27519.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27518/comments | https://api.github.com/repos/huggingface/transformers/issues/27518/events | https://github.com/huggingface/transformers/pull/27518 | 1,994,927,630 | PR_kwDOCUB6oc5fhu1g | 27,518 | translate model.md to chinese | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/26803
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/mai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27518/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27518",
"html_url": "https://github.com/huggingface/transformers/pull/27518",
"diff_url": "https://github.com/huggingface/transformers/pull/27518.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27518.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27517/comments | https://api.github.com/repos/huggingface/transformers/issues/27517/events | https://github.com/huggingface/transformers/issues/27517 | 1,994,919,889 | I_kwDOCUB6oc526A_R | 27,517 | Loss calculation bug in MBartForCausalLM | {
"login": "ZL92",
"id": 40026571,
"node_id": "MDQ6VXNlcjQwMDI2NTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/40026571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZL92",
"html_url": "https://github.com/ZL92",
"followers_url": "https://api.github.com/users/ZL92/followers"... | [] | closed | false | null | [] | [
"Hi @ZL92 \r\nThanks for bringing up this discussion\r\nPer my understanding since these models (bart, mbart), are encoder-decoder base models, the logic is slightly different, instead of shifting the labels during the calculation of the loss, they are shifted before being fed to the decoder e.g. here for Bart: htt... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
transformers==4.35.1
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [x] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27517/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27516/comments | https://api.github.com/repos/huggingface/transformers/issues/27516/events | https://github.com/huggingface/transformers/pull/27516 | 1,994,901,706 | PR_kwDOCUB6oc5fhpFN | 27,516 | FlashAttention remove Nvidia only GPUs to more generic documentation | {
"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 | [] | [
"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,700 | 1,703 | 1,703 | MEMBER | null | This PR adds AMD as a supported target GPU in the documentation relative to Flash Attention. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27516/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27516",
"html_url": "https://github.com/huggingface/transformers/pull/27516",
"diff_url": "https://github.com/huggingface/transformers/pull/27516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27516.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27515/comments | https://api.github.com/repos/huggingface/transformers/issues/27515/events | https://github.com/huggingface/transformers/pull/27515 | 1,994,836,079 | PR_kwDOCUB6oc5fhaxI | 27,515 | Fix wav2vec2 params | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [] | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Caught on the Accelerate CI, the `wav2vec2` script doesn't take in `fp16` so removes it as a test arg.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor gui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27515/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27515",
"html_url": "https://github.com/huggingface/transformers/pull/27515",
"diff_url": "https://github.com/huggingface/transformers/pull/27515.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27515.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27514/comments | https://api.github.com/repos/huggingface/transformers/issues/27514/events | https://github.com/huggingface/transformers/issues/27514 | 1,994,721,286 | I_kwDOCUB6oc525QgG | 27,514 | Add new Model - SegGPT: Segmenting Everything In Context | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [
"Hey, would you mind adding a link to the paper, the code and the released checkpoints? ๐ ",
"@ArthurZucker \r\n\r\n- [Paper](https://arxiv.org/pdf/2304.03284.pdf)\r\n- [Code](https://github.com/baaivision/Painter/tree/main/SegGPT/SegGPT_inference)\r\n- [Checkpoint](https://huggingface.co/BAAI/SegGPT/blob/main/s... | 1,700 | 1,701 | null | CONTRIBUTOR | null | ### Model description
Add new Model - SegGPT: Segmenting Everything In Context
The model code and weights are available.
- Paper : https://arxiv.org/pdf/2304.03284.pdf
- Code : https://github.com/baaivision/Painter/tree/main/SegGPT/SegGPT_inference
- Weights : https://huggingface.co/BAAI/SegGPT/blob/main/se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27514/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27513/comments | https://api.github.com/repos/huggingface/transformers/issues/27513/events | https://github.com/huggingface/transformers/issues/27513 | 1,994,385,922 | I_kwDOCUB6oc523-oC | 27,513 | ZeroDivisionError in NotebookProgressBar | {
"login": "pete88b",
"id": 11458288,
"node_id": "MDQ6VXNlcjExNDU4Mjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/11458288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pete88b",
"html_url": "https://github.com/pete88b",
"followers_url": "https://api.github.com/users/pete88... | [] | closed | false | null | [] | [
"Hi @pete88b please feel free to open a PR and ping me for review! ",
"Hi @hi-sushanta #27524 fixes `update` but misses the fix to `self.label += f\", {1/self.average_time_per_item:.2f} it/s\"` in `update_bar` - there's more detail in the linked notebook in case it helps.\r\nif it's not too late, could you update... | 1,700 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.35.1
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.9.0
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27513/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27512/comments | https://api.github.com/repos/huggingface/transformers/issues/27512/events | https://github.com/huggingface/transformers/pull/27512 | 1,994,371,746 | PR_kwDOCUB6oc5ff1kT | 27,512 | Make some jobs run on the GitHub Actions runners | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,700 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
Our self-hosted runners also have `ubuntu-latest` labels, and the jobs sometimes are dispatched to those runners which has missing `pip` issue.
This PR uses `ubuntu-22.04` to avoid this. Later, we should probably change the labels of our hosted runners to avoid such collision. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27512/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/27512/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27512",
"html_url": "https://github.com/huggingface/transformers/pull/27512",
"diff_url": "https://github.com/huggingface/transformers/pull/27512.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27512.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27511/comments | https://api.github.com/repos/huggingface/transformers/issues/27511/events | https://github.com/huggingface/transformers/pull/27511 | 1,994,315,216 | PR_kwDOCUB6oc5ffpTX | 27,511 | [`CircleCI`] skip test_assisted_decoding_sample for everyone | {
"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._",
"@ArthurZucker [this PR](https://github.com/huggingface/transformers/pull/27503) should fix it!\r\n\r\nI decided to rely on the tests instead of asking the contributor to double-check, but forgot that the tests were stochastic -- they... | 1,700 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
cc @gante I'm having a look at why this is failing but skipping for now. (standalone works well) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27511/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27511",
"html_url": "https://github.com/huggingface/transformers/pull/27511",
"diff_url": "https://github.com/huggingface/transformers/pull/27511.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27511.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27510/comments | https://api.github.com/repos/huggingface/transformers/issues/27510/events | https://github.com/huggingface/transformers/pull/27510 | 1,994,220,737 | PR_kwDOCUB6oc5ffU31 | 27,510 | Update modeling_llama.py | {
"login": "askxiaozhang",
"id": 112556925,
"node_id": "U_kgDOBrV7fQ",
"avatar_url": "https://avatars.githubusercontent.com/u/112556925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/askxiaozhang",
"html_url": "https://github.com/askxiaozhang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @askxiaozhang, \r\n\r\nSo that we can understand whether this is the best fix for the bug - could you share your running environment when encountering this bug (run `transformers-cli env` in the terminal and copy-paste the output) as well as a minimal code snippet to reproduce the error? \r\n\r\nNote: any impor... | 1,700 | 1,703 | 1,703 | NONE | null | When I runned tokenizer.apply_chat_template in runing DeepSeek-Coder,happened this bug.So I Fixed about:
Traceback (most recent call last):
File "/data/jiaqi/DeepSeek-Coder/main.py", line 79, in <module>
model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True).cuda()
File "/data/anac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27510/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27510",
"html_url": "https://github.com/huggingface/transformers/pull/27510",
"diff_url": "https://github.com/huggingface/transformers/pull/27510.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27510.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27509/comments | https://api.github.com/repos/huggingface/transformers/issues/27509/events | https://github.com/huggingface/transformers/pull/27509 | 1,994,195,689 | PR_kwDOCUB6oc5ffPee | 27,509 | [`pytest`] Avoid flash attn test marker warning | {
"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 | [] | [] | 1,700 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
Adds the `flash_attn_test` marker to the `pyproject.toml` to remove the following warning:
```python
tests/test_modeling_common.py:3131
/home/arthur/transformers/tests/test_modeling_common.py:3131: PytestUnknownMarkWarning: Unknown pytest.mark.flash_attn_test - is this a typo? You can regis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27509/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27509",
"html_url": "https://github.com/huggingface/transformers/pull/27509",
"diff_url": "https://github.com/huggingface/transformers/pull/27509.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27509.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27508/comments | https://api.github.com/repos/huggingface/transformers/issues/27508/events | https://github.com/huggingface/transformers/pull/27508 | 1,994,187,558 | PR_kwDOCUB6oc5ffNsI | 27,508 | [`CI-test_torch`] skip test_tf_from_pt_safetensors and `test_assisted_decoding_sample` | {
"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_27508). All of your documentation changes will be reflected on that endpoint."
] | 1,700 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
skip test_tf_from_pt_safetensors and test_assisted_decoding_sample | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27508/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27508",
"html_url": "https://github.com/huggingface/transformers/pull/27508",
"diff_url": "https://github.com/huggingface/transformers/pull/27508.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27508.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27507/comments | https://api.github.com/repos/huggingface/transformers/issues/27507/events | https://github.com/huggingface/transformers/issues/27507 | 1,994,185,630 | I_kwDOCUB6oc523Nue | 27,507 | The results of tensorrt and model.generate | {
"login": "lin-lcx",
"id": 82073001,
"node_id": "MDQ6VXNlcjgyMDczMDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/82073001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lin-lcx",
"html_url": "https://github.com/lin-lcx",
"followers_url": "https://api.github.com/users/lin-lc... | [] | closed | false | null | [] | [] | 1,700 | 1,700 | 1,700 | NONE | null | Torch's model inference is using
```
model = VisionEncoderDecoderModel.from_pretrained(
nougat-base)
outputs = model.generate(
pixel_values.to(device),
decoder_input_ids=decoder_input_ids.to(device),
# max_length=model.decoder.config.max_length,
early_stopping=True,
pad_token_id=tokenizer.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27507/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27506/comments | https://api.github.com/repos/huggingface/transformers/issues/27506/events | https://github.com/huggingface/transformers/pull/27506 | 1,994,138,265 | PR_kwDOCUB6oc5ffC0e | 27,506 | Update spelling mistake | {
"login": "LimJing7",
"id": 3232421,
"node_id": "MDQ6VXNlcjMyMzI0MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3232421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LimJing7",
"html_url": "https://github.com/LimJing7",
"followers_url": "https://api.github.com/users/LimJi... | [] | closed | false | null | [] | [] | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
thoroughly was misspelled thouroughly
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27506/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27506",
"html_url": "https://github.com/huggingface/transformers/pull/27506",
"diff_url": "https://github.com/huggingface/transformers/pull/27506.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27506.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27505/comments | https://api.github.com/repos/huggingface/transformers/issues/27505/events | https://github.com/huggingface/transformers/issues/27505 | 1,994,126,103 | I_kwDOCUB6oc522_MX | 27,505 | TypeError: '>' not supported between instances of 'NoneType' and 'int' | {
"login": "ChristophKnapp",
"id": 3720355,
"node_id": "MDQ6VXNlcjM3MjAzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3720355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChristophKnapp",
"html_url": "https://github.com/ChristophKnapp",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"--max_train_samples\r\n500\r\n--max_eval_samples\r\n500\r\n--max_predict_samples\r\n500\r\n\r\nreduces waiting time for this error to appear to a minute. This works for me, further reduction does not seem to help much. ",
"cc @Rocketknight1 as it seems to be failing on a TF script ",
"Hi @ChristophKnapp, can y... | 1,700 | 1,704 | 1,700 | NONE | null | ### System Info
2023-11-15 07:10:34.350171: I tensorflow/core/util/port.cc:111] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-11-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27505/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27504/comments | https://api.github.com/repos/huggingface/transformers/issues/27504/events | https://github.com/huggingface/transformers/issues/27504 | 1,994,018,745 | I_kwDOCUB6oc522k-5 | 27,504 | Needed disk space of RAG model | {
"login": "wangjinghao123",
"id": 69663558,
"node_id": "MDQ6VXNlcjY5NjYzNTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/69663558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wangjinghao123",
"html_url": "https://github.com/wangjinghao123",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @wangjinghao123, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"This issue has been automatically marked as stale because it has not had recent activity. If you t... | 1,700 | 1,703 | 1,703 | NONE | null | ### System Info
Hi, I'm trying to finetune RAG model. I have downloaded the wiki_dpr dataset in advance, but during the finetuning the following occured.
Loading index from wiki_dpr with index name exact
WARNING:datasets.builder:Using custom data configuration psgs_w100.nq.exact-f44336eb78506dd9
Traceback (most r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27503/comments | https://api.github.com/repos/huggingface/transformers/issues/27503/events | https://github.com/huggingface/transformers/pull/27503 | 1,993,876,092 | PR_kwDOCUB6oc5feKZF | 27,503 | fix assisted decoding assistant model inputs | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@jiqing-feng If possible, I would also like to revert [these temporary changes](https://github.com/huggingface/transformers/pull/27511) in this PR :)",
"๐ค thanks for the fix we had to skip it in #27508 as well! (Only the relevant test)",
"Hi @gante @ArthurZucker . I think I have fixed all the comments and als... | 1,700 | 1,702 | 1,701 | CONTRIBUTOR | null | In the last [PR](https://github.com/huggingface/transformers/pull/26892), we didn't consider the `decoder_attention_mask` while updating `model_kwargs`, see [here](https://github.com/huggingface/transformers/blob/main/src/transformers/generation/utils.py#L4742-L4747). This PR has fixed it.
Furthermore, I also use a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27503",
"html_url": "https://github.com/huggingface/transformers/pull/27503",
"diff_url": "https://github.com/huggingface/transformers/pull/27503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27503.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27502/comments | https://api.github.com/repos/huggingface/transformers/issues/27502/events | https://github.com/huggingface/transformers/issues/27502 | 1,993,848,739 | I_kwDOCUB6oc5217ej | 27,502 | Inconsistent SequenceClassfication Behavior for Padding Tokens. | {
"login": "Ali1858",
"id": 13449847,
"node_id": "MDQ6VXNlcjEzNDQ5ODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/13449847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ali1858",
"html_url": "https://github.com/Ali1858",
"followers_url": "https://api.github.com/users/Ali185... | [] | closed | false | null | [] | [
"I tested the model with bfloat16, 4bit (nf4) and original precision (float16?), for all the datatypes there is inconsistency in predicted logits. Is there a way I can avoid this?\r\n\r\nI have seen this issue with `causal_lm` also but with sequence classification it is even more noticeable and impacts the accuracy... | 1,700 | 1,700 | 1,700 | NONE | null | ### System Info
2023-11-15 00:56:45,576] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-1046-kvm-x86_64-with-glibc2.35
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27501/comments | https://api.github.com/repos/huggingface/transformers/issues/27501/events | https://github.com/huggingface/transformers/pull/27501 | 1,993,759,582 | PR_kwDOCUB6oc5fdxXk | 27,501 | Bump aiohttp from 3.8.5 to 3.8.6 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 | [] | [
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.\n\nIf you change your mind, j... | 1,700 | 1,700 | 1,700 | CONTRIBUTOR | null | Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.5 to 3.8.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/aio-libs/aiohttp/releases">aiohttp's releases</a>.</em></p>
<blockquote>
<h2>3.8.6</h2>
<h2>Security bugfixes</h2>
<ul>
<li>
<p>Upgraded the vendored copy ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27501",
"html_url": "https://github.com/huggingface/transformers/pull/27501",
"diff_url": "https://github.com/huggingface/transformers/pull/27501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27501.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27500/comments | https://api.github.com/repos/huggingface/transformers/issues/27500/events | https://github.com/huggingface/transformers/pull/27500 | 1,993,505,399 | PR_kwDOCUB6oc5fc5RY | 27,500 | Raise error when quantizing a quantized model | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [] | 1,699 | 1,700 | 1,700 | MEMBER | null | # What does this PR do ?
This PR fixes the quantization logic, so that we raise an error when a user tries to quantize an already quantized model with a different scheme.
Fixes #26695
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27500",
"html_url": "https://github.com/huggingface/transformers/pull/27500",
"diff_url": "https://github.com/huggingface/transformers/pull/27500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27500.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27499/comments | https://api.github.com/repos/huggingface/transformers/issues/27499/events | https://github.com/huggingface/transformers/pull/27499 | 1,993,456,631 | PR_kwDOCUB6oc5fcugA | 27,499 | Fixing the failure of models without max_position_embeddings attribute. | {
"login": "AdamLouly",
"id": 27873459,
"node_id": "MDQ6VXNlcjI3ODczNDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27873459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdamLouly",
"html_url": "https://github.com/AdamLouly",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@amyeroberts when can we merge this? I have found another issue and we need this to be merged first before fixing the other one.",
"@AdamLouly - we can merge now :) "
] | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | **Changes Made**
Added handling for configurations that may not have the max_position_embeddings attribute.
Introduced a default value of 1024 for max_position_embeddings when it's missing in the configuration.
**Motivation and Context**
Fixing this issue: https://github.com/huggingface/transformers/issues/27... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27499",
"html_url": "https://github.com/huggingface/transformers/pull/27499",
"diff_url": "https://github.com/huggingface/transformers/pull/27499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27498/comments | https://api.github.com/repos/huggingface/transformers/issues/27498/events | https://github.com/huggingface/transformers/issues/27498 | 1,993,455,247 | I_kwDOCUB6oc520baP | 27,498 | Models with no max_pos_embeddings will fail on run_clm.py | {
"login": "AdamLouly",
"id": 27873459,
"node_id": "MDQ6VXNlcjI3ODczNDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27873459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdamLouly",
"html_url": "https://github.com/AdamLouly",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @AdamLouly - thanks for reporting an opening a PR to fix!"
] | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
In run_clm.py we set up block_size to config.max_position_embeddings, assuming that all configs will have max_position_embeddings.
some models does not have max_position_embeddings as a part of their definition so they will fail when trying to train using run_clm.py
bloom is one example.
where y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27498/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27497/comments | https://api.github.com/repos/huggingface/transformers/issues/27497/events | https://github.com/huggingface/transformers/issues/27497 | 1,993,382,573 | I_kwDOCUB6oc520Jqt | 27,497 | Trainer memory usage increasing a lot during evaluation steps when using Flan-T5 models with 8-bit/4-bit quantisation | {
"login": "guilherme-pombo",
"id": 22048961,
"node_id": "MDQ6VXNlcjIyMDQ4OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22048961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guilherme-pombo",
"html_url": "https://github.com/guilherme-pombo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @BenjaminBossan ",
"Turns out this was happening because I was not defining the:\r\n\r\n_per_device_eval_batch_size_\r\n\r\nparameter when initialising the Trainer and it was being set to the default value on Trainer, which is 8. When I define it separately there is no issue now. Apologies for the confusion. ... | 1,699 | 1,700 | 1,700 | NONE | null | ### System Info
Hello :) here are the details of my system:
Python: 3.8.10
Transformers version: 4.34.1
Bitsandbytes version: 0.41.2
Peft version: 0.6.2
CUDA Version: 12.0
When using T5-XXL with 8-bit or 4-bit quantisation and Hugging Face trainer the model memory consumption will be reasonable. However... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27497/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27496/comments | https://api.github.com/repos/huggingface/transformers/issues/27496/events | https://github.com/huggingface/transformers/issues/27496 | 1,993,285,966 | I_kwDOCUB6oc52zyFO | 27,496 | Plain-DETR | {
"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": ""
},
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-Mt... | open | false | null | [] | [
"@amyeroberts @rafaelpadilla this open for contribution?",
"@kamathis4 Sure! If you'd like to contribute this model feel free to open a PR and ping us when ready for review :)"
] | 1,699 | 1,701 | null | CONTRIBUTOR | null | ### Model description
Plain-DETR is an object detector that maintains a "plain" nature: using a single-scale feature map and global cross-attention calculations without specific locality constraints.
In contrast to previous leading DETR-based detectors that reintroduce architectural inductive biases of multi-scale a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27496/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27496/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27495/comments | https://api.github.com/repos/huggingface/transformers/issues/27495/events | https://github.com/huggingface/transformers/pull/27495 | 1,993,187,539 | PR_kwDOCUB6oc5fbzaC | 27,495 | translate deepspeed.md to chinese | {
"login": "jiaqiw09",
"id": 60021713,
"node_id": "MDQ6VXNlcjYwMDIxNzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiaqiw09",
"html_url": "https://github.com/jiaqiw09",
"followers_url": "https://api.github.com/users/jia... | [] | closed | false | null | [] | [
"@stevhliu\r\n\r\nHi, \r\n\r\nI just translate deepspeed doc. As this part is such vital and hard to be fully correctly translated, would you mind having a double check? I think many people will use this function, so it' s best to provide a great translation work without ambiguity.\r\n\r\nBest",
"> LGTM! My Chin... | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Part of #26803
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27495/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/27495/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27495",
"html_url": "https://github.com/huggingface/transformers/pull/27495",
"diff_url": "https://github.com/huggingface/transformers/pull/27495.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27495.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27494/comments | https://api.github.com/repos/huggingface/transformers/issues/27494/events | https://github.com/huggingface/transformers/pull/27494 | 1,993,108,241 | PR_kwDOCUB6oc5fbiWh | 27,494 | [`tokenizers`] update `tokenizers` version pin | {
"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 | [] | [
"Nice at onn, going collection"
] | 1,699 | 1,701 | 1,700 | COLLABORATOR | null | # What does this PR do?
Preparing for the patch and the release of tokenizers | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27494/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27494",
"html_url": "https://github.com/huggingface/transformers/pull/27494",
"diff_url": "https://github.com/huggingface/transformers/pull/27494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27494.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27493/comments | https://api.github.com/repos/huggingface/transformers/issues/27493/events | https://github.com/huggingface/transformers/issues/27493 | 1,993,090,217 | I_kwDOCUB6oc52zCSp | 27,493 | custom 4d attention_mask as transformers .forward() argument | {
"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 | [] | [
"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,699 | 1,702 | 1,702 | CONTRIBUTOR | null | ### Feature request
somewhere inside transformers models, 2d masks are converted into 4d. I want to be able to pass my own custom 4d mask to .forward().
Presently it causes error.
CODE EXAMPLE:
```
model_name = "openlm-research/open_llama_3b"
model = transformers.AutoModelForCausalLM.from_pretrained(model_nam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27493/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27492/comments | https://api.github.com/repos/huggingface/transformers/issues/27492/events | https://github.com/huggingface/transformers/pull/27492 | 1,992,864,623 | PR_kwDOCUB6oc5fatD4 | 27,492 | [Whisper] Add sequential longform decoding | {
"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._",
"QQ: @patrickvonplaten - wouldn't concatenating and passing the whole audio as input result in exploding GPU VRAM usage?",
"Hey @patrickvonplaten would you mind adding the performance for bigger models? The worst the model is at pre... | 1,699 | 1,707 | 1,700 | MEMBER | null | # What does this PR do?
This PR adds the long-form transcription as originally proposed in the Whisper codebase: https://github.com/openai/whisper and in the paper: https://cdn.openai.com/papers/whisper.pdf
To better understand long-form transcription, please have a look at Section 4.5: Strategies for Reliable Lo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27492/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27492",
"html_url": "https://github.com/huggingface/transformers/pull/27492",
"diff_url": "https://github.com/huggingface/transformers/pull/27492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27491/comments | https://api.github.com/repos/huggingface/transformers/issues/27491/events | https://github.com/huggingface/transformers/pull/27491 | 1,992,830,981 | PR_kwDOCUB6oc5falvG | 27,491 | Add patchtst | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | [] | 1,699 | 1,699 | 1,699 | 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/27491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27491",
"html_url": "https://github.com/huggingface/transformers/pull/27491",
"diff_url": "https://github.com/huggingface/transformers/pull/27491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27491.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27490/comments | https://api.github.com/repos/huggingface/transformers/issues/27490/events | https://github.com/huggingface/transformers/pull/27490 | 1,992,771,281 | PR_kwDOCUB6oc5faYsj | 27,490 | Fix TF loading PT safetensors when weights are tied | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27490). All of your documentation changes will be reflected on that endpoint.",
"Update: I tried to get the test to trigger other models by adding `config.tie_word_embeddings=True`, but everything still seems to be passing,... | 1,699 | 1,701 | 1,701 | MEMBER | null | This PR resolves issues when loading PT safetensors files in TF.
The cause of the problem was that safetensors saving discards "aliased" tensors, weight tensors that share the same underlying weight array. This commonly occurs when models use tied weights. Many of our TF models don't support weight tying, however, a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27490/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27490",
"html_url": "https://github.com/huggingface/transformers/pull/27490",
"diff_url": "https://github.com/huggingface/transformers/pull/27490.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27490.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27489/comments | https://api.github.com/repos/huggingface/transformers/issues/27489/events | https://github.com/huggingface/transformers/pull/27489 | 1,992,768,237 | PR_kwDOCUB6oc5faYCJ | 27,489 | Update Korean tutorial for using LLMs, and refactor the nested conditional statements in hr_argparser.py | {
"login": "YeonwooSung",
"id": 30489717,
"node_id": "MDQ6VXNlcjMwNDg5NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/30489717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YeonwooSung",
"html_url": "https://github.com/YeonwooSung",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Ok for me to update and showcase Mistral7B, but I'll let @ArthurZucker or @amyeroberts comment on the code refactor :)",
"@YeonwooSung Thanks for opening this PR! \r\n\r\nCould you separate out any code changes in hf parser and image utils into a separate PR? ",
"> @YeonwooSung Thanks fo... | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
- Update the Korean docs for LLM tutorials for using Mistral7B, not Llama-v1
- Refactor several nested if-else statements for readability
## Before submitting
- [v] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [v] Did you read the [c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27489",
"html_url": "https://github.com/huggingface/transformers/pull/27489",
"diff_url": "https://github.com/huggingface/transformers/pull/27489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27489.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27488/comments | https://api.github.com/repos/huggingface/transformers/issues/27488/events | https://github.com/huggingface/transformers/pull/27488 | 1,992,728,792 | PR_kwDOCUB6oc5faPci | 27,488 | Generate: `GenerationConfig.from_pretrained` can return unused kwargs | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,699 | 1,699 | 1,699 | MEMBER | null | # What does this PR do?
I wrote the doctest for the feature described above, but forgot to add the feature itself in the original `GenerationConfig` commit ๐
Fixes the failing `pytest --doctest-modules src/transformers/generation/configuration_utils.py::transformers.generation.configuration_utils.GenerationConf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27488",
"html_url": "https://github.com/huggingface/transformers/pull/27488",
"diff_url": "https://github.com/huggingface/transformers/pull/27488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27488.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27487/comments | https://api.github.com/repos/huggingface/transformers/issues/27487/events | https://github.com/huggingface/transformers/issues/27487 | 1,992,697,178 | I_kwDOCUB6oc52xiVa | 27,487 | ERROR in run_hp_search_optuna when trying to use multi-GPU | {
"login": "sstoia",
"id": 129397487,
"node_id": "U_kgDOB7Zy7w",
"avatar_url": "https://avatars.githubusercontent.com/u/129397487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sstoia",
"html_url": "https://github.com/sstoia",
"followers_url": "https://api.github.com/users/sstoia/follower... | [] | open | 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... | [
"cc @muellerzr @pacman100 ",
"Sorry for the delay, will be looking into it over this week!",
"I'm running into the same issue. Any updates on this please?"
] | 1,699 | 1,706 | null | NONE | null | ### System Info
- transformers version: 4.28.1
- Platform: Linux-3.10.0-1160.95.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1 (False)
### Who can help?
_No response_
### Information
- [ ] The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27487/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27486/comments | https://api.github.com/repos/huggingface/transformers/issues/27486/events | https://github.com/huggingface/transformers/pull/27486 | 1,992,593,696 | PR_kwDOCUB6oc5fZyQk | 27,486 | Revert "[time series] Add PatchTST (#25927)" | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,699 | 1,699 | 1,699 | COLLABORATOR | null | The model was merged before final review and approval.
This reverts commit 2ac5b9325ed3b54950c6c61fd5838ac6e55a9fe1.
cc @kashif @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27486",
"html_url": "https://github.com/huggingface/transformers/pull/27486",
"diff_url": "https://github.com/huggingface/transformers/pull/27486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27486.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27485/comments | https://api.github.com/repos/huggingface/transformers/issues/27485/events | https://github.com/huggingface/transformers/pull/27485 | 1,992,590,534 | PR_kwDOCUB6oc5fZxkb | 27,485 | Generate: fix `ExponentialDecayLengthPenalty` doctest | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The failing test\r\n\r\n```\r\nsrc/transformers/generation/logits_process.py::transformers.generation.logits_process.WhisperTimeStampLogitsProcessor\r\n```\r\n\r\nis known on doctest CI, so good for me to merge. I already ping @sanch... | 1,699 | 1,699 | 1,699 | MEMBER | null | # What does this PR do?
The doctest was failing... but the root cause for the failure in `transformers.generation.logits_process.ExponentialDecayLengthPenalty` is the transition from `torch==2.0` to `torch==2.1` (i.e. installing `torch==2.0` fixes it).
I couldnโt find any related reference in the release notes, b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27485",
"html_url": "https://github.com/huggingface/transformers/pull/27485",
"diff_url": "https://github.com/huggingface/transformers/pull/27485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27484/comments | https://api.github.com/repos/huggingface/transformers/issues/27484/events | https://github.com/huggingface/transformers/pull/27484 | 1,992,538,416 | PR_kwDOCUB6oc5fZmNV | 27,484 | [WIP] Hard error when ignoring tensors. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27484). All of your documentation changes will be reflected on that endpoint.",
"Removing the `.clone()` [here](https://github.com/huggingface/optimum/blob/15a162824d0c5d8aa7a3d14ab6e9bb07e5732fb6/optimum/bettertransformer/... | 1,699 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
Better selection/error when saving a checkpoint.
- Find all names we should normally drop (those are in the transformers
config)
- Find all disjoint tensors (for those we can safely trigger a copy to
get rid of the sharing before saving)
- Clone those disjoint tensors getting rid ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27484/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27484",
"html_url": "https://github.com/huggingface/transformers/pull/27484",
"diff_url": "https://github.com/huggingface/transformers/pull/27484.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27484.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27483/comments | https://api.github.com/repos/huggingface/transformers/issues/27483/events | https://github.com/huggingface/transformers/pull/27483 | 1,992,456,564 | PR_kwDOCUB6oc5fZUIg | 27,483 | Set `usedforsecurity=False` in hashlib methods (FIPS compliance) | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"> Thanks! Not 100% sure we need to rely on the utility as it's a pretty small piece of code for something pretty code + not very intuitive to me that we need to import from hf hub. If others are fine good for me as well\r\n\r\nAgree it's not big piece of code. But having it from an explicitly named `insecure_hashl... | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | Solves https://github.com/huggingface/transformers/issues/27034 (cc @DueViktor).
This PR makes `transformers` FIPS-compliant regarding hashlib usage by setting `usedforsecurity=False` in every hashlib method (used for file checking, not cryptography purposes). It's based on utilities added in https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27483/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/27483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27483",
"html_url": "https://github.com/huggingface/transformers/pull/27483",
"diff_url": "https://github.com/huggingface/transformers/pull/27483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27483.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27482/comments | https://api.github.com/repos/huggingface/transformers/issues/27482/events | https://github.com/huggingface/transformers/issues/27482 | 1,992,443,239 | I_kwDOCUB6oc52wkVn | 27,482 | ERROR | index 4 is out of range | {
"login": "hdnh2006",
"id": 17271049,
"node_id": "MDQ6VXNlcjE3MjcxMDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17271049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hdnh2006",
"html_url": "https://github.com/hdnh2006",
"followers_url": "https://api.github.com/users/hdn... | [] | closed | false | null | [] | [
"Hi @hdnh2006, thanks for raising this issue! \r\n\r\nVersion `v4.26.0.dev0` indicates that the installed transformers was from the `main` branch on git. We haven't release 4.26 yet, so you can't install directly using pip and the library name.\r\n\r\nTo install from source (dev version):\r\n```\r\npip install git+... | 1,699 | 1,700 | 1,700 | NONE | null | ### System Info
Hello everyone!
I am trying to deploy [this](https://huggingface.co/facebook/musicgen-stereo-small) model for testing purposes and I am facing several issues to run it in both, locally and using huggingface endpoints.
I have followed exactly [this](https://huggingface.co/blog/run-musicgen-as-an-a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27481/comments | https://api.github.com/repos/huggingface/transformers/issues/27481/events | https://github.com/huggingface/transformers/pull/27481 | 1,992,307,603 | PR_kwDOCUB6oc5fYznq | 27,481 | [`CI-test_torch`] skip `test_tf_from_pt_safetensors` for 4 models | {
"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_27481). All of your documentation changes will be reflected on that endpoint.",
"Hello, @ArthurZucker \r\nThanks for fixing the broken tests. I have made a PR and the tests failed because of the broken tests, how could I re... | 1,699 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
Skip `test_tf_from_pt_safetensors` tests for MobileBert, TransfoXL, SPeech2text and XGLM | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27481",
"html_url": "https://github.com/huggingface/transformers/pull/27481",
"diff_url": "https://github.com/huggingface/transformers/pull/27481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27480/comments | https://api.github.com/repos/huggingface/transformers/issues/27480/events | https://github.com/huggingface/transformers/issues/27480 | 1,992,182,941 | I_kwDOCUB6oc52vkyd | 27,480 | Unable to load bart-large-cnn model correctly | {
"login": "kao73",
"id": 18687424,
"node_id": "MDQ6VXNlcjE4Njg3NDI0",
"avatar_url": "https://avatars.githubusercontent.com/u/18687424?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kao73",
"html_url": "https://github.com/kao73",
"followers_url": "https://api.github.com/users/kao73/follow... | [] | closed | false | null | [] | [
"Probably I found the issue in the source code, but not sure how to fix it correctly. Thus, no PR from me for now.\r\nThe `facebook/bart-large-cnn` has `model_type`=`bart` in the configuration file.\r\n\r\nLooking at the piece of code: https://github.com/huggingface/text-generation-inference/blob/v1.1.0/server/text... | 1,699 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-5.15.136-90.144.amzn2.x86_64-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27479/comments | https://api.github.com/repos/huggingface/transformers/issues/27479/events | https://github.com/huggingface/transformers/pull/27479 | 1,991,938,486 | PR_kwDOCUB6oc5fXk2x | 27,479 | Adding flash attention to GPT2 | {
"login": "canberk17",
"id": 33362633,
"node_id": "MDQ6VXNlcjMzMzYyNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/33362633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/canberk17",
"html_url": "https://github.com/canberk17",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@younesbelkada, thanks for the tips ! Now most of the tests are passing. However, I'm facing a challenge with to address the issues in the following test:\r\n\r\n`tests_torch failure` referring to `Speech2TextModelTest` which is puzzling since I haven't made changes to this part of the code.\r\n\r\nFor `tests_to... | 1,699 | 1,707 | 1,707 | NONE | null | # What does this PR do?
Adding Flash Attention2 to GPT2, here are my tests:

<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27479",
"html_url": "https://github.com/huggingface/transformers/pull/27479",
"diff_url": "https://github.com/huggingface/transformers/pull/27479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27479.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27478/comments | https://api.github.com/repos/huggingface/transformers/issues/27478/events | https://github.com/huggingface/transformers/pull/27478 | 1,991,929,744 | PR_kwDOCUB6oc5fXjHK | 27,478 | feat: add flash_attn 2 to bert | {
"login": "chiennv2000",
"id": 61793581,
"node_id": "MDQ6VXNlcjYxNzkzNTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/61793581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chiennv2000",
"html_url": "https://github.com/chiennv2000",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | [
"Thanks a lot for your review and your suggestions @younesbelkada.\r\nBut I don't really familiar with ```make fix-copies``` command. Can you guide me on how to do that?\r\n",
"2) I appreciate your feedback. I'm happy to receive your assistance in implementing these changes. \r\nIf you could help me with other ar... | 1,699 | 1,707 | null | NONE | null | Feat: Add flash attention option for BERT
Usage:
model = BertModel.from_pretrained('bert-base-uncased', torch_dtype=torch.bfloat16, use_flash_attention_2=True)
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27478",
"html_url": "https://github.com/huggingface/transformers/pull/27478",
"diff_url": "https://github.com/huggingface/transformers/pull/27478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27478.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27477/comments | https://api.github.com/repos/huggingface/transformers/issues/27477/events | https://github.com/huggingface/transformers/pull/27477 | 1,991,318,862 | PR_kwDOCUB6oc5fVdaD | 27,477 | Update processor mapping for hub snippets | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,699 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
Updates the processor mapping so that `AutoImageProcessor` is selected for vision models rather than the deprecated `AutoFeatureExtractor`. This should resolve auto-generated snippets on the hub that still show using old classes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27477",
"html_url": "https://github.com/huggingface/transformers/pull/27477",
"diff_url": "https://github.com/huggingface/transformers/pull/27477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27476/comments | https://api.github.com/repos/huggingface/transformers/issues/27476/events | https://github.com/huggingface/transformers/pull/27476 | 1,991,276,505 | PR_kwDOCUB6oc5fVT_w | 27,476 | [Docs] PatchTST doc improvements | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27476). All of your documentation changes will be reflected on that endpoint."
] | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
updates the docs to the structure of #26876
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27476",
"html_url": "https://github.com/huggingface/transformers/pull/27476",
"diff_url": "https://github.com/huggingface/transformers/pull/27476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27475/comments | https://api.github.com/repos/huggingface/transformers/issues/27475/events | https://github.com/huggingface/transformers/issues/27475 | 1,991,102,507 | I_kwDOCUB6oc52rdAr | 27,475 | [nougat] Unable to use nougat models with `image-to-text` pipeline | {
"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... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @xenova,\r\n\r\nThis appears to be a config issue from their side.\r\nHere is a quick fix.\r\n\r\n```python\r\nfrom transformers import pipeline\r\nfrom transformers import AutoFeatureExtractor\r\n\r\npipe = pipeline(\r\n task='image-to-text', \r\n model='facebook/nougat-base', \r\n feature_extractor=A... | 1,699 | 1,707 | 1,707 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27475/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/27475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27474/comments | https://api.github.com/repos/huggingface/transformers/issues/27474/events | https://github.com/huggingface/transformers/pull/27474 | 1,991,073,395 | PR_kwDOCUB6oc5fUnSq | 27,474 | [DataCollator] Warn on identical `eos_token_id` and `pad_token_id` | {
"login": "MustSave",
"id": 58774251,
"node_id": "MDQ6VXNlcjU4Nzc0MjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/58774251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MustSave",
"html_url": "https://github.com/MustSave",
"followers_url": "https://api.github.com/users/Mus... | [] | closed | false | null | [] | [
"> Hi @MustSave - thanks for opening this PR!\r\n> \r\n> This warning should be included in the data collator responsible for collating for multi-turn learning, rather than the parent class.\r\n\r\nThank you for your comment. I will make the modifications to include a warning in the relevant class."
] | 1,699 | 1,699 | 1,699 | NONE | null | # What does this PR do?
This PR displays a warning message when the values of `pad_token_id` and `eos_token_id` are identical. This is to prevent unexpected behavior during multi-turn training.
After the multi-turn data training with [DataCollatorForCompletionOnlyLM](https://github.com/huggingface/trl/blob/9e9f0243... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27474",
"html_url": "https://github.com/huggingface/transformers/pull/27474",
"diff_url": "https://github.com/huggingface/transformers/pull/27474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27474.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27473/comments | https://api.github.com/repos/huggingface/transformers/issues/27473/events | https://github.com/huggingface/transformers/issues/27473 | 1,990,941,136 | I_kwDOCUB6oc52q1nQ | 27,473 | Add initial_prompt | {
"login": "tinderlord",
"id": 75577186,
"node_id": "MDQ6VXNlcjc1NTc3MTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/75577186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tinderlord",
"html_url": "https://github.com/tinderlord",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @tinderlord - thanks for opening an issue! \r\n\r\nCould you provide a bit more information about the feature - ideally with an example code snippet of how it would be used and details about the models this would apply to (I'm assuming whisper?)\r\n\r\ncc @sanchit-gandhi ",
"Note that this is available in Tra... | 1,699 | 1,704 | 1,704 | NONE | null | ### Feature request
This parameter will allow a string variable to be passed when encoding
### Motivation
To allow better transcription based on prompt and audio
### Your contribution
Not at the moment | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27473/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/27473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27472/comments | https://api.github.com/repos/huggingface/transformers/issues/27472/events | https://github.com/huggingface/transformers/pull/27472 | 1,990,875,281 | PR_kwDOCUB6oc5fT8Iy | 27,472 | [FORKED] Adding EncT5 model for non-autoregressive tasks | {
"login": "hackyon",
"id": 1557853,
"node_id": "MDQ6VXNlcjE1NTc4NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hackyon",
"html_url": "https://github.com/hackyon",
"followers_url": "https://api.github.com/users/hackyon/... | [] | closed | false | null | [] | [
"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,699 | 1,704 | 1,704 | 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/27472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27472/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27472",
"html_url": "https://github.com/huggingface/transformers/pull/27472",
"diff_url": "https://github.com/huggingface/transformers/pull/27472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27471/comments | https://api.github.com/repos/huggingface/transformers/issues/27471/events | https://github.com/huggingface/transformers/pull/27471 | 1,990,810,819 | PR_kwDOCUB6oc5fTuE6 | 27,471 | Add madlad-400 MT models | {
"login": "jbochi",
"id": 292712,
"node_id": "MDQ6VXNlcjI5MjcxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/292712?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbochi",
"html_url": "https://github.com/jbochi",
"followers_url": "https://api.github.com/users/jbochi/follow... | [] | closed | false | null | [] | [
"Thanks for adding @jbochi! Let us know when you're ready for a review.\r\n\r\nI've set the failed tests to re-run as it seems there was a transient connection error causing them to fail. ",
"Thanks for re-running the tests, @amyeroberts . \r\n\r\nThe PR is ready for review. I don't think the previous failure wa... | 1,699 | 1,701 | 1,701 | 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/27471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27471/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27471",
"html_url": "https://github.com/huggingface/transformers/pull/27471",
"diff_url": "https://github.com/huggingface/transformers/pull/27471.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27471.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27470/comments | https://api.github.com/repos/huggingface/transformers/issues/27470/events | https://github.com/huggingface/transformers/pull/27470 | 1,990,701,213 | PR_kwDOCUB6oc5fTWKY | 27,470 | Fix docstring for `gradient_checkpointing_kwargs` | {
"login": "tomaszcichy98",
"id": 107866759,
"node_id": "U_kgDOBm3qhw",
"avatar_url": "https://avatars.githubusercontent.com/u/107866759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaszcichy98",
"html_url": "https://github.com/tomaszcichy98",
"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_27470). All of your documentation changes will be reflected on that endpoint."
] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
Docstring entry for `gradient_checkpointing_kwargs` was `gradient_checkpointing_args`.
Fixes #27469
@stevhliu @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27470",
"html_url": "https://github.com/huggingface/transformers/pull/27470",
"diff_url": "https://github.com/huggingface/transformers/pull/27470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27470.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27469/comments | https://api.github.com/repos/huggingface/transformers/issues/27469/events | https://github.com/huggingface/transformers/issues/27469 | 1,990,677,125 | I_kwDOCUB6oc52p1KF | 27,469 | Wrong argument name in the documentation for `transformers.TrainingArguments` | {
"login": "tomaszcichy98",
"id": 107866759,
"node_id": "U_kgDOBm3qhw",
"avatar_url": "https://avatars.githubusercontent.com/u/107866759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaszcichy98",
"html_url": "https://github.com/tomaszcichy98",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.35.0
- Platform: Linux-5.15.0-1046-gcp-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: - compute_environment: LOCAL_MACHINE
- distributed_type: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27468/comments | https://api.github.com/repos/huggingface/transformers/issues/27468/events | https://github.com/huggingface/transformers/pull/27468 | 1,990,655,650 | PR_kwDOCUB6oc5fTMMS | 27,468 | OWLv2: bug fix in post_process_object_detection() when using cuda device | {
"login": "assafbot",
"id": 125451756,
"node_id": "U_kgDOB3o97A",
"avatar_url": "https://avatars.githubusercontent.com/u/125451756?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/assafbot",
"html_url": "https://github.com/assafbot",
"followers_url": "https://api.github.com/users/assafbot/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27468). All of your documentation changes will be reflected on that endpoint."
] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | Fix an issue in OWLv2 when calling post_process_object_detection() with data on cuda device.
@NielsRogge, I don't know how to add you as a reviewer so I tagged you here | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27468/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27468",
"html_url": "https://github.com/huggingface/transformers/pull/27468",
"diff_url": "https://github.com/huggingface/transformers/pull/27468.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27468.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27467/comments | https://api.github.com/repos/huggingface/transformers/issues/27467/events | https://github.com/huggingface/transformers/pull/27467 | 1,990,598,109 | PR_kwDOCUB6oc5fS_i7 | 27,467 | [`AWQ` ] Addresses TODO for awq tests | {
"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,699 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
As per title, now that models from TheBloke have been converted we will include the model in the current testing suite to make sure we are always compatible with TheBloke weights on the Hub
cc @amyeroberts
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27467/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27467",
"html_url": "https://github.com/huggingface/transformers/pull/27467",
"diff_url": "https://github.com/huggingface/transformers/pull/27467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27467.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27466/comments | https://api.github.com/repos/huggingface/transformers/issues/27466/events | https://github.com/huggingface/transformers/pull/27466 | 1,990,587,232 | PR_kwDOCUB6oc5fS9MA | 27,466 | [`Peft`] `modules_to_save` support for peft integration | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts I'll merge this PR after the patch release from PEFT !",
"Link to patch release: https://github.com/huggingface/peft/releases/tag/v0.6.2"
] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
With https://github.com/huggingface/peft/pull/1112 being merged, we can now extend the PEFT integration to support `modules_to_save`.
What is `modules_to_save`? It is a feature in PEFT that enables users to fine-tune extra parameters in addition to PEFT adapters; in practice, users can for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27466",
"html_url": "https://github.com/huggingface/transformers/pull/27466",
"diff_url": "https://github.com/huggingface/transformers/pull/27466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27465/comments | https://api.github.com/repos/huggingface/transformers/issues/27465/events | https://github.com/huggingface/transformers/pull/27465 | 1,990,572,616 | PR_kwDOCUB6oc5fS5_S | 27,465 | Install `python-Levenshtein` for `nougat` in CI image | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,699 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
We have already this in https://github.com/huggingface/transformers/blob/8f577dca4f2e9153d152afffe209fee643a90124/.circleci/create_circleci_config.py#L475.
This PR just add the same thing to the CI image docker file to fix issues like in doctest
```
nougat.md
UNEXPECTED EXCEPTION: Im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27465",
"html_url": "https://github.com/huggingface/transformers/pull/27465",
"diff_url": "https://github.com/huggingface/transformers/pull/27465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27465.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27464/comments | https://api.github.com/repos/huggingface/transformers/issues/27464/events | https://github.com/huggingface/transformers/pull/27464 | 1,990,537,093 | PR_kwDOCUB6oc5fSyCl | 27,464 | Add Fill-in-the-middle training objective example - PyTorch | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | open | false | null | [] | [
"This PR is currently in draft mode until I can get a GPU VM (shouldn't take more than a week at max) to test to if a model is training all fine using this script.",
"@sayakpaul @ArthurZucker This PR is ready for review. I have added two scripts: `run_fim.py` and `run_fim_no_trainer.py`. Both have almost the same... | 1,699 | 1,706 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds a Fill-in-the-middle training objective example to ๐ค transformers.
FIM objective was proposed in [Efficient Training of Language Models to Fill in the Middle](https://arxiv.org/abs/2207.14255). They showed that autoregressive language models can learn to infill text after apply... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27464",
"html_url": "https://github.com/huggingface/transformers/pull/27464",
"diff_url": "https://github.com/huggingface/transformers/pull/27464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27464.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27463/comments | https://api.github.com/repos/huggingface/transformers/issues/27463/events | https://github.com/huggingface/transformers/pull/27463 | 1,990,498,453 | PR_kwDOCUB6oc5fSppx | 27,463 | Add segmentation map processing to SAM Image Processor | {
"login": "rwood-97",
"id": 72076688,
"node_id": "MDQ6VXNlcjcyMDc2Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/72076688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rwood-97",
"html_url": "https://github.com/rwood-97",
"followers_url": "https://api.github.com/users/rwo... | [] | closed | false | null | [] | [
"@rwood-97 - thanks for opening this PR - let me know when it's ready for review! ",
"@amyeroberts I've added a very small amount to the tests. I think they could be more comprehensive but I think at min this now tests a case of input with/without masks. Let me know if there are any others you'd want me to add.\r... | 1,699 | 1,704 | 1,704 | 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/27463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27463",
"html_url": "https://github.com/huggingface/transformers/pull/27463",
"diff_url": "https://github.com/huggingface/transformers/pull/27463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27462/comments | https://api.github.com/repos/huggingface/transformers/issues/27462/events | https://github.com/huggingface/transformers/pull/27462 | 1,990,409,603 | PR_kwDOCUB6oc5fSWOK | 27,462 | Fix 2 Wav2Vec2 related models' doctest | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,699 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
Same (dataset) issue in #27147, but this PR deals with some failing doctests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27462",
"html_url": "https://github.com/huggingface/transformers/pull/27462",
"diff_url": "https://github.com/huggingface/transformers/pull/27462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27462.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27461/comments | https://api.github.com/repos/huggingface/transformers/issues/27461/events | https://github.com/huggingface/transformers/pull/27461 | 1,990,393,631 | PR_kwDOCUB6oc5fSSvO | 27,461 | Fixed typo in error message | {
"login": "cmcmaster1",
"id": 30722043,
"node_id": "MDQ6VXNlcjMwNzIyMDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/30722043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cmcmaster1",
"html_url": "https://github.com/cmcmaster1",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27461). All of your documentation changes will be reflected on that endpoint."
] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
"past key much have a shape" -> "past key must have a shape"
I was getting this error and the typo was bothering me. Still don't know why I'm getting the error, but it least it might bother me less. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27461/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27461",
"html_url": "https://github.com/huggingface/transformers/pull/27461",
"diff_url": "https://github.com/huggingface/transformers/pull/27461.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27461.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27460/comments | https://api.github.com/repos/huggingface/transformers/issues/27460/events | https://github.com/huggingface/transformers/pull/27460 | 1,990,374,881 | PR_kwDOCUB6oc5fSOqP | 27,460 | Default to msgpack for safetensors | {
"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 documentation is not available anymore as the PR was closed or merged._",
"Nice catches!"
] | 1,699 | 1,699 | 1,699 | MEMBER | null | Fix https://github.com/huggingface/transformers/issues/27416 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27460",
"html_url": "https://github.com/huggingface/transformers/pull/27460",
"diff_url": "https://github.com/huggingface/transformers/pull/27460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27460.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27459/comments | https://api.github.com/repos/huggingface/transformers/issues/27459/events | https://github.com/huggingface/transformers/pull/27459 | 1,990,338,832 | PR_kwDOCUB6oc5fSGz9 | 27,459 | Fix line ending in `utils/not_doctested.txt` | {
"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,699 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
#27262 (by me) changed the line ending of this file to `\r\n` which is not good. This PR changes it back, and this would unblock https://github.com/huggingface/transformers/pull/26928#discussion_r1390413692 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27459",
"html_url": "https://github.com/huggingface/transformers/pull/27459",
"diff_url": "https://github.com/huggingface/transformers/pull/27459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27459.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27458/comments | https://api.github.com/repos/huggingface/transformers/issues/27458/events | https://github.com/huggingface/transformers/pull/27458 | 1,990,100,375 | PR_kwDOCUB6oc5fRSrI | 27,458 | Add eval_logits_to_cpu | {
"login": "EkhiAzur",
"id": 85137108,
"node_id": "MDQ6VXNlcjg1MTM3MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/85137108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EkhiAzur",
"html_url": "https://github.com/EkhiAzur",
"followers_url": "https://api.github.com/users/Ekh... | [] | closed | false | null | [] | [
"Hi @EkhiAzur, thanks for opening a PR. Could you provide some more details about the issue this is trying to solve? ",
"Yes sorry, I missed that part.\r\n\r\nWith large generative models during evaluation if compute metrics function is provided, OOM errors can occur. This error happens because predictions logits... | 1,699 | 1,702 | 1,702 | 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/27458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27458",
"html_url": "https://github.com/huggingface/transformers/pull/27458",
"diff_url": "https://github.com/huggingface/transformers/pull/27458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27457/comments | https://api.github.com/repos/huggingface/transformers/issues/27457/events | https://github.com/huggingface/transformers/pull/27457 | 1,990,041,403 | PR_kwDOCUB6oc5fRF4l | 27,457 | Dynamic Resolution Input for CLIP | {
"login": "Starlento",
"id": 33574105,
"node_id": "MDQ6VXNlcjMzNTc0MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/33574105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Starlento",
"html_url": "https://github.com/Starlento",
"followers_url": "https://api.github.com/users/... | [] | open | false | null | [] | [
"For VIT, it supports dynamic resolution: https://discuss.huggingface.co/t/fine-tuning-vit-with-more-patches-higher-resolution/18731.\r\nFor Dinov2, it originally support this, so that I copy the code to CLIP model file.\r\nMaybe it should be a config which is setable to user. But I am not familar with transformers... | 1,699 | 1,707 | null | 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/27457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27457",
"html_url": "https://github.com/huggingface/transformers/pull/27457",
"diff_url": "https://github.com/huggingface/transformers/pull/27457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27456/comments | https://api.github.com/repos/huggingface/transformers/issues/27456/events | https://github.com/huggingface/transformers/pull/27456 | 1,989,557,759 | PR_kwDOCUB6oc5fPd3N | 27,456 | Docs for AutoBackbone & Backbone | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27456). All of your documentation changes will be reflected on that endpoint.",
"@amyeroberts this didn't throw an error during inference:\r\n```python\r\nmodel = AutoBackbone.from_pretrained(\r\n\"microsoft/swin-tiny-patch... | 1,699 | 1,702 | 1,702 | CONTRIBUTOR | null | This is the docs for `AutoBackbone` class and backbone. I'm also drafting a notebook but I will be off this week so it will be delayed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27456/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27456",
"html_url": "https://github.com/huggingface/transformers/pull/27456",
"diff_url": "https://github.com/huggingface/transformers/pull/27456.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27456.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27455/comments | https://api.github.com/repos/huggingface/transformers/issues/27455/events | https://github.com/huggingface/transformers/pull/27455 | 1,989,331,403 | PR_kwDOCUB6oc5fOwW_ | 27,455 | Fixed typo in pipelines.md documentation | {
"login": "adismort14",
"id": 104080429,
"node_id": "U_kgDOBjQkLQ",
"avatar_url": "https://avatars.githubusercontent.com/u/104080429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adismort14",
"html_url": "https://github.com/adismort14",
"followers_url": "https://api.github.com/users/adi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27455). All of your documentation changes will be reflected on that endpoint."
] | 1,699 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a minor (very minor, to be frank) typo in the documentation that I found while skimming through it. My OCD won't let me ignore it.
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27455/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27455",
"html_url": "https://github.com/huggingface/transformers/pull/27455",
"diff_url": "https://github.com/huggingface/transformers/pull/27455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27455.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27454/comments | https://api.github.com/repos/huggingface/transformers/issues/27454/events | https://github.com/huggingface/transformers/pull/27454 | 1,989,297,903 | PR_kwDOCUB6oc5fOpoC | 27,454 | Clap processor: remove wasteful np.stack operations | {
"login": "m-bain",
"id": 36994049,
"node_id": "MDQ6VXNlcjM2OTk0MDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/36994049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m-bain",
"html_url": "https://github.com/m-bain",
"followers_url": "https://api.github.com/users/m-bain/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27454). All of your documentation changes will be reflected on that endpoint.",
"@amyeroberts hows this ?\r\n\r\n```python\r\nimport time\r\nimport numpy as np\r\n\r\nwaveform = np.random.rand(100_000)\r\nn_repeat = 10\r\n\... | 1,699 | 1,700 | 1,699 | 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/27454/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/27454/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27454",
"html_url": "https://github.com/huggingface/transformers/pull/27454",
"diff_url": "https://github.com/huggingface/transformers/pull/27454.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27454.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27453/comments | https://api.github.com/repos/huggingface/transformers/issues/27453/events | https://github.com/huggingface/transformers/issues/27453 | 1,989,157,561 | I_kwDOCUB6oc52kCK5 | 27,453 | Audio-MAE - ViTMAE for audio | {
"login": "justinluong",
"id": 25112608,
"node_id": "MDQ6VXNlcjI1MTEyNjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/25112608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/justinluong",
"html_url": "https://github.com/justinluong",
"followers_url": "https://api.github.com/... | [
{
"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 ",
"> cc @sanchit-gandhi\r\n\r\nCan I pick this up? Would be a valuable learning task for me :)\r\n\r\nThanks",
"I should have clarified in my initial post that my intention was to contribute this model personally, as I've been working with the model a lot recently. However, I'm definitely o... | 1,699 | 1,706 | null | NONE | null | ### Model description
This model is is a Self-supervised Vision Transformer that uses patch reconstruction as the spectrogram task. It extends MAE (which is already on HuggingFace) for audio. This model would be a valuable addition as there doesn't seem to be a self-supervised ViT model on HugginFace currently. AST is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27453/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/27453/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27452/comments | https://api.github.com/repos/huggingface/transformers/issues/27452/events | https://github.com/huggingface/transformers/issues/27452 | 1,989,086,508 | I_kwDOCUB6oc52jw0s | 27,452 | Whisper error while not using whisper: "generation_config.return_timestamps ??= false;" | {
"login": "davidtbo",
"id": 14362389,
"node_id": "MDQ6VXNlcjE0MzYyMzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/14362389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidtbo",
"html_url": "https://github.com/davidtbo",
"followers_url": "https://api.github.com/users/dav... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"@xenova feel free to transfer this over to the `transformers.js` as it's not related to `transformers`",
"> @xenova feel free to transfer this over to the transformers.js as it's not related to transformers\r\n\r\nI don't have the option to transfer, so perhaps the OP can close and reope... | 1,699 | 1,701 | 1,701 | NONE | null | ### System Info
I'm trying to use Transformers.js with a feature extraction pipeline and I happen to be using it in React NodeGUI. I'm getting an error that's from your Whisper model code and I'm not trying to use Whisper.
The sample code is below.
When I do `npm run dev` it goes fine, then when I run `npm sta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27451/comments | https://api.github.com/repos/huggingface/transformers/issues/27451/events | https://github.com/huggingface/transformers/issues/27451 | 1,989,085,002 | I_kwDOCUB6oc52jwdK | 27,451 | Adding Flash Attention Support for StableLMEpochForCausalLM | {
"login": "reletreby",
"id": 83604672,
"node_id": "MDQ6VXNlcjgzNjA0Njcy",
"avatar_url": "https://avatars.githubusercontent.com/u/83604672?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reletreby",
"html_url": "https://github.com/reletreby",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @reletreby, thanks for opening this feature request! \r\n\r\nThe stability LM model has its code on the hub. I'd suggest opening up a discussion to request and/or PR to add the feature there. Let us know if you have any questions about the implementation! ",
"Sure! Will start a discussion. Thanks"
] | 1,699 | 1,699 | 1,699 | NONE | null | ### Feature request
Please add flash attention 2 support for StableLMEpochForCausalLM. Will help with finetuning Stability LM 3B model.
### Motivation
This will enable fine-tuning stability 3B LLM with flash attention 2
### Your contribution
Happy to help if needed! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27450/comments | https://api.github.com/repos/huggingface/transformers/issues/27450/events | https://github.com/huggingface/transformers/pull/27450 | 1,988,999,259 | PR_kwDOCUB6oc5fNuWb | 27,450 | Support ONNX export for causal LM sequence classifiers | {
"login": "dwyatte",
"id": 2512762,
"node_id": "MDQ6VXNlcjI1MTI3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwyatte",
"html_url": "https://github.com/dwyatte",
"followers_url": "https://api.github.com/users/dwyatte/... | [] | closed | false | null | [] | [
"The failing test might just need a rebase to main otherwise I'll skip it on main and work on a fix ",
"> The failing test might just need a rebase to main otherwise I'll skip it on main and work on a fix\r\n\r\n@ArthurZucker I rebased in https://github.com/huggingface/transformers/pull/27450/commits/807625026226... | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Partial fix for https://github.com/huggingface/optimum/issues/1527 in `optimum` when exporting causal LMs with sequence classification support to ONNX
ONNX's argmax operator does not support int64, but that should not be needed here since these are just boolean tensors
## Before submitt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27450",
"html_url": "https://github.com/huggingface/transformers/pull/27450",
"diff_url": "https://github.com/huggingface/transformers/pull/27450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27449/comments | https://api.github.com/repos/huggingface/transformers/issues/27449/events | https://github.com/huggingface/transformers/issues/27449 | 1,988,956,402 | I_kwDOCUB6oc52jRDy | 27,449 | Compute logits and past_key_values once for the initial context rather than `num_beams` times? | {
"login": "tom-p-reichel",
"id": 43631024,
"node_id": "MDQ6VXNlcjQzNjMxMDI0",
"avatar_url": "https://avatars.githubusercontent.com/u/43631024?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tom-p-reichel",
"html_url": "https://github.com/tom-p-reichel",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @tom-p-reichel ๐ Thank you for opening this issue. It is something I really want to bring to `generate`! In fact, a few weeks ago at the PyTorch conference, they mentioned that isolating this stage (also known as prefill) is a significant source of speedups.\r\n\r\nThe devil is, as always, in t... | 1,699 | 1,703 | 1,703 | CONTRIBUTOR | null | ### Feature request
It looks like (at least) the following methods:
- sample
- beam search
- beam sample
- group beam search
all immediately expand their input batch size to either `num_beams` or `num_return_sequences`. This means that the initial context, which can be very long, will be run through the model `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27448/comments | https://api.github.com/repos/huggingface/transformers/issues/27448/events | https://github.com/huggingface/transformers/pull/27448 | 1,988,822,332 | PR_kwDOCUB6oc5fNJ9l | 27,448 | Fix bug for T5x to PyTorch convert script with varying encoder and decoder layers | {
"login": "JamesJiang97",
"id": 49048129,
"node_id": "MDQ6VXNlcjQ5MDQ4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/49048129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesJiang97",
"html_url": "https://github.com/JamesJiang97",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,699 | 1,700 | 1,700 | CONTRIBUTOR | null | When I try to use [this script](https://github.com/huggingface/transformers/blob/main/src/transformers/models/t5/convert_t5x_checkpoint_to_pytorch.py) to convert ByT5 T5x model to PyTorch model๏ผ
I get the following error :
```
Traceback (most recent call last):
File "/home/jiang/t5x_home/transformers/src/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27448",
"html_url": "https://github.com/huggingface/transformers/pull/27448",
"diff_url": "https://github.com/huggingface/transformers/pull/27448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27448.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27447/comments | https://api.github.com/repos/huggingface/transformers/issues/27447/events | https://github.com/huggingface/transformers/pull/27447 | 1,988,809,179 | PR_kwDOCUB6oc5fNHJC | 27,447 | [DataCollator] Warn on identical `eos_token_id` and `pad_token_id` | {
"login": "MustSave",
"id": 58774251,
"node_id": "MDQ6VXNlcjU4Nzc0MjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/58774251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MustSave",
"html_url": "https://github.com/MustSave",
"followers_url": "https://api.github.com/users/Mus... | [] | closed | false | null | [] | [] | 1,699 | 1,699 | 1,699 | NONE | null | # What does this PR do?
This PR displays a warning message when the values of `pad_token_id` and `eos_token_id` are identical. This is to prevent unexpected behavior during multi-turn training.
After the multi-turn data training with [DataCollatorForCompletionOnlyLM](https://github.com/huggingface/trl/blob/9e9f02... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27447",
"html_url": "https://github.com/huggingface/transformers/pull/27447",
"diff_url": "https://github.com/huggingface/transformers/pull/27447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27446/comments | https://api.github.com/repos/huggingface/transformers/issues/27446/events | https://github.com/huggingface/transformers/issues/27446 | 1,988,697,297 | I_kwDOCUB6oc52iRzR | 27,446 | Whisper Large v3 Word Level Timestamps Error | {
"login": "souvikqb",
"id": 135606016,
"node_id": "U_kgDOCBUvAA",
"avatar_url": "https://avatars.githubusercontent.com/u/135606016?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/souvikqb",
"html_url": "https://github.com/souvikqb",
"followers_url": "https://api.github.com/users/souvikqb/... | [] | closed | false | null | [] | [
"I'm having the same issue, and seems to be related to the batch size. At least it works for me if i set `batch_size=1`.\r\n\r\nNevertheless, it would good to be able to use a higher batch size.",
"Thanks for the ping - will be fixed by #26699. Will try and fix this asap!",
"This issue has been automatically ma... | 1,699 | 1,705 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux-5.15.0-75-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.19.0
- Safetensors version: 0.4.0
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27446/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/27446/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.