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/26931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26931/comments | https://api.github.com/repos/huggingface/transformers/issues/26931/events | https://github.com/huggingface/transformers/pull/26931 | 1,952,174,442 | PR_kwDOCUB6oc5dRTop | 26,931 | Fix license | {
"login": "MedAymenF",
"id": 33981698,
"node_id": "MDQ6VXNlcjMzOTgxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/33981698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MedAymenF",
"html_url": "https://github.com/MedAymenF",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26931). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes the license for Fuyu. See [blog](https://www.adept.ai/blog/fuyu-8b) and [Model Card](https://huggingface.co/adept/fuyu-8b#model-description).
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26931",
"html_url": "https://github.com/huggingface/transformers/pull/26931",
"diff_url": "https://github.com/huggingface/transformers/pull/26931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26931.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26930/comments | https://api.github.com/repos/huggingface/transformers/issues/26930/events | https://github.com/huggingface/transformers/pull/26930 | 1,952,156,083 | PR_kwDOCUB6oc5dRPiw | 26,930 | testing doc-builder | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/429
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26930/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26930",
"html_url": "https://github.com/huggingface/transformers/pull/26930",
"diff_url": "https://github.com/huggingface/transformers/pull/26930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26929/comments | https://api.github.com/repos/huggingface/transformers/issues/26929/events | https://github.com/huggingface/transformers/pull/26929 | 1,951,981,174 | PR_kwDOCUB6oc5dQpdn | 26,929 | Fix RoPE config validation for FalconConfig + various config typos | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26929). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
One change that fixes a bug:
* Fix RoPE config validation: `config = FalconConfig(alibi=False, rope_scaling={"type": "linear", "factor": 2.0})` would fail. (1fbd6993b8ac0c5dee1b26656648ee8360c06aa3)
And three changes that fix typos/improve maintainability etc.
* Fix code block tag (b9e4f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26929",
"html_url": "https://github.com/huggingface/transformers/pull/26929",
"diff_url": "https://github.com/huggingface/transformers/pull/26929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26929.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26928/comments | https://api.github.com/repos/huggingface/transformers/issues/26928/events | https://github.com/huggingface/transformers/pull/26928 | 1,951,945,448 | PR_kwDOCUB6oc5dQhcJ | 26,928 | [Table Transformer] Add Transformers-native checkpoints | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
This PR adds Table Transformer checkpoints that leverages the `AutoBackbone` API (instead of the timm library) for the ResNet backbones. This enables people to use the `TableTransformer` models without relying on timm as dependency. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26928",
"html_url": "https://github.com/huggingface/transformers/pull/26928",
"diff_url": "https://github.com/huggingface/transformers/pull/26928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26927/comments | https://api.github.com/repos/huggingface/transformers/issues/26927/events | https://github.com/huggingface/transformers/pull/26927 | 1,951,851,788 | PR_kwDOCUB6oc5dQNt3 | 26,927 | [Docs] Make sure important decode and generate method are nicely displayed in Whisper docs | {
"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._",
"cc @ArthurZucker @sanchit-gandhi for viz"
] | 1,697 | 1,698 | 1,697 | MEMBER | null | All in the title | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26927",
"html_url": "https://github.com/huggingface/transformers/pull/26927",
"diff_url": "https://github.com/huggingface/transformers/pull/26927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26926/comments | https://api.github.com/repos/huggingface/transformers/issues/26926/events | https://github.com/huggingface/transformers/issues/26926 | 1,951,845,758 | I_kwDOCUB6oc50Vs1- | 26,926 | mms.service.PredictionException: Tokenizer class LlamaTokenizer does not exist or is not currently imported. | {
"login": "ashwincv0112",
"id": 129140539,
"node_id": "U_kgDOB7KHOw",
"avatar_url": "https://avatars.githubusercontent.com/u/129140539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashwincv0112",
"html_url": "https://github.com/ashwincv0112",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! I think the transformers version you are using is wrong. Llama was part of the `4.32` release. Make sure to use this transformers version if you wanna use Llama. Codellama is `4.33.1`",
"Thank you for the response.... \r\nAlso, could you also let me know the corresponding version for \r\npytorch_version=\"1... | 1,697 | 1,701 | 1,701 | NONE | null | ### System Info
I am trying to run a Prediction(Inference) by accessing a deployed AWS Sagemaker endpoint for CodeLlama-Python-7B model.
While I was able to finetune and deploy the endpoint. I am getting the above error while running a prediction.
Could someone help on this. I changed the tokenised_class in the mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26926/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26925/comments | https://api.github.com/repos/huggingface/transformers/issues/26925/events | https://github.com/huggingface/transformers/pull/26925 | 1,951,767,438 | PR_kwDOCUB6oc5dP6_a | 26,925 | add hybrid fsdp ShardingStrategy | {
"login": "pkumc",
"id": 9345057,
"node_id": "MDQ6VXNlcjkzNDUwNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9345057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkumc",
"html_url": "https://github.com/pkumc",
"followers_url": "https://api.github.com/users/pkumc/follower... | [] | closed | false | null | [] | [
"@pacman100 Do you have time to review this PR?",
"> @pacman100 Do you have time to review this PR?\r\n\r\n@muellerzr Could you review this PR?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26925). All of your documentation changes will be reflected on that endpoin... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Add [hybrid fsdp ShardingStrategy](https://pytorch.org/docs/stable/fsdp.html#torch.distributed.fsdp.ShardingStrategy) to Trainer.
## Who can review?
- trainer: @muellerzr and @pacman100
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26925/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26925",
"html_url": "https://github.com/huggingface/transformers/pull/26925",
"diff_url": "https://github.com/huggingface/transformers/pull/26925.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26925.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26924/comments | https://api.github.com/repos/huggingface/transformers/issues/26924/events | https://github.com/huggingface/transformers/pull/26924 | 1,951,728,911 | PR_kwDOCUB6oc5dPye5 | 26,924 | [ examples] fix loading jsonl with load dataset in run translation example | {
"login": "mathiasesn",
"id": 27091759,
"node_id": "MDQ6VXNlcjI3MDkxNzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27091759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mathiasesn",
"html_url": "https://github.com/mathiasesn",
"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_26924). All of your documentation changes will be reflected on that endpoint.",
"> LGTM, this might need to be propagated to other examples? Also can you update the pr description to say what this fixes and the name of the ... | 1,697 | 1,700 | 1,700 | 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/26924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26924",
"html_url": "https://github.com/huggingface/transformers/pull/26924",
"diff_url": "https://github.com/huggingface/transformers/pull/26924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26924.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26923/comments | https://api.github.com/repos/huggingface/transformers/issues/26923/events | https://github.com/huggingface/transformers/issues/26923 | 1,951,637,965 | I_kwDOCUB6oc50U6HN | 26,923 | Falcon tokenizer doesn't use eos_token. | {
"login": "zhaowei-wang-nlp",
"id": 22047467,
"node_id": "MDQ6VXNlcjIyMDQ3NDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/22047467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhaowei-wang-nlp",
"html_url": "https://github.com/zhaowei-wang-nlp",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
transformers==4.34.0
python==3.9.17
### Who can help?
@ArthurZucker @youne
### Information
- [ ] 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26923/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26922/comments | https://api.github.com/repos/huggingface/transformers/issues/26922/events | https://github.com/huggingface/transformers/issues/26922 | 1,951,487,858 | I_kwDOCUB6oc50UVdy | 26,922 | Logo | {
"login": "IfeanyiEkperi",
"id": 6451526,
"node_id": "MDQ6VXNlcjY0NTE1MjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6451526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IfeanyiEkperi",
"html_url": "https://github.com/IfeanyiEkperi",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Sounds good but we already have a logo: 🤗 ",
"Okay. I was thinking we could give it a facelift and make it more responsive.\r\n\r\nBuy, No problem if it's not needed at this time.\r\n\r\nThank you.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this s... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
Hugging face needs a facelift... A logo that is versatile and can accommodate all of their beaches with minimal change....
I'm proposing a fun logo just as the names. If I'm given a go ahead, I can create one asap
### Motivation
I want to make tech logos around the world look awesome
### You... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26922/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 4,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 4
} | https://api.github.com/repos/huggingface/transformers/issues/26922/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26921/comments | https://api.github.com/repos/huggingface/transformers/issues/26921/events | https://github.com/huggingface/transformers/issues/26921 | 1,951,413,364 | I_kwDOCUB6oc50UDR0 | 26,921 | BarkModel: support multiple history prompt for batch api | {
"login": "Selectorrr",
"id": 973663,
"node_id": "MDQ6VXNlcjk3MzY2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/973663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Selectorrr",
"html_url": "https://github.com/Selectorrr",
"followers_url": "https://api.github.com/users/S... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"cc @ylacombe ",
"Hi @Selectorrr, thanks for opening this issue!\r\n\r\nit would actually be a great feature, in line with recent #26673 and #26672. \r\nI believe that it would need two main changes:\r\n1. Allowing BarkProcessor to get a [list of history prompts](https://github.com/huggingface/transformers/blob/a... | 1,697 | 1,703 | null | NONE | null | ### Feature request
Add multiple history prompt support for batch api
### Motivation
Batch API speeds up the audio generation process a lot. Unfortunately we can't use it to generate long sequences.
### Your contribution
I may be able to look at it soon | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26921/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26920/comments | https://api.github.com/repos/huggingface/transformers/issues/26920/events | https://github.com/huggingface/transformers/issues/26920 | 1,951,294,486 | I_kwDOCUB6oc50TmQW | 26,920 | Owlv2 seems to have a really poor performance in image guided detection and the example of owlv2 on Huggingface indicated that. | {
"login": "c1ekrt",
"id": 40287606,
"node_id": "MDQ6VXNlcjQwMjg3NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/40287606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c1ekrt",
"html_url": "https://github.com/c1ekrt",
"followers_url": "https://api.github.com/users/c1ekrt/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYes that documentation example requires an update. I've noticed that running the image guided detection with OWLv2 is pretty sensitive to the threshold values. Using `threshold=0.9`, `nms_threshold=0.3` in the `post_process_image_guided_detection` method gives better results. See the bottom of my [demo... | 1,697 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.35.0.dev0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: NO
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26920/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26919/comments | https://api.github.com/repos/huggingface/transformers/issues/26919/events | https://github.com/huggingface/transformers/issues/26919 | 1,951,249,530 | I_kwDOCUB6oc50TbR6 | 26,919 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "Jiuri05",
"id": 148340879,
"node_id": "U_kgDOCNeAjw",
"avatar_url": "https://avatars.githubusercontent.com/u/148340879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jiuri05",
"html_url": "https://github.com/Jiuri05",
"followers_url": "https://api.github.com/users/Jiuri05/foll... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26919/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27664/comments | https://api.github.com/repos/huggingface/transformers/issues/27664/events | https://github.com/huggingface/transformers/issues/27664 | 2,007,102,089 | I_kwDOCUB6oc53ofKJ | 27,664 | XLA Integration for TensorFlow Models | {
"login": "akote123",
"id": 133775732,
"node_id": "U_kgDOB_lBdA",
"avatar_url": "https://avatars.githubusercontent.com/u/133775732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akote123",
"html_url": "https://github.com/akote123",
"followers_url": "https://api.github.com/users/akote123/... | [] | closed | false | null | [] | [
"Hey! Here is what you gotta know about using xla:\r\n\r\n> When you are executing an XLA-enabled function (like `xla_generate()` above) for the first time, it will internally try to infer the computation graph, which is time-consuming. This process is known as [“tracing”](https://www.tensorflow.org/guide/intro_to... | 1,697 | 1,703 | 1,703 | NONE | null | Hi,
I wanted to try XLA for Inference.
```python
import os
#environment configs
import tensorflow as tf
from transformers import BertTokenizer, TFBertModel
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
model = TFBertModel.from_pretrained("bert-base-uncased")
xla_generate = tf.function... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27664/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27664/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26918/comments | https://api.github.com/repos/huggingface/transformers/issues/26918/events | https://github.com/huggingface/transformers/pull/26918 | 1,950,925,959 | PR_kwDOCUB6oc5dNEMh | 26,918 | Fix Fuyu image scaling bug | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"~~Thanks for the quick review! Feel free to merge it when you see fit, as I can't do it :)~~ Edit: saw that you requested a review from Pablo 👍 ",
"He might have missed it let's merge this 😉 \r\n"
] | 1,697 | 1,697 | 1,697 | MEMBER | null | The coordinates are reversed, see https://github.com/huggingface/transformers/blob/574a5384557b1aaf98ddb13ea9eb0a0ee8ff2cb2/src/transformers/image_transforms.py#L328
It could produce negative padding and hence inference errors for certain image sizes, as [identified in the Fuyu demo](https://huggingface.co/spaces/ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26918",
"html_url": "https://github.com/huggingface/transformers/pull/26918",
"diff_url": "https://github.com/huggingface/transformers/pull/26918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26918.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26917/comments | https://api.github.com/repos/huggingface/transformers/issues/26917/events | https://github.com/huggingface/transformers/pull/26917 | 1,950,873,001 | PR_kwDOCUB6oc5dM5oF | 26,917 | [`core`] Fix gradient checkpointing `use_reentrant` issues | {
"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 | [] | [
"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,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Partially fixes: https://github.com/huggingface/trl/issues/835 more details coming soon | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26917/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26917",
"html_url": "https://github.com/huggingface/transformers/pull/26917",
"diff_url": "https://github.com/huggingface/transformers/pull/26917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26916/comments | https://api.github.com/repos/huggingface/transformers/issues/26916/events | https://github.com/huggingface/transformers/pull/26916 | 1,950,795,645 | PR_kwDOCUB6oc5dMohT | 26,916 | [`FA-2`] Revert suggestion that broke FA2 fine-tuning with quantized models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Reverts: https://github.com/huggingface/transformers/pull/26846#discussion_r1361616963
This leads to an error because `getattr` will try to evaluate the third argument. for quantized models `weight` attribute do not exist leading to an error making the fine-tuning not possible
To repro ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26916/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26916",
"html_url": "https://github.com/huggingface/transformers/pull/26916",
"diff_url": "https://github.com/huggingface/transformers/pull/26916.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26916.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26915/comments | https://api.github.com/repos/huggingface/transformers/issues/26915/events | https://github.com/huggingface/transformers/pull/26915 | 1,950,724,897 | PR_kwDOCUB6oc5dMZrf | 26,915 | testing doc-builder | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/425
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26915/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26915",
"html_url": "https://github.com/huggingface/transformers/pull/26915",
"diff_url": "https://github.com/huggingface/transformers/pull/26915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26915.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26914/comments | https://api.github.com/repos/huggingface/transformers/issues/26914/events | https://github.com/huggingface/transformers/pull/26914 | 1,950,706,612 | PR_kwDOCUB6oc5dMVs6 | 26,914 | [`FA-2`] Add fa2 support for `from_config` | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26914). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/26878
As per title and as asked by the community. This PR extends the FA2 API so that users can load FA2 models through `from_config` interface
Added also nice tests!
```python
import torch
from transformers import AutoConf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26914/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26914",
"html_url": "https://github.com/huggingface/transformers/pull/26914",
"diff_url": "https://github.com/huggingface/transformers/pull/26914.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26914.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26913/comments | https://api.github.com/repos/huggingface/transformers/issues/26913/events | https://github.com/huggingface/transformers/pull/26913 | 1,950,633,890 | PR_kwDOCUB6oc5dMGMy | 26,913 | Corrected modalities description in README_ru.md | {
"login": "letohx",
"id": 99612194,
"node_id": "U_kgDOBe_2Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/99612194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/letohx",
"html_url": "https://github.com/letohx",
"followers_url": "https://api.github.com/users/letohx/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26913). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | Description:
- [x] This PR fixes a typo in README_ru.md.
This pull request addresses an issue with the modalities description in the README_ru.md. The modalities' descriptions have been corrected to provide a more accurate and grammatically correct representation of the supported tasks for text, images, and audio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26913",
"html_url": "https://github.com/huggingface/transformers/pull/26913",
"diff_url": "https://github.com/huggingface/transformers/pull/26913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26913.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26912/comments | https://api.github.com/repos/huggingface/transformers/issues/26912/events | https://github.com/huggingface/transformers/pull/26912 | 1,950,557,849 | PR_kwDOCUB6oc5dL1Ze | 26,912 | [`FA-2` / `Mistral`] Supprot fa-2 + right padding + forward | {
"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 | [] | [
"Hi @younesbelkada @ArthurZucker,\r\n\r\nThanks for your contribution !\r\n\r\nThis patch was removed in this [RP](https://github.com/huggingface/transformers/pull/27086). After tracking the commit history, I think it should be added back ?\r\n\r\nBest,\r\nZhihong",
"Thansk for noticing @zhjohnchan ! Just made: h... | 1,697 | 1,698 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/26877
There should be no reason to not support right padding + pure forward as the reason to not support generate + right padding + fa-2 is the cache mechanism for that case that slices the cache from the left.
cc @ArthurZucker ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26912",
"html_url": "https://github.com/huggingface/transformers/pull/26912",
"diff_url": "https://github.com/huggingface/transformers/pull/26912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26912.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26911/comments | https://api.github.com/repos/huggingface/transformers/issues/26911/events | https://github.com/huggingface/transformers/pull/26911 | 1,950,217,141 | PR_kwDOCUB6oc5dKqCy | 26,911 | Add fuyu model | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | [] | closed | false | null | [] | [
"edit: a previous version of this comment referred to a bug in loading the model--I uninstalled and reinstalled `transformers` and it appears to have resolved itself.\r\n\r\nHowever, the processor does not seem to support batch_size > 1 inputs correctly, the code appears to construct the tensors correctly, but the... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the model Fuyu from Adept, a LMM processing image and text inputs.
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26911/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26911",
"html_url": "https://github.com/huggingface/transformers/pull/26911",
"diff_url": "https://github.com/huggingface/transformers/pull/26911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26911.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26910/comments | https://api.github.com/repos/huggingface/transformers/issues/26910/events | https://github.com/huggingface/transformers/pull/26910 | 1,950,185,584 | PR_kwDOCUB6oc5dKi_e | 26,910 | [i18n-ZH] Translated fast_tokenizers.md to Chinese | {
"login": "yyLeaves",
"id": 76979429,
"node_id": "MDQ6VXNlcjc2OTc5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/76979429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyLeaves",
"html_url": "https://github.com/yyLeaves",
"followers_url": "https://api.github.com/users/yyL... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Add zh (Chinese) translation for fast_tokenizers.md. #20095
## Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26910",
"html_url": "https://github.com/huggingface/transformers/pull/26910",
"diff_url": "https://github.com/huggingface/transformers/pull/26910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26909/comments | https://api.github.com/repos/huggingface/transformers/issues/26909/events | https://github.com/huggingface/transformers/pull/26909 | 1,950,122,573 | PR_kwDOCUB6oc5dKUuw | 26,909 | 🌐 [i18n-ZH] Translated fast_tokenizers.md to Chinese | {
"login": "yyLeaves",
"id": 76979429,
"node_id": "MDQ6VXNlcjc2OTc5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/76979429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyLeaves",
"html_url": "https://github.com/yyLeaves",
"followers_url": "https://api.github.com/users/yyL... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Add zh (Chinese) translation for fast_tokenizers.md. #20095
## Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26909",
"html_url": "https://github.com/huggingface/transformers/pull/26909",
"diff_url": "https://github.com/huggingface/transformers/pull/26909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26908/comments | https://api.github.com/repos/huggingface/transformers/issues/26908/events | https://github.com/huggingface/transformers/pull/26908 | 1,950,036,971 | PR_kwDOCUB6oc5dKDGC | 26,908 | timm to pytorch conversion for vit model fix | {
"login": "staghado",
"id": 84044788,
"node_id": "MDQ6VXNlcjg0MDQ0Nzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/84044788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/staghado",
"html_url": "https://github.com/staghado",
"followers_url": "https://api.github.com/users/sta... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26908). All of your documentation changes will be reflected on that endpoint.",
"Overall looking much better, should be more robust now.\r\n\r\nA few things, there are a number of vit configurations supported in timm that a... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | This PR fixes this issue #26219 with timm to PyTorch conversion. It removes the need for hard coded values for model dims by using the attributes of the timm model without needing the model name.
It does the following things :
- [x] Extract model dims from the timm model directly, no need for ifs
- [x] Decides w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26908",
"html_url": "https://github.com/huggingface/transformers/pull/26908",
"diff_url": "https://github.com/huggingface/transformers/pull/26908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26908.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26907/comments | https://api.github.com/repos/huggingface/transformers/issues/26907/events | https://github.com/huggingface/transformers/pull/26907 | 1,949,960,405 | PR_kwDOCUB6oc5dJyJx | 26,907 | Fix and re-enable ConversationalPipeline tests | {
"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 | [] | [
"Looks good - ready to merge after review!",
"@ArthurZucker I tried that, but sometimes the tests get very slow when `max_position_embeddings` is large! Using a small number like 10 or 20 keeps the test quick."
] | 1,697 | 1,697 | 1,697 | MEMBER | null | The bug didn't turn out to be too bad - some models just had very short `max_position_embeddings` in their test configs, which meant the conversation tests generated outputs that were too long. Limiting `max_new_tokens` seems to have fixed it, but I'm running other tests to be sure! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26907",
"html_url": "https://github.com/huggingface/transformers/pull/26907",
"diff_url": "https://github.com/huggingface/transformers/pull/26907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26906/comments | https://api.github.com/repos/huggingface/transformers/issues/26906/events | https://github.com/huggingface/transformers/pull/26906 | 1,949,881,514 | PR_kwDOCUB6oc5dJhSR | 26,906 | Emergency PR to skip conversational tests to fix CI | {
"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 | [] | [
"I'm seeing some issues with BlenderBot as well, so it's possible that not all tests are triggering in every CI run! I think to avoid blocking lots of other PRs, we should just disable the test until I can test everything and re-enable it."
] | 1,697 | 1,697 | 1,697 | MEMBER | null | The CI is currently red because of issues with the conversational pipeline tests on several models. This is caused by my recent PR #26795. I'm not sure why the issue didn't appear in that PR - maybe the tests weren't triggered for some reason.
This emergency temporary PR skips the tests for now while I work on a pro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26906",
"html_url": "https://github.com/huggingface/transformers/pull/26906",
"diff_url": "https://github.com/huggingface/transformers/pull/26906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26905/comments | https://api.github.com/repos/huggingface/transformers/issues/26905/events | https://github.com/huggingface/transformers/issues/26905 | 1,949,766,226 | I_kwDOCUB6oc50NxJS | 26,905 | TypeError: Object of type BitsAndBytesConfig is not JSON serializable when using gradient_checkpointing=True in TrainingArguments | {
"login": "andreducfer",
"id": 2621846,
"node_id": "MDQ6VXNlcjI2MjE4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2621846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andreducfer",
"html_url": "https://github.com/andreducfer",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"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... | [
{
"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"... | [
"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,697 | 1,704 | 1,704 | NONE | null | ### System Info
I am running via script inside a Docker running in a Linux environment.
### Who can help?
@younesbelkada this issue is similar but not equal to #24137.
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26904/comments | https://api.github.com/repos/huggingface/transformers/issues/26904/events | https://github.com/huggingface/transformers/pull/26904 | 1,949,765,011 | PR_kwDOCUB6oc5dJH5Q | 26,904 | Pin Keras for now | {
"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 | [] | [
"There are a few `pip install -U --upgrade-strategy eager tensorflow_probability` in `.circleci/create_circleci_config.py`. I guess we will need to pin them too. But not sure if we already know the corresponding version.",
"@ydshieh yeah, `tensorflow_probability` versions don't seem to be linked to TF versions. I... | 1,697 | 1,697 | 1,697 | MEMBER | null | With Keras 3 on the horizon, let's pin Keras versions to ensure things don't break until we can transition properly | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26904/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26904",
"html_url": "https://github.com/huggingface/transformers/pull/26904",
"diff_url": "https://github.com/huggingface/transformers/pull/26904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26904.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26903/comments | https://api.github.com/repos/huggingface/transformers/issues/26903/events | https://github.com/huggingface/transformers/pull/26903 | 1,949,649,950 | PR_kwDOCUB6oc5dIuwg | 26,903 | Mark test_add_special_tokens as slow for Whisper | {
"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 | [] | [
"Closing this because it seems to be superseded by #26570"
] | 1,697 | 1,697 | 1,697 | MEMBER | null | test_add_special_tokens has been causing some CI timeouts, and the test seems to be very slow for Whisper when I test it locally. I'm marking the test as `@slow` so it stops causing CI issues, but still runs nightly.
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26903",
"html_url": "https://github.com/huggingface/transformers/pull/26903",
"diff_url": "https://github.com/huggingface/transformers/pull/26903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26902/comments | https://api.github.com/repos/huggingface/transformers/issues/26902/events | https://github.com/huggingface/transformers/issues/26902 | 1,949,598,924 | I_kwDOCUB6oc50NITM | 26,902 | Token based (or sequence of token based) repetition penalty exclusion | {
"login": "teknium1",
"id": 127238744,
"node_id": "U_kgDOB5WCWA",
"avatar_url": "https://avatars.githubusercontent.com/u/127238744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teknium1",
"html_url": "https://github.com/teknium1",
"followers_url": "https://api.github.com/users/teknium1/... | [] | closed | false | null | [] | [
"+1",
"an addendum to this for at least transformers, maybe TGI also, is if this system works, perhaps can add it as a tokenizer config setting similar to the chat templates so users dont have to implement this for whatever inference they do",
"cc @gante @Rocketknight1 ",
"for reference hf transformers' code ... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
I started this issue in TGI but it applies to all inference code that has a form of rep penalty, will paste my feature request notes from there here as well, find original here: https://github.com/huggingface/text-generation-inference/issues/1170
Hello, I would like to propose a feature that a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26902/reactions",
"total_count": 10,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26902/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26901/comments | https://api.github.com/repos/huggingface/transformers/issues/26901/events | https://github.com/huggingface/transformers/issues/26901 | 1,949,588,386 | I_kwDOCUB6oc50NFui | 26,901 | Add quantization_config in AutoModelForCausalLM.from_config() | {
"login": "ishaansharma",
"id": 8963395,
"node_id": "MDQ6VXNlcjg5NjMzOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8963395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ishaansharma",
"html_url": "https://github.com/ishaansharma",
"followers_url": "https://api.github.com... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"WDYT @younesbelkada ",
"Hi @ishaansharma \r\nThanks a lot for the proposal! \r\nI personally would not advocate to go for that route, the quantization schemes we support right now consists on post-trainign quantization, meaning the usecase is always\r\n\r\n1- load pre-trained weights from the hub or locally\r\n2... | 1,697 | 1,698 | null | NONE | null | ### Feature request
Add quantization_config feature to AutoModelForCausalLM from config .
I am trying to pretrain a model from scratch and use bits and bytes so that It can be trained on less computation expensive machines.
Below is my quantization config :
```
bnb_config = BitsAndBytesConfig(
load_in_4b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26901/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26900/comments | https://api.github.com/repos/huggingface/transformers/issues/26900/events | https://github.com/huggingface/transformers/pull/26900 | 1,949,568,409 | PR_kwDOCUB6oc5dIcvH | 26,900 | Refactor code part in documentation translated to japanese | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
this PR fixes some coding examples which was translated with the original content to japanese text. refactoring that thing in this PR.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26900",
"html_url": "https://github.com/huggingface/transformers/pull/26900",
"diff_url": "https://github.com/huggingface/transformers/pull/26900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26900.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26899/comments | https://api.github.com/repos/huggingface/transformers/issues/26899/events | https://github.com/huggingface/transformers/issues/26899 | 1,949,531,087 | I_kwDOCUB6oc50M3vP | 26,899 | NEFTune Support pls | {
"login": "nivibilla",
"id": 26687662,
"node_id": "MDQ6VXNlcjI2Njg3NjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/26687662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nivibilla",
"html_url": "https://github.com/nivibilla",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | {
"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... | [
{
"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"... | [
"Hey @nivibilla, we integrate well with TRL, which leverages a hefty number of components from the `transformers` library. What is your issue with the current TRL implementation/what would you like to enable by moving the support from TRL directly to `transformers` ?",
"a lot of my scripts and pipelines for finet... | 1,697 | 1,698 | 1,698 | NONE | null | ### Feature request
The TRL library introduced support for NEFTune in this [pr](https://github.com/huggingface/trl/pull/871)
### Motivation
Improves Supervised Fine-tuning performance
See paper : https://arxiv.org/abs/2310.05914
### Your contribution
I can try to port code over from TRL. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26898/comments | https://api.github.com/repos/huggingface/transformers/issues/26898/events | https://github.com/huggingface/transformers/issues/26898 | 1,949,430,039 | I_kwDOCUB6oc50MfEX | 26,898 | can't forward 4bit nllb-moe-54b (RuntimeError: result type Float can't be cast to the desired output type Byte) | {
"login": "CAH9487",
"id": 61491454,
"node_id": "MDQ6VXNlcjYxNDkxNDU0",
"avatar_url": "https://avatars.githubusercontent.com/u/61491454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CAH9487",
"html_url": "https://github.com/CAH9487",
"followers_url": "https://api.github.com/users/CAH948... | [] | closed | false | null | [] | [
"Hey! I think I would set the `moe_token_dropout` to `0` as a quick fix. Otherwise not sure why but the dtype is wrong cc @younesbelkada if you know of a quick fix on the modelling code?"
] | 1,697 | 1,698 | 1,698 | NONE | null | ### System Info
GPU: NVIDIA RTX A6000 (VRAM 48G)
transformers version: 4.34.0
Platform: Linux 5.15.0-69-generic
Python version: 3.8.10
Huggingface_hub version: 0.18.0
Safetensors version: 0.4.0
Accelerate version: 0.23.0
PyTorch version: 2.1.0+cu118
bitsandbytes version: 0.41.1
### Who can help?
_No response... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26898/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26897/comments | https://api.github.com/repos/huggingface/transformers/issues/26897/events | https://github.com/huggingface/transformers/issues/26897 | 1,949,367,926 | I_kwDOCUB6oc50MP52 | 26,897 | ValueError: Couldn't instantiate the backend tokenizer from one of | {
"login": "brifin",
"id": 89294527,
"node_id": "MDQ6VXNlcjg5Mjk0NTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/89294527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brifin",
"html_url": "https://github.com/brifin",
"followers_url": "https://api.github.com/users/brifin/fo... | [] | closed | false | null | [] | [
"Hey! When you say `it does not work for me` what do you mean ? ",
"> Hey! When you say `it does not work for me` what do you mean ?\r\n\r\nwhich means the result remained the same😢",
"I solved it. There was some network problem when downloading the model files, and it made the model broken. I redownloaded it ... | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
System: Linux x86_64 GNU/Linux
Python=3.9.18
sentence-transformers 2.2.2
sentencepiece 0.1.99
tokenizers 0.14.1
torch 2.0.0
torchvision 0.15.1
transformers 4.34.0
"tokenizer_class": "GPTNeoXTokenizer"
"_name_or_path"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26897/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26896/comments | https://api.github.com/repos/huggingface/transformers/issues/26896/events | https://github.com/huggingface/transformers/issues/26896 | 1,949,200,764 | I_kwDOCUB6oc50LnF8 | 26,896 | Inconsistent dropout implementation across models | {
"login": "rvashurin",
"id": 6410329,
"node_id": "MDQ6VXNlcjY0MTAzMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6410329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rvashurin",
"html_url": "https://github.com/rvashurin",
"followers_url": "https://api.github.com/users/rv... | [] | closed | false | null | [] | [
"I don't really see a reason why not to standardize the dropout to improve consistency ad readability, but that would probably require us to change quite a lot of models (380~ lines use `nn.functional.dropout` and 758 use `self.dropout = nn.Dropout` ) \r\nWondering rather if there are any specific known reason to ... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
Dropout implementations vary across different models - for example, T5 implements dropout as a layer https://github.com/huggingface/transformers/blob/e893b1efbbce80b7eaaf24f9e0134450820782b5/src/transformers/models/t5/modeling_t5.py#L285 which is visible in the model printout, while Bart uses fun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26896/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/26896/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26895/comments | https://api.github.com/repos/huggingface/transformers/issues/26895/events | https://github.com/huggingface/transformers/issues/26895 | 1,949,169,087 | I_kwDOCUB6oc50LfW_ | 26,895 | some code part in documentation was translated to japanese | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @stevhliu "
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
https://moon-ci-docs.huggingface.co/docs/transformers/pr_1/ja/preprocessing#pad
some code part in documentation was mistakenly translated to Japanese.
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An offici... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26895/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26894/comments | https://api.github.com/repos/huggingface/transformers/issues/26894/events | https://github.com/huggingface/transformers/pull/26894 | 1,948,969,999 | PR_kwDOCUB6oc5dGaRE | 26,894 | Translating `en/main_classes` folder docs to Japanese 🇯🇵 | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26894). All of your documentation changes will be reflected on that endpoint.",
"see @stevhliu all checks passed",
"I restructured toctree.yml again by following english tochtree have alook ",
"@stevhliu Other PR is rea... | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26894",
"html_url": "https://github.com/huggingface/transformers/pull/26894",
"diff_url": "https://github.com/huggingface/transformers/pull/26894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26894.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26893/comments | https://api.github.com/repos/huggingface/transformers/issues/26893/events | https://github.com/huggingface/transformers/issues/26893 | 1,948,967,870 | I_kwDOCUB6oc50KuO- | 26,893 | [i18n-jpTranslating `en/main_classes` folder docs to Japanese 🇯🇵 | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the Japanese-speaking community!
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26892/comments | https://api.github.com/repos/huggingface/transformers/issues/26892/events | https://github.com/huggingface/transformers/pull/26892 | 1,948,951,556 | PR_kwDOCUB6oc5dGWRu | 26,892 | add attention_mask and position_ids in assisted model | {
"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 | [] | [
"Hi @jiqing-feng 👋 \r\n\r\nI agree in principle with the changes that you are proposing, but you probably need to do a few changes to make our CI go green :)",
"Hi @gante . I use `assistant_model.prepare_inputs_for_generation` to get the inputs of the assistant model. The CI all goes green and I also tested on m... | 1,697 | 1,700 | 1,699 | CONTRIBUTOR | null | Hi @gante
Do you think that we should also add `assistant_attention_mask` and `assistant_position_ids` in `assisted_decoding`? I see that the original model has `attention_mask` and `position_ids`(in most models) in the model inputs but the assistant model has no these kinds of input.
If you think it is okay to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26892/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26892",
"html_url": "https://github.com/huggingface/transformers/pull/26892",
"diff_url": "https://github.com/huggingface/transformers/pull/26892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26892.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26891/comments | https://api.github.com/repos/huggingface/transformers/issues/26891/events | https://github.com/huggingface/transformers/issues/26891 | 1,948,874,546 | I_kwDOCUB6oc50KXcy | 26,891 | apply_chat_template result of Mistral is not restrictly align to the template on its website | {
"login": "annahung31",
"id": 39179888,
"node_id": "MDQ6VXNlcjM5MTc5ODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39179888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/annahung31",
"html_url": "https://github.com/annahung31",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @Rocketknight1 if you can have a look! ",
"Thanks for the warning @annahung31! I wrote that chat template based on the layout in the model card, but I didn't realize there was a slightly different template on their website. I pinged some people from Mistral in the repo issue you opened, so hopefully we can ge... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.22.1
- Platform: Linux-5.4.0-150-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- Huggingface_hub version: 0.15.1
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26890/comments | https://api.github.com/repos/huggingface/transformers/issues/26890/events | https://github.com/huggingface/transformers/pull/26890 | 1,948,563,906 | PR_kwDOCUB6oc5dFA9I | 26,890 | Bump urllib3 from 1.26.17 to 1.26.18 in /examples/research_projects/visual_bert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.18</h2>
<ul>
<li>Made body stripped from HTTP requests changing the req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26890",
"html_url": "https://github.com/huggingface/transformers/pull/26890",
"diff_url": "https://github.com/huggingface/transformers/pull/26890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26890.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26889/comments | https://api.github.com/repos/huggingface/transformers/issues/26889/events | https://github.com/huggingface/transformers/pull/26889 | 1,948,563,452 | PR_kwDOCUB6oc5dFA2q | 26,889 | Bump urllib3 from 1.26.17 to 1.26.18 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 | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.18</h2>
<ul>
<li>Made body stripped from HTTP requests changing the req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26889/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26889",
"html_url": "https://github.com/huggingface/transformers/pull/26889",
"diff_url": "https://github.com/huggingface/transformers/pull/26889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26889.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26888/comments | https://api.github.com/repos/huggingface/transformers/issues/26888/events | https://github.com/huggingface/transformers/pull/26888 | 1,948,563,147 | PR_kwDOCUB6oc5dFAyR | 26,888 | Bump urllib3 from 1.26.17 to 1.26.18 in /examples/research_projects/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26888). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.18</h2>
<ul>
<li>Made body stripped from HTTP requests changing the req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26888/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26888",
"html_url": "https://github.com/huggingface/transformers/pull/26888",
"diff_url": "https://github.com/huggingface/transformers/pull/26888.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26888.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26887/comments | https://api.github.com/repos/huggingface/transformers/issues/26887/events | https://github.com/huggingface/transformers/issues/26887 | 1,948,506,277 | I_kwDOCUB6oc50I9il | 26,887 | Inconsistency between CLIPTokenizer and CLIPTokenizerFast | {
"login": "sayanshaw24",
"id": 52221015,
"node_id": "MDQ6VXNlcjUyMjIxMDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/52221015?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayanshaw24",
"html_url": "https://github.com/sayanshaw24",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! This is a duplicate of #22166 I believe! "
] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.12.1+cpu (False)
- Tensorflow version (GPU?): 2.9.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26886/comments | https://api.github.com/repos/huggingface/transformers/issues/26886/events | https://github.com/huggingface/transformers/issues/26886 | 1,948,481,103 | I_kwDOCUB6oc50I3ZP | 26,886 | metric_for_best_model not found | {
"login": "asaluja",
"id": 2447063,
"node_id": "MDQ6VXNlcjI0NDcwNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2447063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asaluja",
"html_url": "https://github.com/asaluja",
"followers_url": "https://api.github.com/users/asaluja/... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"@ArthurZucker @pacman100 following up on this, am I doing something wrong here or is there a bug?",
"cc @muellerzr if you can have a look since @pacman100 is off! 😉 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs t... | 1,697 | 1,707 | 1,707 | NONE | null | ### System Info
Transformers version: 4.31.0
Python version: 3.10
Accelerate version: 0.21.0
TRL version: 0.7.2
I am not sure if this issue should be here or in the `trl` repo, but the stack trace showed an error in `transformers/trainer.py`.
I am using `trl.DPOTrainer`. I define `metric_for_best_model="eval_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26885/comments | https://api.github.com/repos/huggingface/transformers/issues/26885/events | https://github.com/huggingface/transformers/pull/26885 | 1,948,405,608 | PR_kwDOCUB6oc5dEepT | 26,885 | Add InstructBlip to VQA pipeline | {
"login": "stevenmanton",
"id": 3666725,
"node_id": "MDQ6VXNlcjM2NjY3MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3666725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevenmanton",
"html_url": "https://github.com/stevenmanton",
"followers_url": "https://api.github.com... | [] | open | false | null | [] | [
"Hey! Feel free to ping @rafaelpadilla as well once this is ready! ",
"Ok, I've added some simple logic to the the `VisualQuestionAnsweringPipeline` class that will load the InstructBlipProcessor if required. It still seems a little clunky to me, but I don't know of a better way. I also added a slow test for Inst... | 1,697 | 1,707 | null | CONTRIBUTOR | null | # What does this PR do?
This PR attempts to support InstructBlip as an acceptable model in the VQA pipeline. Currently, only Blip2 is supported.
## 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 guideli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26885/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26885",
"html_url": "https://github.com/huggingface/transformers/pull/26885",
"diff_url": "https://github.com/huggingface/transformers/pull/26885.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26885.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26884/comments | https://api.github.com/repos/huggingface/transformers/issues/26884/events | https://github.com/huggingface/transformers/issues/26884 | 1,948,355,610 | I_kwDOCUB6oc50IYwa | 26,884 | Issue loading models saved with older version | {
"login": "valbarriere",
"id": 11158292,
"node_id": "MDQ6VXNlcjExMTU4Mjky",
"avatar_url": "https://avatars.githubusercontent.com/u/11158292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valbarriere",
"html_url": "https://github.com/valbarriere",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! You are jumping between two majors releases where backward compatibility is usually broken. So this is expected",
"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... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-debian-bullseye-sid
- Python version: 3.7.10
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.10.0+cu102 (True)
- Tensorflow version (GPU?): 2.4.1 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26883/comments | https://api.github.com/repos/huggingface/transformers/issues/26883/events | https://github.com/huggingface/transformers/pull/26883 | 1,948,304,967 | PR_kwDOCUB6oc5dEIPI | 26,883 | [docstring] Fix docstring for speech-to-text config | {
"login": "R055A",
"id": 14985050,
"node_id": "MDQ6VXNlcjE0OTg1MDUw",
"avatar_url": "https://avatars.githubusercontent.com/u/14985050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/R055A",
"html_url": "https://github.com/R055A",
"followers_url": "https://api.github.com/users/R055A/follow... | [] | closed | false | null | [] | [
"@ydshieh did the PR fail checks because any line(s) being beyond a 119-char limit?",
"Yes, you should run `make style` to apply our styling to the code ! this will need the `pip install -e \".[quality]\"` flags to make sure you have the required packages ",
"> Yes, you should run `make style` to apply our styl... | 1,697 | 1,697 | 1,697 | 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/26883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26883",
"html_url": "https://github.com/huggingface/transformers/pull/26883",
"diff_url": "https://github.com/huggingface/transformers/pull/26883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26883.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26882/comments | https://api.github.com/repos/huggingface/transformers/issues/26882/events | https://github.com/huggingface/transformers/issues/26882 | 1,948,209,408 | I_kwDOCUB6oc50H1EA | 26,882 | Baichuan model is not working | {
"login": "Fangzhou-Ai",
"id": 31551580,
"node_id": "MDQ6VXNlcjMxNTUxNTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/31551580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fangzhou-Ai",
"html_url": "https://github.com/Fangzhou-Ai",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! This is because of a recent update to `transformers`, the model on the hub should be updated to move the call of `super()__init__` at the end of the `__init__()` of the model"
] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
using latest vllm by ```pip install vllm``` directly.
GPU: A100 @ 80 GB
System: Debian 10
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26881/comments | https://api.github.com/repos/huggingface/transformers/issues/26881/events | https://github.com/huggingface/transformers/pull/26881 | 1,948,183,229 | PR_kwDOCUB6oc5dDs8Y | 26,881 | [docs] Update CPU/GPU inference docs | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@lvwerra did you participate in writing the original document as well? Do you have feedback on this refactor?",
"Nice overhaul! I think it's also an opportunity to mention Optimum as this falls right into what we are doing:\r\n- I ... | 1,697 | 1,698 | 1,698 | MEMBER | null | Implements the proposal suggested in #26723, namely:
- consolidating the inference on one/many GPUs docs into one page
- removing the inference on specialized hardware page
- cleanups and updates to the inference docs to provide more context about the how/what of the optimization techniques, code examples so users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26881",
"html_url": "https://github.com/huggingface/transformers/pull/26881",
"diff_url": "https://github.com/huggingface/transformers/pull/26881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26881.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26880/comments | https://api.github.com/repos/huggingface/transformers/issues/26880/events | https://github.com/huggingface/transformers/pull/26880 | 1,948,110,491 | PR_kwDOCUB6oc5dDdMw | 26,880 | [docstring] Fix docstring for ChineseCLIPImageProcessor, ChineseCLIPTextConfig, ChineseCLIPVisionConfig | {
"login": "Sparty",
"id": 3923604,
"node_id": "MDQ6VXNlcjM5MjM2MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3923604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sparty",
"html_url": "https://github.com/Sparty",
"followers_url": "https://api.github.com/users/Sparty/foll... | [] | closed | false | null | [] | [
"@ydshieh Could you please review this?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26880). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | 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/26880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26880/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26880",
"html_url": "https://github.com/huggingface/transformers/pull/26880",
"diff_url": "https://github.com/huggingface/transformers/pull/26880.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26880.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26879/comments | https://api.github.com/repos/huggingface/transformers/issues/26879/events | https://github.com/huggingface/transformers/pull/26879 | 1,948,059,579 | PR_kwDOCUB6oc5dDSGh | 26,879 | Fixed a typo in mistral.md | {
"login": "DTennant",
"id": 15844949,
"node_id": "MDQ6VXNlcjE1ODQ0OTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/15844949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DTennant",
"html_url": "https://github.com/DTennant",
"followers_url": "https://api.github.com/users/DTe... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | 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/26879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26879/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26879",
"html_url": "https://github.com/huggingface/transformers/pull/26879",
"diff_url": "https://github.com/huggingface/transformers/pull/26879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26879.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26878/comments | https://api.github.com/repos/huggingface/transformers/issues/26878/events | https://github.com/huggingface/transformers/issues/26878 | 1,948,015,660 | I_kwDOCUB6oc50HFws | 26,878 | use_flash_attention_2 not supported for AutoConfig and/or from_config | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | {
"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... | [
{
"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"... | [
"cc @younesbelkada and @LysandreJik I remember we had a debate on whether or not this should be saved 😃 ",
"Rather than being saved, I think @dakinggg is asking to be able to pass it when initializing the model with a config, so probably something like this:\r\n```\r\nmodel = BertModel(BertConfig(), use_flash_at... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | ### Feature request
Let me know if I've missed something, but I think `use_flash_attention_2` is only supported via the `from_pretrained` API. So I think I have to do something like `config._flash_attn_2_enabled = use_flash_attention_2` outside of the normal transformers API in order to initialize a model with flash a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26878/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26877/comments | https://api.github.com/repos/huggingface/transformers/issues/26877/events | https://github.com/huggingface/transformers/issues/26877 | 1,947,994,950 | I_kwDOCUB6oc50HAtG | 26,877 | Mistral with flash attention 2 and right padding | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"Having the same issues\r\nValueError: You are attempting to perform batched generation with padding_side='right' this may lead to unexpected behaviour for Flash Attention version of Mistral. Make sure to call `tokenizer.padding_side = 'left'` before tokenizing the input. ",
"cc @younesbelkada ",
"Indeed forw... | 1,697 | 1,705 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26876/comments | https://api.github.com/repos/huggingface/transformers/issues/26876/events | https://github.com/huggingface/transformers/pull/26876 | 1,947,975,166 | PR_kwDOCUB6oc5dDADH | 26,876 | [Docs] Model_doc structure/clarity improvements | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"If @ArthurZucker is busy, maybe @amyeroberts could take a look?"
] | 1,697 | 1,699 | 1,699 | CONTRIBUTOR | null | This PR streamlines pages in model_doc, so that a user who has seen at least one of these pages, should find it easier to navigate throughout any other model_doc page. These are the changes:
1. Individual pages now have (with a few exceptions) the same structure: overview, followed by author acknowledgement, usage t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26876/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26876",
"html_url": "https://github.com/huggingface/transformers/pull/26876",
"diff_url": "https://github.com/huggingface/transformers/pull/26876.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26876.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26875/comments | https://api.github.com/repos/huggingface/transformers/issues/26875/events | https://github.com/huggingface/transformers/pull/26875 | 1,947,837,609 | PR_kwDOCUB6oc5dCh9z | 26,875 | [WIP][Speculative Decoding] Enable batch size > 1 | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26875). All of your documentation changes will be reflected on that endpoint.",
"Hi, good work! I am curious about how to deal with the wrong kv cache token rolling back for draft model, or you just mask them?",
"This iss... | 1,697 | 1,705 | 1,705 | MEMBER | null | # What does this PR do?
This PR enables speculative decoding when batch size is > 1.
This PR has been tested to work correctly for Whisper. You can try it as follows:
```py
from transformers import pipeline, AutoModelForCausalLM, AutoModelForSpeechSeq2Seq, AutoProcessor
import torch
from datasets import loa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26875/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/26875/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26875",
"html_url": "https://github.com/huggingface/transformers/pull/26875",
"diff_url": "https://github.com/huggingface/transformers/pull/26875.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26875.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26874/comments | https://api.github.com/repos/huggingface/transformers/issues/26874/events | https://github.com/huggingface/transformers/issues/26874 | 1,947,615,349 | I_kwDOCUB6oc50FkB1 | 26,874 | deepspeed multi-gpu inference | {
"login": "liuchengyuan123",
"id": 34617968,
"node_id": "MDQ6VXNlcjM0NjE3OTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/34617968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liuchengyuan123",
"html_url": "https://github.com/liuchengyuan123",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello, I don't understand what the issue is here. As the error suggests, DeepSpeed ZeRO only makes sense for prediction if it is stage 3 because the parameters would get sharded. DeepSpeed Stage 2 would not be leading to any memory savings and in that case it would be better to not use DeepSeed... | 1,697 | 1,705 | 1,705 | NONE | null | ### System Info
I'm using transformers.Trainer with deepspeed. During training, Zero 2 is adopted. For evaluation, I just want to accelerate with multi-GPU inference like in normal DDP, while deepspeed raises ValueError: "ZeRO inference only makes sense with ZeRO Stage 3 - please adjust your config".
I find that in e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26874/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/26874/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26873/comments | https://api.github.com/repos/huggingface/transformers/issues/26873/events | https://github.com/huggingface/transformers/pull/26873 | 1,947,594,765 | PR_kwDOCUB6oc5dBth2 | 26,873 | Fix wrong index for sequence length in Falcon | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"Thank you @Rocketknight1 ",
"Nevermind, I forgot about the reshaping happening in the modeling code itself. So the current index in `prepare_inputs_for_generation` is correct."
] | 1,697 | 1,697 | 1,697 | COLLABORATOR | null | As per title, please refer to https://github.com/huggingface/transformers/blob/db611aabee863cc5b1fdc22dcec5ce8e6c3e3b36/src/transformers/models/falcon/modeling_falcon.py#L1110 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26873/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26873",
"html_url": "https://github.com/huggingface/transformers/pull/26873",
"diff_url": "https://github.com/huggingface/transformers/pull/26873.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26873.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26872/comments | https://api.github.com/repos/huggingface/transformers/issues/26872/events | https://github.com/huggingface/transformers/pull/26872 | 1,947,572,541 | PR_kwDOCUB6oc5dBorf | 26,872 | Update README_hd.md | {
"login": "biswabaibhab007",
"id": 94667039,
"node_id": "U_kgDOBaSBHw",
"avatar_url": "https://avatars.githubusercontent.com/u/94667039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/biswabaibhab007",
"html_url": "https://github.com/biswabaibhab007",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"I've committed the suggestion you can merge it now.",
"@stevhliu btw on line 90 there's jax installation if that's what you meant you ."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | - Fixed broken links.
I hope this small contribution adds value to this project. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26872",
"html_url": "https://github.com/huggingface/transformers/pull/26872",
"diff_url": "https://github.com/huggingface/transformers/pull/26872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26872.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26871/comments | https://api.github.com/repos/huggingface/transformers/issues/26871/events | https://github.com/huggingface/transformers/issues/26871 | 1,947,436,183 | I_kwDOCUB6oc50E4SX | 26,871 | Added tokens incorrectly splitted when they immediately follow a subword without a leading whitespace | {
"login": "bilelomrani1",
"id": 16692099,
"node_id": "MDQ6VXNlcjE2NjkyMDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/16692099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bilelomrani1",
"html_url": "https://github.com/bilelomrani1",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey, if you add the tokens using the following it will work as expected:\r\n```python \r\n>>> from transformers import AutoTokenizer, AddedToken\r\n>>> tokenizer = AutoTokenizer.from_pretrained(\"meta-llama/Llama-2-7b-hf\")\r\n>>> tokenizer.add_tokens([AddedToken(\"<|im_end|>\", normalized = False, special = False... | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: macOS-14.0-x86_64-i386-64bit
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26871/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26870/comments | https://api.github.com/repos/huggingface/transformers/issues/26870/events | https://github.com/huggingface/transformers/pull/26870 | 1,947,408,799 | PR_kwDOCUB6oc5dBEkZ | 26,870 | Port IDEFICS to tensorflow | {
"login": "a8nova",
"id": 11152705,
"node_id": "MDQ6VXNlcjExMTUyNzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/11152705?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/a8nova",
"html_url": "https://github.com/a8nova",
"followers_url": "https://api.github.com/users/a8nova/fo... | [] | open | false | null | [] | [
"@VictorSanh just an fyi - I am hoping this model is TF portable.. ",
"also ccing @Rocketknight1 ",
"🤗👀",
"Hey @a8nova! I'm the TF maintainer around here, and this sounds like a great idea. Feel free to ping me if you encounter any difficulties. In general when porting code to TF you will first want to do t... | 1,697 | 1,708 | null | NONE | null | # What does this PR do?
This PR ports IDEFICS to tensorflow
<!--
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 contribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26870/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26870",
"html_url": "https://github.com/huggingface/transformers/pull/26870",
"diff_url": "https://github.com/huggingface/transformers/pull/26870.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26870.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26869/comments | https://api.github.com/repos/huggingface/transformers/issues/26869/events | https://github.com/huggingface/transformers/issues/26869 | 1,947,379,401 | I_kwDOCUB6oc50EqbJ | 26,869 | bfloat16/float16 llama model logits are significantly different when the same input is in a batch | {
"login": "soheeyang",
"id": 28291528,
"node_id": "MDQ6VXNlcjI4MjkxNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/28291528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soheeyang",
"html_url": "https://github.com/soheeyang",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I just checked that the same issue exists for float16 (fails at atol=1e-2), not only bfloat16 (fails at atol=1e-1) and also for llama v1 7b.\r\nAlso, the issue occurs not only when 'torch_dtype' is passed during initialization, but also when 'model.to(dtype)' is called after initialization.\r\n\r\n```\r\nFalse # ... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
### system
- `transformers` version: 4.34.0
- Platform: Linux-5.15.0-1027-gcp-x86_64-with-glibc2.31
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26869/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/26869/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26868/comments | https://api.github.com/repos/huggingface/transformers/issues/26868/events | https://github.com/huggingface/transformers/issues/26868 | 1,947,307,436 | I_kwDOCUB6oc50EY2s | 26,868 | Dataset 'jsonl' doesn't exist on the Hub in examples/pytorch/translation/run_translation.py | {
"login": "mathiasesn",
"id": 27091759,
"node_id": "MDQ6VXNlcjI3MDkxNzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/27091759?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mathiasesn",
"html_url": "https://github.com/mathiasesn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"A simple fix would be to add:\r\n\r\n```python\r\n if extension == \"jsonl\":\r\n extension = \"json\"\r\n```\r\n\r\nafter [line 373 in examples/pytorch/translation/run_translation.py](https://github.com/huggingface/transformers/blob/4b423e607455a7aca1edc4beaa713da58e78ef0b/examples/pytorch/trans... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.35.0.dev0
- Platform: Linux-6.2.0-34-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.24.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26867/comments | https://api.github.com/repos/huggingface/transformers/issues/26867/events | https://github.com/huggingface/transformers/issues/26867 | 1,947,220,481 | I_kwDOCUB6oc50EDoB | 26,867 | Benchmark whether we can get better performance out of ZeRO-3 vs. ZeRO-2 on a single GPU | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @rajveer43, what is this issue? Please open issues relevant to what we're trying to do with this repository. These issues are not helpful and do not seem related to `transformers`. I appreciate your understanding.",
"Actually I was working on one of the documentation issues for a while and saw this thing mar... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26867/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26866/comments | https://api.github.com/repos/huggingface/transformers/issues/26866/events | https://github.com/huggingface/transformers/issues/26866 | 1,947,205,531 | I_kwDOCUB6oc50D_-b | 26,866 | Consider Adding Practical Usage Examples from Issue comment #8771 to Documentation | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I think we can keep it as is",
"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/transfo... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | I was going though the documentation of the file path `docs/source/jen/main_classes/deepspeed.md` and this line
https://github.com/huggingface/transformers/blob/4b423e607455a7aca1edc4beaa713da58e78ef0b/docs/source/en/main_classes/deepspeed.md?plain=1#L206
and saw below comment in documentation
`For some prac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26866/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26865/comments | https://api.github.com/repos/huggingface/transformers/issues/26865/events | https://github.com/huggingface/transformers/pull/26865 | 1,947,171,876 | PR_kwDOCUB6oc5dAQNw | 26,865 | Fix `resize_token_embeddings` (#26861) | {
"login": "czy-orange",
"id": 55686423,
"node_id": "MDQ6VXNlcjU1Njg2NDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/55686423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czy-orange",
"html_url": "https://github.com/czy-orange",
"followers_url": "https://api.github.com/use... | [] | 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,697 | 1,700 | 1,700 | CONTRIBUTOR | null | * Fix `resize_token_embeddings` about `requires_grad`
The method `resize_token_embeddings` should keep `requires_grad` unchanged for all parameters in embeddings.
Previously, `resize_token_embeddings` always set `requires_grad` to `True`. After fixed, `resize_token_embeddings` copy the `requires_grad` attribute i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26865/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26865",
"html_url": "https://github.com/huggingface/transformers/pull/26865",
"diff_url": "https://github.com/huggingface/transformers/pull/26865.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26865.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26864/comments | https://api.github.com/repos/huggingface/transformers/issues/26864/events | https://github.com/huggingface/transformers/issues/26864 | 1,947,130,755 | I_kwDOCUB6oc50DtuD | 26,864 | CLAP Finetuning not working | {
"login": "LeoPerelli",
"id": 40518973,
"node_id": "MDQ6VXNlcjQwNTE4OTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/40518973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeoPerelli",
"html_url": "https://github.com/LeoPerelli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! I seems that there is a `return_loss` argument that can be set when calling the forward of the model. I am not really sure how the trainer handle's it internally but you should be able to pass it as an argument I believe",
"Indeed, see CLIP's training script, which is very similar to CLAP: https://github.... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
Hello! I am trying to finetune a CLAP model, without much luck. I am getting the following error:
`ValueError: The model did not return a loss from the inputs, only the following keys: logits_per_audio,logits_per_text,text_embeds,audio_embeds,text_model_output,audio_model_output. For reference, the in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26864/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26863/comments | https://api.github.com/repos/huggingface/transformers/issues/26863/events | https://github.com/huggingface/transformers/pull/26863 | 1,947,057,577 | PR_kwDOCUB6oc5c_3Br | 26,863 | Generate: improve docstrings for custom stopping criteria | {
"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,697 | 1,697 | 1,697 | MEMBER | null | # What does this PR do?
Addresses https://github.com/huggingface/transformers/issues/18068, and a few other GH issues with the same problem
When a user defines a custom stopping criteria that makes use of the `scores` input, if `return_dict_in_generate=True, output_scores=True` are not passed, an exception will b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26863/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26863",
"html_url": "https://github.com/huggingface/transformers/pull/26863",
"diff_url": "https://github.com/huggingface/transformers/pull/26863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26863.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26862/comments | https://api.github.com/repos/huggingface/transformers/issues/26862/events | https://github.com/huggingface/transformers/issues/26862 | 1,947,030,063 | I_kwDOCUB6oc50DVIv | 26,862 | Support reverse_prompt | {
"login": "louisabraham",
"id": 13174805,
"node_id": "MDQ6VXNlcjEzMTc0ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/13174805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/louisabraham",
"html_url": "https://github.com/louisabraham",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hey! I am not sure I understand what you are requesting here, the custom logits processors are specifically designed for this! ",
"I'm interested in addressing this issue. Here are two concise solutions:\r\n\r\n1. `stopping_criteria Parameter`: Introduce a stopping_criteria parameter directly in the generate met... | 1,697 | 1,698 | null | NONE | null | ### Feature request
Add a simple option to provide a stopping criteria in the generate method. This option could also be a stopping criteria.
### Motivation
Llama.cpp supports an option `--reverse-prompt`. It is very useful for chat models to stop at words like "USER:".
### Your contribution
This is how ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26862/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26861/comments | https://api.github.com/repos/huggingface/transformers/issues/26861/events | https://github.com/huggingface/transformers/issues/26861 | 1,946,713,993 | I_kwDOCUB6oc50CH-J | 26,861 | `resize_token_embeddings` always sets `requires_grad` (of parameters in the resized embedding) to `True` | {
"login": "czy-orange",
"id": 55686423,
"node_id": "MDQ6VXNlcjU1Njg2NDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/55686423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czy-orange",
"html_url": "https://github.com/czy-orange",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue was raised in forum but was not solved. This is the [original post](https://discuss.huggingface.co/t/how-to-freez-a-model/12819/2).",
"Hey! Seems like this has been the case for quite a while, but I think it makes sense to keep this info as well, preventing surprises. Would you like to open a PR for a... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.31
- Python version: 3.11.3
- Huggingface_hub version: 0.17.2
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26860/comments | https://api.github.com/repos/huggingface/transformers/issues/26860/events | https://github.com/huggingface/transformers/pull/26860 | 1,946,647,664 | PR_kwDOCUB6oc5c-esb | 26,860 | fix DPR token_type_ids | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,697 | 1,700 | 1,700 | 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/26860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26860",
"html_url": "https://github.com/huggingface/transformers/pull/26860",
"diff_url": "https://github.com/huggingface/transformers/pull/26860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26860.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26859/comments | https://api.github.com/repos/huggingface/transformers/issues/26859/events | https://github.com/huggingface/transformers/issues/26859 | 1,946,527,580 | I_kwDOCUB6oc50Badc | 26,859 | Running official `apply_chat_template` throws warnings | {
"login": "Boltzmachine",
"id": 56542320,
"node_id": "MDQ6VXNlcjU2NTQyMzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/56542320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Boltzmachine",
"html_url": "https://github.com/Boltzmachine",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey this is a tokenizer issue and will be fixed by #26570",
"Any local workaround I can make to avoid this message?",
"Yes you can initialize the tokenizer with `verbose = False`:\r\n```python \r\n>> from transformers import AutoTokenizer\r\n>> tokenizer = AutoTokenizer.from_pretrained(\"meta-llama/Llama-2-7b-... | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.10.0-26-cloud-amd64-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.0 (True)
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26858/comments | https://api.github.com/repos/huggingface/transformers/issues/26858/events | https://github.com/huggingface/transformers/pull/26858 | 1,946,486,257 | PR_kwDOCUB6oc5c972K | 26,858 | [docstring] Fix docstring for LukeConfig | {
"login": "louietouie",
"id": 80791777,
"node_id": "MDQ6VXNlcjgwNzkxNzc3",
"avatar_url": "https://avatars.githubusercontent.com/u/80791777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/louietouie",
"html_url": "https://github.com/louietouie",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@ydshieh , thanks! I waited for the 7 CI tests to be green before tagging."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | Part of Docstring Sprint #26638
One small bug I noticed, which can be seen in my first commit, was that check_docstrings.py added a duplicate default specification for use_entity_aware_attention, which I deleted in my second commit.
## Before submitting
- [Y] This PR fixes a typo or improves the docs (you can d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26858/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26858",
"html_url": "https://github.com/huggingface/transformers/pull/26858",
"diff_url": "https://github.com/huggingface/transformers/pull/26858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26858.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26857/comments | https://api.github.com/repos/huggingface/transformers/issues/26857/events | https://github.com/huggingface/transformers/issues/26857 | 1,946,480,811 | I_kwDOCUB6oc50BPCr | 26,857 | Request support about the flash attention 2 for the gpt_bigcode models | {
"login": "DongHande",
"id": 45357817,
"node_id": "MDQ6VXNlcjQ1MzU3ODE3",
"avatar_url": "https://avatars.githubusercontent.com/u/45357817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DongHande",
"html_url": "https://github.com/DongHande",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! Will be fixed by #26479",
"Hope it will be soon fixed and merged. "
] | 1,697 | 1,697 | 1,697 | NONE | null | When I run the code,
```
checkpoint = "bigcode/starcoder"
model = AutoModelForCausalLM.from_pretrained(checkpoint, use_flash_attention_2=True)
```
it shows that "ValueError: The current architecture does not support Flash Attention 2.0. Please open an issue on GitHub to request support for this architecture: htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26857/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26856/comments | https://api.github.com/repos/huggingface/transformers/issues/26856/events | https://github.com/huggingface/transformers/pull/26856 | 1,946,442,304 | PR_kwDOCUB6oc5c9yog | 26,856 | fix set_transform link docs | {
"login": "diegulio",
"id": 68176588,
"node_id": "MDQ6VXNlcjY4MTc2NTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/68176588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/diegulio",
"html_url": "https://github.com/diegulio",
"followers_url": "https://api.github.com/users/die... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This PR simply fix a link to set_transform documentation.
<!-- Remove if not applicable -->
Fixes # (issue)
Broken link to set_transform docs
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26856",
"html_url": "https://github.com/huggingface/transformers/pull/26856",
"diff_url": "https://github.com/huggingface/transformers/pull/26856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26856.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26855/comments | https://api.github.com/repos/huggingface/transformers/issues/26855/events | https://github.com/huggingface/transformers/pull/26855 | 1,946,357,504 | PR_kwDOCUB6oc5c9gaP | 26,855 | Added hindi language code in language list | {
"login": "AaryaBalwadkar",
"id": 142713127,
"node_id": "U_kgDOCIGhJw",
"avatar_url": "https://avatars.githubusercontent.com/u/142713127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AaryaBalwadkar",
"html_url": "https://github.com/AaryaBalwadkar",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Closing since this is fixed in #26837 "
] | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26855",
"html_url": "https://github.com/huggingface/transformers/pull/26855",
"diff_url": "https://github.com/huggingface/transformers/pull/26855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26855.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26854/comments | https://api.github.com/repos/huggingface/transformers/issues/26854/events | https://github.com/huggingface/transformers/pull/26854 | 1,946,281,086 | PR_kwDOCUB6oc5c9QQ6 | 26,854 | Add script to convert HF Whisper models back to OpenAI format | {
"login": "zuazo",
"id": 1878434,
"node_id": "MDQ6VXNlcjE4Nzg0MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1878434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zuazo",
"html_url": "https://github.com/zuazo",
"followers_url": "https://api.github.com/users/zuazo/follower... | [] | closed | false | null | [] | [
"Linking #20953 as it was asked quite a while ago. We don't usually add these in transformers and would rather add it to the `## resource` section, as a link to a your repo with the script. WDYT @sanchit-gandhi ",
"Probably in the Resource section would be best here @zuazo! It becomes a bit difficult to maintain ... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
This PR introduces a new script named `convert_hf_to_openai.py` that allows for the conversion of Hugging Face Whisper models back to the original OpenAI Whisper format. This just does the opposite of the [`convert_openai_to_hf.py`](https://github.com/huggingface/transformers/blob/main/src/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26854/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/26854/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26854",
"html_url": "https://github.com/huggingface/transformers/pull/26854",
"diff_url": "https://github.com/huggingface/transformers/pull/26854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26854.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26853/comments | https://api.github.com/repos/huggingface/transformers/issues/26853/events | https://github.com/huggingface/transformers/issues/26853 | 1,946,226,997 | I_kwDOCUB6oc50ARE1 | 26,853 | Hey! The warning is a general warning. `Left` padding is the usual recommendation, but the original Llama codebase (and Code-Llama is part of the Llama codebase) use a default `right` padding. Our goal is to have similar results out of the box (so right padding) but still allow users to have the best results and we thu... | {
"login": "rafa852",
"id": 59406764,
"node_id": "MDQ6VXNlcjU5NDA2NzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/59406764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafa852",
"html_url": "https://github.com/rafa852",
"followers_url": "https://api.github.com/users/rafa85... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | NONE | null | Hey! The warning is a general warning. `Left` padding is the usual recommendation, but the original Llama codebase (and Code-Llama is part of the Llama codebase) use a default `right` padding. Our goal is to have similar results out of the box (so right padding) but still allow users to have the best resu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26853/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26852/comments | https://api.github.com/repos/huggingface/transformers/issues/26852/events | https://github.com/huggingface/transformers/pull/26852 | 1,946,124,033 | PR_kwDOCUB6oc5c8tmb | 26,852 | [`FA2`] Fix flash attention 2 fine-tuning with Falcon | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@younesbelkada so the status right now is that falcon 180 b should work because it uses RoPE but 7b won't work until the alibi issue is fixed?\r\n\r\nFalcon 40b instruct also seems to be rope, so I expected that to work but I get thi... | 1,697 | 1,698 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/trl/issues/832
Fixes https://github.com/huggingface/trl/issues/875
and all issues related with FA-2 + Falcon fine-tuning
Before this PR we were passing a `nn.Dropout` to the flash attention forward method, leading to an error since the dropout argume... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26852/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/26852/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26852",
"html_url": "https://github.com/huggingface/transformers/pull/26852",
"diff_url": "https://github.com/huggingface/transformers/pull/26852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26852.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26851/comments | https://api.github.com/repos/huggingface/transformers/issues/26851/events | https://github.com/huggingface/transformers/pull/26851 | 1,945,993,866 | PR_kwDOCUB6oc5c8Qom | 26,851 | [docstring] Fix bit image processor | {
"login": "przemL",
"id": 24912415,
"node_id": "MDQ6VXNlcjI0OTEyNDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/24912415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/przemL",
"html_url": "https://github.com/przemL",
"followers_url": "https://api.github.com/users/przemL/fo... | [] | closed | false | null | [] | [
"@ydshieh Could you please review the PR?\r\nThank you.",
"Hi @przemL I see you closed this (and another) PR. Any particular reason? Feel free to reopen is you still want to have your contribution being merged. Thank you."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fix docstring for bit image processor.
## 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-cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26851",
"html_url": "https://github.com/huggingface/transformers/pull/26851",
"diff_url": "https://github.com/huggingface/transformers/pull/26851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26851.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26850/comments | https://api.github.com/repos/huggingface/transformers/issues/26850/events | https://github.com/huggingface/transformers/pull/26850 | 1,945,958,845 | PR_kwDOCUB6oc5c8I0_ | 26,850 | Bring back `set_epoch` for Accelerate-based dataloaders | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
This PR brings back the `set_epoch` logic and solves the last remaining regression from the accelerate integration. Resuming training should now be exactly identical. (Introduced due to an incomplete implementation in https://github.com/huggingface/transformers/pull/24028)
Linked with http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26850",
"html_url": "https://github.com/huggingface/transformers/pull/26850",
"diff_url": "https://github.com/huggingface/transformers/pull/26850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26850.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26849/comments | https://api.github.com/repos/huggingface/transformers/issues/26849/events | https://github.com/huggingface/transformers/pull/26849 | 1,945,947,626 | PR_kwDOCUB6oc5c8GVg | 26,849 | Bugfix device map detr model | {
"login": "pedrogengo",
"id": 27240528,
"node_id": "MDQ6VXNlcjI3MjQwNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/27240528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedrogengo",
"html_url": "https://github.com/pedrogengo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @SunMarc :) I don't have 2 GPUs unfortunately. Can you run on your side? In the meantime I can remove the tests I added + fix the style issue",
"@SunMarc addressed your comment on my side. Could you test?\r\nI also noticed a bad pattern maybe on `check_copies.py`. At first, I tried this:\r\n\r\n`# Copied from... | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Fixes #26700 #23145
## Who can review?
@LysandreJik @SunMarc | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26849/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/26849/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26849",
"html_url": "https://github.com/huggingface/transformers/pull/26849",
"diff_url": "https://github.com/huggingface/transformers/pull/26849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26849.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26848/comments | https://api.github.com/repos/huggingface/transformers/issues/26848/events | https://github.com/huggingface/transformers/pull/26848 | 1,945,935,264 | PR_kwDOCUB6oc5c8Dnq | 26,848 | [docstring] Fix bert japanese tokenizer | {
"login": "przemL",
"id": 24912415,
"node_id": "MDQ6VXNlcjI0OTEyNDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/24912415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/przemL",
"html_url": "https://github.com/przemL",
"followers_url": "https://api.github.com/users/przemL/fo... | [] | closed | false | null | [] | [
"@ydshieh Could you please review the PR?\r\nThank you."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fix docstring for bert japanese tokenizer.
## 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#star... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26848/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26848",
"html_url": "https://github.com/huggingface/transformers/pull/26848",
"diff_url": "https://github.com/huggingface/transformers/pull/26848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26848.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26847/comments | https://api.github.com/repos/huggingface/transformers/issues/26847/events | https://github.com/huggingface/transformers/pull/26847 | 1,945,898,367 | PR_kwDOCUB6oc5c77l_ | 26,847 | Fix Mistral OOM again ... | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
missing `torch.no_grad` 😭 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26847/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26847",
"html_url": "https://github.com/huggingface/transformers/pull/26847",
"diff_url": "https://github.com/huggingface/transformers/pull/26847.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26847.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26846/comments | https://api.github.com/repos/huggingface/transformers/issues/26846/events | https://github.com/huggingface/transformers/pull/26846 | 1,945,877,903 | PR_kwDOCUB6oc5c73Ir | 26,846 | [`FA-2`] Final fix for FA2 dtype | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26846). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Replaces https://github.com/huggingface/transformers/pull/26560
Fixes https://github.com/huggingface/transformers/issues/26451
Proposes a simpler fix for dealing with FA-2 + PEFT + quantization fine-tuning where users usually cast all other modules (e.g. LayerNorms) in fp32 for training ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26846/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26846",
"html_url": "https://github.com/huggingface/transformers/pull/26846",
"diff_url": "https://github.com/huggingface/transformers/pull/26846.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26846.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26845/comments | https://api.github.com/repos/huggingface/transformers/issues/26845/events | https://github.com/huggingface/transformers/issues/26845 | 1,945,807,862 | I_kwDOCUB6oc5z-qv2 | 26,845 | ValueError from NougatImageProcessor using example from docs | {
"login": "lucasmccabe",
"id": 12187602,
"node_id": "MDQ6VXNlcjEyMTg3NjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/12187602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasmccabe",
"html_url": "https://github.com/lucasmccabe",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Note: this is resolved by explicitly passing `data_format=\"channels_first\"` when calling `NougatProcessor`, although it's not clear to me why this is the case, since this is ostensibly the default anyway.",
"Hello, thanks for reporting, this was fixed in #26608",
"This issue has been automatically marked as... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-13.5.2-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26844/comments | https://api.github.com/repos/huggingface/transformers/issues/26844/events | https://github.com/huggingface/transformers/issues/26844 | 1,945,764,193 | I_kwDOCUB6oc5z-gFh | 26,844 | Mask2Former get_num_masks does not average across the nodes | {
"login": "tommiekerssies",
"id": 6392002,
"node_id": "MDQ6VXNlcjYzOTIwMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6392002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tommiekerssies",
"html_url": "https://github.com/tommiekerssies",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"cc @rafaelpadilla might be worth checking? ",
"Hi @tommiekerssies ,\r\n\r\nWe appreciate you bringing this to our attention.\r\n\r\nThe original Mask2Former code handles two losses (labels and masks) as seen [here](https://github.com/facebookresearch/Mask2Former/blob/main/mask2former/modeling/criterion.py#L204).... | 1,697 | 1,701 | 1,701 | NONE | null | ### System Info
The original Mask2Former does this:
`# Compute the average number of target boxes accross all nodes, for normalization purposes
num_masks = sum(len(t["labels"]) for t in targets)
num_masks = torch.as_tensor(
[num_masks], dtype=torch.float, device=next(iter(outputs.values... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26843/comments | https://api.github.com/repos/huggingface/transformers/issues/26843/events | https://github.com/huggingface/transformers/pull/26843 | 1,945,751,371 | PR_kwDOCUB6oc5c7cTQ | 26,843 | 🚨🚨 Generate: change order of ops in beam sample to avoid nans | {
"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,697 | 1,697 | 1,697 | MEMBER | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/26332 -- see [this](https://github.com/huggingface/transformers/issues/26332#issuecomment-1764736970) comment for a full explanation.
TL;DR: in `beam_sample`, `logits_warper` are now applied BEFORE adding the beam scores. We have bee... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26843/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/26843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26843",
"html_url": "https://github.com/huggingface/transformers/pull/26843",
"diff_url": "https://github.com/huggingface/transformers/pull/26843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26843.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26842/comments | https://api.github.com/repos/huggingface/transformers/issues/26842/events | https://github.com/huggingface/transformers/pull/26842 | 1,945,700,768 | PR_kwDOCUB6oc5c7RTg | 26,842 | Fix TensorFlow pakage check | {
"login": "jayfurmanek",
"id": 8660918,
"node_id": "MDQ6VXNlcjg2NjA5MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8660918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayfurmanek",
"html_url": "https://github.com/jayfurmanek",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Taking this one!",
"Hey @jayfurmanek, I checked this out! Adding `tf-nightly-rocm` to the candidate list is appreciated, but I don't think the other changes are required, and they seem to break a lot of the codebase! Can we revert that part of the PR and just keep the package name addition, or did that not work ... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This fixes the `_is_package_available` check for tensorflow variants (like tensorflow-rocm) where their meta-data differs from the package name. There is an list of available candidate names there, but they are never used since `_is_package_available` will return false preventing the candidat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26842/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26842",
"html_url": "https://github.com/huggingface/transformers/pull/26842",
"diff_url": "https://github.com/huggingface/transformers/pull/26842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26842.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26841/comments | https://api.github.com/repos/huggingface/transformers/issues/26841/events | https://github.com/huggingface/transformers/pull/26841 | 1,945,656,909 | PR_kwDOCUB6oc5c7HxR | 26,841 | Fix Seq2seqTrainer decoder attention mask | {
"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 | [] | [
"cc @gante and @ydshieh because I see you in the `git blame` near here - let me know if this is okay, or if I'm breaking anything with this fix!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26841). All of your documentation changes will be reflected on that endpoint... | 1,697 | 1,697 | 1,697 | MEMBER | null | The Seq2SeqTrainer drops `decoder_input_ids` during the generation step for metrics that expect text generation (like `rouge`) when `labels` is present. However, it doesn't drop `decoder_attention_mask` when it does this, which means that in some cases, we pass `decoder_attention_mask` with no `decoder_input_ids`, resu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26841/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/26841/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26841",
"html_url": "https://github.com/huggingface/transformers/pull/26841",
"diff_url": "https://github.com/huggingface/transformers/pull/26841.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26841.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26840/comments | https://api.github.com/repos/huggingface/transformers/issues/26840/events | https://github.com/huggingface/transformers/issues/26840 | 1,945,405,524 | I_kwDOCUB6oc5z9IhU | 26,840 | log interval | {
"login": "KwangryeolPark",
"id": 48284967,
"node_id": "MDQ6VXNlcjQ4Mjg0OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/48284967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KwangryeolPark",
"html_url": "https://github.com/KwangryeolPark",
"followers_url": "https://api.gi... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"@KwangryeolPark Please assign this issue to me"
] | 1,697 | 1,697 | null | NONE | null | ### Feature request
I want you to add "log_interval" argument for logging every N iteration not a epoch.
### Motivation
Some fine-tuning task/dataset does not require much epochs such as CoLA. It only requires 2~3 epochs, which means the log data(ex metric) is produced 2~3 times.
I want more log during training w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26840/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26839/comments | https://api.github.com/repos/huggingface/transformers/issues/26839/events | https://github.com/huggingface/transformers/pull/26839 | 1,945,345,300 | PR_kwDOCUB6oc5c6CRl | 26,839 | Idefics: Fix information leak with cross attention gate in modeling | {
"login": "leot13",
"id": 17809020,
"node_id": "MDQ6VXNlcjE3ODA5MDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/17809020?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leot13",
"html_url": "https://github.com/leot13",
"followers_url": "https://api.github.com/users/leot13/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Let me run the slow tests to see if this PR also fix them.",
"When I ran `TF_FORCE_GPU_ALLOW_GROWTH=true RUN_SLOW=1 python3 -m pytest -v tests/models/idefics/` on a single T4 GPU machine, there are following errors. The `xxx_offloa... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Fixes #26428 reported by @momergul
This PR fixes the cross-attention hidden states of tokens attending no images.
This issue had no detrimental effect for inference, however this should be useful for the few tokens attending no images during training.
This PR should also prevent the cros... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26839",
"html_url": "https://github.com/huggingface/transformers/pull/26839",
"diff_url": "https://github.com/huggingface/transformers/pull/26839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26839.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26838/comments | https://api.github.com/repos/huggingface/transformers/issues/26838/events | https://github.com/huggingface/transformers/issues/26838 | 1,945,204,582 | I_kwDOCUB6oc5z8Xdm | 26,838 | Seeking Guidance on Using Codecov to Transformers Repository | {
"login": "yunbolyu",
"id": 101203664,
"node_id": "U_kgDOBgg-0A",
"avatar_url": "https://avatars.githubusercontent.com/u/101203664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yunbolyu",
"html_url": "https://github.com/yunbolyu",
"followers_url": "https://api.github.com/users/yunbolyu/... | [] | closed | false | null | [] | [
"Pinging @LysandreJik as he was here during the good old times when Codecov was used!",
"Thanks for pinging out. I've seen him a lot in previous discussions and appreciate his ongoing contributions to the open-source community and your timely response!",
"Hey @yunbolyu! Setting up codecov right now for transfor... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
Hello Transformers maintainers and community,
In an effort to use the Codecov module and obtain code coverage, I attempted to base my changes on the previous removal process. However, I've encountered challenges since the tests appear to have been divided into multiple segments [PR #7970](https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26837/comments | https://api.github.com/repos/huggingface/transformers/issues/26837/events | https://github.com/huggingface/transformers/pull/26837 | 1,945,078,083 | PR_kwDOCUB6oc5c5Hcx | 26,837 | Hindi translation of pipeline_tutorial.md | {
"login": "AaryaBalwadkar",
"id": 142713127,
"node_id": "U_kgDOCIGhJw",
"avatar_url": "https://avatars.githubusercontent.com/u/142713127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AaryaBalwadkar",
"html_url": "https://github.com/AaryaBalwadkar",
"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_26837). All of your documentation changes will be reflected on that endpoint.",
"Hi @AaryaBalwadkar! Thank you for working on translating the doc page into Hindi. \r\nFrom what I see, this is the first time a doc page has b... | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
This PR translates the pipeline_tutorial.md in Hindi language and mentions it in _toctree.yml in doc/source/hi/ folder. Thus Fixes # 26787
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26837/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26837",
"html_url": "https://github.com/huggingface/transformers/pull/26837",
"diff_url": "https://github.com/huggingface/transformers/pull/26837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26837.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26836/comments | https://api.github.com/repos/huggingface/transformers/issues/26836/events | https://github.com/huggingface/transformers/pull/26836 | 1,945,064,637 | PR_kwDOCUB6oc5c5EgO | 26,836 | Fix key dtype in GPTJ and CodeGen | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you @ArthurZucker for the notice. Indeed in the original codebase of GPTJ and codegen `sincos` is kept as fp32, and the ROPE computation as well as `_attn` computation is done with the `key` always in fp32. The looks very much ... | 1,697 | 1,698 | 1,698 | COLLABORATOR | null | As per title.
The issue is that
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "hf-internal-testing/tiny-random-GPTJForCausalLM"
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16)
tokenizer = AutoTokenizer.from_pretrained(model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26836",
"html_url": "https://github.com/huggingface/transformers/pull/26836",
"diff_url": "https://github.com/huggingface/transformers/pull/26836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26836.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26835/comments | https://api.github.com/repos/huggingface/transformers/issues/26835/events | https://github.com/huggingface/transformers/pull/26835 | 1,945,037,210 | PR_kwDOCUB6oc5c4-ex | 26,835 | testing doc-builder | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26835). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/427
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26835/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26835",
"html_url": "https://github.com/huggingface/transformers/pull/26835",
"diff_url": "https://github.com/huggingface/transformers/pull/26835.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26835.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26834/comments | https://api.github.com/repos/huggingface/transformers/issues/26834/events | https://github.com/huggingface/transformers/pull/26834 | 1,945,017,755 | PR_kwDOCUB6oc5c46K- | 26,834 | Fix Whisper Conversion Script: Correct decoder_attention_heads and _download function | {
"login": "zuazo",
"id": 1878434,
"node_id": "MDQ6VXNlcjE4Nzg0MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1878434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zuazo",
"html_url": "https://github.com/zuazo",
"followers_url": "https://api.github.com/users/zuazo/follower... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26834). All of your documentation changes will be reflected on that endpoint.",
"Thanks for the review!\r\n\r\n> Seems like the docstring of the config is also wrong as the tiny has 6 heads but 4 layers not 6 layers 4 heads... | 1,697 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
This PR addresses two issues in the `convert_openai_whisper_to_hf.py` script for it to work correctly.
1. It corrects the `decoder_attention_heads` value. This did not produce any error, but the models converted did not transcribe correctly.
2. It also fixes the `_download()` function:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26834/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26834",
"html_url": "https://github.com/huggingface/transformers/pull/26834",
"diff_url": "https://github.com/huggingface/transformers/pull/26834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26834.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26833/comments | https://api.github.com/repos/huggingface/transformers/issues/26833/events | https://github.com/huggingface/transformers/pull/26833 | 1,944,953,648 | PR_kwDOCUB6oc5c4sEA | 26,833 | Chore: Typo fixed in multiple files of docs/source/en/model_doc | {
"login": "SusheelThapa",
"id": 83917129,
"node_id": "MDQ6VXNlcjgzOTE3MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/83917129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SusheelThapa",
"html_url": "https://github.com/SusheelThapa",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@a-r-r-o-w Can you review again?",
"Hey! Feel free to ping me when this is ready! ",
"@ArthurZucker Can you review this PR and provide me necessary feedback?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26833). All of your documentation changes will be reflect... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This PR fix the typo present in the files inside `docs/source/en/model_doc` folder
```pseudo
optimizaton > optimization
Similiar > Similar
exaclty > exactly
conditionning > conditioning
outupt > output
avalable > avaliable
```
<!--
Congratulations! You've made it this far! You're ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26833",
"html_url": "https://github.com/huggingface/transformers/pull/26833",
"diff_url": "https://github.com/huggingface/transformers/pull/26833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26833.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.