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/24819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24819/comments
https://api.github.com/repos/huggingface/transformers/issues/24819/events
https://github.com/huggingface/transformers/issues/24819
1,804,382,140
I_kwDOCUB6oc5rjK-8
24,819
Model training with torch_dtype=torch.bfloat16 is possible?
{ "login": "cnut1648", "id": 37067883, "node_id": "MDQ6VXNlcjM3MDY3ODgz", "avatar_url": "https://avatars.githubusercontent.com/u/37067883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cnut1648", "html_url": "https://github.com/cnut1648", "followers_url": "https://api.github.com/users/cnu...
[]
closed
false
null
[]
[ "You can try to train in full bfloat16 but it's not as stable as mixed precision bfloat16 training. When running `run_clm` with `--torch_dtype=bfloat16` you train in full bfloat16 so the flag `--bf16` (mixed precision training) is not really useful.", "@sgugger thank you for the info!", "@sgugger Hi, recently I...
1,689
1,697
1,689
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.10.184-174.730.amzn2.x86_64-x86_64-with-glibc2.26 - Python version: 3.9.16 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24819/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24818/comments
https://api.github.com/repos/huggingface/transformers/issues/24818/events
https://github.com/huggingface/transformers/issues/24818
1,804,297,034
I_kwDOCUB6oc5ri2NK
24,818
添加peft模型的resume_from_checkpoint实现
{ "login": "shell-nlp", "id": 39985245, "node_id": "MDQ6VXNlcjM5OTg1MjQ1", "avatar_url": "https://avatars.githubusercontent.com/u/39985245?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shell-nlp", "html_url": "https://github.com/shell-nlp", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @506610466, thanks for raising an issue. \r\n\r\nCould you please follow the issue template and provide all the information requested, including the running environment, a minimal code snippet to reproduce the error, full traceback and expected behaviour?" ]
1,689
1,689
1,689
NONE
null
### Feature request 现阶段 trainer.train(resume_from_checkpoint=resume_from_checkpoint) 不能够加载adapter 权重进行 resume ### Motivation 现阶段 trainer.train(resume_from_checkpoint=resume_from_checkpoint) 不能够加载adapter 权重进行 resume ### Your contribution 没有
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24818/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24818/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24817/comments
https://api.github.com/repos/huggingface/transformers/issues/24817/events
https://github.com/huggingface/transformers/pull/24817
1,804,155,448
PR_kwDOCUB6oc5Veziq
24,817
Fix Dropout Implementation in Graphormer
{ "login": "alexanderkrauck", "id": 17174445, "node_id": "MDQ6VXNlcjE3MTc0NDQ1", "avatar_url": "https://avatars.githubusercontent.com/u/17174445?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexanderkrauck", "html_url": "https://github.com/alexanderkrauck", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @clefourrier and others,\r\nthis is the first time contributing to Huggingface for me. In the course of my thesis I found some improvements/fixes to your current Graphormer implementation including this one which is quite simple but has a big impact and should be easy to review. I plan to make some more pull re...
1,689
1,694
1,694
CONTRIBUTOR
null
# What does this PR do? This commit corrects the dropout implementation in Graphormer, aligning it with the original implementation (https://github.com/microsoft/Graphormer) and improving performance. Specifically: 1. The `attention_dropout` variable, intended for use in GraphormerMultiheadAttention, was defined ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24817/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24817", "html_url": "https://github.com/huggingface/transformers/pull/24817", "diff_url": "https://github.com/huggingface/transformers/pull/24817.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24817.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24816/comments
https://api.github.com/repos/huggingface/transformers/issues/24816/events
https://github.com/huggingface/transformers/issues/24816
1,804,098,517
I_kwDOCUB6oc5riFvV
24,816
Proper way to monkey patch a customized model no in transformers?
{ "login": "lucasjinreal", "id": 21303438, "node_id": "MDQ6VXNlcjIxMzAzNDM4", "avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucasjinreal", "html_url": "https://github.com/lucasjinreal", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @lucasjinreal, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.", "@amyeroberts Please help me find someone answer this issue, I posted serveral on forum none of them ...
1,689
1,692
1,692
NONE
null
### Feature request Hi, nowadays more and more model emerging out, many of them hard to merge transformers, but we have more and more customized patchs such as condensing rotary, xformers attn etc. What is the best to monkey patch a customized model which not inside transformers library but just loaded with AutoMod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24816/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24815/comments
https://api.github.com/repos/huggingface/transformers/issues/24815/events
https://github.com/huggingface/transformers/issues/24815
1,804,060,453
I_kwDOCUB6oc5rh8cl
24,815
transformers-like library for Prompt or Agent library?
{ "login": "ghosthamlet", "id": 758325, "node_id": "MDQ6VXNlcjc1ODMyNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/758325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghosthamlet", "html_url": "https://github.com/ghosthamlet", "followers_url": "https://api.github.com/user...
[]
closed
false
null
[]
[ "Hi @ghosthamlet, \r\n\r\nHave you checked out Agents and Tools from Hugging Face? https://huggingface.co/docs/transformers/v4.30.0/en/transformers_agents", "@amyeroberts Thanks, it looks great. \r\nI found the code is all in src/transformers/tools, seems like it is not as flexible as transformers.\r\nif someone...
1,689
1,689
1,689
NONE
null
### Feature request Add advanced Prompt or Agent methods as models to transformers library, or build a new advanced Prompt or Agent library use ARCH like transformers library. ### Motivation There are many Prompt/Agent libraries like: https://langchain.com/ https://github.com/yoheinakajima/babyagi https://github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24815/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24814/comments
https://api.github.com/repos/huggingface/transformers/issues/24814/events
https://github.com/huggingface/transformers/issues/24814
1,803,909,670
I_kwDOCUB6oc5rhXom
24,814
Is there a way to use Blip2Model for Zero-Shot Classification?
{ "login": "danielamassiceti", "id": 15345596, "node_id": "MDQ6VXNlcjE1MzQ1NTk2", "avatar_url": "https://avatars.githubusercontent.com/u/15345596?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielamassiceti", "html_url": "https://github.com/danielamassiceti", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hi @danielamassiceti, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.", "Thanks, will repost it there!" ]
1,689
1,689
1,689
NONE
null
Hi there I am attempting to adapt the Blip2Model for a zero-shot classification task as follows: - N text sentences/classes --> x = N text embeddings - 1 test image -> y = 1 image embedding - soft-max(dot-product(x, y)) to get the probabilities over classes This is my solution so far: ``` def get_img_emb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24814/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24813/comments
https://api.github.com/repos/huggingface/transformers/issues/24813/events
https://github.com/huggingface/transformers/issues/24813
1,803,853,048
I_kwDOCUB6oc5rhJz4
24,813
Replacing agent image_qa tool with InstructBLIP
{ "login": "austinmw", "id": 12224358, "node_id": "MDQ6VXNlcjEyMjI0MzU4", "avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/austinmw", "html_url": "https://github.com/austinmw", "followers_url": "https://api.github.com/users/aus...
[]
closed
false
null
[]
[ "Hi @austinmw, thanks for raising this issue! \r\n\r\nThis is because the model is being loaded [using the AutoModelForVisualQuestionAnswering](https://github.com/huggingface/transformers/blob/91d7df58b6537d385e90578dac40204cb550f706/src/transformers/tools/image_question_answering.py#L39C2-L39C2) class, [which only...
1,689
1,689
1,689
NONE
null
### System Info Hi, I'm attempting to use InstructBLIP for image QA: ```python from transformers import HfAgent, load_tool from diffusers.utils import load_image agent = HfAgent("https://api-inference.huggingface.co/models/bigcode/starcoder") image = load_image("https://huggingface.co/datasets/huggingface/d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24813/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24812/comments
https://api.github.com/repos/huggingface/transformers/issues/24812/events
https://github.com/huggingface/transformers/pull/24812
1,803,759,598
PR_kwDOCUB6oc5VddQR
24,812
Fixing double `use_auth_token.pop` (preventing private models from being visible).
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Should fix: https://github.com/huggingface/transformers/issues/14334#issuecomment-1634527833 Repro: Have a private repo, with `vocab.json` (spread out files for the tokenizer) and use `AutoTokenizer.from_pretrained(..., use_auth_token="token")`. Not sure if we already have private vis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24812/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24812", "html_url": "https://github.com/huggingface/transformers/pull/24812", "diff_url": "https://github.com/huggingface/transformers/pull/24812.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24812.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24811/comments
https://api.github.com/repos/huggingface/transformers/issues/24811/events
https://github.com/huggingface/transformers/issues/24811
1,803,653,245
I_kwDOCUB6oc5rgZB9
24,811
Unable to run compute_transition_scores : facing 'CodeT5pConfig' object has no attribute 'vocab_size' error
{ "login": "MansiShinde", "id": 29672533, "node_id": "MDQ6VXNlcjI5NjcyNTMz", "avatar_url": "https://avatars.githubusercontent.com/u/29672533?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MansiShinde", "html_url": "https://github.com/MansiShinde", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "#### Facing the below error:\r\n```\r\nAttributeError Traceback (most recent call last)\r\n[<ipython-input-22-821b8f7c4aac>](https://localhost:8080/#) in <cell line: 1>()\r\n----> 1 transition_scores = model.compute_transition_scores(gen_tokens.sequences, gen_tokens.scores,gen_tokens.bea...
1,689
1,689
1,689
NONE
null
### System Info Hello Team , your help is appreciated in the below issue. I am running the below code snippet on Google Colab. - `transformers` version: 4.30.2 - Platform: Linux-5.15.109+-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24811/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24810/comments
https://api.github.com/repos/huggingface/transformers/issues/24810/events
https://github.com/huggingface/transformers/pull/24810
1,803,510,485
PR_kwDOCUB6oc5VcmaM
24,810
Use _BaseAutoModelClass's register method
{ "login": "fadynakhla", "id": 67917337, "node_id": "MDQ6VXNlcjY3OTE3MzM3", "avatar_url": "https://avatars.githubusercontent.com/u/67917337?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fadynakhla", "html_url": "https://github.com/fadynakhla", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "> Thanks a lot!\r\n\r\nGlad to help!\r\n\r\nAlso, what are your thoughts on adding some typehinting to the `_model_mapping` variable e.g. \r\n```\r\nclass _BaseAutoModelClass:\r\n # Base class for auto models.\r\n _model_mapping: Optional[\"_LazyAutoMapping\"] = None\r\n```\r\ninstead of\r\n```\r\nclass _Bas...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Switching `_BaseAutoModelClass`'s `from_pretrained` and `from_config` to use the register classmethod that it defines rather than using the `_LazyAutoMapping` register method directly. This makes use of the additional consistency check within `_BaseAutoModelClass`'s register method. <!-- ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24810/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24810", "html_url": "https://github.com/huggingface/transformers/pull/24810", "diff_url": "https://github.com/huggingface/transformers/pull/24810.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24810.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24809/comments
https://api.github.com/repos/huggingface/transformers/issues/24809/events
https://github.com/huggingface/transformers/pull/24809
1,803,212,583
PR_kwDOCUB6oc5VblEA
24,809
Fix typo 'submosules'
{ "login": "dymil", "id": 30931139, "node_id": "MDQ6VXNlcjMwOTMxMTM5", "avatar_url": "https://avatars.githubusercontent.com/u/30931139?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dymil", "html_url": "https://github.com/dymil", "followers_url": "https://api.github.com/users/dymil/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Fixes a one-character typo in the docs for large-model loading. ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24809/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24809", "html_url": "https://github.com/huggingface/transformers/pull/24809", "diff_url": "https://github.com/huggingface/transformers/pull/24809.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24809.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24808/comments
https://api.github.com/repos/huggingface/transformers/issues/24808/events
https://github.com/huggingface/transformers/pull/24808
1,803,177,272
PR_kwDOCUB6oc5Vbdjz
24,808
Remove Falcon docs for the release until TGI is ready
{ "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
[]
[ "Fixed, my bad!", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
MEMBER
null
Make sure we're not advertising docs for the model until we're ready to support it! cc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24808/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24808", "html_url": "https://github.com/huggingface/transformers/pull/24808", "diff_url": "https://github.com/huggingface/transformers/pull/24808.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24808.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24807/comments
https://api.github.com/repos/huggingface/transformers/issues/24807/events
https://github.com/huggingface/transformers/pull/24807
1,803,155,513
PR_kwDOCUB6oc5VbY1i
24,807
Run hub tests
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Fixed the tests that did not work, so can merge :-)" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? It looks like the hub tests are currently not running :grimacing: This is because the env variable for staging test is not set to `True`, due to me when we moved the circle CI to a dynamic config. Hopefully nothing is broken...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24807/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24807", "html_url": "https://github.com/huggingface/transformers/pull/24807", "diff_url": "https://github.com/huggingface/transformers/pull/24807.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24807.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24806/comments
https://api.github.com/repos/huggingface/transformers/issues/24806/events
https://github.com/huggingface/transformers/pull/24806
1,803,112,535
PR_kwDOCUB6oc5VbPcR
24,806
Add accelerate version in transformers-cli env
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger I've added the config too, matching the accelerate logic: a specific config file can be passed in, or the default config is read if it exists. LMKWYT :) " ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? What is says on the tin. Now Trainer uses accelerate, me & others are having to ask for the accelerate version often in issues. ## 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 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24806/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24806", "html_url": "https://github.com/huggingface/transformers/pull/24806", "diff_url": "https://github.com/huggingface/transformers/pull/24806.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24806.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24805/comments
https://api.github.com/repos/huggingface/transformers/issues/24805/events
https://github.com/huggingface/transformers/pull/24805
1,802,825,990
PR_kwDOCUB6oc5VaQUG
24,805
Fix MobileVitV2 doctest checkpoint
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> So in MobileVitV2 doc example, the torch has to be imported?\r\n\r\nNo, not to have the test pass. I added it because it wouldn't run if you copy-pasted the snippet from the docs.\r\n\r\nI've added it to MobileVit v1 too now for th...
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Doctests CI currently fails on MobileVitV2 tests. Doctest was copied from the V1 mobilevit, and checkpoints didn't match. Remove the copied from as there's just some very simple and standard model head logic coped. Interestingly, the [example for MobileVit V1](https://github.com/huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24805/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24805", "html_url": "https://github.com/huggingface/transformers/pull/24805", "diff_url": "https://github.com/huggingface/transformers/pull/24805.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24805.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24804/comments
https://api.github.com/repos/huggingface/transformers/issues/24804/events
https://github.com/huggingface/transformers/pull/24804
1,802,811,269
PR_kwDOCUB6oc5VaNII
24,804
Support RefinedWebModel as a model_type for Falcon
{ "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
[]
[ "No this is not enough. If we go down that road we need to erase the `RefinedWeb` model type on loading to replace it with `falcon`, so that a new saved version does not keep it.", "_The documentation is not available anymore as the PR was closed or merged._", "This already happens! The model type that is saved...
1,689
1,689
1,689
MEMBER
null
This PR allows us to temporarily revert the model_type for Falcon repos to fix some issues. cc @sgugger @LysandreJik @Narsil @OlivierDehaene @slippylolo
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24804/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24804", "html_url": "https://github.com/huggingface/transformers/pull/24804", "diff_url": "https://github.com/huggingface/transformers/pull/24804.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24804.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24803/comments
https://api.github.com/repos/huggingface/transformers/issues/24803/events
https://github.com/huggingface/transformers/pull/24803
1,802,760,427
PR_kwDOCUB6oc5VaB09
24,803
Lag llama
{ "login": "kashif", "id": 8100, "node_id": "MDQ6VXNlcjgxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kashif", "html_url": "https://github.com/kashif", "followers_url": "https://api.github.com/users/kashif/followers", ...
[]
closed
false
null
[]
[ "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,689
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Implementation of general time series forecaster and classifier using only the target values.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24803/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24803", "html_url": "https://github.com/huggingface/transformers/pull/24803", "diff_url": "https://github.com/huggingface/transformers/pull/24803.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24803.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24802/comments
https://api.github.com/repos/huggingface/transformers/issues/24802/events
https://github.com/huggingface/transformers/issues/24802
1,802,193,828
I_kwDOCUB6oc5ra0uk
24,802
bug when Bert train on multi gpus
{ "login": "z379035389", "id": 48674444, "node_id": "MDQ6VXNlcjQ4Njc0NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/48674444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/z379035389", "html_url": "https://github.com/z379035389", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The normal BERT model can train on multiple GPUs, the bug is thus likely due to the modifications you made. You should ask no the [forums](https://discuss.huggingface.co/) to help debug your code.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.28.1 - Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.15.1 - Safetensors version: not installed - PyTorch version (GPU?): 1.12.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24802/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24801/comments
https://api.github.com/repos/huggingface/transformers/issues/24801/events
https://github.com/huggingface/transformers/issues/24801
1,802,087,328
I_kwDOCUB6oc5raaug
24,801
Bug on compute_transition_scores, inconsistency between two ways of evaluating probabilities
{ "login": "hongzhoulin89", "id": 29802555, "node_id": "MDQ6VXNlcjI5ODAyNTU1", "avatar_url": "https://avatars.githubusercontent.com/u/29802555?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hongzhoulin89", "html_url": "https://github.com/hongzhoulin89", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Usually, `model.generate` does some post-process on the logits. As you can see in your code snippet, there are arguments you passed\r\n```python\r\n do_sample=True, \r\n top_p = 0.9, \r\n top_k = 15,\r\n```\r\nIf we just go through the model outputs (your second way) and compute `log_softmax` on the model raw l...
1,689
1,690
1,690
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.30.2 - Platform: Linux-5.15.109+-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24801/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24800/comments
https://api.github.com/repos/huggingface/transformers/issues/24800/events
https://github.com/huggingface/transformers/pull/24800
1,802,017,495
PR_kwDOCUB6oc5VXe7W
24,800
Revert "Unpin protobuf in docker file (for daily CI)"
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "Merge directly so we can have a better CI report in the next run.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24800). All of your documentation changes will be reflected on that endpoint.", "@sgugger Just to let you know I revert a merged PR #24761: There is no ...
1,689
1,689
1,689
COLLABORATOR
null
Reverts huggingface/transformers#24761 ONNX unfortunately doesn't support using protobuf v4, and our daily CI have many ONNX tests broken after #24761. See [failing jobs](https://github.com/huggingface/transformers/actions/runs/5526985620)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24800", "html_url": "https://github.com/huggingface/transformers/pull/24800", "diff_url": "https://github.com/huggingface/transformers/pull/24800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24800.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24799/comments
https://api.github.com/repos/huggingface/transformers/issues/24799/events
https://github.com/huggingface/transformers/pull/24799
1,801,987,846
PR_kwDOCUB6oc5VXYll
24,799
Add UnivNet Vocoder Model for Tortoise TTS Diffusers Integration
{ "login": "dg845", "id": 58458699, "node_id": "MDQ6VXNlcjU4NDU4Njk5", "avatar_url": "https://avatars.githubusercontent.com/u/58458699?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dg845", "html_url": "https://github.com/dg845", "followers_url": "https://api.github.com/users/dg845/follow...
[]
closed
false
null
[]
[ "Hi @dg845 if you are planning to add it to the `models` folder, then I think it should have a doc file(`univnet.md`) in the docs.", "For now I've added the UnivNet code to the `/src/transformers/models/univnet/` directory. @sanchit-gandhi, since the UnivNet model isn't technically a transformer model (in that it...
1,689
1,700
1,700
CONTRIBUTOR
null
# What does this PR do? This PR adds the UnivNet GAN vocoder model ([paper](https://arxiv.org/pdf/2106.07889.pdf), [code](https://github.com/mindslab-ai/univnet)) to `transformers`, which is the vocoder used in the Tortoise TTS text-to-speech model ([paper](https://arxiv.org/pdf/2305.07243.pdf), [code](https://githu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24799/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24799/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24799", "html_url": "https://github.com/huggingface/transformers/pull/24799", "diff_url": "https://github.com/huggingface/transformers/pull/24799.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24799.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24797/comments
https://api.github.com/repos/huggingface/transformers/issues/24797/events
https://github.com/huggingface/transformers/issues/24797
1,801,901,270
I_kwDOCUB6oc5rZtTW
24,797
Trn1 LoRA finetuning with HF reaches RuntimeError: Invalid device format: cpu
{ "login": "kct22aws", "id": 87498815, "node_id": "MDQ6VXNlcjg3NDk4ODE1", "avatar_url": "https://avatars.githubusercontent.com/u/87498815?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kct22aws", "html_url": "https://github.com/kct22aws", "followers_url": "https://api.github.com/users/kct...
[]
closed
false
null
[]
[ "cc @pacman100 ", "Issue reported to https://github.com/huggingface/optimum-neuron/issues/134", "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 th...
1,689
1,692
1,692
CONTRIBUTOR
null
### System Info optimum 1.9.0 optimum-neuron 0.0.7 transformers 4.30.2 DLAMI: https://aws.amazon.com/marketplace/pp/prodview-gr3e6yiscria2 AWS instance: trn1.2xl ` File "<string>", line 111, in __init__ File "/usr/local/lib/python3.10/dist-packages/transformers/training_args.py", line 1341, in __post_init...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24797/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24796/comments
https://api.github.com/repos/huggingface/transformers/issues/24796/events
https://github.com/huggingface/transformers/pull/24796
1,801,878,538
PR_kwDOCUB6oc5VXAub
24,796
new model: IDEFICS via HuggingFaceM4
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Is it possible to be a private repo ? ;-) The m4 repo from huggingface organisation does not exist", "Thank you for your interest, @flozi00 - please give us some time. It says WIP because it's not ready for a public consumption. I ...
1,689
1,692
1,692
CONTRIBUTOR
null
**important: The following notes are for my team mates and they won't work for anybody else as the data isn't ready for the public yet. should be made public next week ** Meanwhile to try it out: ``` $ git clone https://github.com/huggingface/transformers -b add-model-idefics $ cd transformers $ cat generate...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24796/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 1, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24796/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24796", "html_url": "https://github.com/huggingface/transformers/pull/24796", "diff_url": "https://github.com/huggingface/transformers/pull/24796.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24796.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24795/comments
https://api.github.com/repos/huggingface/transformers/issues/24795/events
https://github.com/huggingface/transformers/pull/24795
1,801,875,822
PR_kwDOCUB6oc5VXAGL
24,795
Pop
{ "login": "jamesthesnake", "id": 8227820, "node_id": "MDQ6VXNlcjgyMjc4MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/8227820?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamesthesnake", "html_url": "https://github.com/jamesthesnake", "followers_url": "https://api.github....
[]
closed
false
null
[]
[]
1,689
1,689
1,689
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/24795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24795/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24795", "html_url": "https://github.com/huggingface/transformers/pull/24795", "diff_url": "https://github.com/huggingface/transformers/pull/24795.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24795.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24794/comments
https://api.github.com/repos/huggingface/transformers/issues/24794/events
https://github.com/huggingface/transformers/issues/24794
1,801,868,732
I_kwDOCUB6oc5rZlW8
24,794
Bert Generation misses **model_kwargs in prepare_inputs_for_generation()
{ "login": "luyuzhe111", "id": 55512809, "node_id": "MDQ6VXNlcjU1NTEyODA5", "avatar_url": "https://avatars.githubusercontent.com/u/55512809?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luyuzhe111", "html_url": "https://github.com/luyuzhe111", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @luyuzhe111 \r\n\r\nThank you for rasing the question!\r\n\r\nThe model of type `BertGeneration`, when we want to use `generation` along `encoder`'s output, it would be a (decoder) component in an encoder-decoder (here `class EncoderDecoderModel`).\r\n\r\nThe `generation` takes care to create the `encoder_outpu...
1,689
1,692
1,692
NONE
null
### System Info https://github.com/huggingface/transformers/blob/main/src/transformers/models/bert_generation/modeling_bert_generation.py#L989 This function should clearly return ```**model_kwargs``` but it is not. This results in passed args such as ```encoder_hidden_states``` not being used for generation. ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24794/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24793/comments
https://api.github.com/repos/huggingface/transformers/issues/24793/events
https://github.com/huggingface/transformers/pull/24793
1,801,841,629
PR_kwDOCUB6oc5VW4hb
24,793
[🔗 Docs] Fixed Incorrect Migration Link
{ "login": "kadirnar", "id": 36204372, "node_id": "MDQ6VXNlcjM2MjA0Mzcy", "avatar_url": "https://avatars.githubusercontent.com/u/36204372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kadirnar", "html_url": "https://github.com/kadirnar", "followers_url": "https://api.github.com/users/kad...
[]
closed
false
null
[]
[ "Hi @amyeroberts , I am new to transformes library. I wanted to fix this error that I saw in the documentation. Because the link is broken.\r\n\r\n\r\nThe documentation page MIGRATION doesn't exist in v4.30.0, but exists on the main version. Click here to redirect to the main version of the documentation.\r\n\r\nI ...
1,689
1,689
1,689
CONTRIBUTOR
null
I couldn't find it in transformers files. Can you check? Is it true?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24793/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24793", "html_url": "https://github.com/huggingface/transformers/pull/24793", "diff_url": "https://github.com/huggingface/transformers/pull/24793.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24793.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24792/comments
https://api.github.com/repos/huggingface/transformers/issues/24792/events
https://github.com/huggingface/transformers/issues/24792
1,801,834,472
I_kwDOCUB6oc5rZc_o
24,792
AttributeError: 'Parameter' object has no attribute 'ds_numel'
{ "login": "vecorro", "id": 49245780, "node_id": "MDQ6VXNlcjQ5MjQ1Nzgw", "avatar_url": "https://avatars.githubusercontent.com/u/49245780?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vecorro", "html_url": "https://github.com/vecorro", "followers_url": "https://api.github.com/users/vecorr...
[]
closed
false
null
[]
[]
1,689
1,689
1,689
NONE
null
### System Info Python 3.10 CUDA 11.8 torch 2.0.1 transfromers 4.30.2 bitsandbytes 0.39.1 datasets 2.13.0 einops 0.6.1 trl 0.4.4 accelerate 0.20.3 deepspeed 0.9.5 ### Who can help? @pacman100 ### Information - [X] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24792/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24791/comments
https://api.github.com/repos/huggingface/transformers/issues/24791/events
https://github.com/huggingface/transformers/pull/24791
1,801,770,315
PR_kwDOCUB6oc5VWoyL
24,791
Upgrade jax/jaxlib/flax pin versions
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24791). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,693
1,689
COLLABORATOR
null
# What does this PR do? So we can have latest TF versions.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24791/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24791", "html_url": "https://github.com/huggingface/transformers/pull/24791", "diff_url": "https://github.com/huggingface/transformers/pull/24791.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24791.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24790/comments
https://api.github.com/repos/huggingface/transformers/issues/24790/events
https://github.com/huggingface/transformers/issues/24790
1,801,767,832
I_kwDOCUB6oc5rZMuY
24,790
run_mlm is not working with TPU
{ "login": "Shiro-LK", "id": 26505641, "node_id": "MDQ6VXNlcjI2NTA1NjQx", "avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shiro-LK", "html_url": "https://github.com/Shiro-LK", "followers_url": "https://api.github.com/users/Shi...
[]
closed
false
null
[]
[ "It looks like PyTorch XLA cannot see your TPUs, are you sure you properly set up your instance?", "I suppose it is, I am using colab TPU and I have installed thiis package : \r\n`pip install cloud-tpu-client==0.10 torch==2.0.0 torchvision==0.15.1 https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-...
1,689
1,692
1,692
NONE
null
### System Info I am using colab : python:3.10 for torch and xla : `pip install cloud-tpu-client==0.10 torch==2.0.0 torchvision==0.15.1 https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-2.0-cp310-cp310-linux_x86_64.whl` transformers == 4.30.2 after using this command the training get thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24790/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24789/comments
https://api.github.com/repos/huggingface/transformers/issues/24789/events
https://github.com/huggingface/transformers/pull/24789
1,801,749,260
PR_kwDOCUB6oc5VWkJu
24,789
Update setup.py to be compatible with pipenv
{ "login": "georgiemathews", "id": 13368542, "node_id": "MDQ6VXNlcjEzMzY4NTQy", "avatar_url": "https://avatars.githubusercontent.com/u/13368542?v=4", "gravatar_id": "", "url": "https://api.github.com/users/georgiemathews", "html_url": "https://github.com/georgiemathews", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "> I'm confused. `install_requires` is already a list as seen on line 415.\r\n\r\nThanks for taking a look @sgugger!\r\n\r\nIt seems to be a requirementslib bug that occurs when one of the items in the list of dependencies is declared with a string interpolation..\r\n\r\nI'm not sure why using the list constructor ...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? This enables installing transformers from source using pipenv. Currently installing transformers through pipenv via a git source is blocked by this issue: https://github.com/pypa/pipenv/issues/5167#issuecomment-1349316531 Installation will fail with: ``` AttributeError: 'Subscript' objec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24789/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24789", "html_url": "https://github.com/huggingface/transformers/pull/24789", "diff_url": "https://github.com/huggingface/transformers/pull/24789.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24789.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24788/comments
https://api.github.com/repos/huggingface/transformers/issues/24788/events
https://github.com/huggingface/transformers/pull/24788
1,801,675,334
PR_kwDOCUB6oc5VWT0f
24,788
set correct model input names for gptsw3tokenizer
{ "login": "DarioSucic", "id": 7669299, "node_id": "MDQ6VXNlcjc2NjkyOTk=", "avatar_url": "https://avatars.githubusercontent.com/u/7669299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DarioSucic", "html_url": "https://github.com/DarioSucic", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "LGTM\r\nWe're not using token type ids during training, so there is no reason for the tokenizer to output them, and doing so just leads to unintended behaviour." ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Makes it so the tokenizer doesn't output `token_type_ids`, as these break generation. Seems like a harmless change, but I'm not sure what these are used for so let me know if this is the wrong approach! ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24788/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24788", "html_url": "https://github.com/huggingface/transformers/pull/24788", "diff_url": "https://github.com/huggingface/transformers/pull/24788.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24788.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24787/comments
https://api.github.com/repos/huggingface/transformers/issues/24787/events
https://github.com/huggingface/transformers/pull/24787
1,801,639,368
PR_kwDOCUB6oc5VWL83
24,787
Deprecate models
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "FMI: (M=my)\r\n\r\nI probably need to do something with daily CI to take this PR's change into account!" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? This PR creates the precedent of deprecating models in the library. By deprecating we indicate that we will stop maintaining such models, but there is no intention of actually removing those models and breaking support for them (they might one day move into a separate repo/on the Hub but we w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24787/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 5, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24787/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24787", "html_url": "https://github.com/huggingface/transformers/pull/24787", "diff_url": "https://github.com/huggingface/transformers/pull/24787.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24787.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24786/comments
https://api.github.com/repos/huggingface/transformers/issues/24786/events
https://github.com/huggingface/transformers/pull/24786
1,801,629,259
PR_kwDOCUB6oc5VWJu9
24,786
Added support for dtype in .to() method.
{ "login": "amannagarkar", "id": 36772718, "node_id": "MDQ6VXNlcjM2NzcyNzE4", "avatar_url": "https://avatars.githubusercontent.com/u/36772718?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amannagarkar", "html_url": "https://github.com/amannagarkar", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@amyeroberts hey, yes will do!", "Thanks for your PR but what is the purpose of this? The tokenization results are all integers and changing their dtype will make then unusable by the model.", "@sgugger I was using `BatchEncoding` in a Processor class (`InstructBlipProcessor`) and noticed that it didn't suppor...
1,689
1,690
1,690
NONE
null
Issue #24068. The updated method now accepts both "device" and "dtype" as keyword arguments. When "dtype" is provided, the tensors within the object will be cast to the specified data type. # What does this PR do? This PR adds support for the `dtype` parameter in the `.to()` method of the `BatchEncoding` clas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24786/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24786", "html_url": "https://github.com/huggingface/transformers/pull/24786", "diff_url": "https://github.com/huggingface/transformers/pull/24786.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24786.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24785/comments
https://api.github.com/repos/huggingface/transformers/issues/24785/events
https://github.com/huggingface/transformers/pull/24785
1,801,556,106
PR_kwDOCUB6oc5VV5z_
24,785
Copy code when using local trust remote code
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? When using the `trust_remote_code=True` feature with local models (for instance using a clone of a repo with custom code) the custom code files are not copied over if the user does `save_pretrained` (as a result of #22814) but they should in this specific case. This PR fixes that. Fixes #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24785/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24785", "html_url": "https://github.com/huggingface/transformers/pull/24785", "diff_url": "https://github.com/huggingface/transformers/pull/24785.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24785.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24784/comments
https://api.github.com/repos/huggingface/transformers/issues/24784/events
https://github.com/huggingface/transformers/pull/24784
1,801,526,948
PR_kwDOCUB6oc5VVzdu
24,784
Link with accelerate
{ "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,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Replicates the logic in https://github.com/huggingface/accelerate/pull/1718 here on the trainer, to reduce the sync overhead as `get_scale` is a full-sync operation, meaning both GPU and CPU need to fully stop before continuing. This PR reduces it by half when not using the Accelerator. Fi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24784/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24784/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24784", "html_url": "https://github.com/huggingface/transformers/pull/24784", "diff_url": "https://github.com/huggingface/transformers/pull/24784.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24784.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24783/comments
https://api.github.com/repos/huggingface/transformers/issues/24783/events
https://github.com/huggingface/transformers/issues/24783
1,801,437,588
I_kwDOCUB6oc5rX8GU
24,783
Generate: have an example on each `LogitsProcessor` class docstring
{ "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...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 3551105283, "node_id": "LA_kwDO...
closed
false
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.co...
[ "Hi @gante I'm happy to give one of these a go as it seems a nice learning experience... `TemperatureLogitsWarper` feels as good as anyone else, can you assign it to me if it's not taken yet?", "@nablabits thank you for your interest. It's all yours! \r\n\r\n(The assignment is informal -- the first one to mentio...
1,689
1,693
1,692
MEMBER
null
# Context `.generate()` can be extensively manipulated through `LogitsProcessor` (and `LogitsWarper`) classes. Those classes are the code implementation behind flags like `temperature` or `top_k`. Most of our `LogitsProcessor` classes have a docstring that briefly describes their effect. However, unless you are ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24783/reactions", "total_count": 9, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 9, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24783/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24782/comments
https://api.github.com/repos/huggingface/transformers/issues/24782/events
https://github.com/huggingface/transformers/pull/24782
1,801,352,214
PR_kwDOCUB6oc5VVMwl
24,782
Skip torchscript tests for `MusicgenForConditionalGeneration`
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? This model class requires the model tester to prepare `input_values` and `padding_mask` for torchscript tests. So far I think it is fine to skip it until we have high usage.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24782/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24782", "html_url": "https://github.com/huggingface/transformers/pull/24782", "diff_url": "https://github.com/huggingface/transformers/pull/24782.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24782.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24781/comments
https://api.github.com/repos/huggingface/transformers/issues/24781/events
https://github.com/huggingface/transformers/issues/24781
1,801,282,248
I_kwDOCUB6oc5rXWLI
24,781
Add text-mesh models inside Hugginfaces
{ "login": "math-sasso", "id": 23565626, "node_id": "MDQ6VXNlcjIzNTY1NjI2", "avatar_url": "https://avatars.githubusercontent.com/u/23565626?v=4", "gravatar_id": "", "url": "https://api.github.com/users/math-sasso", "html_url": "https://github.com/math-sasso", "followers_url": "https://api.github.com/use...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" }, { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg...
open
false
null
[]
[ "Hi @math-sasso, \r\n\r\nThis would be a great addition to the library! \r\n\r\nI don't know the paper's in depth, but I believe that both of these models - CLIPMesh and Shap-e - are diffusion models and so might be better suggestions for the diffusers library: https://github.com/huggingface/diffusers" ]
1,689
1,689
null
NONE
null
### Feature request Text to 3D models are really getting the scene in some industries but actually the state of the art techiniques are very hard to integrate in production code. Some examples are: https://www.nasir.lol/clipmesh https://github.com/openai/shap-e Would be awesome to the community if HF has that...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24781/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24781/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24780/comments
https://api.github.com/repos/huggingface/transformers/issues/24780/events
https://github.com/huggingface/transformers/pull/24780
1,801,223,888
PR_kwDOCUB6oc5VUwfX
24,780
Rm duplicate pad_across_processes
{ "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,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Accelerate now handles `pad_across_processes` directly, so removes code copied from Accelerate. As it's internal, no need for a deprecation cycle Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24780/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24780", "html_url": "https://github.com/huggingface/transformers/pull/24780", "diff_url": "https://github.com/huggingface/transformers/pull/24780.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24780.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24779/comments
https://api.github.com/repos/huggingface/transformers/issues/24779/events
https://github.com/huggingface/transformers/issues/24779
1,801,100,266
I_kwDOCUB6oc5rWpvq
24,779
Best aproach to fine tune a GPT model for feature extraction
{ "login": "Luke-4", "id": 138615931, "node_id": "U_kgDOCEMcew", "avatar_url": "https://avatars.githubusercontent.com/u/138615931?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Luke-4", "html_url": "https://github.com/Luke-4", "followers_url": "https://api.github.com/users/Luke-4/follower...
[]
closed
false
null
[]
[ "Hi! This is better on [HF forums](https://huggingface.co/).\r\n\r\nThis github repository is mainly for issues and feature requests 🙏 Thank you for your comprehension.\r\n\r\n", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be address...
1,689
1,692
1,692
NONE
null
Hi All, I am trying to use BioGPT as a feature encoder and I want to compare if fine-tuning is going to improve the quality of the embeddings. So I have two options the first is to fine-tune BioGPT without passing the labels and then use the last token of the last hidden state for classification using a separate ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24779/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24778/comments
https://api.github.com/repos/huggingface/transformers/issues/24778/events
https://github.com/huggingface/transformers/issues/24778
1,801,056,132
I_kwDOCUB6oc5rWe-E
24,778
save quantized model throws error.
{ "login": "nemesis00sam", "id": 112406441, "node_id": "U_kgDOBrMvqQ", "avatar_url": "https://avatars.githubusercontent.com/u/112406441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nemesis00sam", "html_url": "https://github.com/nemesis00sam", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "`load_in_8bit=True,` --> cc @younesbelkada as he knows much better 🙏 ", "Hi @nemesis00sam \r\nThanks for the issue, https://github.com/huggingface/transformers/pull/24416 fixed the issue you mentioned\r\nplease install transformers from source \r\n```\r\npip uninstall transformers\r\npip install git+https://git...
1,689
1,698
1,689
NONE
null
### System Info ===================================BUG REPORT=================================== Welcome to bitsandbytes. For bug reports, please run python -m bitsandbytes ================================================================================ bin /opt/conda/envs/pytorch/lib/python3.10/site-packa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24778/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24777/comments
https://api.github.com/repos/huggingface/transformers/issues/24777/events
https://github.com/huggingface/transformers/pull/24777
1,800,954,617
PR_kwDOCUB6oc5VT1o2
24,777
Make CLIP model could use new added tokens with meaningful pooling
{ "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
[]
[ "I will fix the CI by using `fix-copies` later", "_The documentation is not available anymore as the PR was closed or merged._", "I will merge once the branch is cut tonight.", "Sorry for the spam: @sgugger said the branch cut would be on next Monday. I think it's safer to wait until then." ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Fix #24650 This is to address the feature request #24650. Although we have default values of bos/eos been corrected in #24773, the existing config on the Hub still have the incorrect value `1` and `2`, which prevents CLIP model to use new added tokens when a user add them. Although w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24777/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24777", "html_url": "https://github.com/huggingface/transformers/pull/24777", "diff_url": "https://github.com/huggingface/transformers/pull/24777.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24777.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24776/comments
https://api.github.com/repos/huggingface/transformers/issues/24776/events
https://github.com/huggingface/transformers/pull/24776
1,800,891,310
PR_kwDOCUB6oc5VTnnA
24,776
To work out tokenization_utils_base.py:731 list to tensor so slow
{ "login": "askxiaozhang", "id": 112556925, "node_id": "U_kgDOBrV7fQ", "avatar_url": "https://avatars.githubusercontent.com/u/112556925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/askxiaozhang", "html_url": "https://github.com/askxiaozhang", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@askxiaozhang Thanks for opening this PR and contributing to improving the transformers library! There is another PR opened #24772 which addresses this, and so this PR will not be merged in. " ]
1,689
1,689
1,689
NONE
null
tokenization_utils_base.py:731: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.asarray() before converting to a tensor. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:230.) Solved this problem to acce...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24776/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24776", "html_url": "https://github.com/huggingface/transformers/pull/24776", "diff_url": "https://github.com/huggingface/transformers/pull/24776.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24776.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24775/comments
https://api.github.com/repos/huggingface/transformers/issues/24775/events
https://github.com/huggingface/transformers/pull/24775
1,800,866,471
PR_kwDOCUB6oc5VTiRf
24,775
Fix pad across processes dim in trainer and not being able to set the timeout
{ "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
[]
[ "Yep, sorry 😅 Right one is used now", "_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_24775). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Reverts tiny regression where `dim=1` is needed during `pad_across_processes`, and `ddp_timeout` wasn't trickled down through `PartialState` Fixes # (issue) Solves https://github.com/huggingface/transformers/issues/24751 ## Before submitting - [ ] This PR fixes a typo or improves th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24775/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24775", "html_url": "https://github.com/huggingface/transformers/pull/24775", "diff_url": "https://github.com/huggingface/transformers/pull/24775.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24775.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24774
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24774/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24774/comments
https://api.github.com/repos/huggingface/transformers/issues/24774/events
https://github.com/huggingface/transformers/issues/24774
1,800,845,241
I_kwDOCUB6oc5rVre5
24,774
torch_dtype='auto' is not working when using AutoModel.from_pretrained(...)
{ "login": "Cyrilvallez", "id": 71554963, "node_id": "MDQ6VXNlcjcxNTU0OTYz", "avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cyrilvallez", "html_url": "https://github.com/Cyrilvallez", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Pinging @younesbelkada as I think he looked into this previously! ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.29.2 - Platform: macOS-12.2.1-x86_64-i386-64bit - Python version: 3.11.3 - Huggingface_hub version: 0.15.1 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24774/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24773
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24773/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24773/comments
https://api.github.com/repos/huggingface/transformers/issues/24773/events
https://github.com/huggingface/transformers/pull/24773
1,800,620,811
PR_kwDOCUB6oc5VSrok
24,773
Update default values of bos/eos token ids in `CLIPTextConfig`
{ "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._", "Regarding the padding token:\r\n\r\n(copy past from (partial) internal discussion given @patil-suraj)\r\n\r\n> When we added CLIP I tested for the text_projection , logits_per_image and logits_per_text. For the text_projection the mo...
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Currently the default values are not the ones from the corresponding tokenizers. See discussion in #24650 However, we can't use the `config.eos_token_id` in the modeling file (which is the ultimate goal in #24650) with only the change in this PR. We will have to update all the Hub repo....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24773/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24773/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24773", "html_url": "https://github.com/huggingface/transformers/pull/24773", "diff_url": "https://github.com/huggingface/transformers/pull/24773.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24773.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24772
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24772/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24772/comments
https://api.github.com/repos/huggingface/transformers/issues/24772/events
https://github.com/huggingface/transformers/pull/24772
1,800,589,080
PR_kwDOCUB6oc5VSknO
24,772
fix "UserWarning: Creating a tensor from a list of numpy.ndarrays is …
{ "login": "liucw2012", "id": 743552, "node_id": "MDQ6VXNlcjc0MzU1Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/743552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liucw2012", "html_url": "https://github.com/liucw2012", "followers_url": "https://api.github.com/users/liuc...
[]
closed
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ArthurZucker Do I need to make any changes to this PR? What's the next step?", "@ydshieh could review this pr?", "Seems to have ~30x speed up.\r\n\r\n```python\r\nimport numpy as np\r\nimport torch\r\n\r\nimport time\r\n\r\nd...
1,689
1,690
1,690
CONTRIBUTOR
null
fix "UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor." # What does this PR do? reduce latency of codes below from 0.744675874710083s to 0.013312816619873047s. Fixes #24...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24772/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24772", "html_url": "https://github.com/huggingface/transformers/pull/24772", "diff_url": "https://github.com/huggingface/transformers/pull/24772.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24772.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24771
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24771/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24771/comments
https://api.github.com/repos/huggingface/transformers/issues/24771/events
https://github.com/huggingface/transformers/pull/24771
1,800,568,735
PR_kwDOCUB6oc5VSgOe
24,771
Add MobileVitV2 to doctests
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> ValueError: Files in `utils/documentation_tests.txt` are not in alphabetical order.\r\n\r\n@amyeroberts \r\n\r\nYou are the one creating this check 😆 ", "![image](https://github.com/huggingface/transformers/assets/22614925/6636...
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Adds MobileVitV2 to the doctests. The example snippet wasn't working because the model's config files pointed to an image processor that doesn't exist. This adds the models to the doctests so that this is caught. Also removes a duplicate line in image_processing_auto.py Fixes #24763 (p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24771/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24771", "html_url": "https://github.com/huggingface/transformers/pull/24771", "diff_url": "https://github.com/huggingface/transformers/pull/24771.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24771.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24770
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24770/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24770/comments
https://api.github.com/repos/huggingface/transformers/issues/24770/events
https://github.com/huggingface/transformers/pull/24770
1,800,544,672
PR_kwDOCUB6oc5VSa8x
24,770
Add multi-label text classification support to pytorch example
{ "login": "ranchlai", "id": 5043767, "node_id": "MDQ6VXNlcjUwNDM3Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranchlai", "html_url": "https://github.com/ranchlai", "followers_url": "https://api.github.com/users/ranch...
[]
closed
false
null
[]
[ "@ranchlai Thanks for opening this PR and contributing to the examples! \r\n\r\nCould you add to the README for this example a snippet for running on a multi-label classification task?", "> @ranchlai Thanks for opening this PR and contributing to the examples!\r\n> \r\n> Could you add to the README for this examp...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? The transoformer config supports multi-label classification by setting config.problem_type = "multi_label_classification", but the run_glue.py does not support it. This PR add `run_classification.py` to support multi-label classification task. Main changes compared to `run_glue.py`: - [x...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24770/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24770", "html_url": "https://github.com/huggingface/transformers/pull/24770", "diff_url": "https://github.com/huggingface/transformers/pull/24770.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24770.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24769/comments
https://api.github.com/repos/huggingface/transformers/issues/24769/events
https://github.com/huggingface/transformers/pull/24769
1,800,417,004
PR_kwDOCUB6oc5VR_L5
24,769
[fix] Change the condition of ValueError in "convert_checkpoint_from_transformers_to_megatron"
{ "login": "SeongBeomLEE", "id": 65529313, "node_id": "MDQ6VXNlcjY1NTI5MzEz", "avatar_url": "https://avatars.githubusercontent.com/u/65529313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SeongBeomLEE", "html_url": "https://github.com/SeongBeomLEE", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @pacman100 ", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
The "target_tensor_model_parallel_size" is related to "num_attention_heads", and the "target_pipeline_model_parallel_size" is related to "num_hidden_layers". However, the old code had "target_tensor_model_parallel_size" related to "num_hidden_layers". So we modified the code and added the part about "target_ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24769/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24769", "html_url": "https://github.com/huggingface/transformers/pull/24769", "diff_url": "https://github.com/huggingface/transformers/pull/24769.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24769.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24768/comments
https://api.github.com/repos/huggingface/transformers/issues/24768/events
https://github.com/huggingface/transformers/pull/24768
1,800,406,931
PR_kwDOCUB6oc5VR8-1
24,768
🐛 torch baddbmm error fixed for BigCode models
{ "login": "mayank31398", "id": 32954280, "node_id": "MDQ6VXNlcjMyOTU0Mjgw", "avatar_url": "https://avatars.githubusercontent.com/u/32954280?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayank31398", "html_url": "https://github.com/mayank31398", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24768). All of your documentation changes will be reflected on that endpoint.", "> I think we don't use PT>2.0.0 that includes the fix you mentioned above, there should be a reason for that. cc @ydshieh\r\n\r\nYou predictio...
1,689
1,690
1,690
CONTRIBUTOR
null
Fixes # (issue) This was needed because of a bug in pytorch https://github.com/pytorch/pytorch/issues/80588. The bug was fixed in https://github.com/pytorch/pytorch/pull/96086 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24768/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24768", "html_url": "https://github.com/huggingface/transformers/pull/24768", "diff_url": "https://github.com/huggingface/transformers/pull/24768.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24768.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24767/comments
https://api.github.com/repos/huggingface/transformers/issues/24767/events
https://github.com/huggingface/transformers/pull/24767
1,800,342,203
PR_kwDOCUB6oc5VRu-w
24,767
add aquila
{ "login": "shunxing1234", "id": 33774367, "node_id": "MDQ6VXNlcjMzNzc0MzY3", "avatar_url": "https://avatars.githubusercontent.com/u/33774367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shunxing1234", "html_url": "https://github.com/shunxing1234", "followers_url": "https://api.github.c...
[ { "id": 5724035499, "node_id": "LA_kwDOCUB6oc8AAAABVS3Zqw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20on%20the%20Hub", "name": "Model on the Hub", "color": "9CA0E9", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @shunxing1234, \r\n\r\nThanks a lot for opening a PR and contributing to the HF ecosystem! 🤗\r\nWe have recently been trying to push for `model on the hub` and have as much support as we can there. It will also be easier to integrate it! Here is a [tutorial](https://huggingface.co/docs/transformers/custom_mode...
1,689
1,692
1,692
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/24767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24767/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24767", "html_url": "https://github.com/huggingface/transformers/pull/24767", "diff_url": "https://github.com/huggingface/transformers/pull/24767.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24767.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24766/comments
https://api.github.com/repos/huggingface/transformers/issues/24766/events
https://github.com/huggingface/transformers/issues/24766
1,800,320,785
I_kwDOCUB6oc5rTrcR
24,766
Saving LLAMA 13B checkpoint with FSDP finetuning results in disk full error
{ "login": "ari9dam", "id": 14134882, "node_id": "MDQ6VXNlcjE0MTM0ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/14134882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ari9dam", "html_url": "https://github.com/ari9dam", "followers_url": "https://api.github.com/users/ari9da...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
null
[]
[ "It seems saving a checkpoint requires more than 213GB (Free memory on my hard disk). Not sure if it is intended.\r\n\r\n```\r\nFilesystem Size Used Avail Use% Mounted on\r\noverlay 251G 27G 213G 11% /\r\ntmpfs 64M 0 64M 0% /dev\r\ntmpfs 434G 0 434G 0% /sys/fs/c...
1,689
1,692
1,692
NONE
null
### System Info transformers - installed from source accelerate - installed from source torch 2.0.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24766/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24766/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24765/comments
https://api.github.com/repos/huggingface/transformers/issues/24765/events
https://github.com/huggingface/transformers/pull/24765
1,800,271,239
PR_kwDOCUB6oc5VRfht
24,765
fix: "UserWarning: Creating a tensor from a list of numpy.ndarrays is…
{ "login": "liucw2012", "id": 743552, "node_id": "MDQ6VXNlcjc0MzU1Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/743552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liucw2012", "html_url": "https://github.com/liucw2012", "followers_url": "https://api.github.com/users/liuc...
[]
closed
false
null
[]
[]
1,689
1,689
1,689
CONTRIBUTOR
null
fix "UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor." # What does this PR do? reduce latency of codes below from 0.744675874710083s to 0.013312816619873047s. ``` st = ti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24765/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24765/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24765", "html_url": "https://github.com/huggingface/transformers/pull/24765", "diff_url": "https://github.com/huggingface/transformers/pull/24765.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24765.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24764/comments
https://api.github.com/repos/huggingface/transformers/issues/24764/events
https://github.com/huggingface/transformers/issues/24764
1,800,262,980
I_kwDOCUB6oc5rTdVE
24,764
UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow
{ "login": "liucw2012", "id": 743552, "node_id": "MDQ6VXNlcjc0MzU1Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/743552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liucw2012", "html_url": "https://github.com/liucw2012", "followers_url": "https://api.github.com/users/liuc...
[]
closed
false
null
[]
[ "@liucw2012 Thank you for the opening the issue and PR!\r\n\r\nI haven't check the PR in detail, but I am wondering what's the **total time** if you convert it to numpy first + numpy to torch tensor.\r\n\r\nAlso a remark: when giving a code snippet, please provide all the necessary variable value so it could run ...
1,689
1,690
1,690
CONTRIBUTOR
null
### System Info System Info nvidia CUDA Version: 12.1, Driver Version: 525.105.17 transformers-cli env is - `transformers` version: 4.29.2 - Platform: Linux-4.19.87-netease6-1-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.14.1 - Safetensors version: not installed - PyTorch versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24764/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24763/comments
https://api.github.com/repos/huggingface/transformers/issues/24763/events
https://github.com/huggingface/transformers/issues/24763
1,800,136,586
I_kwDOCUB6oc5rS-eK
24,763
sample code in for mobilevitv2 is not working
{ "login": "darwinharianto", "id": 44696192, "node_id": "MDQ6VXNlcjQ0Njk2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darwinharianto", "html_url": "https://github.com/darwinharianto", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @darwinharianto \r\n\r\nThank you for opening the issue.\r\n\r\nCould you specify which code sample in the link is the exact one that has problem to run? Thank a lot!", "@darwinharianto Thanks for reporting this! It seems the issue is coming from the preprocessor config files on the hub for this checkpoint: [...
1,689
1,689
1,689
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.10.11 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24763/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24762/comments
https://api.github.com/repos/huggingface/transformers/issues/24762/events
https://github.com/huggingface/transformers/issues/24762
1,799,786,957
I_kwDOCUB6oc5rRpHN
24,762
Abnormally slow inference speed of quantized model?
{ "login": "JiancongWang", "id": 23178680, "node_id": "MDQ6VXNlcjIzMTc4Njgw", "avatar_url": "https://avatars.githubusercontent.com/u/23178680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JiancongWang", "html_url": "https://github.com/JiancongWang", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Having the same issue here. Also want to ask if it is true that 8bit model is slower than fp16 during inference", "cc @younesbelkada for `4-bit` 🙏 ", "Hi everyone,\r\nSadly 8bit models are expected to be slower than fp16 models, see this: https://huggingface.co/blog/hf-bitsandbytes-integration#faster-inferenc...
1,689
1,702
1,692
NONE
null
### System Info To reproduce, I am running on CUDA 12.1/Driver 530 on an A100 with Ubuntu 20.04. I am running with the following packages accelerate 0.21.0.dev0 triton 2.0.0 transformers 4.31.0.dev0 torch 2.0.1 bitsandbytes ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24762/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24761/comments
https://api.github.com/repos/huggingface/transformers/issues/24761/events
https://github.com/huggingface/transformers/pull/24761
1,799,776,758
PR_kwDOCUB6oc5VPz25
24,761
Unpin protobuf in docker file (for daily CI)
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? I forgot to unpin protobuf (in the docker file) in my previous PR #24599. Currently, CircleCI is testing against with protobuf 4, but daily CI is still v3. Let's move on on daily CI too.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24761/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24761", "html_url": "https://github.com/huggingface/transformers/pull/24761", "diff_url": "https://github.com/huggingface/transformers/pull/24761.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24761.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24760/comments
https://api.github.com/repos/huggingface/transformers/issues/24760/events
https://github.com/huggingface/transformers/pull/24760
1,799,719,155
PR_kwDOCUB6oc5VPnTP
24,760
Allow existing configs to be registered
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24760). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? If a model has a class defined both on the Hub and locally, there is a clash appearing when loading it in the auto API and `trust_remote_code=True` coming from [this line](https://github.com/huggingface/transformers/blob/253d43d46d1291633fb21116b737f2bd8799d3da/src/transformers/models/auto/au...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24760/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24760", "html_url": "https://github.com/huggingface/transformers/pull/24760", "diff_url": "https://github.com/huggingface/transformers/pull/24760.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24760.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24759/comments
https://api.github.com/repos/huggingface/transformers/issues/24759/events
https://github.com/huggingface/transformers/pull/24759
1,799,649,264
PR_kwDOCUB6oc5VPYDY
24,759
:bug: Handle empty gen_kwargs for seq2seq trainer prediction_step function
{ "login": "gkumbhat", "id": 10690477, "node_id": "MDQ6VXNlcjEwNjkwNDc3", "avatar_url": "https://avatars.githubusercontent.com/u/10690477?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gkumbhat", "html_url": "https://github.com/gkumbhat", "followers_url": "https://api.github.com/users/gku...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
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/24759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24759", "html_url": "https://github.com/huggingface/transformers/pull/24759", "diff_url": "https://github.com/huggingface/transformers/pull/24759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24759.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24758/comments
https://api.github.com/repos/huggingface/transformers/issues/24758/events
https://github.com/huggingface/transformers/pull/24758
1,799,648,287
PR_kwDOCUB6oc5VPX1x
24,758
Fix lr scheduler not being reset on reruns
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24758). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? This PR ensures that a new learning rate scheduler is created each time we rerun the `inner_training_loop`, so that if we have an lr such as `linear`, a new LR is generated based on the new batch size and step count. I don't believe a new optimizer is needed here to be recreated, just the sch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24758/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24758", "html_url": "https://github.com/huggingface/transformers/pull/24758", "diff_url": "https://github.com/huggingface/transformers/pull/24758.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24758.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24757/comments
https://api.github.com/repos/huggingface/transformers/issues/24757/events
https://github.com/huggingface/transformers/pull/24757
1,799,624,563
PR_kwDOCUB6oc5VPTWK
24,757
Replacement of 20 asserts with exceptions
{ "login": "Baukebrenninkmeijer", "id": 9077462, "node_id": "MDQ6VXNlcjkwNzc0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/9077462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Baukebrenninkmeijer", "html_url": "https://github.com/Baukebrenninkmeijer", "followers_url": "h...
[]
closed
false
null
[]
[ "You will need to put your PR out of draft mode for us to be able to merge it :-)", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Replaces 20 assertions with relevant errors, mostly ValueError. <!-- 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24757/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24757", "html_url": "https://github.com/huggingface/transformers/pull/24757", "diff_url": "https://github.com/huggingface/transformers/pull/24757.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24757.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24756/comments
https://api.github.com/repos/huggingface/transformers/issues/24756/events
https://github.com/huggingface/transformers/pull/24756
1,799,568,712
PR_kwDOCUB6oc5VPIeV
24,756
Fix eval_accumulation_steps leading to incorrect metrics
{ "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...
[ { "id": 2155169140, "node_id": "MDU6TGFiZWwyMTU1MTY5MTQw", "url": "https://api.github.com/repos/huggingface/transformers/labels/trainer", "name": "trainer", "color": "2ef289", "default": false, "description": "" }, { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", ...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Uses the logic in the `GradientState` to know when we've reached the end of training and should sync the gradients. Doing so relies on [this](https://github.com/huggingface/accelerate/blob/main/src/accelerate/accelerator.py#L862-L869) code, which already checks for the case of if a datalo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24756", "html_url": "https://github.com/huggingface/transformers/pull/24756", "diff_url": "https://github.com/huggingface/transformers/pull/24756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24756.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24755/comments
https://api.github.com/repos/huggingface/transformers/issues/24755/events
https://github.com/huggingface/transformers/pull/24755
1,799,538,082
PR_kwDOCUB6oc5VPBv5
24,755
gpt-bigcode: avoid `zero_` to support Core ML
{ "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
[]
[ "Note: to fully test conversion of `gpt-bigcode` models, the following `coremltools` PRs (or equivalent workarounds) need to be applied as well: https://github.com/apple/coremltools/pull/1910, https://github.com/apple/coremltools/pull/1911.", "_The documentation is not available anymore as the PR was closed or me...
1,689
1,689
1,689
MEMBER
null
# What does this PR do? In-place `zero_` is not supported by the Core ML conversion process. This PR replaces it with `zeros_like` so conversion can proceed. The change only affects a workaround for a PyTorch bug on the `cpu` device. <!-- Congratulations! You've made it this far! You're not quite done yet tho...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24755/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/24755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24755", "html_url": "https://github.com/huggingface/transformers/pull/24755", "diff_url": "https://github.com/huggingface/transformers/pull/24755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24755.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24754/comments
https://api.github.com/repos/huggingface/transformers/issues/24754/events
https://github.com/huggingface/transformers/pull/24754
1,799,479,167
PR_kwDOCUB6oc5VO1DS
24,754
📝 Add parameter names to code examples in README
{ "login": "kadirnar", "id": 36204372, "node_id": "MDQ6VXNlcjM2MjA0Mzcy", "avatar_url": "https://avatars.githubusercontent.com/u/36204372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kadirnar", "html_url": "https://github.com/kadirnar", "followers_url": "https://api.github.com/users/kad...
[]
closed
false
null
[]
[ "> Thanks for your PR. I don't believe this makes those basic examples easier to understand, however, so I would leave things as is.\r\n\r\nHi @sgugger, thank you for your feedback. It might be nice to specify the 'model' parameter of the pipeline function. This is how I will update all the tasks in the https://hug...
1,689
1,692
1,692
CONTRIBUTOR
null
@sgugger, @stevhliu and @MKhalusova Updated the code examples in the README file to include parameter names for better clarity and readability. Previously, the examples were missing parameter names, which could lead to confusion. By adding the parameter names, it becomes easier for users to understand and utilize t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24754", "html_url": "https://github.com/huggingface/transformers/pull/24754", "diff_url": "https://github.com/huggingface/transformers/pull/24754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24753/comments
https://api.github.com/repos/huggingface/transformers/issues/24753/events
https://github.com/huggingface/transformers/pull/24753
1,799,471,323
PR_kwDOCUB6oc5VOzSh
24,753
Skip some slow tests for doctesting in PRs (Circle)CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi!\r\n\r\n- This file `.circleci/create_circleci_config.py` is running on CircleCI. See #23245\r\n- If we don't accept the change is this PR: we can simply skip some (doc) test file that takes longer time to run)\r\n\r\n- This PR ad...
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? For doctest: each`.md` file is seen as a single test by pytest, and some takes more time (say `task_summary.md`) than others. Let's allow a 5 minute timeout per test. For the job step, it still has the total 1200s timeout.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24753/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24753", "html_url": "https://github.com/huggingface/transformers/pull/24753", "diff_url": "https://github.com/huggingface/transformers/pull/24753.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24753.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24752/comments
https://api.github.com/repos/huggingface/transformers/issues/24752/events
https://github.com/huggingface/transformers/issues/24752
1,799,394,908
I_kwDOCUB6oc5rQJZc
24,752
Training stage error with batch mode on conditional generation for multimodal models
{ "login": "cramraj8", "id": 8756708, "node_id": "MDQ6VXNlcjg3NTY3MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8756708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cramraj8", "html_url": "https://github.com/cramraj8", "followers_url": "https://api.github.com/users/cramr...
[]
closed
false
null
[]
[ "This is an issue for[ this merged PR](https://github.com/huggingface/transformers/pull/22424)", "Hey @cramraj8 👋 \r\n\r\nThe output shape is correct -- the sequence length of the logits is as long as the input sequence length. \r\n\r\nPerhaps you're interested in using the model to complete the prefix, in which...
1,689
1,693
1,693
NONE
null
### System Info - `transformers` version: 4.29.2 - Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24752/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24751/comments
https://api.github.com/repos/huggingface/transformers/issues/24751/events
https://github.com/huggingface/transformers/issues/24751
1,799,279,931
I_kwDOCUB6oc5rPtU7
24,751
Stalled loop during prediction with deepspeed
{ "login": "avivbrokman", "id": 35349273, "node_id": "MDQ6VXNlcjM1MzQ5Mjcz", "avatar_url": "https://avatars.githubusercontent.com/u/35349273?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avivbrokman", "html_url": "https://github.com/avivbrokman", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Not really sure, but let me tag @pacman100 (?) and see if he knows this is more an issue in `transformers/accelerate` or should go to DeepSpeed repo issue page.", "I wasn't sure which repo it belonged in either. I couldn't seem to locate the source of the bug. Based on all the print statements I added, it look...
1,689
1,689
1,689
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.10.173-154.642.amzn2.x86_64-x86_64-with-glibc2.26 - Python version: 3.10.10 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24751/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24750/comments
https://api.github.com/repos/huggingface/transformers/issues/24750/events
https://github.com/huggingface/transformers/pull/24750
1,799,242,863
PR_kwDOCUB6oc5VOBpN
24,750
Add PEFT support directly in transformers pipeline
{ "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_24750). All of your documentation changes will be reflected on that endpoint.", "Thanks ! If the PoC gets validated by @Narsil I can extend it to more tasks (seq2seq generation, seq-cls) and add nice tests in the current te...
1,689
1,692
1,692
CONTRIBUTOR
null
# What does this PR do? Replaces https://github.com/huggingface/peft/pull/585 After discussing with @LysandreJik I made this PoC PR to see whether it is simpler to add PEFT support directly in transformers and centralize all sort of pipelines in transformers pipeline. In the future, we can concentrate the effort...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24750/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/24750/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24750", "html_url": "https://github.com/huggingface/transformers/pull/24750", "diff_url": "https://github.com/huggingface/transformers/pull/24750.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24750.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24749/comments
https://api.github.com/repos/huggingface/transformers/issues/24749/events
https://github.com/huggingface/transformers/pull/24749
1,799,201,320
PR_kwDOCUB6oc5VN4Zw
24,749
Skip keys not in the state dict when finding mismatched weights
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? When looping through the keys in `find_mismatched_weights`, we loop through all the `loaded_keys` which are all the keys in the checkpoint. If the checkpoint is sharded, the `state_dict` passed won't contain all those keys, only a subset of them, so we need to skip the keys not present in the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24749/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24749", "html_url": "https://github.com/huggingface/transformers/pull/24749", "diff_url": "https://github.com/huggingface/transformers/pull/24749.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24749.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24748/comments
https://api.github.com/repos/huggingface/transformers/issues/24748/events
https://github.com/huggingface/transformers/pull/24748
1,799,163,198
PR_kwDOCUB6oc5VNv-i
24,748
Docs: Added benchmarks for `torch.compile()` for vision models
{ "login": "merveenoyan", "id": 53175384, "node_id": "MDQ6VXNlcjUzMTc1Mzg0", "avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4", "gravatar_id": "", "url": "https://api.github.com/users/merveenoyan", "html_url": "https://github.com/merveenoyan", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sayakpaul can you check this out when you get time? after that, we can merge. ", "@sayakpaul I added more models.", "I thought I committed more models but apparently haven't committed the work, just did now", "@sayakpaul @amye...
1,689
1,691
1,691
CONTRIBUTOR
null
As discussed with @amyeroberts & @sayakpaul, this PR adds `torch.compile()` benchmarks to our documentation. I mainly benchmarked for latency, I can add throughput as well. I got it with doc-builder on my local, it looks like below. <img width="928" alt="Screenshot 2023-07-11 at 18 05 42" src="https://github.co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24748/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24748/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24748", "html_url": "https://github.com/huggingface/transformers/pull/24748", "diff_url": "https://github.com/huggingface/transformers/pull/24748.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24748.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24747/comments
https://api.github.com/repos/huggingface/transformers/issues/24747/events
https://github.com/huggingface/transformers/issues/24747
1,798,922,179
I_kwDOCUB6oc5rOV_D
24,747
`device_map="auto"` support multi-node
{ "login": "guozhiyao", "id": 21999339, "node_id": "MDQ6VXNlcjIxOTk5MzM5", "avatar_url": "https://avatars.githubusercontent.com/u/21999339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guozhiyao", "html_url": "https://github.com/guozhiyao", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @younesbelkada \r\n\r\nHi @guozhiyao, \r\n\r\nThanks for raising this issue. At the moment, there isn't enough information for us to be able to help you. Could you specify what you mean by \"doesn't work\"? \r\n\r\nAs a side note, I don't think you can do `device_map=auto\"` and then `.half()`, instead you can ...
1,689
1,692
1,692
NONE
null
### Feature request `AutoModel.from_pretrained(model_dir, device_map="auto", trust_remote_code=True).half()` I want to load a huge model in multi-node for inference, such as 4 node with 1 gpu per node. But I do not know how to do it. The `device_map="auto"` seems only work for one node. ### Motivation I want to tes...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24747/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24746/comments
https://api.github.com/repos/huggingface/transformers/issues/24746/events
https://github.com/huggingface/transformers/issues/24746
1,798,736,892
I_kwDOCUB6oc5rNov8
24,746
CPM_BEE model should have local model_path to infer and don't use trust_remote_code=True
{ "login": "fxrhhx", "id": 42543089, "node_id": "MDQ6VXNlcjQyNTQzMDg5", "avatar_url": "https://avatars.githubusercontent.com/u/42543089?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxrhhx", "html_url": "https://github.com/fxrhhx", "followers_url": "https://api.github.com/users/fxrhhx/fo...
[]
closed
false
null
[]
[ "Hi @fxrhhx, \r\n\r\n`cache_dir` is the [directory where the checkpoint is located](https://huggingface.co/docs/transformers/v4.30.0/en/model_doc/auto#transformers.AutoModel.from_pretrained.cache_dir).\r\n\r\n`pretrained_model_name_or_path` is either [the checkpoint name, or the full path to the directory containin...
1,689
1,694
1,694
NONE
null
### System Info I want to use my local model path for infer openbmb/cpm-bee-10b, like model_path="/home/users/fanxingran/workspace/workspace/cpm_bee_cpu/cpm-bee-10b" tokenizer = AutoTokenizer.from_pretrained(model_path, cache_dir=model_path, subfolder="scheduler", trust_remote_code=False) model = AutoModelForCausal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24746/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24745/comments
https://api.github.com/repos/huggingface/transformers/issues/24745/events
https://github.com/huggingface/transformers/pull/24745
1,798,336,665
PR_kwDOCUB6oc5VK5yb
24,745
Add CLVP
{ "login": "susnato", "id": 56069179, "node_id": "MDQ6VXNlcjU2MDY5MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susnato", "html_url": "https://github.com/susnato", "followers_url": "https://api.github.com/users/susnat...
[]
closed
false
null
[]
[ "cc: @sanchit-gandhi, @dg845", "Very cool @susnato! Let me know if you have any questions / queries - more than happy to lend a hand here!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24745). All of your documentation changes will be reflected on that endpoint.", ...
1,689
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24745/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24745", "html_url": "https://github.com/huggingface/transformers/pull/24745", "diff_url": "https://github.com/huggingface/transformers/pull/24745.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24745.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24744/comments
https://api.github.com/repos/huggingface/transformers/issues/24744/events
https://github.com/huggingface/transformers/issues/24744
1,798,284,989
I_kwDOCUB6oc5rL6a9
24,744
Import error for relative import of module_name = 'testing_utils'
{ "login": "teddius", "id": 890232, "node_id": "MDQ6VXNlcjg5MDIzMg==", "avatar_url": "https://avatars.githubusercontent.com/u/890232?v=4", "gravatar_id": "", "url": "https://api.github.com/users/teddius", "html_url": "https://github.com/teddius", "followers_url": "https://api.github.com/users/teddius/fo...
[]
closed
false
null
[]
[ "Hi @teddius \r\n\r\nCould you show us the command or the python script you run that gives this error.\r\n\r\nIt's not super clear what\r\n```\r\nimport transformers in a pytest\r\n```\r\nthis means. \r\n\r\nThank you in advance!\r\n", "This issue has been automatically marked as stale because it has not had rece...
1,689
1,692
1,692
NONE
null
### System Info Error message: ` self = <module 'transformers' from '/home/user/miniconda3/envs/my_project/lib/python3.8/site-packages/transformers/__init__.py'> module_name = 'testing_utils' def _get_module(self, module_name: str): try: > return importlib.import_module("." + modu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24744/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24743/comments
https://api.github.com/repos/huggingface/transformers/issues/24743/events
https://github.com/huggingface/transformers/issues/24743
1,798,240,479
I_kwDOCUB6oc5rLvjf
24,743
T5 Tokenizer Adds Space after Each Added (Extra) Token
{ "login": "tshu-w", "id": 13161779, "node_id": "MDQ6VXNlcjEzMTYxNzc5", "avatar_url": "https://avatars.githubusercontent.com/u/13161779?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tshu-w", "html_url": "https://github.com/tshu-w", "followers_url": "https://api.github.com/users/tshu-w/fo...
[]
closed
false
null
[]
[ "I think a fix is in\r\n\r\nhttps://github.com/huggingface/transformers/pull/24622\r\n\r\n", "FYI: that PR is not merged yet into `main` branch", "Let's wait until we merge to close! ", "@ArthurZucker Hi, this issue still exists after updating transformers to the latest 4.31.0 with #24622", "Hey! \r\nIt is...
1,689
1,689
1,689
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.4.0-146-generic-x86_64-with-glibc2.35 - Python version: 3.11.3 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24743/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24742/comments
https://api.github.com/repos/huggingface/transformers/issues/24742/events
https://github.com/huggingface/transformers/issues/24742
1,798,204,938
I_kwDOCUB6oc5rLm4K
24,742
Problems when using PyTorch Class _Dataset_ in model fineturn
{ "login": "Cassius31", "id": 112740294, "node_id": "U_kgDOBrhHxg", "avatar_url": "https://avatars.githubusercontent.com/u/112740294?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cassius31", "html_url": "https://github.com/Cassius31", "followers_url": "https://api.github.com/users/Cassiu...
[]
closed
false
null
[]
[ "Hi @Cassius31 \r\n\r\nThis kind of question is better on [Hugging Face Forums](https://discuss.huggingface.co/).\r\n\r\nWe reserve the `transformers` GitHub repository for issues and feature requests.", "> Hi @Cassius31\r\n> \r\n> This kind of question is better on [Hugging Face Forums](https://discuss.huggingfa...
1,689
1,689
1,689
NONE
null
### System Info ```shell transformer 0.15.1 ``` ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reproduction I try to use PyTorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24741/comments
https://api.github.com/repos/huggingface/transformers/issues/24741/events
https://github.com/huggingface/transformers/issues/24741
1,798,100,464
I_kwDOCUB6oc5rLNXw
24,741
past_key_values supporting more-than-one-token inputs
{ "login": "namespace-Pt", "id": 61188463, "node_id": "MDQ6VXNlcjYxMTg4NDYz", "avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4", "gravatar_id": "", "url": "https://api.github.com/users/namespace-Pt", "html_url": "https://github.com/namespace-Pt", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey! Thanks for opening an issue! 🤗 \r\nThe reason why this is not working currently is that GPT2 is a pretty old model, thus it requires the attention mask to be passed when you want to generate. \r\nNow this is not an issue most of the time people use `gpt2_model.generate(input_ids, attention_mask)` and thus do...
1,689
1,690
1,690
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.0 - Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.31 - Python version: 3.10.11 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24741/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24740/comments
https://api.github.com/repos/huggingface/transformers/issues/24740/events
https://github.com/huggingface/transformers/issues/24740
1,798,054,398
I_kwDOCUB6oc5rLCH-
24,740
docker/transformers-all-latest-gpu/Dockerfile Not Work
{ "login": "zyh3826", "id": 31238754, "node_id": "MDQ6VXNlcjMxMjM4NzU0", "avatar_url": "https://avatars.githubusercontent.com/u/31238754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyh3826", "html_url": "https://github.com/zyh3826", "followers_url": "https://api.github.com/users/zyh382...
[]
closed
false
null
[]
[ "The problem in the used (pip) `index-url` being `https://mirrors.aliyun.com/pypi/simple`, where it can't find higher version of `huggingface_hub`. From the provided log, the highest version it has is `0.4.0`.\r\n\r\nIt should work fine if you are using `https://pypi.org/simple` as the pip index.", "> The proble...
1,689
1,692
1,692
NONE
null
### System Info Docker: 20.10.12 ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction 1....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24740/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24739/comments
https://api.github.com/repos/huggingface/transformers/issues/24739/events
https://github.com/huggingface/transformers/issues/24739
1,797,740,474
I_kwDOCUB6oc5rJ1e6
24,739
Sorting FAISS scores for similarity search
{ "login": "NamburiSrinath", "id": 40389487, "node_id": "MDQ6VXNlcjQwMzg5NDg3", "avatar_url": "https://avatars.githubusercontent.com/u/40389487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NamburiSrinath", "html_url": "https://github.com/NamburiSrinath", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi! Thank you for opening the issue.\r\n\r\nI tag someone in the team on the course chapter discussion page. Let's wait a reply first 🤗 .", "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\nP...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.29.2 - Platform: Linux-5.10.157-139.675.amzn2.x86_64-x86_64-with-glibc2.26 - Python version: 3.9.15 - Huggingface_hub version: 0.15.1 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24739/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24738/comments
https://api.github.com/repos/huggingface/transformers/issues/24738/events
https://github.com/huggingface/transformers/pull/24738
1,797,621,112
PR_kwDOCUB6oc5VIcQO
24,738
Add missing attention mask in ASTFeatureExtractor
{ "login": "lu-wo", "id": 71704466, "node_id": "MDQ6VXNlcjcxNzA0NDY2", "avatar_url": "https://avatars.githubusercontent.com/u/71704466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lu-wo", "html_url": "https://github.com/lu-wo", "followers_url": "https://api.github.com/users/lu-wo/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24738). All of your documentation changes will be reflected on that endpoint.", "Hmm I believe this was omitted because Audio Spectrogram Transformer doesn't take a padding mask as input: https://github.com/huggingface/tran...
1,689
1,690
1,689
NONE
null
The ASTFeatureExtractor has a return_attention_mask attribute, but even if set to true, the feature extractor does not return it, because the code to do so is missing. I added the code which checks the lengths of the raw audio arrays before computing the spectrograms and then creates the attention mask for each ele...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24738/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24738", "html_url": "https://github.com/huggingface/transformers/pull/24738", "diff_url": "https://github.com/huggingface/transformers/pull/24738.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24738.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24737/comments
https://api.github.com/repos/huggingface/transformers/issues/24737/events
https://github.com/huggingface/transformers/issues/24737
1,797,529,993
I_kwDOCUB6oc5rJCGJ
24,737
Falcon Models saved with `save_pretrained` no longer get saved with python files
{ "login": "fadynakhla", "id": 67917337, "node_id": "MDQ6VXNlcjY3OTE3MzM3", "avatar_url": "https://avatars.githubusercontent.com/u/67917337?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fadynakhla", "html_url": "https://github.com/fadynakhla", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "Hi @sgugger \r\n\r\nI checked the code snippet and indeed only config and model bin files are saved. (tested on main branch of July 10th)\r\nI am more than happy to help and learn, but I would like to know if this behavior is expected before taking action.\r\n(and if you want to fix directly, ok for me)\r\n\r\n```...
1,689
1,689
1,689
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-75-generic-x86_64-with-glibc2.35 - Python version: 3.10.3 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24737/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/24737/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24736/comments
https://api.github.com/repos/huggingface/transformers/issues/24736/events
https://github.com/huggingface/transformers/pull/24736
1,797,508,647
PR_kwDOCUB6oc5VIDV3
24,736
Fix typo in LocalAgent
{ "login": "jamartin9", "id": 7027701, "node_id": "MDQ6VXNlcjcwMjc3MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/7027701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamartin9", "html_url": "https://github.com/jamartin9", "followers_url": "https://api.github.com/users/ja...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24736). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? This PR fixes a typo in LocalAgent. Crash Log: ``` Traceback (most recent call last): File "/gnu/git/hf-agent/./agent.py", line 18, in <module> agent.run(prompt) File "/gnu/git/hf-agent/venv/lib/python3.11/site-packages/transformers/tools/agents.py", line 335, in run res...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24736/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24736", "html_url": "https://github.com/huggingface/transformers/pull/24736", "diff_url": "https://github.com/huggingface/transformers/pull/24736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24736.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24735/comments
https://api.github.com/repos/huggingface/transformers/issues/24735/events
https://github.com/huggingface/transformers/issues/24735
1,797,497,355
I_kwDOCUB6oc5rI6IL
24,735
Distil* hanging on torch.distributed.barrier()
{ "login": "higopires", "id": 66256549, "node_id": "MDQ6VXNlcjY2MjU2NTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/66256549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/higopires", "html_url": "https://github.com/higopires", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "This is probably a setup error in the environment, as it means that one of the processes does not properly ping the others at the barrier line, and then it hangs forever.", "Is there a way to solve this setup error?", "i have same problem", "I run into this problem recently.", "> \r\n\r\nfor me it was gpu ...
1,689
1,694
1,694
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.14.21-150400.24.55-default-x86_64-with-glibc2.31 - Python version: 3.10.10 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 1.13.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Fl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24735/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24734/comments
https://api.github.com/repos/huggingface/transformers/issues/24734/events
https://github.com/huggingface/transformers/issues/24734
1,797,203,090
I_kwDOCUB6oc5rHySS
24,734
bug: eval_accumulation_steps can lead to incorrect metrics
{ "login": "sjrl", "id": 10526848, "node_id": "MDQ6VXNlcjEwNTI2ODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/10526848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sjrl", "html_url": "https://github.com/sjrl", "followers_url": "https://api.github.com/users/sjrl/followers"...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "Thanks for the report! I'll look into a solution for this today", "@sjrl could you quickly verify that installing `transformers` via `pip install git+https://github.com/huggingface/transformers@fix-eval-accum-steps` solves this for you? Thanks!", "Hey @muellerzr thanks for the quick fix! And my apologies I act...
1,689
1,694
1,689
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): 2.11.1 (True) - Flax version (CPU?/G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24734/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/24734/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24733/comments
https://api.github.com/repos/huggingface/transformers/issues/24733/events
https://github.com/huggingface/transformers/pull/24733
1,797,201,707
PR_kwDOCUB6oc5VHBh9
24,733
Docs: add `kwargs` type to fix formatting
{ "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._", "After the PR (as seen in the doc preview):\r\n<img width=\"926\" alt=\"Screenshot 2023-07-10 at 18 55 21\" src=\"https://github.com/huggingface/transformers/assets/12240844/9329186d-86ee-4091-a5c5-bbee77ab83f7\">\r\n", "Happy to pu...
1,689
1,689
1,689
MEMBER
null
# What does this PR do? As the title indicates: in several places our docs `kwargs` did not include its type, which made our doc builder treat it like a continuation of the previous parameter 💔 Example of currently broken docs ([this function](https://huggingface.co/docs/transformers/v4.30.0/en/main_classes/pro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24733", "html_url": "https://github.com/huggingface/transformers/pull/24733", "diff_url": "https://github.com/huggingface/transformers/pull/24733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24733.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24732/comments
https://api.github.com/repos/huggingface/transformers/issues/24732/events
https://github.com/huggingface/transformers/issues/24732
1,796,991,248
I_kwDOCUB6oc5rG-kQ
24,732
GPT2 model training , Loss nan
{ "login": "irfan767", "id": 29143478, "node_id": "MDQ6VXNlcjI5MTQzNDc4", "avatar_url": "https://avatars.githubusercontent.com/u/29143478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/irfan767", "html_url": "https://github.com/irfan767", "followers_url": "https://api.github.com/users/irf...
[]
closed
false
null
[]
[ "Hi @irfan767, thanks for raising an issue! \r\n\r\nQuestions about debugging code or custom training behaviour are best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.", "This issue has been automatically marked as stale because i...
1,689
1,692
1,692
NONE
null
### System Info Sometimes I get this error. while following this article about fine-tuning based on question and answers. [https://discuss.huggingface.co/t/fine-tuning-gpt2-for-question-answering/31895](url) I have just updated the code to create batches because my dataset is more extensive. Here is the code tha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24732/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24731/comments
https://api.github.com/repos/huggingface/transformers/issues/24731/events
https://github.com/huggingface/transformers/issues/24731
1,796,988,197
I_kwDOCUB6oc5rG90l
24,731
LLAMA for sequence classification
{ "login": "lathashree01", "id": 35988419, "node_id": "MDQ6VXNlcjM1OTg4NDE5", "avatar_url": "https://avatars.githubusercontent.com/u/35988419?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lathashree01", "html_url": "https://github.com/lathashree01", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "hi @Lathashree01 \r\nthanks for reporting, can you try to load the model in `bfloat16`, also what is the GPU hardware you are using? ", "Hi @younesbelkada , \r\nI am using Quadro RTX 6000 node with 8 GPUs of 24GB memory.\r\n\r\nWhen I run using - bfloat16, I am getting below error:\r\n`TypeError: Got unsupported...
1,689
1,693
1,690
NONE
null
### System Info @ArthurZucker and @younesbelkada I am trying to perform sequence classification for text using LLAMA 7B model leveraging LORA training. I have 2 classes. Tokeniser and models are loading fine. But loss is zero after the first batch; when I check the logits, of model outputs, they are nan. I a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24731/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24731/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24730/comments
https://api.github.com/repos/huggingface/transformers/issues/24730/events
https://github.com/huggingface/transformers/pull/24730
1,796,981,961
PR_kwDOCUB6oc5VGSFg
24,730
Docs: change some `input_ids` doc reference from `BertTokenizer` to `AutoTokenizer`
{ "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,689
1,689
1,689
MEMBER
null
# What does this PR do? As the title indicates. We are doing it in most places, but there were a few places with the old pattern. (detected it as part of https://github.com/huggingface/transformers/issues/24575)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24730/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24730", "html_url": "https://github.com/huggingface/transformers/pull/24730", "diff_url": "https://github.com/huggingface/transformers/pull/24730.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24730.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24729/comments
https://api.github.com/repos/huggingface/transformers/issues/24729/events
https://github.com/huggingface/transformers/pull/24729
1,796,978,421
PR_kwDOCUB6oc5VGRS8
24,729
Docs: Update logit processors __call__ docs
{ "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,689
1,689
1,689
MEMBER
null
# What does this PR do? PR done as part of https://github.com/huggingface/transformers/issues/24575 This PR polishes the inexistent `__call__` method docs for the logit processors (before this PR, only the base classes had docs).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24729/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24729", "html_url": "https://github.com/huggingface/transformers/pull/24729", "diff_url": "https://github.com/huggingface/transformers/pull/24729.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24729.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24728/comments
https://api.github.com/repos/huggingface/transformers/issues/24728/events
https://github.com/huggingface/transformers/issues/24728
1,796,931,495
I_kwDOCUB6oc5rGv-n
24,728
Saving with Trainer missing config.json and tokenizer files.
{ "login": "dumpmemory", "id": 64742282, "node_id": "MDQ6VXNlcjY0NzQyMjgy", "avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dumpmemory", "html_url": "https://github.com/dumpmemory", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@pacman100 ", "Hi @dumpmemory !\r\n\r\nCould you verify if any of the 3 places `self._save` in the code snippet below is triggered?\r\n\r\n(line 2742, 2753, 2762)\r\n\r\nhttps://github.com/huggingface/transformers/blob/25411085647a4dbcbd4e7ba6f381881a3e49c33e/src/transformers/trainer.py#L2734-L2762\r\n\r\n", "...
1,689
1,691
1,689
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.4.119-19.0009.28-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24728/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24728/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24727/comments
https://api.github.com/repos/huggingface/transformers/issues/24727/events
https://github.com/huggingface/transformers/issues/24727
1,796,541,319
I_kwDOCUB6oc5rFQuH
24,727
Add "save_best_only" parameter in "transformers.PushToHubCallback" class
{ "login": "MUmairAB", "id": 120496694, "node_id": "U_kgDOBy6iNg", "avatar_url": "https://avatars.githubusercontent.com/u/120496694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MUmairAB", "html_url": "https://github.com/MUmairAB", "followers_url": "https://api.github.com/users/MUmairAB/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ "cc @sgugger to see if we want to support the **save/push only the best model during training**. It seems the trainer currently only support load the best model at the end (with a specified metric).", "The whole goal of pushing the model to the hub is to be able to resume training from a different machine if ther...
1,688
1,694
1,694
NONE
null
### Feature request When utilizing Keras callbacks, we have the ability to specify when the model should be saved during training. The **transformers.PushToHubCallback()** class already incorporates similar functionality through the use of the **"save_strategy"** parameter. This parameter accepts the following values:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24727/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24726/comments
https://api.github.com/repos/huggingface/transformers/issues/24726/events
https://github.com/huggingface/transformers/pull/24726
1,796,152,718
PR_kwDOCUB6oc5VDcwN
24,726
[`T5`, `MT5`, `UMT5`] Add [T5, MT5, UMT5]ForSequenceClassification
{ "login": "sjrl", "id": 10526848, "node_id": "MDQ6VXNlcjEwNTI2ODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/10526848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sjrl", "html_url": "https://github.com/sjrl", "followers_url": "https://api.github.com/users/sjrl/followers"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Quick comment, we can probably add this to UMT5 too (you don't have to if it take too much time)\r\n\r\nFor sure, I'd be happy to!", "Hey @sgugger thanks for the feedback!\r\n\r\n> Hi, thanks for your PR! This does not follow the...
1,688
1,694
1,690
CONTRIBUTOR
null
# What does this PR do? This adds a sequence classification head to the PyTorch implementation of T5 and MT5, following the pattern of BartForSequenceClassification since it is also an encoder-decoder sequence classification model. I have trained and uploaded a flan-t5-base for MNLI [here](https://huggingface.co/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24726", "html_url": "https://github.com/huggingface/transformers/pull/24726", "diff_url": "https://github.com/huggingface/transformers/pull/24726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24726.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24725/comments
https://api.github.com/repos/huggingface/transformers/issues/24725/events
https://github.com/huggingface/transformers/issues/24725
1,795,833,413
I_kwDOCUB6oc5rCj5F
24,725
Sum loss instead of mean loss should be used if gradient accumulation step is larger than 1 when training a language model
{ "login": "Atry", "id": 601530, "node_id": "MDQ6VXNlcjYwMTUzMA==", "avatar_url": "https://avatars.githubusercontent.com/u/601530?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Atry", "html_url": "https://github.com/Atry", "followers_url": "https://api.github.com/users/Atry/followers", ...
[]
closed
false
null
[]
[ "Hi @Atry \r\n\r\nYour description is correct. However, the loss logic is implemented in each model classes, and therefore it could not see multiple batches in a single model forward pass (and that's probably the main reason for which we just simply use `mean`).\r\n\r\nThe best and easy way to have a correct comput...
1,688
1,695
1,693
NONE
null
### System Info Not applicable, because this is a design issue, not a runtime error. ### Who can help? @sgugger, @ArthurZucker and @younesbelkada ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24725/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24724/comments
https://api.github.com/repos/huggingface/transformers/issues/24724/events
https://github.com/huggingface/transformers/issues/24724
1,795,744,066
I_kwDOCUB6oc5rCOFC
24,724
New Version Usage Issue
{ "login": "Excuses123", "id": 22993056, "node_id": "MDQ6VXNlcjIyOTkzMDU2", "avatar_url": "https://avatars.githubusercontent.com/u/22993056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Excuses123", "html_url": "https://github.com/Excuses123", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Here's another question, in the new version of the Transformers package, the default loaded model by from_pretrained has become safeTensors. How can I change it to pytorch.bin? Is there any parameter I can specify?", "Hi @Excuses123, thanks for raising this issue.\r\n\r\nWithout knowing the model or dataset, we'...
1,688
1,694
1,689
NONE
null
### System Info - `transformers` version: 4.29.0 - Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.31 - Python version: 3.10.9 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24724/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24724/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24723/comments
https://api.github.com/repos/huggingface/transformers/issues/24723/events
https://github.com/huggingface/transformers/issues/24723
1,795,409,801
I_kwDOCUB6oc5rA8eJ
24,723
install from source dont work
{ "login": "IdoTal120", "id": 139057336, "node_id": "U_kgDOCEnYuA", "avatar_url": "https://avatars.githubusercontent.com/u/139057336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IdoTal120", "html_url": "https://github.com/IdoTal120", "followers_url": "https://api.github.com/users/IdoTal...
[]
closed
false
null
[]
[ "\r\nHello @IdoTal120 ! Welcome to Github, 👋\r\nTaking this into account\r\n```\r\nERROR: Error [WinError 2] The system cannot find the file specified while executing command git version\r\nERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?\r\n```\r\n\r\n\r\nThe error message is telli...
1,688
1,692
1,692
NONE
null
### System Info ms server 2019 PS C:\Users\a_ital> pip install git+https://github.com/huggingface/transformers Collecting git+https://github.com/huggingface/transformers Cloning https://github.com/huggingface/transformers to c:\users\a_ital\appdata\local\temp\6\pip-req-build-no6t74od ERROR: Error [WinErro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24723/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24722/comments
https://api.github.com/repos/huggingface/transformers/issues/24722/events
https://github.com/huggingface/transformers/issues/24722
1,795,282,010
I_kwDOCUB6oc5rAdRa
24,722
Feature Request: To add nested hierarchy retrieval from Donut response
{ "login": "sam99dave", "id": 37779169, "node_id": "MDQ6VXNlcjM3Nzc5MTY5", "avatar_url": "https://avatars.githubusercontent.com/u/37779169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam99dave", "html_url": "https://github.com/sam99dave", "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" } ]
open
false
null
[]
[ "Hi @sam99dave, \r\n\r\nThanks for raising this issue! Would you like to open a PR with your suggestion? This way you get the contribution on git. One thing to note when adding this feature is that we have to consider backwards compatibility with our models, so the default behaviour would still need to be preserved...
1,688
1,689
null
NONE
null
### Feature request ### Donut for hierarchy extraction (Document Parsing) While preprocessing the ground truth json to the tokens for Donut the processor function (json2token) handles nested hierarchy but the same doesn't hold true for token2json. Below is an example json: ` { "header": "This is 1st heade...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24722/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24721/comments
https://api.github.com/repos/huggingface/transformers/issues/24721/events
https://github.com/huggingface/transformers/pull/24721
1,794,958,934
PR_kwDOCUB6oc5U_lOL
24,721
[WIP] Gradient Checkpointing: use_reentrant=False
{ "login": "tsheasha", "id": 941429, "node_id": "MDQ6VXNlcjk0MTQyOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/941429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tsheasha", "html_url": "https://github.com/tsheasha", "followers_url": "https://api.github.com/users/tsheash...
[]
closed
false
null
[]
[]
1,688
1,688
1,688
NONE
null
# What does this PR do? As per pytorch's [recommendation](https://github.com/pytorch/pytorch/blob/main/torch/utils/checkpoint.py#L418) When using gradient checkpointing for models that allow them, torch.util.checkpoint recommends using `use_reentrant=False``` as per [this note](https://github.com/pytorch/pytorch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24721/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24721", "html_url": "https://github.com/huggingface/transformers/pull/24721", "diff_url": "https://github.com/huggingface/transformers/pull/24721.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24721.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24720/comments
https://api.github.com/repos/huggingface/transformers/issues/24720/events
https://github.com/huggingface/transformers/pull/24720
1,794,944,277
PR_kwDOCUB6oc5U_ijF
24,720
Pvt model
{ "login": "Xrenya", "id": 51479797, "node_id": "MDQ6VXNlcjUxNDc5Nzk3", "avatar_url": "https://avatars.githubusercontent.com/u/51479797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xrenya", "html_url": "https://github.com/Xrenya", "followers_url": "https://api.github.com/users/Xrenya/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@Xrenya Thanks again for adding and iterating. Merging now :) " ]
1,688
1,690
1,690
CONTRIBUTOR
null
# Add PVT(Pyramid Vision Transformer) Partially fixes: [issue](https://github.com/huggingface/transformers/issues/17596), [Closed PR](https://github.com/huggingface/transformers/pull/22445) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24720", "html_url": "https://github.com/huggingface/transformers/pull/24720", "diff_url": "https://github.com/huggingface/transformers/pull/24720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24719/comments
https://api.github.com/repos/huggingface/transformers/issues/24719/events
https://github.com/huggingface/transformers/pull/24719
1,794,938,681
PR_kwDOCUB6oc5U_hfU
24,719
add gradient checkpointing for distilbert
{ "login": "jordane95", "id": 69186130, "node_id": "MDQ6VXNlcjY5MTg2MTMw", "avatar_url": "https://avatars.githubusercontent.com/u/69186130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jordane95", "html_url": "https://github.com/jordane95", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @jordane95, thanks for opening this PR. \r\n\r\nOverall changes look OK to me. I can see from the issue discussion that gradient checkpointing was deliberately not added to DistilBert. In general, we try to avoid adding complexity to existing models, in particular their forward pass. Let's get @sgugger second o...
1,688
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Fixes #9113 and #23219 I just added the gradient checkpointint feature for DistilBert following the implementation in BERT. This should be useful if one wants to train a relatively small model with extremly large batch size for better performance in application scenarios such as text r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24719/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24719", "html_url": "https://github.com/huggingface/transformers/pull/24719", "diff_url": "https://github.com/huggingface/transformers/pull/24719.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24719.patch", "merged_at...