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/24718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24718/comments | https://api.github.com/repos/huggingface/transformers/issues/24718/events | https://github.com/huggingface/transformers/issues/24718 | 1,794,902,750 | I_kwDOCUB6oc5q_Are | 24,718 | Speech recognition with CTC runs not reproducible | {
"login": "bhavitvyamalik",
"id": 19718818,
"node_id": "MDQ6VXNlcjE5NzE4ODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhavitvyamalik",
"html_url": "https://github.com/bhavitvyamalik",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @bhavitvyamalik, \r\n\r\nIf running the `run_speech_recognition_ctc.py` script, could you share the command being run, including all argument settings? \r\n\r\nIs the script being run on a single or multiple GPUs? \r\n\r\ncc @sanchit-gandhi ",
"The script is being run on single GPU. I'm training on Multilingu... | 1,688 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.1
- Platform: Linux-3.10.0-1160.71.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.16.4
- PyTorch version (GPU?): 1.9.0+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24718/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24717/comments | https://api.github.com/repos/huggingface/transformers/issues/24717/events | https://github.com/huggingface/transformers/issues/24717 | 1,794,877,546 | I_kwDOCUB6oc5q-6hq | 24,717 | Possibly a bug in Pix2Struct outputs | {
"login": "artyomxyz",
"id": 5408270,
"node_id": "MDQ6VXNlcjU0MDgyNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5408270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artyomxyz",
"html_url": "https://github.com/artyomxyz",
"followers_url": "https://api.github.com/users/ar... | [] | closed | false | null | [] | [
"Hi @artyomxyz, thanks for reporting this issue.\r\n\r\nYes, you're right, there is a current issue with indexing in the Pix2Struct model. Related PR: #23985\r\n\r\ncc @younesbelkada ",
"> Hi @loveisp ! Again thanks for your contribution on this Can you share with us why this PR got closed? The PR should also fix... | 1,688 | 1,694 | 1,694 | NONE | null | I'm sorry if I'm wrong, as I don't have much experience with transformers internals.
I was playing with Pix2Struct and trying to visualise attention on input image. `output.cross_attentions` shape didn't make much sense as it didn't have `patch_count` as any of dimensions. After inspecting `modeling_pix2struct.py` I h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24717/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24717/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24716/comments | https://api.github.com/repos/huggingface/transformers/issues/24716/events | https://github.com/huggingface/transformers/issues/24716 | 1,794,840,648 | I_kwDOCUB6oc5q-xhI | 24,716 | Loading pretrained RobertaModel,size missmatch error | {
"login": "aipursuing",
"id": 62983292,
"node_id": "MDQ6VXNlcjYyOTgzMjky",
"avatar_url": "https://avatars.githubusercontent.com/u/62983292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aipursuing",
"html_url": "https://github.com/aipursuing",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@aixiaobaikyh Please follow the issue template and fill out all the requesting information such as the transformers version being run. \r\n\r\nIf running on a version of transformers released in the past year, the error message shared here is not the full error message that is printed out. The final part instructs... | 1,688 | 1,692 | 1,692 | NONE | null | My code is as follows:
`config = RobertaConfig.from_pretrained("roberta-base", max_position_embeddings=2048)`
`model = RobertaModel.from_pretrained('roberta-base',config = config)`
then I get the following error:
`size mismatch for roberta.embeddings.position_embeddings.weight: copying a param with shape torch.Si... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24716/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24715/comments | https://api.github.com/repos/huggingface/transformers/issues/24715/events | https://github.com/huggingface/transformers/issues/24715 | 1,794,459,321 | I_kwDOCUB6oc5q9Ua5 | 24,715 | Generate function | {
"login": "Dongximing",
"id": 35741613,
"node_id": "MDQ6VXNlcjM1NzQxNjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/35741613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dongximing",
"html_url": "https://github.com/Dongximing",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @Dongximing, \r\n\r\nThe `decapoda-research/llama-7b-hf` checkpoint shouldn't be used. The tokenizer and weights were released before the Llama PR was merged and are not compatible with the Llama implementation in transformers. There are other checkpoints (e.g. [this one](https://huggingface.co/huggyllama/llama... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
The model is llama and the tokenizer is also llama (decapoda-research/llama-7b-hf)
tokenizer = LlamaTokenizer.from_pretrained('decapoda-research/llama-7b-hf',add_special_tokens=False,add_bos_token = False)
I have a question about the model generation.
```python
prompt = """Tell me some things ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24715/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24714/comments | https://api.github.com/repos/huggingface/transformers/issues/24714/events | https://github.com/huggingface/transformers/issues/24714 | 1,794,246,484 | I_kwDOCUB6oc5q8gdU | 24,714 | find_unused_parameters is not passed from Trainer to Sagemaker DistributedModel | {
"login": "marcuscollins",
"id": 7783900,
"node_id": "MDQ6VXNlcjc3ODM5MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7783900?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcuscollins",
"html_url": "https://github.com/marcuscollins",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Update: the workaround does not appear to solve the problem either. We need some way to pass this argument into SageMaker's version of parallelism (which I think still uses torch's DistributedDataParallel under the hood.)",
"Possibly @pacman100 might know about this? ",
"Are we sure this SageMaker class actual... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
When trying to launch a model on SageMaker with the Huggingface Estimator and the `transformers.Trainer` class, I discovered the the trainer argument `ddp_find_unused_parameters` is not passed to the Sagemaker DistributedModel, see https://github.com/huggingface/transformers/blob/495729427045c7a58e040f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24714/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24713/comments | https://api.github.com/repos/huggingface/transformers/issues/24713/events | https://github.com/huggingface/transformers/issues/24713 | 1,793,729,952 | I_kwDOCUB6oc5q6iWg | 24,713 | Amazon Sagemaker - huggingface-textgeneration1-gpt-j-6b-fp16 | {
"login": "Mrin7",
"id": 134509550,
"node_id": "U_kgDOCARz7g",
"avatar_url": "https://avatars.githubusercontent.com/u/134509550?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mrin7",
"html_url": "https://github.com/Mrin7",
"followers_url": "https://api.github.com/users/Mrin7/followers",
... | [] | closed | false | null | [] | [
"Hi @Mrin7, thanks for raising an issue! \r\n\r\nWhen creating issues on github, please create a separate issue for each individual question. \r\n\r\nWith regards to your first question, the docs state that the model can fit into 16 GB of RAM for interference, however there may be other processes or objects which h... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
Running on Amazon sagemaker notebook.(https://us-west-2.console.aws.amazon.com/sagemaker/playground?region=us-west-2#/foundation-models/playground/prod-000000021)
ml.m5.xlarge | 4 vcpu | 16 GiB memory
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24713/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24713/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24712/comments | https://api.github.com/repos/huggingface/transformers/issues/24712/events | https://github.com/huggingface/transformers/pull/24712 | 1,793,704,417 | PR_kwDOCUB6oc5U7QV- | 24,712 | adding dynamic categorical feature option | {
"login": "guyko81",
"id": 10399767,
"node_id": "MDQ6VXNlcjEwMzk5NzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/10399767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guyko81",
"html_url": "https://github.com/guyko81",
"followers_url": "https://api.github.com/users/guyko8... | [] | closed | false | null | [] | [
"awesome @guyko81 will have a look! this will be great!\r\n",
"@kashif can you help me please?\r\nwhen I try to add the variables based on the example I struggle getting the dynamic_categorical_features split into past and future values.\r\nWhen I add it to the time features\r\n```\r\ndef create_instance_splitter... | 1,688 | 1,692 | 1,692 | NONE | null | # What does this PR do?
Adding dynamic categorical feature to time_series_transformer
// Have not tested yet! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24712/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/24712/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24712",
"html_url": "https://github.com/huggingface/transformers/pull/24712",
"diff_url": "https://github.com/huggingface/transformers/pull/24712.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24712.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24711/comments | https://api.github.com/repos/huggingface/transformers/issues/24711/events | https://github.com/huggingface/transformers/issues/24711 | 1,793,539,074 | I_kwDOCUB6oc5q5zwC | 24,711 | Initialize Flax model params on CPU | {
"login": "gianlucadetommaso",
"id": 32386694,
"node_id": "MDQ6VXNlcjMyMzg2Njk0",
"avatar_url": "https://avatars.githubusercontent.com/u/32386694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gianlucadetommaso",
"html_url": "https://github.com/gianlucadetommaso",
"followers_url": "https... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Related to this, the `init_weights` method should not initialize all random parameters on GPU when `params` are actually passed (see, for example, [Flax GPT-J](https://github.com/huggingface/transformers/blob/495729427045c7a58e040fa9bf6df81c16f54208/src/transformers/models/gptj/modeling_flax_gptj.py#L401)). This m... | 1,688 | 1,692 | null | NONE | null | ### Feature request
Currently, the `from_pretrained` method of Flax models automatically puts model parameters on a single GPU device, if available. For very large models, this is not great, as the model parameters may just not fit on GPU memory.
In contrast, when passing `_do_init=False` to `from_pretrained`, the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24711/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24711/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24710/comments | https://api.github.com/repos/huggingface/transformers/issues/24710/events | https://github.com/huggingface/transformers/issues/24710 | 1,793,493,012 | I_kwDOCUB6oc5q5ogU | 24,710 | Inheritance issue with _LazyConfigMapping | {
"login": "ZhiyuanChen",
"id": 28757366,
"node_id": "MDQ6VXNlcjI4NzU3MzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/28757366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhiyuanChen",
"html_url": "https://github.com/ZhiyuanChen",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi, thank you for pointing out this.\r\n\r\nLooks like you are right. However, this is just a simple utility to make things easier internally and there is no need to over-engineering😅",
"> Hi, thank you for pointing out this.\r\n> \r\n> Looks like you are right. However, this is just a simple utility to make th... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.10.11
- Huggingface_hub version: 0.16.2
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0.post200 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24710/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24709/comments | https://api.github.com/repos/huggingface/transformers/issues/24709/events | https://github.com/huggingface/transformers/pull/24709 | 1,793,322,191 | PR_kwDOCUB6oc5U58t3 | 24,709 | Add `Kosmos-2` model | {
"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._",
"any updates?",
"WIP, but a bit slow pace",
"Hi @ArthurZucker Ready for you to take a review a again :-) \r\n\r\nWould be great if we can merge before Thursday 🙏 (if everything is good) as we want to have an announcement with the... | 1,688 | 1,698 | 1,698 | COLLABORATOR | null | # What does this PR do?
Add `KOSMOS-2` model.
- I decide not to expose `Kosmos2TextModel` and `Kosmos2VisionModel` to the main `__init__` file:
- as they are really only building blocks. Moreover, loading checkpoints of `Kosmos2ForConditionalGeneration` into those 2 models won't work.
- loading `Kosmos2ForC... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24709/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24709/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24709",
"html_url": "https://github.com/huggingface/transformers/pull/24709",
"diff_url": "https://github.com/huggingface/transformers/pull/24709.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24709.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24708/comments | https://api.github.com/repos/huggingface/transformers/issues/24708/events | https://github.com/huggingface/transformers/issues/24708 | 1,793,215,516 | I_kwDOCUB6oc5q4kwc | 24,708 | Resume from checkpoint on fused AdamW raises device errors | {
"login": "ideasbyjin",
"id": 35487240,
"node_id": "MDQ6VXNlcjM1NDg3MjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/35487240?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ideasbyjin",
"html_url": "https://github.com/ideasbyjin",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @ideasbyjin, thanks for raising this issue. \r\n\r\nIn order for us to be able to help, we'll need a minimal code snippet for us to be able to reproduce the error.\r\n\r\nCould you provide us with some more information on the running environment: run `transformers-cli env` in the terminal and copy-paste the out... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
Hi, I'm trying to resume a very minimal T5 model after some pre-training.
* transformers==4.30.1
* accelerate==0.20.3
* datasets==2.12.0
I'm using `Trainer`'s built-in `resume_from_checkpoint` argument, and I get the following error message:
```RuntimeError: Expected all tensors to be on t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24708/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24708/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24707/comments | https://api.github.com/repos/huggingface/transformers/issues/24707/events | https://github.com/huggingface/transformers/issues/24707 | 1,792,991,372 | I_kwDOCUB6oc5q3uCM | 24,707 | decoder_kwargs are not passed over to AutomaticSpeechRecognitionPipeline.tokenizer.decode | {
"login": "devxpy",
"id": 19492893,
"node_id": "MDQ6VXNlcjE5NDkyODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/19492893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devxpy",
"html_url": "https://github.com/devxpy",
"followers_url": "https://api.github.com/users/devxpy/fo... | [] | closed | false | null | [] | [
"From https://github.com/huggingface/transformers/blob/fb78769b9c053876ed7ae152ee995b0439a4462a/src/transformers/pipelines/automatic_speech_recognition.py#L549-L552\r\n\r\nThat `decoder_kwargs` is for an instance of `BeamSearchDecoderCTC` and not a tokenizer.\r\n\r\nBut cc @ArthurZucker to see if he has more words ... | 1,688 | 1,692 | 1,692 | NONE | null | ### Feature request
The `postprocess()` function here
https://github.com/huggingface/transformers/blob/fb78769b9c053876ed7ae152ee995b0439a4462a/src/transformers/pipelines/automatic_speech_recognition.py#L492-L494
should pass down the `decoder_kwargs` it receives down to the decoder
https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24707/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24707/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24706/comments | https://api.github.com/repos/huggingface/transformers/issues/24706/events | https://github.com/huggingface/transformers/pull/24706 | 1,792,988,702 | PR_kwDOCUB6oc5U4zuX | 24,706 | Fix flaky `test_for_warning_if_padding_and_no_attention_mask` | {
"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,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
This tests #24510. It fails a few times (on my PRs, and once in someone's PR), and now it fails on the latest daily CI.
This test is flaky because it test the functionality of `warn_if_padding_and_no_attention_mask` which uses `logger.warning_once(warn_string)` - this uses `@functools.lru_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24706/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24706/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24706",
"html_url": "https://github.com/huggingface/transformers/pull/24706",
"diff_url": "https://github.com/huggingface/transformers/pull/24706.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24706.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24705/comments | https://api.github.com/repos/huggingface/transformers/issues/24705/events | https://github.com/huggingface/transformers/issues/24705 | 1,792,801,423 | I_kwDOCUB6oc5q2_qP | 24,705 | elif self.fsdp is not None and self.args.fsdp_config["xla"]: | {
"login": "duanzhenyu001",
"id": 103398099,
"node_id": "U_kgDOBim60w",
"avatar_url": "https://avatars.githubusercontent.com/u/103398099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duanzhenyu001",
"html_url": "https://github.com/duanzhenyu001",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"Hi @duanzhenyu001, 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.\r\n\r\nThat being said, checking the docs it's possible to see that [XLA supports FDSP](https://huggingf... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-5.4.143.bsk.8-amd64-x86_64-with-glibc2.28
- Python version: 3.10.9
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24705/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24704/comments | https://api.github.com/repos/huggingface/transformers/issues/24704/events | https://github.com/huggingface/transformers/issues/24704 | 1,792,801,016 | I_kwDOCUB6oc5q2_j4 | 24,704 | bug for from_pretrained method with ignore_mismatched_sizes=True | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey 🤗 ! Thanks for reporting, this indeed a bug! I tracked this down to #24505 (this [commit](https://github.com/huggingface/transformers/commit/8e5d1619b3e57367701d74647e87b95f8dba5409)). Will probably let @sgugger handle, I don't have bandwidth to solve it right now! ",
"No, this has no link to #24505, the c... | 1,688 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.0-1040-azure-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+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24704/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24704/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24703/comments | https://api.github.com/repos/huggingface/transformers/issues/24703/events | https://github.com/huggingface/transformers/pull/24703 | 1,792,723,158 | PR_kwDOCUB6oc5U35-2 | 24,703 | Suppress warnings from LUKE for unexpected keys | {
"login": "ryokan0123",
"id": 17979572,
"node_id": "MDQ6VXNlcjE3OTc5NTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryokan0123",
"html_url": "https://github.com/ryokan0123",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I believe this should not be done this way. These keys should be used only if the default behavior in the modeling code will have different keys than the canonical (original) checkpoints on the Hub.\r\n\r\nBut before further discussi... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Suppress the warnings when instantiating the LUKE models by adding `_keys_to_ignore_on_load_unexpected`.
## Promblem
Currently, when you instantiate certain LUKE models from the Hugging Face Hub, such as
```
from transformers import AutoModel
model = transformers.AutoModel.from_pretr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24703/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24703",
"html_url": "https://github.com/huggingface/transformers/pull/24703",
"diff_url": "https://github.com/huggingface/transformers/pull/24703.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24703.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24702/comments | https://api.github.com/repos/huggingface/transformers/issues/24702/events | https://github.com/huggingface/transformers/issues/24702 | 1,792,655,339 | I_kwDOCUB6oc5q2b_r | 24,702 | bf16 with DeepSpeed stage 3 with CPU offload breaks LLaMA 13b+ training | {
"login": "alexgshaw",
"id": 47223609,
"node_id": "MDQ6VXNlcjQ3MjIzNjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/47223609?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexgshaw",
"html_url": "https://github.com/alexgshaw",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Can you provide a minimal reproducer as I don't have access to `/mnt/pccfs2/backed_up/alexshaw/media-training/datasets/dataset`? A reproducer should be minimal and run without having us spend time changing and debugging things.\r\n\r\n\r\n\r\n",
"Okay, I built this repo that reproduces the issue with as few dep... | 1,688 | 1,698 | 1,692 | NONE | null | TL;DR deepspeed stage 3 with cpu offload and bf16 breaks llama 13b+ when fine-tuning. The loss starts high and then immediately drops to 0 after the first step and learning rate stays 0 the entire time.
### System Info
- `transformers` version: 4.30.2
- Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-gli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24702/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24702/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24701/comments | https://api.github.com/repos/huggingface/transformers/issues/24701/events | https://github.com/huggingface/transformers/issues/24701 | 1,792,609,426 | I_kwDOCUB6oc5q2QyS | 24,701 | In RWForCausalLM.prepare_inputs_for_generation, the past_key_values are always None. | {
"login": "KexinFeng",
"id": 23562091,
"node_id": "MDQ6VXNlcjIzNTYyMDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/23562091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KexinFeng",
"html_url": "https://github.com/KexinFeng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @KexinFeng \r\nThere is an ongoing work to port Falcon to transformers here: https://github.com/huggingface/transformers/pull/24523 looking at that PR I believe that your issue will be fixed once merged. cc @Rocketknight1 in case I missed something!",
"Sorry for the delay, and yes! There is an issue with the ... | 1,688 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.0-1038-aws-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24701/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24701/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24700/comments | https://api.github.com/repos/huggingface/transformers/issues/24700/events | https://github.com/huggingface/transformers/issues/24700 | 1,792,517,464 | I_kwDOCUB6oc5q16VY | 24,700 | Pix2StructImageProcessor does not accept list of PIL Images | {
"login": "LiJunnan1992",
"id": 13638455,
"node_id": "MDQ6VXNlcjEzNjM4NDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/13638455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiJunnan1992",
"html_url": "https://github.com/LiJunnan1992",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi. Could you show us the full error log, please. Thanks.\r\n\r\ncc @amyeroberts ",
"Hi @LiJunnan1992 \r\n\r\nThe script below seems to work on the main branch of transformers. Can you share a reproducible snippet? 🙏 Thanks!\r\n\r\n```python\r\nimport requests\r\nfrom PIL import Image\r\nfrom transformers impor... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.10.133+-x86_64-with-glibc2.10
- Python version: 3.8.13
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
### Who can help?
@younesbelkada
### Information
- [ ] The official example s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24700/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24700/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24699/comments | https://api.github.com/repos/huggingface/transformers/issues/24699/events | https://github.com/huggingface/transformers/pull/24699 | 1,792,440,656 | PR_kwDOCUB6oc5U28HZ | 24,699 | Bump scipy from 1.8.0 to 1.10.0 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24699). All of your documentation changes will be reflected on that endpoint.",
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until... | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | Bumps [scipy](https://github.com/scipy/scipy) from 1.8.0 to 1.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/scipy/scipy/releases">scipy's releases</a>.</em></p>
<blockquote>
<h1>SciPy 1.10.0 Release Notes</h1>
<p>SciPy <code>1.10.0</code> is the culmination of <code>6<... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24699/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24699",
"html_url": "https://github.com/huggingface/transformers/pull/24699",
"diff_url": "https://github.com/huggingface/transformers/pull/24699.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24699.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24698/comments | https://api.github.com/repos/huggingface/transformers/issues/24698/events | https://github.com/huggingface/transformers/issues/24698 | 1,792,324,677 | I_kwDOCUB6oc5q1LRF | 24,698 | Assertion `srcIndex < srcSelectDimSize` failed | {
"login": "MaggieK410",
"id": 74720920,
"node_id": "MDQ6VXNlcjc0NzIwOTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/74720920?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaggieK410",
"html_url": "https://github.com/MaggieK410",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @MaggieK410, thanks for reporting this issue. \r\n\r\nThis is typically caused by an indexing issue in the code. \r\n\r\nCould you follow the issue template and:\r\n* Provide information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output\r\n* Format the code exam... | 1,688 | 1,699 | 1,689 | NONE | null | Hi,
I am running medalpaca (but the error seems to come from llama) on 4 GPUs using device map="auto" and the SFTTrainer and want to prompt tune the model. I have written a custom Dataset class:
class DiagnosesDataset(torch.utils.data.Dataset):
def __init__(self, instances, tokenizer):
self.instances=instanc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24698/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24698/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24697/comments | https://api.github.com/repos/huggingface/transformers/issues/24697/events | https://github.com/huggingface/transformers/issues/24697 | 1,792,101,361 | I_kwDOCUB6oc5q0Uvx | 24,697 | `Trainer` class on Mac uses `accelerate` to incorrectly set MPS device | {
"login": "alex2awesome",
"id": 3460632,
"node_id": "MDQ6VXNlcjM0NjA2MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3460632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alex2awesome",
"html_url": "https://github.com/alex2awesome",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"EDIT: \r\n\r\nAdding the flag `--no_cuda` in `TrainingArgs` takes care of this issue. \r\n\r\nI suggest making it something like `--use_cpu` or `--no_cuda_or_mps`, because i totally didn't realize it could be used for this purpose and had to dive to the very bottom of the code-base to see.",
"I am not really an ... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
transformers==4.30.2
Mac 2019, Ventura 13.4
### Who can help?
_No response_
### 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 data... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24697/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24696/comments | https://api.github.com/repos/huggingface/transformers/issues/24696/events | https://github.com/huggingface/transformers/pull/24696 | 1,792,070,842 | PR_kwDOCUB6oc5U1pDn | 24,696 | Removing unnecessary `device=device` in modeling_llama.py | {
"login": "Liyang90",
"id": 17171233,
"node_id": "MDQ6VXNlcjE3MTcxMjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/17171233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Liyang90",
"html_url": "https://github.com/Liyang90",
"followers_url": "https://api.github.com/users/Liy... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | Removing unnecessary `device=device`
# What does this PR do?
Removing unnecessary `device=device` in the second argument to `torch.full`.
`torch.full` expects a scaler for the second argument: https://pytorch.org/docs/stable/generated/torch.full.html
So if a device tensor is passed to it, the tensor needs to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24696/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/24696/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24696",
"html_url": "https://github.com/huggingface/transformers/pull/24696",
"diff_url": "https://github.com/huggingface/transformers/pull/24696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24696.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24695/comments | https://api.github.com/repos/huggingface/transformers/issues/24695/events | https://github.com/huggingface/transformers/issues/24695 | 1,792,044,266 | I_kwDOCUB6oc5q0Gzq | 24,695 | Time Series Transformer - Dynamic Categorical Features | {
"login": "guyko81",
"id": 10399767,
"node_id": "MDQ6VXNlcjEwMzk5NzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/10399767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guyko81",
"html_url": "https://github.com/guyko81",
"followers_url": "https://api.github.com/users/guyko8... | [
{
"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 | [] | [
"cc @kashif ",
"@guyko81 yes sure! I would be happy to help you get this done. I never found a good example of dynamic categorical features, so if you have some sample example that would be really helpful. \r\n\r\nWe can assume that the dataset has a key e.g. \r\n\r\n```py\r\ndynamic_static_categorical = [ [0,... | 1,688 | 1,688 | null | NONE | null | ### Feature request
I would like to have a Dynamic Categorical Feature Embedding option in TimeSeriesTransformerConfig
### Motivation
I didn't see any option in the TimeSeriesTransformerConfig where I could define an embedding of a Dynamic Categorical Feature. I'm working with sales data and holiday is an important... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24695/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24694/comments | https://api.github.com/repos/huggingface/transformers/issues/24694/events | https://github.com/huggingface/transformers/issues/24694 | 1,791,898,375 | I_kwDOCUB6oc5qzjMH | 24,694 | Make correct padding for text generation with GPT-NEO | {
"login": "junoriosity",
"id": 5286536,
"node_id": "MDQ6VXNlcjUyODY1MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5286536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junoriosity",
"html_url": "https://github.com/junoriosity",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@mzamini92 Many thanks for getting back to me.\r\n\r\nI know that the padding tokens should be ignored, when doing the generation. (However, it will be important for batch processing if there are multiple inputs).\r\n\r\nWhat is strange is that, if I follow the approach with different models the output makes sense... | 1,688 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: macOS-13.2.1-x86_64-i386-64bit
- Python version: 3.10.8
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- 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/24694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24694/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24693/comments | https://api.github.com/repos/huggingface/transformers/issues/24693/events | https://github.com/huggingface/transformers/issues/24693 | 1,791,897,451 | I_kwDOCUB6oc5qzi9r | 24,693 | TF : tensor mismatch error in training with opus100 and t5-small | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"This looks like a dataset issue, which is not in the scope of `transformers` GitHub pages.\r\n\r\nHowever, if you can provide a full log error + the content of `train_model.py`, we might be able to have a quick look.",
"Hello there @ydshieh . Thanks for your time 🙏🙏\r\nYou can find full script [here](https://g... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
`transformers ==4.31.0.dev0`
`tensorflow-macos==2.10.0`
Hello there! 👋
Thanks for creating examples for the Translation task!
## Context
Im going through run_translation.py example modified with [opus100](https://huggingface.co/datasets/opus100) dataset.
Launching the script with flags... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24693/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24692/comments | https://api.github.com/repos/huggingface/transformers/issues/24692/events | https://github.com/huggingface/transformers/issues/24692 | 1,791,884,543 | I_kwDOCUB6oc5qzfz_ | 24,692 | Breaking change in upcoming PyTorch version for weight norm and loading pretrained models | {
"login": "MarktHart",
"id": 9414924,
"node_id": "MDQ6VXNlcjk0MTQ5MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9414924?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarktHart",
"html_url": "https://github.com/MarktHart",
"followers_url": "https://api.github.com/users/Ma... | [] | closed | false | null | [] | [
"Hi, what's your `transformers` version?\r\n\r\nIf you use a dev version with the commit of this PR #https://github.com/huggingface/transformers/pull/24030 included, it should be fine. Let me know if not, thanks."
] | 1,688 | 1,688 | 1,688 | NONE | null | Probably to be fixed around here: https://github.com/huggingface/transformers/blob/bbf3090848cf0ceff98f9465691e9ecce63684a1/src/transformers/modeling_utils.py#L3016
See this issue on PyTorch:
https://github.com/pytorch/pytorch/issues/102999#issuecomment-1623975562
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24692/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24691/comments | https://api.github.com/repos/huggingface/transformers/issues/24691/events | https://github.com/huggingface/transformers/pull/24691 | 1,791,867,195 | PR_kwDOCUB6oc5U09Iy | 24,691 | Fix integration with Accelerate and failing test | {
"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._",
"@muellerzr I'm not sure if it's this or the previous PR that is causing the issue, but it still seems to be hanging on moving the loss tensor to the cpu.",
"@winglian can you provide a reproducer?",
"I'll have to distill somethin... | 1,688 | 1,689 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
This PR brings back the logic when gathering and calculating metrics, which was borked with https://github.com/huggingface/transformers/pull/24028. Proof is the fact that tests now pass that were failing related to the Trainer
Fixes # (issue)
Solves https://github.com/huggingface/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24691/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24691",
"html_url": "https://github.com/huggingface/transformers/pull/24691",
"diff_url": "https://github.com/huggingface/transformers/pull/24691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24691.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24690/comments | https://api.github.com/repos/huggingface/transformers/issues/24690/events | https://github.com/huggingface/transformers/pull/24690 | 1,791,627,676 | PR_kwDOCUB6oc5U0JXE | 24,690 | [DO NOT MERGE] Test PR for studying #24622 | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24690). All of your documentation changes will be reflected on that endpoint.",
"Thanks 🤗 "
] | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24690/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24690",
"html_url": "https://github.com/huggingface/transformers/pull/24690",
"diff_url": "https://github.com/huggingface/transformers/pull/24690.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24690.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24689/comments | https://api.github.com/repos/huggingface/transformers/issues/24689/events | https://github.com/huggingface/transformers/pull/24689 | 1,791,540,164 | PR_kwDOCUB6oc5Uz2VJ | 24,689 | Avoid import `sentencepiece_model_pb2` in `utils.__init__.py` | {
"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,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
Otherwise, trying to import anything from `utils` will fail if protobuf is not installed.
More details in the comment. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24689/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24689",
"html_url": "https://github.com/huggingface/transformers/pull/24689",
"diff_url": "https://github.com/huggingface/transformers/pull/24689.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24689.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24688/comments | https://api.github.com/repos/huggingface/transformers/issues/24688/events | https://github.com/huggingface/transformers/issues/24688 | 1,791,534,620 | I_kwDOCUB6oc5qyKYc | 24,688 | is there any plan to add falcon to instructblip? | {
"login": "Ashwath-Shetty",
"id": 64685993,
"node_id": "MDQ6VXNlcjY0Njg1OTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/64685993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ashwath-Shetty",
"html_url": "https://github.com/Ashwath-Shetty",
"followers_url": "https://api.gi... | [] | 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... | [
"cc @NielsRogge ",
"However, falcon port is still in WIP\r\n\r\n\r\nhttps://github.com/huggingface/transformers/pull/24523",
"thanks for replying @ydshieh , any idea when it'll come to the instructblip pipeline?, any tentative timeline for the same? \r\nalso, is there a way to add the falcon locally by our sid... | 1,688 | 1,702 | 1,702 | NONE | null | ### Model description
instructblip seems to be really cool, is there any possibility to add falcon also to the pipeline in the future?. currently we have option for flant5 & vicuna. problem is you cannot use vicuna for commercial use & flant5 performance is poor, also vicuna is not that great too, adding falcon to the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24688/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24687/comments | https://api.github.com/repos/huggingface/transformers/issues/24687/events | https://github.com/huggingface/transformers/issues/24687 | 1,791,271,693 | I_kwDOCUB6oc5qxKMN | 24,687 | OSError: Error no file named pytorch_model.bin | {
"login": "wangzff",
"id": 18679682,
"node_id": "MDQ6VXNlcjE4Njc5Njgy",
"avatar_url": "https://avatars.githubusercontent.com/u/18679682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wangzff",
"html_url": "https://github.com/wangzff",
"followers_url": "https://api.github.com/users/wangzf... | [] | closed | false | null | [] | [
"Hi @wangzff, thanks for raising this issue. \r\n\r\nIf you look at the contents of the checkpoint passed into the script, do you see the model weights? i.e. what is the output of `ls -al mnt/workspace/lawyer-llama/lawyer-llama-13b-beta1.0`?",
"This issue has been automatically marked as stale because it has not ... | 1,688 | 1,692 | 1,692 | NONE | null | ### System Info
transformers==4.30.2
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24687/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24686/comments | https://api.github.com/repos/huggingface/transformers/issues/24686/events | https://github.com/huggingface/transformers/pull/24686 | 1,791,128,984 | PR_kwDOCUB6oc5Uyc8k | 24,686 | 🌐 [i18n-KO] Updated Korean `serialization.md` | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"지속적인 번역 수정 작업 매우 멋집니다! 덕분에 ONNX 문서를 꼼꼼히 읽을 수 있었습니다. 수정할 부분은 없어보입니다!",
"@sgugger, @ArthurZucker, @eunseojo May you please review this PR?\r\nThe difference in length is due to an overhaul in the English document. I will try to use t... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Updated the `serialization.md` file for the Korean documentation.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 사용해 연습... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24686",
"html_url": "https://github.com/huggingface/transformers/pull/24686",
"diff_url": "https://github.com/huggingface/transformers/pull/24686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24686.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24685/comments | https://api.github.com/repos/huggingface/transformers/issues/24685/events | https://github.com/huggingface/transformers/issues/24685 | 1,791,096,828 | I_kwDOCUB6oc5qwff8 | 24,685 | How to get the last 4 Hidden states from the feature extraction pipeline | {
"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 | {
"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, could you also provide the data `df2` (or another version of it if privacy is concerned).\r\n\r\nThanks.",
"> Hi, could you also provide the data `df2` (or another version of it if privacy is concerned).\r\n> \r\n> Thanks.\r\n\r\nSure, its just a text and the label\r\n
bio_gpt = AutoModel.from_pretrained("microsoft/biogpt", output_hidden_states= True)
bio_gp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24685/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24684/comments | https://api.github.com/repos/huggingface/transformers/issues/24684/events | https://github.com/huggingface/transformers/pull/24684 | 1,791,021,544 | PR_kwDOCUB6oc5UyGAy | 24,684 | [`T5`] Adding model_parallel = False to `T5ForQuestionAnswering` and `MT5ForQuestionAnswering` | {
"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 | [] | [
"Is there a good way to add a test for this? I wasn't sure where a test like this would be added. ",
"> Is there a good way to add a test for this? I wasn't sure where a test like this would be added.\r\n\r\nNo need to add a test for this. We have `test_model_parallelization` which tests model parallelization (th... | 1,688 | 1,690 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
<!-- Remove if not applicable -->
Fixes https://github.com/huggingface/transformers/issues/24682 by adding `self.model_parallel = False`
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24684/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24684",
"html_url": "https://github.com/huggingface/transformers/pull/24684",
"diff_url": "https://github.com/huggingface/transformers/pull/24684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24684.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24683/comments | https://api.github.com/repos/huggingface/transformers/issues/24683/events | https://github.com/huggingface/transformers/issues/24683 | 1,791,012,742 | I_kwDOCUB6oc5qwK-G | 24,683 | Model checkpoint twice as large when saved with safetensors | {
"login": "lenbrocki",
"id": 45183581,
"node_id": "MDQ6VXNlcjQ1MTgzNTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/45183581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lenbrocki",
"html_url": "https://github.com/lenbrocki",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @lenbrocki \r\n\r\nCould you make a self-complete code snippet in `Reproduction` section, please. Thank you.",
"I have updated the Reproduction section",
"Thanks @lenbrocki !\r\n\r\ncc @Narsil ",
"This model is saved in `float16`. `from_pretrained` will by default load it in `float32`.\r\n\r\n`from_pretr... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.0-1037-gcp-x86_64-with-glibc2.31
- Python version: 3.9.16
- 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?/TPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24683/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24682/comments | https://api.github.com/repos/huggingface/transformers/issues/24682/events | https://github.com/huggingface/transformers/issues/24682 | 1,790,970,590 | I_kwDOCUB6oc5qwAre | 24,682 | Unable to use Trainer with T5ForQuestionAnswering | {
"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 | [] | [
"Hi @sjrl \r\n\r\nCould you add `model.model_parallel = False` before the line `trainer = Trainer(model=model)`?\r\n\r\n`T5ForQuestionAnswering` is recently added, and it doesn't have `parallelize` or `deparallelize` as other T5 model classes.\r\n\r\nOr you can follow the suggestion below to use `device_map`.\r\n\r... | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.17
- Huggingface_hub version: 0.16.2
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24682/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24681/comments | https://api.github.com/repos/huggingface/transformers/issues/24681/events | https://github.com/huggingface/transformers/pull/24681 | 1,790,906,888 | PR_kwDOCUB6oc5Uxtjk | 24,681 | LlamaTokenizer should be picklable | {
"login": "icyblade",
"id": 3407450,
"node_id": "MDQ6VXNlcjM0MDc0NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3407450?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/icyblade",
"html_url": "https://github.com/icyblade",
"followers_url": "https://api.github.com/users/icybl... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
Fixes `LlamaTokenizer` not picklable and will cause `OSError` when tokenizing with Spark UDF.
Reference: #13577
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24681/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24681",
"html_url": "https://github.com/huggingface/transformers/pull/24681",
"diff_url": "https://github.com/huggingface/transformers/pull/24681.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24681.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24680/comments | https://api.github.com/repos/huggingface/transformers/issues/24680/events | https://github.com/huggingface/transformers/pull/24680 | 1,790,900,039 | PR_kwDOCUB6oc5UxsHe | 24,680 | Add dropouts to GPT-NeoX | {
"login": "ZHAOTING",
"id": 5592709,
"node_id": "MDQ6VXNlcjU1OTI3MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5592709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZHAOTING",
"html_url": "https://github.com/ZHAOTING",
"followers_url": "https://api.github.com/users/ZHAOT... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Glad to make my first PR to transformers!"
] | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
The current GPT-NeoX modeling code does not contain dropouts as in [the original EleutherAI/gpt-neox code](https://github.com/EleutherAI/gpt-neox/blob/main/megatron/model), possibly because that GPT-NeoX 20B, where the HF gpt-neox implementation was applied for the first time, has disabled al... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24680/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24680",
"html_url": "https://github.com/huggingface/transformers/pull/24680",
"diff_url": "https://github.com/huggingface/transformers/pull/24680.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24680.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24679/comments | https://api.github.com/repos/huggingface/transformers/issues/24679/events | https://github.com/huggingface/transformers/issues/24679 | 1,790,868,694 | I_kwDOCUB6oc5qvnzW | 24,679 | Custom vision encoder-decoder problem | {
"login": "kyle-bong",
"id": 42907231,
"node_id": "MDQ6VXNlcjQyOTA3MjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/42907231?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kyle-bong",
"html_url": "https://github.com/kyle-bong",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @kyle-bong\r\n\r\nThe `transformers` GitHub pages are reserved for issues or feature requests. The question here is not in the scope, and [[Hugging Face Forums](https://discuss.huggingface.co/)](https://discuss.huggingface.co/) is a better place.\r\n\r\n----------------------------------------------------------... | 1,688 | 1,688 | 1,688 | NONE | null | ### Model description
I'm trying to make a custom vision encoder-decoder model.
I want to use pre-trained encoder but use decoder from scratch, So I cannot use `VisionEncoderDecoderModel.from_pretrained()`.
Specifically, I want to use pre-trained `deit` model as a encoder, and custom trained `Electra` as a decoder.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24679/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24678/comments | https://api.github.com/repos/huggingface/transformers/issues/24678/events | https://github.com/huggingface/transformers/pull/24678 | 1,790,606,576 | PR_kwDOCUB6oc5UwsOr | 24,678 | [`MT5`] Fix CONFIG_MAPPING issue leading it to load umt5 class | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can confirm that: \r\n```python \r\nfrom transformers import AutoModelForSeq2SeqLM, AutoTokenizer\r\n\r\nmodel = AutoModelForSeq2SeqLM.from_pretrained('google/mt5-small')\r\nprint(type(model))\r\n<class 'transformers.models.mt5.model... | 1,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
Adresses #24662 and one of our CI test.
The issue stems from the `CONFIG_MAPPING`'s values used as keys to index over the auto mapping.
There were two ways to fix this, either change our logic or just add a config.
For simplicity added a config. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24678/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24678",
"html_url": "https://github.com/huggingface/transformers/pull/24678",
"diff_url": "https://github.com/huggingface/transformers/pull/24678.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24678.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24677/comments | https://api.github.com/repos/huggingface/transformers/issues/24677/events | https://github.com/huggingface/transformers/issues/24677 | 1,790,497,365 | I_kwDOCUB6oc5quNJV | 24,677 | Gradient clipping is no longer recommended? | {
"login": "cloudygoose",
"id": 1544039,
"node_id": "MDQ6VXNlcjE1NDQwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1544039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cloudygoose",
"html_url": "https://github.com/cloudygoose",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"You can definitely experiment with gradient clipping.\r\n\r\nThe `transformers` GitHub pages are reserved for issues or feature requests. The question here is not in the scope, and [Hugging Face Forums](https://discuss.huggingface.co/) is a better place, if you have further question on this topic."
] | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
Hi,
I just found that in the current examples (e.g., https://github.com/huggingface/transformers/blob/main/examples/pytorch/language-modeling/run_clm_no_trainer.py), gradient clipping is no longer applied. Is there any particular reason? Is it okay if we add a line to do gradient clipping myself?
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24677/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24676/comments | https://api.github.com/repos/huggingface/transformers/issues/24676/events | https://github.com/huggingface/transformers/issues/24676 | 1,790,480,925 | I_kwDOCUB6oc5quJId | 24,676 | TrainingArguments not working in transformers v 4.30 | {
"login": "VarshithaCVasireddy",
"id": 96924488,
"node_id": "U_kgDOBcbzSA",
"avatar_url": "https://avatars.githubusercontent.com/u/96924488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VarshithaCVasireddy",
"html_url": "https://github.com/VarshithaCVasireddy",
"followers_url": "https:/... | [] | closed | false | null | [] | [
"From the discussion forum \"https://discuss.huggingface.co/t/trainingargument-does-not-work-on-colab/43372\" got the solution to use Transformers version 4.17 to make TrainingArguments work. Wanted to know why TrainingArguments not working in version 4.30?",
"After you `pip install accelerate -U`, did you restar... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
Hi @sgugger
I was trying to implement the same code that is present in the tutorial "https://github.com/huggingface/notebooks/blob/main/examples/language_modeling.ipynb" , but when executing the TrainingArguments function I am getting the error "ImportError: Using the `Trainer` with `PyTorch` requires... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24676/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24675/comments | https://api.github.com/repos/huggingface/transformers/issues/24675/events | https://github.com/huggingface/transformers/pull/24675 | 1,790,355,846 | PR_kwDOCUB6oc5Uv0iZ | 24,675 | Bump grpcio from 1.44.0 to 1.53.0 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major ... | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | Bumps [grpcio](https://github.com/grpc/grpc) from 1.44.0 to 1.53.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc/releases">grpcio's releases</a>.</em></p>
<blockquote>
<h2>Release v1.53.0</h2>
<p>This is release 1.53.0 (<a href="https://github.com/grpc/grpc/blob/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24675/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24675",
"html_url": "https://github.com/huggingface/transformers/pull/24675",
"diff_url": "https://github.com/huggingface/transformers/pull/24675.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24675.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24674/comments | https://api.github.com/repos/huggingface/transformers/issues/24674/events | https://github.com/huggingface/transformers/pull/24674 | 1,790,351,393 | PR_kwDOCUB6oc5Uvzh3 | 24,674 | Fix non-deterministic Megatron-LM checkpoint name | {
"login": "janEbert",
"id": 12694897,
"node_id": "MDQ6VXNlcjEyNjk0ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/12694897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/janEbert",
"html_url": "https://github.com/janEbert",
"followers_url": "https://api.github.com/users/jan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review! Actually that's only the case if `--use-distributed-optimizer` is not given! Otherwise an extra file called `distrib_optim.pt` is created on the most recent Megatron-LM commit. :)",
">Otherwise an extra file ... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
`os.listdir`'s order is not deterministic, which is a problem when querying the first listed file as in the code (`os.listdir(...)[0]`).
This can return a checkpoint name such as `distrib_optim.pt`, which does not include desired information such as the saved arguments originally given to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24674/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24674",
"html_url": "https://github.com/huggingface/transformers/pull/24674",
"diff_url": "https://github.com/huggingface/transformers/pull/24674.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24674.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24673/comments | https://api.github.com/repos/huggingface/transformers/issues/24673/events | https://github.com/huggingface/transformers/issues/24673 | 1,790,152,001 | I_kwDOCUB6oc5qs41B | 24,673 | Language Modeling on Already Tokenized Data | {
"login": "jorisperrenet",
"id": 76250525,
"node_id": "MDQ6VXNlcjc2MjUwNTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/76250525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorisperrenet",
"html_url": "https://github.com/jorisperrenet",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The example scripts serve as examples 🤗 . If you need some custom modification(s), go for it.\r\n\r\nIn your case, you can probably skip the following block (and other similar places). You might need to assign your own tokenized dataset(s) to variables like `tokenized_datasets` however.\r\n\r\nhttps://github.com/... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
When I try to execute [`run_clm.py`](https://github.com/huggingface/transformers/blob/main/examples/pytorch/language-modeling/run_clm.py) in the language modeling example I naturally get the question to specify the `tokenizer_name`.
Yet, my data is already tokenized, i.e. my train and validation loo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24673/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24672/comments | https://api.github.com/repos/huggingface/transformers/issues/24672/events | https://github.com/huggingface/transformers/pull/24672 | 1,790,035,849 | PR_kwDOCUB6oc5Uutdr | 24,672 | Remove WWT from README | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,689 | 1,689 | MEMBER | null | Removes the line that presents Write With Transformer as the official demo for text generation as this hasn't been the case for a while. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24672/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24672",
"html_url": "https://github.com/huggingface/transformers/pull/24672",
"diff_url": "https://github.com/huggingface/transformers/pull/24672.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24672.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24671/comments | https://api.github.com/repos/huggingface/transformers/issues/24671/events | https://github.com/huggingface/transformers/issues/24671 | 1,789,989,816 | I_kwDOCUB6oc5qsRO4 | 24,671 | Is there any plan to add kosmos-2 to the transformers. | {
"login": "BIGBALLON",
"id": 7837172,
"node_id": "MDQ6VXNlcjc4MzcxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7837172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BIGBALLON",
"html_url": "https://github.com/BIGBALLON",
"followers_url": "https://api.github.com/users/BI... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | {
"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... | [
"Thank you for mentioning this :-). There is some early discussion within the team. I will come back to you once we have some decision.",
"This is tracked in PR #24709. (so far empty, but I will try to 🚀 )",
"@ydshieh I'm very excited to hear this news. I sincerely appreciate your efforts.",
"any updates?",... | 1,688 | 1,699 | null | NONE | null | ### Model description
Kosmos-2 is a grounded multimodal large language model, which integrates grounding and referring capabilities compared with Kosmos-1. The model can accept image regions selected by the user using bounding boxes as input, provide visual answers (i.e., bounding boxes), and ground the text output ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24671/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24671/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24670/comments | https://api.github.com/repos/huggingface/transformers/issues/24670/events | https://github.com/huggingface/transformers/issues/24670 | 1,789,893,561 | I_kwDOCUB6oc5qr5u5 | 24,670 | Unable to Get Decoded Output from Whisper | {
"login": "as1078",
"id": 97714332,
"node_id": "U_kgDOBdMAnA",
"avatar_url": "https://avatars.githubusercontent.com/u/97714332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/as1078",
"html_url": "https://github.com/as1078",
"followers_url": "https://api.github.com/users/as1078/followers"... | [] | closed | false | null | [] | [
"Hey @as1078 - did you pre-process your inputs according to the function `prepare_dataset`? See https://huggingface.co/blog/fine-tune-whisper#prepare-data\r\n\r\nI observe that your dataset has two columns present: `audio` and `sentence`. These are both columns corresponding to raw audio input data and raw target t... | 1,688 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.2
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24670/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24669/comments | https://api.github.com/repos/huggingface/transformers/issues/24669/events | https://github.com/huggingface/transformers/pull/24669 | 1,789,864,720 | PR_kwDOCUB6oc5UuIHD | 24,669 | Add Nucleotide Transformer notebooks and restructure notebook list | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,688 | 1,688 | MEMBER | null | As the name suggests, this adds links to the recent Nucleotide Transformer notebooks in the main `transformers` docs! It also restructures the notebooks list - right now the `Other` list is just full of bio models, so I moved them into their own section. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24669/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24669",
"html_url": "https://github.com/huggingface/transformers/pull/24669",
"diff_url": "https://github.com/huggingface/transformers/pull/24669.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24669.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24668/comments | https://api.github.com/repos/huggingface/transformers/issues/24668/events | https://github.com/huggingface/transformers/pull/24668 | 1,789,569,001 | PR_kwDOCUB6oc5UtHjH | 24,668 | updating _compute_mask_indices fn to work with torch compile | {
"login": "Kirandevraj",
"id": 10723538,
"node_id": "MDQ6VXNlcjEwNzIzNTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/10723538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kirandevraj",
"html_url": "https://github.com/Kirandevraj",
"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_24668). All of your documentation changes will be reflected on that endpoint.",
"\r\n> And also add a new test to check that compiling the forward call works when we have spec aug activated\r\n\r\nWe already have a test cas... | 1,688 | 1,697 | 1,697 | NONE | null | fixes #22849
The inplace operations are replaced with out-of-place ones to fix the torch compile computational graph breakage.
This method converts the numpy operations to torch operations in _compute_mask_indices function.
The _compute_mask_indices is used when using SpecAugmentation in wav2vec2 training.
@s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24668/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24668",
"html_url": "https://github.com/huggingface/transformers/pull/24668",
"diff_url": "https://github.com/huggingface/transformers/pull/24668.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24668.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24667/comments | https://api.github.com/repos/huggingface/transformers/issues/24667/events | https://github.com/huggingface/transformers/pull/24667 | 1,789,476,142 | PR_kwDOCUB6oc5UszFH | 24,667 | Unpin `huggingface_hub` | {
"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._",
"Thank you @ydshieh !"
] | 1,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
- As the release `0.16` is out today.
- Also, use `--upgrade-strategy eager` in `pip install` which is required to respect [this comment](https://github.com/huggingface/transformers/pull/24424#pullrequestreview-1493647494).
The default `-U` (which is associated with `only-if-needed`) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24667/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24667",
"html_url": "https://github.com/huggingface/transformers/pull/24667",
"diff_url": "https://github.com/huggingface/transformers/pull/24667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24667.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24666/comments | https://api.github.com/repos/huggingface/transformers/issues/24666/events | https://github.com/huggingface/transformers/pull/24666 | 1,789,290,796 | PR_kwDOCUB6oc5UsKpe | 24,666 | Whisper: fix prompted max length | {
"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._",
"@amyeroberts @sanchit-gandhi \r\n\r\nAfter the latest changes, a warning is emitted when we cross `config.max_position_embeddings` for the first time.\r\n\r\nFor instance, if you now run \r\n\r\n```py\r\nfrom transformers import Auto... | 1,688 | 1,689 | 1,688 | MEMBER | null | # What does this PR do?
Fixes #24600
#23724 Added the ability to guide generation with Whiper through `prompt_ids`. It was increasing the generation length by the length of the prompt -- these tokens were being hardcoded, and thus "not generated".
However, in the default case, we were already setting the gene... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24666/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24666",
"html_url": "https://github.com/huggingface/transformers/pull/24666",
"diff_url": "https://github.com/huggingface/transformers/pull/24666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24666.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24665/comments | https://api.github.com/repos/huggingface/transformers/issues/24665/events | https://github.com/huggingface/transformers/issues/24665 | 1,789,206,843 | I_kwDOCUB6oc5qpSE7 | 24,665 | Add ELECTRA/DeBERTa v3 pretraining script (replaced token detection pretraining) | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hey @BramVanroy really good idea!\r\n\r\nI think a good start would be the codebasis of latest CamemBERTa model. It uses own DeBERTa v3 pretraining code (modified from the ELECTRA implementation from NVIDIA). In general, DeBERTa v3 uses Gradient-Disentangled Embedding Sharing (GDES) in pretraining compared to v2,... | 1,688 | 1,706 | 1,691 | COLLABORATOR | null | ### Feature request
It would be welcome to add a pretraining script for the replaced token detection task that [ELECTRA](https://github.com/google-research/electra) and, later, [DeBERTa v3](https://github.com/microsoft/DeBERTa/tree/master/experiments/language_model#pre-training-with-replaced-token-detection-task) were... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24665/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24665/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24664/comments | https://api.github.com/repos/huggingface/transformers/issues/24664/events | https://github.com/huggingface/transformers/pull/24664 | 1,789,077,470 | PR_kwDOCUB6oc5UrciX | 24,664 | 🌐 [i18n-KO] Fixed Korean and English `quicktour.md` | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger, @ArthurZucker, @eunseojo May you please review this PR?\r\nThank you so much for your support!"
] | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Updated and fixed some issues on the `quicktour.md` file for the Korean and English documentation.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!--... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24664/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/24664/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24664",
"html_url": "https://github.com/huggingface/transformers/pull/24664",
"diff_url": "https://github.com/huggingface/transformers/pull/24664.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24664.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24663/comments | https://api.github.com/repos/huggingface/transformers/issues/24663/events | https://github.com/huggingface/transformers/pull/24663 | 1,789,024,098 | PR_kwDOCUB6oc5UrRMG | 24,663 | Fix `EncodecModelTest::test_multi_gpu_data_parallel_forward` | {
"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,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
`test_multi_gpu_data_parallel_forward` requires the batch size to be an even number if the batch dim is not at position 0 in the output shape. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24663/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24663",
"html_url": "https://github.com/huggingface/transformers/pull/24663",
"diff_url": "https://github.com/huggingface/transformers/pull/24663.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24663.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24662/comments | https://api.github.com/repos/huggingface/transformers/issues/24662/events | https://github.com/huggingface/transformers/issues/24662 | 1,789,023,930 | I_kwDOCUB6oc5qola6 | 24,662 | Loading mT5 checkpoint will load from UMT5 class | {
"login": "MattYoon",
"id": 57797966,
"node_id": "MDQ6VXNlcjU3Nzk3OTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/57797966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MattYoon",
"html_url": "https://github.com/MattYoon",
"followers_url": "https://api.github.com/users/Mat... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey! Indeed one of our CI test is failing because of that. Looking into it now! ",
"Yep, the issue is that in the `CONFIG_MAPPING_NAMES` `umt5` maps to mt5 (since they have the same configuration file). This is messing with the overall mapping. A custom coming has to be create, or find a w... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24661/comments | https://api.github.com/repos/huggingface/transformers/issues/24661/events | https://github.com/huggingface/transformers/pull/24661 | 1,788,925,128 | PR_kwDOCUB6oc5Uq71g | 24,661 | Fix `VisionTextDualEncoderIntegrationTest` | {
"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,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
Need a tiny update in the test files after the PR #24585
So far, CI gets errors like
```bash
RuntimeError: Only Tensors of floating point and complex dtype can require gradients
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24661/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24661",
"html_url": "https://github.com/huggingface/transformers/pull/24661",
"diff_url": "https://github.com/huggingface/transformers/pull/24661.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24661.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24660/comments | https://api.github.com/repos/huggingface/transformers/issues/24660/events | https://github.com/huggingface/transformers/pull/24660 | 1,788,878,707 | PR_kwDOCUB6oc5UqxwP | 24,660 | Add is_torch_mps_available function to utils | {
"login": "NripeshN",
"id": 86844847,
"node_id": "MDQ6VXNlcjg2ODQ0ODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/86844847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NripeshN",
"html_url": "https://github.com/NripeshN",
"followers_url": "https://api.github.com/users/Nri... | [] | closed | false | null | [] | [
"Hi @NripeshN, \r\n\r\nThanks for the PR! Could you please fill out the PR description, including the motivation for adding this function? \r\n\r\nFor the style and quality checks, you'll need to run `make style` at the top level of the repo and push any changes. \r\n\r\ncc @ydshieh ",
"Hi @NripeshN \r\n\r\nWould... | 1,688 | 1,688 | 1,688 | 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/24660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24660",
"html_url": "https://github.com/huggingface/transformers/pull/24660",
"diff_url": "https://github.com/huggingface/transformers/pull/24660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24660.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24659/comments | https://api.github.com/repos/huggingface/transformers/issues/24659/events | https://github.com/huggingface/transformers/issues/24659 | 1,788,869,955 | I_kwDOCUB6oc5qn_1D | 24,659 | Add HyenaDNA model | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @heytanay, thanks for opening this issue! \r\n\r\nThe easiest and recommended way to make a model available in `transformers` is to add the modeling code directly on the hub: https://huggingface.co/docs/transformers/custom_models\r\n\r\nThis means, once working, the model can be found and used immediately witho... | 1,688 | 1,689 | null | CONTRIBUTOR | null | ### Model description
HyenaDNA is a long-range genomic foundation model pretrained on context lengths of up to 1 million tokens at single nucleotide resolution.
I would like to add this model to the transformers.
### Open source status
- [X] The model implementation is available
- [X] The model weights are availa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24659/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24659/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24658/comments | https://api.github.com/repos/huggingface/transformers/issues/24658/events | https://github.com/huggingface/transformers/issues/24658 | 1,788,850,030 | I_kwDOCUB6oc5qn69u | 24,658 | CUDA error: out of memory with zero3 offload | {
"login": "pchiang5",
"id": 29170925,
"node_id": "MDQ6VXNlcjI5MTcwOTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/29170925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pchiang5",
"html_url": "https://github.com/pchiang5",
"followers_url": "https://api.github.com/users/pch... | [] | closed | false | null | [] | [
"Hello, are you running the notebook as is? or are you running it as a script with distributed launcher such as `deepspeed`/`torchrun`/`accelerate launch`?\r\n\r\nYou can't run DeepSpeed in a notebook. You need to convert the notebook to a script and run the script via a distributed launcher similar to the translat... | 1,688 | 1,698 | 1,698 | NONE | null | ### System Info
WSL2
- `transformers` version: 4.30.2
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.11.4
- 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)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24658/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24657/comments | https://api.github.com/repos/huggingface/transformers/issues/24657/events | https://github.com/huggingface/transformers/issues/24657 | 1,788,785,439 | I_kwDOCUB6oc5qnrMf | 24,657 | At least one model's inference seems to have broken from transformers 4.29.2 -> 4.30.* | {
"login": "Disastorm",
"id": 1088694,
"node_id": "MDQ6VXNlcjEwODg2OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1088694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Disastorm",
"html_url": "https://github.com/Disastorm",
"followers_url": "https://api.github.com/users/Di... | [] | closed | false | {
"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... | [
{
"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.git... | [
"Thanks for reporting. I confirm the issue could be reproduced.",
"cc @Narsil @ArthurZucker ",
"I went forward to check which commit causing issue. It turns out to be\r\n\r\n096f2cf12664bb7da41f89897d3a22966baee9b4\r\n\r\nTied weights load (#24310)\r\n\r\nWe will have to wait @sgugger to take a look.\r\n\r\n(I ... | 1,688 | 1,703 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.10.9
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24657/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24656/comments | https://api.github.com/repos/huggingface/transformers/issues/24656/events | https://github.com/huggingface/transformers/issues/24656 | 1,788,699,817 | I_kwDOCUB6oc5qnWSp | 24,656 | discontinuity learning rate while resume from checkpoint | {
"login": "jiangix-paper",
"id": 62198809,
"node_id": "MDQ6VXNlcjYyMTk4ODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/62198809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiangix-paper",
"html_url": "https://github.com/jiangix-paper",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @jiangix-paper, thanks for raising this issue. \r\n\r\nWithout a code snippet that we can use to reproduce the issue on our end, more information about the running environment e.g. deepspeed version, hardward (run `transformers-cli env` in the terminal and copy-paste the output) and more details about what's ob... | 1,688 | 1,695 | 1,691 | NONE | null | ### System Info
transformers 4.30.2
pytorch 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, ...)
- [ ] My own task or dataset (give details below)
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24656/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24655/comments | https://api.github.com/repos/huggingface/transformers/issues/24655/events | https://github.com/huggingface/transformers/issues/24655 | 1,788,683,084 | I_kwDOCUB6oc5qnSNM | 24,655 | Add a mechanism to transform the forward pass on Flax models | {
"login": "davisyoshida",
"id": 1377776,
"node_id": "MDQ6VXNlcjEzNzc3NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1377776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davisyoshida",
"html_url": "https://github.com/davisyoshida",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @gante @sanchit-gandhi ",
"Hey @davisyoshida - that's a great point, would you want to add a composable transformation on top of the `transformers` Flax model (a standard Python class object), or the Flax nn.Module?\r\n\r\nIf it's the latter (which I believe is the more typical use case), you can first extrac... | 1,688 | 1,694 | 1,693 | NONE | null | ### Feature request
There should be some way to apply function transformations to Flax models, while not losing the ability to use things like generation utilities.
### Motivation
JAX's main idea is "composable transformations", but currently there's no good way to apply transformations to Flax models. Currently, to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24655/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24654/comments | https://api.github.com/repos/huggingface/transformers/issues/24654/events | https://github.com/huggingface/transformers/pull/24654 | 1,788,610,696 | PR_kwDOCUB6oc5Up4R5 | 24,654 | add CFG for .generate() | {
"login": "Vermeille",
"id": 1108219,
"node_id": "MDQ6VXNlcjExMDgyMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1108219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vermeille",
"html_url": "https://github.com/Vermeille",
"followers_url": "https://api.github.com/users/Ve... | [] | closed | false | null | [] | [
"@Vermeille -- @sanchit-gandhi raises good points about the attention mask and taking the first item of the batch in the unconditional logits. As it stands, it will only work with batch size = 1, and our logits processors should be flexible wrt batch size :) ",
"good catch with the batch size! As for the attentio... | 1,688 | 1,691 | 1,691 | CONTRIBUTOR | null | This commit [implements CFG](https://github.com/huggingface/transformers/issues/24536)
Fixes #24536 (I did not touch MusicGen)
Hope you enjoy it!
@sanchit-gandhi
@gante | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24654/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24654",
"html_url": "https://github.com/huggingface/transformers/pull/24654",
"diff_url": "https://github.com/huggingface/transformers/pull/24654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24654.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24653/comments | https://api.github.com/repos/huggingface/transformers/issues/24653/events | https://github.com/huggingface/transformers/pull/24653 | 1,788,278,122 | PR_kwDOCUB6oc5Uov5b | 24,653 | Llama/GPTNeoX: add RoPE scaling | {
"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 | [] | [
"(Of course, tests are missing. Proper validation of whether the feature is working as expected is also missing. I'll add them if we decide to move forward with this feature!)",
"_The documentation is not available anymore as the PR was closed or merged._",
"Having this in transformers would be excellent!\r\n\r... | 1,688 | 1,689 | 1,689 | MEMBER | null | # What does this PR do?
This is an experimental PR for discussion, so we can decide whether to add this pattern.
## Context
In the past week, there have been several developments about scaling RoPE (Rotary Position Embeddings, i.e. Llama's position embeddings) so as to be able to extrapolate beyond 2048 tokens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24653/reactions",
"total_count": 18,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 18,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24653",
"html_url": "https://github.com/huggingface/transformers/pull/24653",
"diff_url": "https://github.com/huggingface/transformers/pull/24653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24653.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24652/comments | https://api.github.com/repos/huggingface/transformers/issues/24652/events | https://github.com/huggingface/transformers/pull/24652 | 1,788,260,133 | PR_kwDOCUB6oc5Uor3m | 24,652 | fixing name position_embeddings to object_queries | {
"login": "Lorenzobattistela",
"id": 70359945,
"node_id": "MDQ6VXNlcjcwMzU5OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/70359945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lorenzobattistela",
"html_url": "https://github.com/Lorenzobattistela",
"followers_url": "https... | [] | closed | false | null | [] | [
"@Lorenzobattistela For the repo consistency and quality checks, you'll need to run `make fix-copies` and then `make style` and push any changes made ",
"@amyeroberts Done, just updated with the changes for repo consistency and quality. I don't know why, but testing pipelines and torch tests are failling within t... | 1,688 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
This PR refers to #19833 , and it just update some variables/docstrings names. Quoting the Issue, the paper mentions that the `position_embeddings` argument of the cross-attention layer are these input embeddings called `object queries`. And the `key_value_position_embeddings` is refered to a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24652",
"html_url": "https://github.com/huggingface/transformers/pull/24652",
"diff_url": "https://github.com/huggingface/transformers/pull/24652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24651/comments | https://api.github.com/repos/huggingface/transformers/issues/24651/events | https://github.com/huggingface/transformers/pull/24651 | 1,788,257,949 | PR_kwDOCUB6oc5UorZH | 24,651 | Update image_question_answering.py | {
"login": "mzamini92",
"id": 32536264,
"node_id": "MDQ6VXNlcjMyNTM2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32536264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzamini92",
"html_url": "https://github.com/mzamini92",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @LysandreJik ",
"Hey @mzamini92! We want these tools to be the simplest possible so that all agents can use them appropriately.\r\n\r\nI recommend pushing your tool to the Hub instead, and replacing the existing ImQA tool with yours as explained in this guide: https://huggingface.co/docs/transformers/custom_t... | 1,688 | 1,688 | 1,688 | NONE | null | In this modified version, the main changes are as follows:
The `encode` method now accepts a list of images and questions, and it returns a `DataLoader` object that batches the encoded inputs. This enables batch processing of multiple image and question pairs.
The `forward` method processes the inputs in batches ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24651/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24651",
"html_url": "https://github.com/huggingface/transformers/pull/24651",
"diff_url": "https://github.com/huggingface/transformers/pull/24651.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24651.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24650/comments | https://api.github.com/repos/huggingface/transformers/issues/24650/events | https://github.com/huggingface/transformers/issues/24650 | 1,788,250,226 | I_kwDOCUB6oc5qlohy | 24,650 | CLIP pooling is not compatible with adding new tokens | {
"login": "okaris",
"id": 1448702,
"node_id": "MDQ6VXNlcjE0NDg3MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1448702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okaris",
"html_url": "https://github.com/okaris",
"followers_url": "https://api.github.com/users/okaris/foll... | [] | 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... | [
"Are you taking this on @ydshieh ? 😉 ",
"Not yet started, but self-assign so I won't forget. ",
"@okaris\r\n\r\nIf I understand correctly, the goal is to use the (fixed) eos id, rather than using `argmax`. Is this right?",
"@patrickvonplaten We need your experiste on `diffusers` for this issue 🙏 Thank you."... | 1,688 | 1,689 | 1,689 | NONE | null | ### System Info
Feature request (Duplicate of #21029)
For textual inversion in diffusers, we are adding tokens that have a higher token id than the eos token. So when we get clip embeddings for textual inv tokens, we need to change the pooling so it gets the eos token and not the arg max token.
Motivation
Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24650/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24649/comments | https://api.github.com/repos/huggingface/transformers/issues/24649/events | https://github.com/huggingface/transformers/pull/24649 | 1,788,178,229 | PR_kwDOCUB6oc5UoaE6 | 24,649 | Update warning messages reffering to post_process_object_detection | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
Noticed that `post_process` will be replaced by `post_process_object_detection` in v5.
However, the (old) `post_process` does not threshold the bounding box scores (it has the same effect if using `threshold=0`).
But the (new) `post_process_object_detection` has a threshold parameter which,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24649",
"html_url": "https://github.com/huggingface/transformers/pull/24649",
"diff_url": "https://github.com/huggingface/transformers/pull/24649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24648/comments | https://api.github.com/repos/huggingface/transformers/issues/24648/events | https://github.com/huggingface/transformers/pull/24648 | 1,788,049,034 | PR_kwDOCUB6oc5Un99Z | 24,648 | Enable `conversational` pipeline for `GPTSw3Tokenizer` | {
"login": "saattrupdan",
"id": 47701536,
"node_id": "MDQ6VXNlcjQ3NzAxNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/47701536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saattrupdan",
"html_url": "https://github.com/saattrupdan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @saattrupdan, thanks for this contribution and opening this PR.\r\n\r\nAs it stands, this isn't a change that we'd accept to be merged in. A few notes on why: \r\n* The pipelines are a higher level abstraction than the tokenizers,... | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
The `ConversationalPipeline` is great for easily running dialogue models, and also enables smooth interfaces in the associated Hugging Face Hub widget. These seem to require a `_build_conversation_input_ids` method on the associated tokenizer, however, which takes a `Conversation` object and ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24648",
"html_url": "https://github.com/huggingface/transformers/pull/24648",
"diff_url": "https://github.com/huggingface/transformers/pull/24648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24648.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24647/comments | https://api.github.com/repos/huggingface/transformers/issues/24647/events | https://github.com/huggingface/transformers/pull/24647 | 1,787,952,854 | PR_kwDOCUB6oc5Uno0G | 24,647 | documentation_tests.txt - sort filenames alphabetically | {
"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._",
"@ydshieh I added a quick check in `utils/check_doctest_list.py` - let me know what you think :)",
"Yes! Eventually, we can provide a fix option to modify the file to sort and deduplicate the lines. But again, the PR itself is compl... | 1,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
Reorganises the file names listed in `documentation_tests.txt` so that they are in alphabetical order. This is to address two things:
* Make it obvious where to add new files
* Make it easier to spot if certain files are missing. For example, I didn't notice until recently that modleing_im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24647/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24647",
"html_url": "https://github.com/huggingface/transformers/pull/24647",
"diff_url": "https://github.com/huggingface/transformers/pull/24647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24647.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24646/comments | https://api.github.com/repos/huggingface/transformers/issues/24646/events | https://github.com/huggingface/transformers/issues/24646 | 1,787,932,338 | I_kwDOCUB6oc5qka6y | 24,646 | TrainingArguments.report_to is not configured as documented | {
"login": "wilke0818",
"id": 39885245,
"node_id": "MDQ6VXNlcjM5ODg1MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/39885245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wilke0818",
"html_url": "https://github.com/wilke0818",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi!\r\n\r\nThe actual default value is `None`, but it is set to `all` in this case, so it still corresponds to the doc.\r\n\r\nSee\r\n\r\nhttps://github.com/huggingface/transformers/blob/cd4584e3c809bb9e1392ccd3fe38b40daba5519a/src/transformers/training_args.py#L1422-L1428",
"Hi, I appreciate you taking the time... | 1,688 | 1,704 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.30.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.1.0.dev20230616 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24646/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24645/comments | https://api.github.com/repos/huggingface/transformers/issues/24645/events | https://github.com/huggingface/transformers/pull/24645 | 1,787,774,637 | PR_kwDOCUB6oc5UnCHw | 24,645 | [WIP] Add LaVIN | {
"login": "shauray8",
"id": 39147312,
"node_id": "MDQ6VXNlcjM5MTQ3MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shauray8",
"html_url": "https://github.com/shauray8",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"Hi @shauray8, thanks for opening this PR! \r\n\r\nThe easiest and recommended way to make a model available in `transformers` is to add the modeling code directly on the hub: https://huggingface.co/docs/transformers/custom_models\r\n\r\nThis means, once working, the model can be found and used immediately without ... | 1,688 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Adds the LaVIN model from - https://arxiv.org/pdf/2305.15023.pdf <br>
Model description - LaVIN is a vision-language instructed model that is affordable to train (it was trained in a few hours on 8 A100 GPUs) with good performance on ScienceQA.
Fixes issue #23846
## Who can review?
Mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24645/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24645",
"html_url": "https://github.com/huggingface/transformers/pull/24645",
"diff_url": "https://github.com/huggingface/transformers/pull/24645.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24645.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24644/comments | https://api.github.com/repos/huggingface/transformers/issues/24644/events | https://github.com/huggingface/transformers/issues/24644 | 1,787,697,426 | I_kwDOCUB6oc5qjhkS | 24,644 | 'eos_token_id' for llama model.generate is not working | {
"login": "devymex",
"id": 1797836,
"node_id": "MDQ6VXNlcjE3OTc4MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1797836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devymex",
"html_url": "https://github.com/devymex",
"followers_url": "https://api.github.com/users/devymex/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey! A few things to note: \r\n- `LlamaTokenizerFast` (which you are using through the `AutoTokenizer` API) has been fixed here #24042, addressing the issue with special tokens being encode. \r\n- You are not sharing any repo, so we can't reproduce potential bugs. \r\n- `it always ignores t... | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.31
- Python version: 3.10.0
- 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?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24644/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24643/comments | https://api.github.com/repos/huggingface/transformers/issues/24643/events | https://github.com/huggingface/transformers/issues/24643 | 1,787,616,386 | I_kwDOCUB6oc5qjNyC | 24,643 | "RuntimeError: 'weight' must be 2-D" training with DeepSpeed | {
"login": "ZizoAdam",
"id": 124168668,
"node_id": "U_kgDOB2ap3A",
"avatar_url": "https://avatars.githubusercontent.com/u/124168668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZizoAdam",
"html_url": "https://github.com/ZizoAdam",
"followers_url": "https://api.github.com/users/ZizoAdam/... | [
{
"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 | [] | [
"Hi\r\n\r\nWhile waiting @pacman100 's comment maybe , you can check what's the shape of `self.wte`. It would be a good idea to double check if the issue also happens without the usage of deepspeed.\r\n\r\n\r\n```\r\n File \"/home/augustus/miniconda3/envs/adamTraining/lib/python3.10/site-packages/transformers/mod... | 1,688 | 1,706 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.19.0-46-generic-x86_64-with-glibc2.35
- 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?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24643/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24642/comments | https://api.github.com/repos/huggingface/transformers/issues/24642/events | https://github.com/huggingface/transformers/issues/24642 | 1,787,552,309 | I_kwDOCUB6oc5qi-I1 | 24,642 | openlm-research/open_llama_13b_easylm cannot be downloaded | {
"login": "leweex95",
"id": 74991597,
"node_id": "MDQ6VXNlcjc0OTkxNTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/74991597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leweex95",
"html_url": "https://github.com/leweex95",
"followers_url": "https://api.github.com/users/lew... | [] | closed | false | null | [] | [
"Looking at \r\n\r\nhttps://huggingface.co/openlm-research/open_llama_13b_easylm/tree/main\r\n\r\nThe file doesn't seem to be torch bin file. \r\n\r\nHowever, https://huggingface.co/openlm-research/open_llama_13b/tree/main has those `.bin` files.\r\n\r\nYou will have to open an issue on that Hub repo. to discuss wi... | 1,688 | 1,691 | 1,691 | NONE | null | ### System Info
transformers: 4.30.2.
Python: 3.9.17
OS: MacOS Ventura 13.3.1 (a)
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give detail... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24641/comments | https://api.github.com/repos/huggingface/transformers/issues/24641/events | https://github.com/huggingface/transformers/issues/24641 | 1,787,134,396 | I_kwDOCUB6oc5qhYG8 | 24,641 | AssertionError: Dynamo only supports FSDP with use_orig_params=True | {
"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... | [] | closed | false | null | [] | [
"The command involves `accelerate` and `torch_compile` + the error involves `Dynamo`.\r\n\r\ncc @fxmarty @pacman100 (maybe?)",
"Thank you for the issue, the above PR fixes it.",
"@pacman100 I'm still seeing this error I can't find this [commit](https://github.com/huggingface/transformers/commit/66a378429d0e085e... | 1,688 | 1,696 | 1,688 | NONE | null | ### System Info
cuda 11.7
accelerate=0.21.0.dev0
transformers=4.31.0.dev0
torch=2.0.1
python=3.8
### Who can help?
@pacman100
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24641/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24640/comments | https://api.github.com/repos/huggingface/transformers/issues/24640/events | https://github.com/huggingface/transformers/issues/24640 | 1,786,838,371 | I_kwDOCUB6oc5qgP1j | 24,640 | 'DummyOptim' object has no attribute 'step' | {
"login": "karths8",
"id": 47289950,
"node_id": "MDQ6VXNlcjQ3Mjg5OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karths8",
"html_url": "https://github.com/karths8",
"followers_url": "https://api.github.com/users/karths... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello, please provide a minimal reproducible example that we can directly run. Providing links to scripts and dataset doesn't help and is very involved and time taking. ",
"Also, please provide the accelerate and DeepSpeed versions, the launch command for the minimal example and the minimal e... | 1,688 | 1,702 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.4.0-124-generic-x86_64-with-glibc2.31
- Python version: 3.11.3
- 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24640/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/24640/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24639/comments | https://api.github.com/repos/huggingface/transformers/issues/24639/events | https://github.com/huggingface/transformers/pull/24639 | 1,786,480,478 | PR_kwDOCUB6oc5UisQ_ | 24,639 | Generate: force cache with `inputs_embeds` forwarding | {
"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,688 | 1,688 | 1,688 | MEMBER | null | # What does this PR do?
Fixes the issue raised in [this comment](https://github.com/huggingface/transformers/issues/23042#issuecomment-1618513599).
The issue and the solution is described in the comment added alongside the change :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24639/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24639",
"html_url": "https://github.com/huggingface/transformers/pull/24639",
"diff_url": "https://github.com/huggingface/transformers/pull/24639.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24639.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24638/comments | https://api.github.com/repos/huggingface/transformers/issues/24638/events | https://github.com/huggingface/transformers/issues/24638 | 1,786,385,839 | I_kwDOCUB6oc5qehWv | 24,638 | attention weight clipping | {
"login": "StevenSong",
"id": 26208374,
"node_id": "MDQ6VXNlcjI2MjA4Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/26208374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StevenSong",
"html_url": "https://github.com/StevenSong",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi!\r\n\r\nThere are a few places in the library having something below\r\n\r\n```python\r\n # clamp inf values to enable fp16 training\r\n if hidden_states.dtype == torch.float16:\r\n max_dtype = torch.finfo(hidden_states.dtype).max\r\n clamp_value = torch.where(torch.isinf(hid... | 1,688 | 1,691 | 1,691 | NONE | null | ### Feature request
If the attention weight overflows, probably when using float16 during mixed precision training, clip the weight to some configurable value.
### Motivation
I’m training a `gpt2` model with auto mixed precision with `torch.amp.autocast` and I noticed I’m running into `nan` loss values during train... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24637/comments | https://api.github.com/repos/huggingface/transformers/issues/24637/events | https://github.com/huggingface/transformers/issues/24637 | 1,786,343,818 | I_kwDOCUB6oc5qeXGK | 24,637 | TFOPTForCausalLM Attention mask size mismatch exception | {
"login": "abb128",
"id": 65567823,
"node_id": "MDQ6VXNlcjY1NTY3ODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/65567823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abb128",
"html_url": "https://github.com/abb128",
"followers_url": "https://api.github.com/users/abb128/fo... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Yep, something is clearly being mangled in here. The `hidden_states` shape of `(1, 0, 768)` is alarming - there's obviously some incorrect array slicing happening somewhere. I'll investigate as soon as I get a chance, but if you want to try taking a look before then, the relevant code is [a... | 1,688 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24637/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24636/comments | https://api.github.com/repos/huggingface/transformers/issues/24636/events | https://github.com/huggingface/transformers/pull/24636 | 1,786,039,477 | PR_kwDOCUB6oc5UhNBy | 24,636 | Fix audio feature extractor deps | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
The PR #21998 refactored many of the audio feature extractors to use a numpy backed for log Mel feature extraction (as opposed to `torchaudio` as was done previously). However, some of the feature extractors still required the `"speech"` backend for import, which states `torchaudio` as its so... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24636/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24636",
"html_url": "https://github.com/huggingface/transformers/pull/24636",
"diff_url": "https://github.com/huggingface/transformers/pull/24636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24636.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24635/comments | https://api.github.com/repos/huggingface/transformers/issues/24635/events | https://github.com/huggingface/transformers/pull/24635 | 1,785,925,372 | PR_kwDOCUB6oc5Ugz36 | 24,635 | Generate: multi-device support for contrastive search | {
"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._",
"For future reference, here's the benchmark code:\r\n```py\r\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\r\nimport torch\r\nfrom tqdm import tqdm\r\n\r\n# Other configuration options\r\nDEVICE = \"cuda:0\"\r\nNUM_RUN... | 1,688 | 1,688 | 1,688 | MEMBER | null | # What does this PR do?
Fixes #24634
In multi-gpu settings, the past KV cache may be scattered across devices -- the cache corresponding to a layer sits in the same device as the layer itself, and different layers may be in different devices.
In contrastive search, we must apply indexing operations on the pas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24635/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24635",
"html_url": "https://github.com/huggingface/transformers/pull/24635",
"diff_url": "https://github.com/huggingface/transformers/pull/24635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24635.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24634/comments | https://api.github.com/repos/huggingface/transformers/issues/24634/events | https://github.com/huggingface/transformers/issues/24634 | 1,785,800,026 | I_kwDOCUB6oc5qcSVa | 24,634 | .generate() supports contrastive-search on multi-device? | {
"login": "pfldy2850",
"id": 9526337,
"node_id": "MDQ6VXNlcjk1MjYzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9526337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pfldy2850",
"html_url": "https://github.com/pfldy2850",
"followers_url": "https://api.github.com/users/pf... | [] | closed | false | null | [] | [
"Hey @pfldy2850 👋 \r\n\r\nI believe I know the solution to your issues, but I don't have a multi-gpu setup. I'm going to open a PR, and then ask you to double-check whether it works :)",
"@pfldy2850 would you be able to test using [this PR](https://github.com/huggingface/transformers/pull/24635)?",
"@gante \r\... | 1,688 | 1,688 | 1,688 | CONTRIBUTOR | null | ### System Info
### script
```python
import torch
from transformers import AutoTokenizer
from transformers import AutoModelForCausalLM
checkpoint = "EleutherAI/polyglot-ko-12.8b"
tokenizer = AutoTokenizer.from_pretrained(
checkpoint,
padding_side="left",
pad_token_id=0,
)
model = AutoModel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24634/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24633/comments | https://api.github.com/repos/huggingface/transformers/issues/24633/events | https://github.com/huggingface/transformers/pull/24633 | 1,785,515,173 | PR_kwDOCUB6oc5UfaQv | 24,633 | Pin `Pillow` for now | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merge as the 2 failed tests seems flaky."
] | 1,688 | 1,688 | 1,688 | COLLABORATOR | null | # What does this PR do?
`Pillow 10.0.0` is out 2 days ago.
Our CI get errors (via the usage of `detectron2`):
```bash
...
/usr/local/lib/python3.8/dist-packages/detectron2/data/transforms/transform.py:36: in <module>
...
> def __init__(self, src_rect, output_size, interp=Image.LINEAR, fill=0):
E ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24633",
"html_url": "https://github.com/huggingface/transformers/pull/24633",
"diff_url": "https://github.com/huggingface/transformers/pull/24633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24633.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24632/comments | https://api.github.com/repos/huggingface/transformers/issues/24632/events | https://github.com/huggingface/transformers/issues/24632 | 1,785,471,974 | I_kwDOCUB6oc5qbCPm | 24,632 | TrOCRProcessor.from_pretrained raise KeyError(key) | {
"login": "laizhenhai88",
"id": 1310844,
"node_id": "MDQ6VXNlcjEzMTA4NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1310844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laizhenhai88",
"html_url": "https://github.com/laizhenhai88",
"followers_url": "https://api.github.com... | [] | 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 @laizhenhai88 \r\n\r\nIt seems you forgot to upload the tokenizer you loaded/used during training to your own model repo.\r\nIf you upload it. the issue you reported will disappear.\r\n\r\nLet us know if you have further question.",
"> Hi @laizhenhai88\r\n> \r\n> It seems you forgot to upload the tokenizer yo... | 1,688 | 1,691 | 1,691 | NONE | null | ### System Info
@amyeroberts
1. background
I fine-tuned a model of [microsoft/trocr-base-printed](https://huggingface.co/microsoft/trocr-base-printed)
the model is https://huggingface.co/hongyusir/trocr-base-printed_captcha_ocr
and I load my model raise KeyError(key)
### Who can help?
_No response_
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24632/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24631/comments | https://api.github.com/repos/huggingface/transformers/issues/24631/events | https://github.com/huggingface/transformers/issues/24631 | 1,785,422,203 | I_kwDOCUB6oc5qa2F7 | 24,631 | Fine tunning Bloom model - Failed to import transformers.training_args | {
"login": "seema-AIML",
"id": 83855785,
"node_id": "MDQ6VXNlcjgzODU1Nzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/83855785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seema-AIML",
"html_url": "https://github.com/seema-AIML",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @seema-AIML\r\n\r\nCould you post the full trace log, please. Thank you in advance.",
"from transformers import AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"bigscience/bloom-560m\")\r\ndef tokenize_function(examples):\r\n return tokenizer(examples[\"text\"], padding=\"max_length\", trun... | 1,688 | 1,691 | 1,691 | NONE | null | ### System Info
falcon-7b-instruct(url)
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Repro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24631/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24630/comments | https://api.github.com/repos/huggingface/transformers/issues/24630/events | https://github.com/huggingface/transformers/issues/24630 | 1,785,223,260 | I_kwDOCUB6oc5qaFhc | 24,630 | Loading GPT-Neo-2.7B has error | {
"login": "YIYANGCAI",
"id": 49231152,
"node_id": "MDQ6VXNlcjQ5MjMxMTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/49231152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YIYANGCAI",
"html_url": "https://github.com/YIYANGCAI",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @YIYANGCAI \r\n\r\nDo you have a checkpoint in your local machine with path `/models/gpt-neo-2.7B`?",
"yes, I pre-downloaded it at this path.",
"could you check if you have absolute path `/models/gpt-neo-2.7B` or you intend to use relative path?\r\n\r\n",
"This issue has been automatically marked as stale... | 1,688 | 1,691 | 1,691 | NONE | null | ### System Info
transformers==4.28.1, torch==1.13.1, dgx-A100, python=3.8.15
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24630/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24629/comments | https://api.github.com/repos/huggingface/transformers/issues/24629/events | https://github.com/huggingface/transformers/pull/24629 | 1,785,181,856 | PR_kwDOCUB6oc5UeSA- | 24,629 | [`MPT`] Add MosaicML's `MPT` model to transformers | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger we think the PR is ready for a review 🙏 ! The logits tests pass with tolerance `1e-12` between the model on the Hub and ours. There is nothing to do on the Hub as the current code is perfectly backward compatible with thei... | 1,688 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Fixes #23174
First questions:
- [ ] Should we keep the nested config for attention and init configs? Pros: backward, Cons: not what we usually do, can't modify on the fly, harder to maintain
- [ ] Should we keep flash attention or go with better transformers
- [ ] Do we want 100% backw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24629",
"html_url": "https://github.com/huggingface/transformers/pull/24629",
"diff_url": "https://github.com/huggingface/transformers/pull/24629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24629.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24628/comments | https://api.github.com/repos/huggingface/transformers/issues/24628/events | https://github.com/huggingface/transformers/issues/24628 | 1,785,081,677 | I_kwDOCUB6oc5qZi9N | 24,628 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "Everton-12",
"id": 137764672,
"node_id": "U_kgDOCDYfQA",
"avatar_url": "https://avatars.githubusercontent.com/u/137764672?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Everton-12",
"html_url": "https://github.com/Everton-12",
"followers_url": "https://api.github.com/users/Eve... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"Hi @Everton-12, Could you make sure to fill in the template for this issue? At the moment there is no specified language. "
] | 1,688 | 1,689 | 1,689 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24627/comments | https://api.github.com/repos/huggingface/transformers/issues/24627/events | https://github.com/huggingface/transformers/pull/24627 | 1,784,726,741 | PR_kwDOCUB6oc5UcshO | 24,627 | Create SECURITY.md | {
"login": "tarzzii",
"id": 70776116,
"node_id": "MDQ6VXNlcjcwNzc2MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/70776116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tarzzii",
"html_url": "https://github.com/tarzzii",
"followers_url": "https://api.github.com/users/tarzzi... | [] | closed | false | null | [] | [
"Hi @tarzzii, thanks for opening this PR. \r\n\r\nCould you fill out the PR description please? \r\n\r\nThe third box was checked - but I can't see any link to the relevant discussion. Could you add that too please? \r\nThe final box was checked, but I do not see any tests",
"This issue has been automatically mar... | 1,688 | 1,691 | 1,691 | 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/24627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24627/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24627",
"html_url": "https://github.com/huggingface/transformers/pull/24627",
"diff_url": "https://github.com/huggingface/transformers/pull/24627.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24627.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24626/comments | https://api.github.com/repos/huggingface/transformers/issues/24626/events | https://github.com/huggingface/transformers/issues/24626 | 1,784,668,065 | I_kwDOCUB6oc5qX9-h | 24,626 | Trainer的使用问题 | {
"login": "fxb392",
"id": 40045460,
"node_id": "MDQ6VXNlcjQwMDQ1NDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/40045460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxb392",
"html_url": "https://github.com/fxb392",
"followers_url": "https://api.github.com/users/fxb392/fo... | [] | closed | false | null | [] | [
"Hi @fxb392 \r\n\r\nIt's mostly for loading the optimizer's scheduler and other states. But it's also convient if you load a canonical model (say from the Hub) while instantiating a trainer but want to use other checkpoints.\r\n\r\nYou don'",
"OK,thanks for you guidence.Does this only means the trainer can conv... | 1,688 | 1,688 | 1,688 | NONE | null |
Trainer在实例化的时候不是已经传入加载的模型了吗,为什么 trainer.train(resume_from_checkpoint=checkpoint)还可以从保存的检查点加载模型???? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24626/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24625/comments | https://api.github.com/repos/huggingface/transformers/issues/24625/events | https://github.com/huggingface/transformers/pull/24625 | 1,784,597,615 | PR_kwDOCUB6oc5UcSPJ | 24,625 | 🌐 [i18n-KO] Translated `model_summary.md` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for translating the `model_summary` file! Feel free to mark as ready for review whenever you're ready 😄 ",
"> Thanks for translating the `model_summary` file! Feel free to mark as ready for review whenever you're ready 😄\r... | 1,688 | 1,691 | 1,691 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `model_summary.md` file of the documentation to Korean 😄
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24625/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/24625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24625",
"html_url": "https://github.com/huggingface/transformers/pull/24625",
"diff_url": "https://github.com/huggingface/transformers/pull/24625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24624/comments | https://api.github.com/repos/huggingface/transformers/issues/24624/events | https://github.com/huggingface/transformers/issues/24624 | 1,784,584,099 | I_kwDOCUB6oc5qXpej | 24,624 | LlamaForCausalLM returning prompt without answer | {
"login": "leweex95",
"id": 74991597,
"node_id": "MDQ6VXNlcjc0OTkxNTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/74991597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leweex95",
"html_url": "https://github.com/leweex95",
"followers_url": "https://api.github.com/users/lew... | [] | closed | false | null | [] | [
"Hi @leweex95, 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."
] | 1,688 | 1,688 | 1,688 | NONE | null | ### System Info
transformers: 4.30.2
Python: 3.9.17
OS: MacOS 13.3.1 (a)
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24624/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24623/comments | https://api.github.com/repos/huggingface/transformers/issues/24623/events | https://github.com/huggingface/transformers/issues/24623 | 1,784,569,744 | I_kwDOCUB6oc5qXl-Q | 24,623 | Hi | {
"login": "Justsomeuser88",
"id": 138368056,
"node_id": "U_kgDOCD9UOA",
"avatar_url": "https://avatars.githubusercontent.com/u/138368056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Justsomeuser88",
"html_url": "https://github.com/Justsomeuser88",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,688 | 1,688 | 1,688 | NONE | null | Hello | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24623/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24622/comments | https://api.github.com/repos/huggingface/transformers/issues/24622/events | https://github.com/huggingface/transformers/pull/24622 | 1,784,426,378 | PR_kwDOCUB6oc5UbvNn | 24,622 | [Patch-t5-tokenizer] Patches the changes on T5 to make sure previous behaviour is still valide for beginning of words | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Ran all the tests with `RUN_SLOW`, switch-ci is fixed",
"Until the added tokens are fixed, this will break the slow version that use extra ids, because by default we strip left and right..... So buggy ",
"The bug has always been ... | 1,688 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
There was a small typo that modified the behaviour in #24565, the test were not able to catch it. #24569
When a sentence does not start with a space, a space was added.
Before:
```python
>>>tokenizer.tokenize("Hello <extra_id_0>")
['_', '_Hello', '<extra_id_0>']
```
After:
```python
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24622/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24622",
"html_url": "https://github.com/huggingface/transformers/pull/24622",
"diff_url": "https://github.com/huggingface/transformers/pull/24622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24622.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24621/comments | https://api.github.com/repos/huggingface/transformers/issues/24621/events | https://github.com/huggingface/transformers/pull/24621 | 1,784,359,758 | PR_kwDOCUB6oc5Ubgg6 | 24,621 | 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,688 | 1,688 | 1,688 | 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/24621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24621",
"html_url": "https://github.com/huggingface/transformers/pull/24621",
"diff_url": "https://github.com/huggingface/transformers/pull/24621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24621.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24620/comments | https://api.github.com/repos/huggingface/transformers/issues/24620/events | https://github.com/huggingface/transformers/issues/24620 | 1,784,218,346 | I_kwDOCUB6oc5qWQLq | 24,620 | BART is not found 404 | {
"login": "mahdiabdollahpour",
"id": 27064237,
"node_id": "MDQ6VXNlcjI3MDY0MjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/27064237?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mahdiabdollahpour",
"html_url": "https://github.com/mahdiabdollahpour",
"followers_url": "https... | [] | closed | false | null | [] | [
"Back up now! 🤗 "
] | 1,688 | 1,688 | 1,688 | NONE | null | pages for BART models are not responding
e.g:
https://huggingface.co/facebook/bart-large-cnn
https://huggingface.co/facebook/bart-base | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24620/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24619/comments | https://api.github.com/repos/huggingface/transformers/issues/24619/events | https://github.com/huggingface/transformers/issues/24619 | 1,784,194,190 | I_kwDOCUB6oc5qWKSO | 24,619 | AutoTokenizer always tries to download from hub even if the model is cached. Thus it fails to run when running in an docker environment without SSL. | {
"login": "kalpesh22-21",
"id": 61782478,
"node_id": "MDQ6VXNlcjYxNzgyNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/61782478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kalpesh22-21",
"html_url": "https://github.com/kalpesh22-21",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting. Before diving a bit deeper, there is a `local_files_only` argument that you can set when calling from pretrained, which activated the `offline mode`. You can also set it using `TRANSFORMERS_OFFLINE=1`. Can you try with this? It was designed for specific cases like this one! ",
"This i... | 1,688 | 1,691 | 1,691 | NONE | null | ### System Info
python=3.9
transformers=4.30.2
### Who can help?
@ArthurZucker
### 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)
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24619/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.