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/20484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20484/comments | https://api.github.com/repos/huggingface/transformers/issues/20484/events | https://github.com/huggingface/transformers/issues/20484 | 1,467,702,523 | I_kwDOCUB6oc5Xe1z7 | 20,484 | Error when getting the long-t5 model | {
"login": "Magicen0722",
"id": 66616125,
"node_id": "MDQ6VXNlcjY2NjE2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/66616125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Magicen0722",
"html_url": "https://github.com/Magicen0722",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hi, what `transformers` version are you using?",
"> Hi, what `transformers` version are you using?\r\n\r\nI am using `transformers==4.24.0`",
"@ArthurZucker could you take a look here? ",
"Not really able to reproduce the code for now, but will have a look! I also used `transformers==4.24.0` and the import w... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
When I get the relevant pipline or the corresponding model and tokenizer from this page, I get the `KeyError: 'longt5'`
### Who can help?
@patrickvonplaten
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `exam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20483/comments | https://api.github.com/repos/huggingface/transformers/issues/20483/events | https://github.com/huggingface/transformers/pull/20483 | 1,467,695,021 | PR_kwDOCUB6oc5D3lzF | 20,483 | [MaskFormer] Add support for ResNet backbone | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [
{
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger feel free to approve, I'm currently uploading all checkpoints to the hub :)"
] | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR is part 3 of 3 of the big #20204 PR.
This PR does 2 things:
1) it makes sure that ResNet is supported as backbone for MaskFormer, besides Swin. It leverages the `AutoBackbone` class for this.
2) <s> it makes sure that MaskFormer defaults to Swin as backbone, not relying on MaskFo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20483",
"html_url": "https://github.com/huggingface/transformers/pull/20483",
"diff_url": "https://github.com/huggingface/transformers/pull/20483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20483.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20482/comments | https://api.github.com/repos/huggingface/transformers/issues/20482/events | https://github.com/huggingface/transformers/issues/20482 | 1,467,690,897 | I_kwDOCUB6oc5Xey-R | 20,482 | How to reproduce the machine translation experiments in Attention is all you need. | {
"login": "shizhediao",
"id": 18120087,
"node_id": "MDQ6VXNlcjE4MTIwMDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/18120087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shizhediao",
"html_url": "https://github.com/shizhediao",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi,\r\nI am trying to reproduce the performance of transformer-base (from attention is all you need) on WMT14.\r\nI am using `FSMT` because I cannot find an implementation of the transformer.\r\nI was wondering which dataset and tokenizer are the best choices. \r\n1. `stas/wmt14-en-de-pre-processed` with `facebook... | 1,669 | 1,669 | 1,669 | NONE | null | ### Feature request
I want to reproduce the experiments described in _Attention is all you need_, which is a transformer base model from scratch. The model architecture is the same as _Attention is all you need_.
In other words, I am looking for a transformer base model to train from scratch with HuggingFace.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20481/comments | https://api.github.com/repos/huggingface/transformers/issues/20481/events | https://github.com/huggingface/transformers/issues/20481 | 1,467,436,907 | I_kwDOCUB6oc5Xd09r | 20,481 | CLIP - Mismatch tokenizer_config.json of CLIPTokenizer.from_pretrained() and huggingface_hub | {
"login": "EthanYishun",
"id": 92590248,
"node_id": "U_kgDOBYTQqA",
"avatar_url": "https://avatars.githubusercontent.com/u/92590248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EthanYishun",
"html_url": "https://github.com/EthanYishun",
"followers_url": "https://api.github.com/users/Et... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,669 | 1,673 | 1,673 | NONE | null | ### System Info
Model ID : `"openai/clip-vit-base-patch32"`
Transformer Version : 4.23.0
In the huggingface hub, the file https://huggingface.co/openai/clip-vit-base-patch32/blob/main/tokenizer_config.json doesn't have the parameter `model_max_length:77`.
On the contrary, if I use the following:
`tokenizer = CLI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20481/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20480/comments | https://api.github.com/repos/huggingface/transformers/issues/20480/events | https://github.com/huggingface/transformers/issues/20480 | 1,467,394,752 | I_kwDOCUB6oc5XdqrA | 20,480 | Unexpected behavior when input ends with multiple newlines | {
"login": "monsieurpooh",
"id": 29328114,
"node_id": "MDQ6VXNlcjI5MzI4MTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/29328114?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monsieurpooh",
"html_url": "https://github.com/monsieurpooh",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Stop telling the model what it should do: [quote](https://history.aip.org/exhibits/einstein/ae63.htm).\r\n\r\nJoke aside, how do you know what the model should do ? It's a small model, so if it's less performant than expected or than the larger ones is completely normal.",
"> Stop telling the model what it shoul... | 1,669 | 1,673 | 1,673 | NONE | null | ### System Info
- `transformers` version: 4.15.0
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.5
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.5.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20479/comments | https://api.github.com/repos/huggingface/transformers/issues/20479/events | https://github.com/huggingface/transformers/pull/20479 | 1,467,166,286 | PR_kwDOCUB6oc5D11Hw | 20,479 | add flax whisper implementation | {
"login": "andyehrenberg",
"id": 32784181,
"node_id": "MDQ6VXNlcjMyNzg0MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/32784181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andyehrenberg",
"html_url": "https://github.com/andyehrenberg",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"@andyehrenberg \r\n\r\nThank you for the PR. However, a pull request should focus on a single objective/goal, rather than changing multiple things at the same time which are not absolutely coupled.\r\n\r\nPlease \r\n - follow the pytorch implementation regarding the `past_key_values`\r\n - revert the changes on th... | 1,669 | 1,707 | 1,676 | CONTRIBUTOR | null | Adds Flax whisper implementations, and adjusts flax generation utils to support it.
@ydshieh @ArthurZucker
See discussion in #19512 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20479/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 7,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20479",
"html_url": "https://github.com/huggingface/transformers/pull/20479",
"diff_url": "https://github.com/huggingface/transformers/pull/20479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20479.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20478/comments | https://api.github.com/repos/huggingface/transformers/issues/20478/events | https://github.com/huggingface/transformers/pull/20478 | 1,467,090,159 | PR_kwDOCUB6oc5D1kbb | 20,478 | Replace assert statements with raise exceptions | {
"login": "miyu386",
"id": 60191117,
"node_id": "MDQ6VXNlcjYwMTkxMTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/60191117?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miyu386",
"html_url": "https://github.com/miyu386",
"followers_url": "https://api.github.com/users/miyu38... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Appreciate the feedback! I've addressed and made the necessary changes."
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
Fixes an instance of https://github.com/huggingface/transformers/issues/12789.
Replaces 4 assert statements with ValueError exception in `src/transformers/data/metrics/squad_metrics.py`
Co-author: @mollerup23
<!--
Congratulations! You've made it this far! You're not quite done yet thoug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20478",
"html_url": "https://github.com/huggingface/transformers/pull/20478",
"diff_url": "https://github.com/huggingface/transformers/pull/20478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20478.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20477/comments | https://api.github.com/repos/huggingface/transformers/issues/20477/events | https://github.com/huggingface/transformers/pull/20477 | 1,466,990,931 | PR_kwDOCUB6oc5D1Ol8 | 20,477 | Fix init import_structure sorting | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
The custom script we have that sorts the imports in our inits was broken since a while ago. This PR fixes it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20477",
"html_url": "https://github.com/huggingface/transformers/pull/20477",
"diff_url": "https://github.com/huggingface/transformers/pull/20477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20476/comments | https://api.github.com/repos/huggingface/transformers/issues/20476/events | https://github.com/huggingface/transformers/issues/20476 | 1,466,749,638 | I_kwDOCUB6oc5XbNLG | 20,476 | Trainer Eval loop fails to handle COCO formatted data | {
"login": "awilsonTorch",
"id": 88393795,
"node_id": "MDQ6VXNlcjg4MzkzNzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/88393795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awilsonTorch",
"html_url": "https://github.com/awilsonTorch",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This has been fixed by #19455, you should upgrade to the latest version of Transformers to have the fix."
] | 1,669 | 1,670 | 1,669 | NONE | null | ### System Info
- `transformers` version: 4.23.1
- Platform: Linux-4.14.294-220.533.amzn2.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20475/comments | https://api.github.com/repos/huggingface/transformers/issues/20475/events | https://github.com/huggingface/transformers/pull/20475 | 1,466,743,284 | PR_kwDOCUB6oc5D0dcC | 20,475 | Fix torch meshgrid warnings | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"From a quick search in the PyTorch doc, this argument is only accepted starting in PyTorch 1.10, so this PR will break the corresponding models for older versions. You should add a `meshgrid` function the pytorch utils that passes the argument or not depending on the PyTorch version, then use this util in the mode... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
This PR fixes unwanted warnings due in `torch.meshgrid`:
```
/home/fxmarty/anaconda3/envs/hf-inf/lib/python3.9/site-packages/torch/functional.py:478:
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing
argument. (Triggered internally at ../aten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20475",
"html_url": "https://github.com/huggingface/transformers/pull/20475",
"diff_url": "https://github.com/huggingface/transformers/pull/20475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20475.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20474/comments | https://api.github.com/repos/huggingface/transformers/issues/20474/events | https://github.com/huggingface/transformers/pull/20474 | 1,466,741,991 | PR_kwDOCUB6oc5D0dKq | 20,474 | Extract warnings from CI artifacts | {
"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._",
"This is the current list of `DeprecationWarning`. I could NOT find any thing from torch/TF/accelerate. Hope I don't miss anything here.\r\n\r\n\r\n```bash\r\n[\r\n \"/opt/conda/lib/python3.8/site-packages/sklearn/utils/multiclass.... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
The default behavior is to extract the `DeprecationWarning`, but it could be changed by specifying `--targets`.
Currently, I don't use this script in our CI workflow file. If it is desired, we can add an extra job in our CI workflow to generate this report at the end, but this could be d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20474",
"html_url": "https://github.com/huggingface/transformers/pull/20474",
"diff_url": "https://github.com/huggingface/transformers/pull/20474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20474.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20473/comments | https://api.github.com/repos/huggingface/transformers/issues/20473/events | https://github.com/huggingface/transformers/pull/20473 | 1,466,724,857 | PR_kwDOCUB6oc5D0Zhd | 20,473 | Fix Swin ONNX export warnings | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Note that this will only work in recent versions of PyTorch. As was done for the [int div](https://github.com/huggingface/transformers/blob/321ef388fe041f630e65abc26a3be8580d7e858b/src/transformers/pytorch_utils.py#LL35C3-L35C3), you... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
This PR fixes uninformative warnings in the ONNX export for Swin as reported in https://github.com/huggingface/transformers/issues/19780 , namely
```
UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently
rounds toward 0 (like t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20473/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20473",
"html_url": "https://github.com/huggingface/transformers/pull/20473",
"diff_url": "https://github.com/huggingface/transformers/pull/20473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20473.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20472/comments | https://api.github.com/repos/huggingface/transformers/issues/20472/events | https://github.com/huggingface/transformers/pull/20472 | 1,466,621,975 | PR_kwDOCUB6oc5D0DYx | 20,472 | Added TFBartForSequenceClassification | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger I have tested locally, not sure why tests are failing",
"@IMvision12 the common tests do not pass for the model you have added, you can run them with `pytest tests/models/bart/test_modeling_tf_bart.py`.\r\n\r\nAlso the equ... | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes: #19653
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20472",
"html_url": "https://github.com/huggingface/transformers/pull/20472",
"diff_url": "https://github.com/huggingface/transformers/pull/20472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20471/comments | https://api.github.com/repos/huggingface/transformers/issues/20471/events | https://github.com/huggingface/transformers/issues/20471 | 1,466,454,629 | I_kwDOCUB6oc5XaFJl | 20,471 | ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' | {
"login": "wccccp",
"id": 55964850,
"node_id": "MDQ6VXNlcjU1OTY0ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/55964850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wccccp",
"html_url": "https://github.com/wccccp",
"followers_url": "https://api.github.com/users/wccccp/fo... | [] | closed | false | null | [] | [
"There seems to be an installation problem with `huggingface_hub`. You should try to uninstall and re-install it in your environment.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease ... | 1,669 | 1,704 | 1,672 | NONE | null | ### System Info
PS C:\Users\46213> transformers-cli env
Traceback (most recent call last):
File "C:\Users\46213\anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\46213\anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_global... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20470/comments | https://api.github.com/repos/huggingface/transformers/issues/20470/events | https://github.com/huggingface/transformers/issues/20470 | 1,466,358,825 | I_kwDOCUB6oc5XZtwp | 20,470 | Standardize expected input shapes for audio models | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"It's not possible to standardize this across all models, since some models naturally work on raw audio while others use various types of spectrograms.\r\n\r\nHowever, I feel that we should make the FeatureExtractors more flexible in the type of inputs they accept. \r\n\r\nFor example, right now, the Wav2Vec2Featur... | 1,669 | 1,672 | 1,672 | COLLABORATOR | null | ### Feature request
Hi, it seems some audio models expect `(batch_size, feature_size, n_frames)` (e.g. whisper) while others expect `(batch_size, sequence_length)` (e.g. wavlm, wav2vec2). Could this be standardized? It seems like the naming follows `input_features` vs `input_values` (but wav2vec2 feature extractor r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20470/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20469/comments | https://api.github.com/repos/huggingface/transformers/issues/20469/events | https://github.com/huggingface/transformers/pull/20469 | 1,466,311,523 | PR_kwDOCUB6oc5Dy_pI | 20,469 | fix both failing RoCBert tests | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"The two tests no pass locally (which was not the case before) ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Fixes two failing test :
- tokenization test did not take into account that the dummy tokenizer's `pad_token_id = 2` and `bos_token_id = 1`. The values used were `102, 101`.
- on of the modeling test used `assertEqual` on tensors and not list, which is ambigus.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20469/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20469",
"html_url": "https://github.com/huggingface/transformers/pull/20469",
"diff_url": "https://github.com/huggingface/transformers/pull/20469.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20469.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20468/comments | https://api.github.com/repos/huggingface/transformers/issues/20468/events | https://github.com/huggingface/transformers/pull/20468 | 1,466,109,074 | PR_kwDOCUB6oc5DyTrT | 20,468 | Fix doctests for audio models | {
"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 failing (TF) test is irrelevant to this PR."
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
The condition was wrong (`[]` should be `()`) and failed some doctests as they get wrong classes
```python
if ["SequenceClassification" in model_class or "AudioClassification" in model_class]
```
should be
```python
if ("SequenceClassification" in model_class or "AudioClassification" ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20468/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20468",
"html_url": "https://github.com/huggingface/transformers/pull/20468",
"diff_url": "https://github.com/huggingface/transformers/pull/20468.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20468.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20467/comments | https://api.github.com/repos/huggingface/transformers/issues/20467/events | https://github.com/huggingface/transformers/pull/20467 | 1,466,057,421 | PR_kwDOCUB6oc5DyIhN | 20,467 | Fix device issues in CLIPSeg tests | {
"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,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Just add `to.(torch_device)` in a few places | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20467/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20467",
"html_url": "https://github.com/huggingface/transformers/pull/20467",
"diff_url": "https://github.com/huggingface/transformers/pull/20467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20467.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20466/comments | https://api.github.com/repos/huggingface/transformers/issues/20466/events | https://github.com/huggingface/transformers/pull/20466 | 1,465,477,827 | PR_kwDOCUB6oc5DwPvG | 20,466 | RAG README & pl version updated | {
"login": "kaiiwoo",
"id": 80252411,
"node_id": "MDQ6VXNlcjgwMjUyNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/80252411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaiiwoo",
"html_url": "https://github.com/kaiiwoo",
"followers_url": "https://api.github.com/users/kaiiwo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20466). All of your documentation changes will be reflected on that endpoint.",
"> Thanks for your PR, but we don't maintain this example, nor do we want to update it to more recent versions of any libraries it uses\r\n\r\n... | 1,669 | 1,672 | 1,672 | 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/20466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20466",
"html_url": "https://github.com/huggingface/transformers/pull/20466",
"diff_url": "https://github.com/huggingface/transformers/pull/20466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20465/comments | https://api.github.com/repos/huggingface/transformers/issues/20465/events | https://github.com/huggingface/transformers/pull/20465 | 1,465,347,360 | PR_kwDOCUB6oc5Dv2l7 | 20,465 | [Fix a small bug] Misleading use of variable names | {
"login": "anonNo2",
"id": 20515543,
"node_id": "MDQ6VXNlcjIwNTE1NTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/20515543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anonNo2",
"html_url": "https://github.com/anonNo2",
"followers_url": "https://api.github.com/users/anonNo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20465). All of your documentation changes will be reflected on that endpoint.",
"We do not maintain those examples, they are given as is :-) You can try pinging the original author to see if they agree with the change howev... | 1,669 | 1,672 | 1,672 | 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/20465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20465",
"html_url": "https://github.com/huggingface/transformers/pull/20465",
"diff_url": "https://github.com/huggingface/transformers/pull/20465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20465.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20464/comments | https://api.github.com/repos/huggingface/transformers/issues/20464/events | https://github.com/huggingface/transformers/pull/20464 | 1,465,334,446 | PR_kwDOCUB6oc5Dv0Hx | 20,464 | [fix bug] Although this bug will not have any impact on rag here (bec… | {
"login": "anonNo2",
"id": 20515543,
"node_id": "MDQ6VXNlcjIwNTE1NTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/20515543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anonNo2",
"html_url": "https://github.com/anonNo2",
"followers_url": "https://api.github.com/users/anonNo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | NONE | null | …ause em is used as the evaluation metric), if you add bleu or rouge here, this bug will have an incorrect impact
# 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 mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20464",
"html_url": "https://github.com/huggingface/transformers/pull/20464",
"diff_url": "https://github.com/huggingface/transformers/pull/20464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20464.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20463/comments | https://api.github.com/repos/huggingface/transformers/issues/20463/events | https://github.com/huggingface/transformers/pull/20463 | 1,465,114,387 | PR_kwDOCUB6oc5DvKxH | 20,463 | Replace assertions with value errors on distilbert model | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you so much!\r\n",
"Thank you so much for your guidance and help!"
] | 1,669 | 1,670 | 1,669 | CONTRIBUTOR | null | # Replace assertions with ValueErros on distilbert model
This PR is made to check if the valid checks made from #20433 pass for all cases.
Co-author: @batese2001
To: @younesbelkada | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20463",
"html_url": "https://github.com/huggingface/transformers/pull/20463",
"diff_url": "https://github.com/huggingface/transformers/pull/20463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20462/comments | https://api.github.com/repos/huggingface/transformers/issues/20462/events | https://github.com/huggingface/transformers/pull/20462 | 1,465,110,750 | PR_kwDOCUB6oc5DvKEh | 20,462 | Replace assertions with value errors on distilbert model #20433 | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This is a demonstrative PR to see if #20433 errors are resolved or not.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20462). All of your documentation changes will be reflected on that endpoint."
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20462",
"html_url": "https://github.com/huggingface/transformers/pull/20462",
"diff_url": "https://github.com/huggingface/transformers/pull/20462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20462.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20461/comments | https://api.github.com/repos/huggingface/transformers/issues/20461/events | https://github.com/huggingface/transformers/pull/20461 | 1,465,089,703 | PR_kwDOCUB6oc5DvGIo | 20,461 | FixAuxiliaryLossForDeformableDetr | {
"login": "long8v",
"id": 46675408,
"node_id": "MDQ6VXNlcjQ2Njc1NDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/46675408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/long8v",
"html_url": "https://github.com/long8v",
"followers_url": "https://api.github.com/users/long8v/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,669 | 1,672 | 1,672 | CONTRIBUTOR | null | # What does this PR do?
DeformableDetr does not work when auxiliary_loss=True.
Since Deformable Detr has list of class_embed, bbox_embed, this code will raise NotImplementedError.
```python
intermediate = outputs.intermediate_hidden_states if return_dict else outputs[4]
outputs_clas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20461/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20461",
"html_url": "https://github.com/huggingface/transformers/pull/20461",
"diff_url": "https://github.com/huggingface/transformers/pull/20461.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20461.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20460/comments | https://api.github.com/repos/huggingface/transformers/issues/20460/events | https://github.com/huggingface/transformers/pull/20460 | 1,465,087,496 | PR_kwDOCUB6oc5DvFuV | 20,460 | FixValidRatioForDeformableDetr | {
"login": "long8v",
"id": 46675408,
"node_id": "MDQ6VXNlcjQ2Njc1NDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/46675408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/long8v",
"html_url": "https://github.com/long8v",
"followers_url": "https://api.github.com/users/long8v/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't think it is related with my PR. As you can see, my commit is about forward result in batch inference, and has nothing to do with repo consistency, build test, and so on.",
"Hi, \r\n\r\nFor repo consistency, you need to run ... | 1,669 | 1,672 | 1,672 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20460",
"html_url": "https://github.com/huggingface/transformers/pull/20460",
"diff_url": "https://github.com/huggingface/transformers/pull/20460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20460.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20459/comments | https://api.github.com/repos/huggingface/transformers/issues/20459/events | https://github.com/huggingface/transformers/pull/20459 | 1,464,971,180 | PR_kwDOCUB6oc5Duuq6 | 20,459 | Efficientformer | {
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @Bearnardd, thank you for working on this! Could you run `make fixup` to fix the failed style and code quality tests?\r\n\r\nAlso, type casting function arguments (e.g. `def something(arg1: torch.Tensor):`) causes errors if the type depends on a conditionally imported library (torch), you can see the failed te... | 1,669 | 1,674 | 1,674 | CONTRIBUTOR | null | This PR adds Efficientformer, a model that has similar latency as MobileNets, but achieves better accuracy on ImageNet. It is based on the closed PR: https://github.com/huggingface/transformers/pull/18296
Paper: https://arxiv.org/abs/2206.01191
Code and weights: https://github.com/snap-research/EfficientFormer
F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20459",
"html_url": "https://github.com/huggingface/transformers/pull/20459",
"diff_url": "https://github.com/huggingface/transformers/pull/20459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20459.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20458/comments | https://api.github.com/repos/huggingface/transformers/issues/20458/events | https://github.com/huggingface/transformers/pull/20458 | 1,464,850,702 | PR_kwDOCUB6oc5DuYI6 | 20,458 | [CLIPTokenizer] Improve warning | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I feel it's a bit better with a comma or even a period. \r\n\r\n```\r\n\"ftfy or spacy is not installed, using custom BasicTokenizer instead of ftfy.\"\r\n```\r\n\r\nI am super motivated to open a PR if you even allow me to just add ... | 1,669 | 1,669 | 1,669 | MEMBER | 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/20458/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/20458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20458",
"html_url": "https://github.com/huggingface/transformers/pull/20458",
"diff_url": "https://github.com/huggingface/transformers/pull/20458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20457/comments | https://api.github.com/repos/huggingface/transformers/issues/20457/events | https://github.com/huggingface/transformers/issues/20457 | 1,464,846,428 | I_kwDOCUB6oc5XT8hc | 20,457 | No module named 'keras.saving.hdf5_format' | {
"login": "cvinker",
"id": 13070943,
"node_id": "MDQ6VXNlcjEzMDcwOTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/13070943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cvinker",
"html_url": "https://github.com/cvinker",
"followers_url": "https://api.github.com/users/cvinke... | [] | closed | false | null | [] | [
"Ah, I used `pip install git+https://github.com/huggingface/transformers` works now."
] | 1,669 | 1,669 | 1,669 | NONE | null | I am running a virtual instance of Ubuntu 22.04LTS on Google Cloud. I have followed these instructions:[https://huggingface.co/docs/transformers/installation](url)
I am running solely CPU so I followed the instructions for that. Independently installed tensorflow, flax, and pytorch without error.
After doing this an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20457/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20456/comments | https://api.github.com/repos/huggingface/transformers/issues/20456/events | https://github.com/huggingface/transformers/pull/20456 | 1,464,831,208 | PR_kwDOCUB6oc5DuUDU | 20,456 | Fix typo in FSMT Tokenizer | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | 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/20456/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/20456/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20456",
"html_url": "https://github.com/huggingface/transformers/pull/20456",
"diff_url": "https://github.com/huggingface/transformers/pull/20456.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20456.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20455/comments | https://api.github.com/repos/huggingface/transformers/issues/20455/events | https://github.com/huggingface/transformers/pull/20455 | 1,464,771,667 | PR_kwDOCUB6oc5DuHmY | 20,455 | Fix links of `contrastive_loss` | {
"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,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
We copied/pasted/replaced, but here we should not replace CLIP by the new model name. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20455/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20455",
"html_url": "https://github.com/huggingface/transformers/pull/20455",
"diff_url": "https://github.com/huggingface/transformers/pull/20455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20455.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20454/comments | https://api.github.com/repos/huggingface/transformers/issues/20454/events | https://github.com/huggingface/transformers/pull/20454 | 1,464,737,247 | PR_kwDOCUB6oc5DuARi | 20,454 | [trainer] apex test fix | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | there was a small mistake in a test of https://github.com/huggingface/transformers/pull/18961, this PR fixes it.
the main CI doesn't have apex installed that's why it missed it.
Thank you, @ydshieh for the heads up about the breakage
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20454/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20454",
"html_url": "https://github.com/huggingface/transformers/pull/20454",
"diff_url": "https://github.com/huggingface/transformers/pull/20454.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20454.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20453/comments | https://api.github.com/repos/huggingface/transformers/issues/20453/events | https://github.com/huggingface/transformers/pull/20453 | 1,464,735,684 | PR_kwDOCUB6oc5Dt_8x | 20,453 | [Vision] Support different floating precision inputs from the `ImageProcessor` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20453). All of your documentation changes will be reflected on that endpoint.",
"I think this PR is ready, at least as a PoC! \r\nTo make the PR complete, for now the arg `float_precision` needs to be manually added for eac... | 1,669 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
This PR introduces the input casting mechanism for image processors. Since the introduction of `accelerate` supported models for Vision, I have been playing around with half-precision models. I found it a bit inintuitive to manually cast the `pixel_values` outside the `ImageProcessor` class. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20453/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20453",
"html_url": "https://github.com/huggingface/transformers/pull/20453",
"diff_url": "https://github.com/huggingface/transformers/pull/20453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20453.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20452/comments | https://api.github.com/repos/huggingface/transformers/issues/20452/events | https://github.com/huggingface/transformers/issues/20452 | 1,464,563,410 | I_kwDOCUB6oc5XS3bS | 20,452 | Documentation missing is_decoder | {
"login": "cronoik",
"id": 18630848,
"node_id": "MDQ6VXNlcjE4NjMwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cronoik",
"html_url": "https://github.com/cronoik",
"followers_url": "https://api.github.com/users/cronoi... | [] | closed | false | null | [] | [
"Thanks for flagging. Would you like to open a PR with a fix?"
] | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | ### System Info
Not relevant. Issue is about online documentation.
### Who can help?
@sgugger @stevhliu
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20451/comments | https://api.github.com/repos/huggingface/transformers/issues/20451/events | https://github.com/huggingface/transformers/issues/20451 | 1,464,555,501 | I_kwDOCUB6oc5XS1ft | 20,451 | Wav2Vec2 adapter layer being ignored at random | {
"login": "OllieBroadhurst",
"id": 46894149,
"node_id": "MDQ6VXNlcjQ2ODk0MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/46894149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OllieBroadhurst",
"html_url": "https://github.com/OllieBroadhurst",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi, I think it's because `Wav2Vec2AdapterLayer` layers got dropped out here.\r\n\r\nhttps://github.com/huggingface/transformers/blob/61d3928bfb3029bceb5be3e68ca3d4bf8456758f/src/transformers/models/wav2vec2/modeling_wav2vec2.py#L1006-L1009\r\n\r\nYou can pass `layerdrop=0` to `from_pretrained()` to deactivate it.\... | 1,669 | 1,670 | 1,669 | CONTRIBUTOR | null | ### System Info
Hi there!
During training, the hidden states of the base Wav2Vec2 model seem to be randomly skipping the adapter layer [here](https://github.com/huggingface/transformers/blob/main/src/transformers/models/wav2vec2/modeling_wav2vec2.py#L1322).
Just repeatedly running a forward pass with the same ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20450/comments | https://api.github.com/repos/huggingface/transformers/issues/20450/events | https://github.com/huggingface/transformers/pull/20450 | 1,464,501,925 | PR_kwDOCUB6oc5DtOLJ | 20,450 | fix `word_to_tokens` docstring format | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | 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/20450/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/20450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20450",
"html_url": "https://github.com/huggingface/transformers/pull/20450",
"diff_url": "https://github.com/huggingface/transformers/pull/20450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20449/comments | https://api.github.com/repos/huggingface/transformers/issues/20449/events | https://github.com/huggingface/transformers/issues/20449 | 1,464,474,725 | I_kwDOCUB6oc5XShxl | 20,449 | Encoding.word_to_tokens() returns None within valid sequence | {
"login": "carschno",
"id": 4696228,
"node_id": "MDQ6VXNlcjQ2OTYyMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4696228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carschno",
"html_url": "https://github.com/carschno",
"followers_url": "https://api.github.com/users/carsc... | [] | closed | false | null | [] | [
"Hi @carschno , \r\nThank you very much for bringing the problem to our attention! It is indeed information filled in the docstring of the method but there is a problem when rendering this documentation on our site. I'm trying to fix it in this PR #20450 .",
"I see, it is a documentation issue. Thanks for looking... | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
- `transformers` version: 4.23.1
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.10.6
- 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)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20448/comments | https://api.github.com/repos/huggingface/transformers/issues/20448/events | https://github.com/huggingface/transformers/issues/20448 | 1,464,387,199 | I_kwDOCUB6oc5XSMZ_ | 20,448 | Could you do `pip show huggingface_hub`? | {
"login": "wccccp",
"id": 55964850,
"node_id": "MDQ6VXNlcjU1OTY0ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/55964850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wccccp",
"html_url": "https://github.com/wccccp",
"followers_url": "https://api.github.com/users/wccccp/fo... | [] | closed | false | null | [] | [
"This issue appears to have been opened in error. If this is the case @wccccp you can close this Issue Request using the buttons below 👇 ",
"> This issue appears to have been opened in error. If this is the case @wccccp you can close this Issue Request using the buttons below 👇\r\n\r\nthank you"
] | 1,669 | 1,669 | 1,669 | NONE | null | Could you do `pip show huggingface_hub`?
_Originally posted by @NielsRogge in https://github.com/huggingface/transformers/issues/20447#issuecomment-1327215502_
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20447/comments | https://api.github.com/repos/huggingface/transformers/issues/20447/events | https://github.com/huggingface/transformers/issues/20447 | 1,464,259,473 | I_kwDOCUB6oc5XRtOR | 20,447 | ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (C:\Users\46213\anaconda3\lib\site-packages\huggingface_hub\__init__.py) | {
"login": "wccccp",
"id": 55964850,
"node_id": "MDQ6VXNlcjU1OTY0ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/55964850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wccccp",
"html_url": "https://github.com/wccccp",
"followers_url": "https://api.github.com/users/wccccp/fo... | [] | closed | false | null | [] | [
"Could you do `pip show huggingface_hub`?",
"> \r\n\r\n(base) C:\\Users\\46213>pip show huggingface_hub\r\nName: huggingface-hub\r\nVersion: 0.10.1\r\nSummary: Client library to download and publish models, datasets and other repos on the huggingface.co hub\r\nHome-page: https://github.com/huggingface/huggingface... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
windows
python=3.9
transformers 4.23.1
pytorch 1.13.0 py3.9_cuda11.6_cudnn8_0 pytorch
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20447/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/20447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20446/comments | https://api.github.com/repos/huggingface/transformers/issues/20446/events | https://github.com/huggingface/transformers/pull/20446 | 1,464,170,025 | PR_kwDOCUB6oc5DsGus | 20,446 | Add AltCLIP | {
"login": "jongjyh",
"id": 37979232,
"node_id": "MDQ6VXNlcjM3OTc5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/37979232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jongjyh",
"html_url": "https://github.com/jongjyh",
"followers_url": "https://api.github.com/users/jongjy... | [] | closed | false | null | [] | [
"@jongjyh @shunxing1234\r\n\r\nIf there is anything unclear, or you need help regarding the commit conflict, don't hesitate!",
"@sgugger @ydshieh Thanks! I'll fix it. :)\r\nBy the way, is there only processor need to be redefine? Do we need to check out all classes?",
"model, config and processor should be r... | 1,669 | 1,672 | 1,672 | CONTRIBUTOR | null | # Adding AltCLIP
We add AltCLIP model.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20446",
"html_url": "https://github.com/huggingface/transformers/pull/20446",
"diff_url": "https://github.com/huggingface/transformers/pull/20446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20446.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20445/comments | https://api.github.com/repos/huggingface/transformers/issues/20445/events | https://github.com/huggingface/transformers/pull/20445 | 1,464,140,437 | PR_kwDOCUB6oc5DsAgc | 20,445 | with pytorch cpu only version. without --no_cuda, using --bf16 will t… | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | …rigger error like "Your setup doesn't support bf16/gpu. You need torch>=1.10, using Ampere GPU with cuda>=11.0"
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20445",
"html_url": "https://github.com/huggingface/transformers/pull/20445",
"diff_url": "https://github.com/huggingface/transformers/pull/20445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20444/comments | https://api.github.com/repos/huggingface/transformers/issues/20444/events | https://github.com/huggingface/transformers/pull/20444 | 1,464,054,504 | PR_kwDOCUB6oc5DrutS | 20,444 | update cpu related doc | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@jianan-gu @sgugger please review the doc update"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20444",
"html_url": "https://github.com/huggingface/transformers/pull/20444",
"diff_url": "https://github.com/huggingface/transformers/pull/20444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20444.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20443/comments | https://api.github.com/repos/huggingface/transformers/issues/20443/events | https://github.com/huggingface/transformers/pull/20443 | 1,463,736,182 | PR_kwDOCUB6oc5DqsKD | 20,443 | add timeout option for deepspeed engine | {
"login": "henghuiz",
"id": 116645822,
"node_id": "U_kgDOBvPfvg",
"avatar_url": "https://avatars.githubusercontent.com/u/116645822?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/henghuiz",
"html_url": "https://github.com/henghuiz",
"followers_url": "https://api.github.com/users/henghuiz/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
This PR allows users to set socket timeout for deepspeed engine for multiple instance training.
<!--
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 gre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20443",
"html_url": "https://github.com/huggingface/transformers/pull/20443",
"diff_url": "https://github.com/huggingface/transformers/pull/20443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20442/comments | https://api.github.com/repos/huggingface/transformers/issues/20442/events | https://github.com/huggingface/transformers/issues/20442 | 1,463,710,458 | I_kwDOCUB6oc5XPnL6 | 20,442 | Error while importing pretrained model | {
"login": "orectique",
"id": 49713741,
"node_id": "MDQ6VXNlcjQ5NzEzNzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/49713741?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orectique",
"html_url": "https://github.com/orectique",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @orectique. Have you tried to do something like the following:\r\nhttps://discuss.pytorch.org/t/nameerror-name-c-is-not-defined-while-importing-torch/124721/2 \r\nor\r\nhttps://github.com/pytorch/pytorch/issues/1633#issuecomment-323435572",
"Thank you, @atturaioe. I explored both of those forums and tried the... | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
- `transformers` version: 4.23.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.6
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.13.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20441/comments | https://api.github.com/repos/huggingface/transformers/issues/20441/events | https://github.com/huggingface/transformers/pull/20441 | 1,463,663,752 | PR_kwDOCUB6oc5DqcuA | 20,441 | Add ViViT | {
"login": "jegork",
"id": 43540177,
"node_id": "MDQ6VXNlcjQzNTQwMTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43540177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jegork",
"html_url": "https://github.com/jegork",
"followers_url": "https://api.github.com/users/jegork/fo... | [] | closed | false | null | [] | [
"Hello, @jegork thanks for the PR! Having some experience in adding tests and fixing repo-consistency/style, I can help you with these aspects if you need any :+1: Feel free to tag me when needed.",
"cc @alaradirik and @NielsRogge ",
"Hi @jegork, thanks for working on this! \r\n\r\nI saw that it's not possible... | 1,669 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15666
Add Video Vision Transformer to transformers. This PR implements a spacetime version of the Video Vision Transformer from the original paper.
I have provided the model weights here https://huggingface.co/jegormeister/vivit-b-16x2-kinetics400
I will try to add Factorised ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20441",
"html_url": "https://github.com/huggingface/transformers/pull/20441",
"diff_url": "https://github.com/huggingface/transformers/pull/20441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20441.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20440/comments | https://api.github.com/repos/huggingface/transformers/issues/20440/events | https://github.com/huggingface/transformers/issues/20440 | 1,463,656,580 | I_kwDOCUB6oc5XPaCE | 20,440 | Adding a repr to pipelines | {
"login": "payoto",
"id": 18074599,
"node_id": "MDQ6VXNlcjE4MDc0NTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/18074599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/payoto",
"html_url": "https://github.com/payoto",
"followers_url": "https://api.github.com/users/payoto/fo... | [] | closed | false | null | [] | [
"cc @Narsil ",
"@payoto ,\r\n\r\nThis seems like a good idea ! \r\n\r\nI'm slightly worried about the size of the `repr` though. It's already really large with your example, and you are missing the extra `_{preprocess,forward,postprocess}_params`. (Which are important imo)\r\n\r\nAs a start, I would use exactly w... | 1,669 | 1,672 | 1,672 | NONE | null | ### Feature request
Would you be interested in adding a `__repr__` to the `Pipeline` class?
### Motivation
This could be used to display useful information after instantiation, particularly in interactive environments like Jupyter. A useful representation would be very useful to display what defaults were loaded by ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20440/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20439/comments | https://api.github.com/repos/huggingface/transformers/issues/20439/events | https://github.com/huggingface/transformers/pull/20439 | 1,463,650,404 | PR_kwDOCUB6oc5DqZ14 | 20,439 | Include image processor in add-new-model-like | {
"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 The test requires all three frameworks (PyTorch, TensorFlow and Flax) so it is never run in the CI.",
"OK, I completely misunderstand `Add model like runner / Add new model like template tests (pull_request)`.\r\nIgnore my... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
* Adds logic to `add-new-model-like` CLI to include image processors
* Updates `tests/utils/add_new_model_like.py` so tests run (was outdated)
## 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 rea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20439",
"html_url": "https://github.com/huggingface/transformers/pull/20439",
"diff_url": "https://github.com/huggingface/transformers/pull/20439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20439.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20438/comments | https://api.github.com/repos/huggingface/transformers/issues/20438/events | https://github.com/huggingface/transformers/issues/20438 | 1,463,491,307 | I_kwDOCUB6oc5XOxrr | 20,438 | transformers + deepspeed hangs when training on multiple GPUs | {
"login": "mmarius",
"id": 24918508,
"node_id": "MDQ6VXNlcjI0OTE4NTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/24918508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmarius",
"html_url": "https://github.com/mmarius",
"followers_url": "https://api.github.com/users/mmariu... | [] | closed | false | null | [] | [
"This is the output produced by the minimal example. It keeps running forever and does not produce any new output.\r\n\r\n\r\n\r\n Detected CUDA_VISIBLE_DEVICES=GPU-460af155,GPU-457e4df4,GPU-08f1eba5,GPU-4793f3fd,GPU-cbc5b6ef,GPU-aa661638,GPU-a39d482a,GPU-dc0ceb93 but ignoring it because one or several of --incl... | 1,669 | 1,681 | 1,672 | NONE | null | ### System Info
My code runs inside an NVIDIA docker container `nvcr.io/nvidia/pytorch:22.05-py3`.
The installed dependencies are listed here: https://docs.nvidia.com/deeplearning/frameworks/support-matrix/index.html#framework-matrix-2022
I'm using the following versions for transformers and deepspeed:
- t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20437/comments | https://api.github.com/repos/huggingface/transformers/issues/20437/events | https://github.com/huggingface/transformers/pull/20437 | 1,463,454,125 | PR_kwDOCUB6oc5DpvvA | 20,437 | Rework the pipeline tutorial | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Should we also make a brief mention of [chunk batching](https://huggingface.co/docs/transformers/main_classes/pipelines#pipeline-chunk-batching)?\r\n\r\nI feel like it's nice that it is transparent for most users, but adding a link... | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
- Switch to `asr` instead of another NLP task.
- It also has simpler to understand results.
- Added a section with interaction with `datasets`.
- Added a section with writing a simple webserver.
Should help users: https://github.com/huggingface/transformers/issues/20414
@stevhliu
@... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20437/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/20437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20437",
"html_url": "https://github.com/huggingface/transformers/pull/20437",
"diff_url": "https://github.com/huggingface/transformers/pull/20437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20437.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20436/comments | https://api.github.com/repos/huggingface/transformers/issues/20436/events | https://github.com/huggingface/transformers/pull/20436 | 1,463,365,533 | PR_kwDOCUB6oc5Dpc3Q | 20,436 | Fix ESM checkpoints for tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | MEMBER | null | Some of the ESM tests were still using my checkpoints instead of `facebook/` ones, so this PR fixes that! Also, TF inference tests are now enabled. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20436",
"html_url": "https://github.com/huggingface/transformers/pull/20436",
"diff_url": "https://github.com/huggingface/transformers/pull/20436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20436.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20435/comments | https://api.github.com/repos/huggingface/transformers/issues/20435/events | https://github.com/huggingface/transformers/issues/20435 | 1,463,314,027 | I_kwDOCUB6oc5XOGZr | 20,435 | Add DPT-hybrid | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 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 @NielsRogge Can I take this up if no one is working on it?",
"This would be great @nandwalritik ! The Stable Diffusion Depth estimation model depends on it, so we'd definitely help you in whatever way we can :-) ",
"@NielsRogge should we port the ResNetv2 exactly like ResNetv1: https://github.com/huggingfac... | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | ### Model description
DPT-hybrid is used in Stable Diffusion 2.0's depth model and is also a nice depth estimation model in general.
We already support [DPT](https://huggingface.co/docs/transformers/model_doc/dpt) - which is also the default model of our [depth estimation pipeline](https://huggingface.co/docs/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20435/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/20435/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20434/comments | https://api.github.com/repos/huggingface/transformers/issues/20434/events | https://github.com/huggingface/transformers/pull/20434 | 1,462,862,817 | PR_kwDOCUB6oc5DnwK4 | 20,434 | make tensors in function build_relative_position created on proper device | {
"login": "qq775294390",
"id": 30080441,
"node_id": "MDQ6VXNlcjMwMDgwNDQx",
"avatar_url": "https://avatars.githubusercontent.com/u/30080441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qq775294390",
"html_url": "https://github.com/qq775294390",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | …vice instead of always on cpu
# 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 contributi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20434",
"html_url": "https://github.com/huggingface/transformers/pull/20434",
"diff_url": "https://github.com/huggingface/transformers/pull/20434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20434.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20433/comments | https://api.github.com/repos/huggingface/transformers/issues/20433/events | https://github.com/huggingface/transformers/pull/20433 | 1,462,848,843 | PR_kwDOCUB6oc5DntJN | 20,433 | Replace assertions with ValueErros on distilbert model | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This is a new PR of my own based on your suggestion from [here](https://github.com/huggingface/transformers/pull/20375). files which improved to pass all the validity checks. \r\nCan I ask for your further suggestions for this PR to ... | 1,669 | 1,670 | 1,669 | CONTRIBUTOR | null | Co-author: @batese2001
This is an extended PR from [here](https://github.com/huggingface/transformers/pull/20432) for new valid-checks to improve _code quality._
This raises exceptions on Multi-head Attention models for following specified conditions on the _Distilbert_ model.
This successfully replaces asserti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20433",
"html_url": "https://github.com/huggingface/transformers/pull/20433",
"diff_url": "https://github.com/huggingface/transformers/pull/20433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20433.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20432/comments | https://api.github.com/repos/huggingface/transformers/issues/20432/events | https://github.com/huggingface/transformers/pull/20432 | 1,462,803,217 | PR_kwDOCUB6oc5DnjS1 | 20,432 | Raise Value Error on Distilbert Model | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Validity Checks will be improved. Closing PR."
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | Co-author: @batese2001
This PR is a new PR extended from https://github.com/huggingface/transformers/pull/20375. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20432",
"html_url": "https://github.com/huggingface/transformers/pull/20432",
"diff_url": "https://github.com/huggingface/transformers/pull/20432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20432.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20431/comments | https://api.github.com/repos/huggingface/transformers/issues/20431/events | https://github.com/huggingface/transformers/issues/20431 | 1,462,711,390 | I_kwDOCUB6oc5XLzRe | 20,431 | Last hidden states different for same input even when evaluating ViT model | {
"login": "robbohua",
"id": 97416182,
"node_id": "U_kgDOBc5z9g",
"avatar_url": "https://avatars.githubusercontent.com/u/97416182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robbohua",
"html_url": "https://github.com/robbohua",
"followers_url": "https://api.github.com/users/robbohua/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYes ViTMAE generates a random boolean mask to mask patches internally. This results in non-deterministic hidden states when you perform a forward pass twice on the same image.\r\n\r\nTo get deterministic behaviour, you can pass a noise tensor yourself as shown [here](https://github.com/huggingface/trans... | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
Google Colab
### Who can help?
@NielsRogge @sg
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
I've... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20430/comments | https://api.github.com/repos/huggingface/transformers/issues/20430/events | https://github.com/huggingface/transformers/issues/20430 | 1,462,662,334 | I_kwDOCUB6oc5XLnS- | 20,430 | Questions on ViT and ViT-MAE model image preprocessing | {
"login": "zhoutong-fu",
"id": 64811959,
"node_id": "MDQ6VXNlcjY0ODExOTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/64811959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhoutong-fu",
"html_url": "https://github.com/zhoutong-fu",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in ViT and ViT MAE!\r\n\r\nRegarding point 1; ViT was ported from the timm library, which also uses a scale factor of 1/255. This can be verified as follows:\r\n\r\n```\r\nfrom timm.data import resolve_data_config\r\nfrom timm.data.transforms_factory import create_transform\r\n\... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
Latest version
### Who can help?
@NielsRogge
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
Hi @Ni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20429/comments | https://api.github.com/repos/huggingface/transformers/issues/20429/events | https://github.com/huggingface/transformers/pull/20429 | 1,462,607,319 | PR_kwDOCUB6oc5Dm5d6 | 20,429 | Pass output options to FLAVA multimodal transformer block | {
"login": "KhoomeiK",
"id": 32777448,
"node_id": "MDQ6VXNlcjMyNzc3NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/32777448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KhoomeiK",
"html_url": "https://github.com/KhoomeiK",
"followers_url": "https://api.github.com/users/Kho... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20429). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,669 | 1,672 | 1,672 | NONE | null | # What does this PR do?
Currently, the FLAVA model passes `output_attentions` and `output_hidden_states` only to its text & image blocks, preventing external access to cross-modal attentions in the multimodal block. This simple PR adds this ability by passing the `output_attentions` and `output_hidden_states` options ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20429/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20429",
"html_url": "https://github.com/huggingface/transformers/pull/20429",
"diff_url": "https://github.com/huggingface/transformers/pull/20429.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20429.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20428/comments | https://api.github.com/repos/huggingface/transformers/issues/20428/events | https://github.com/huggingface/transformers/issues/20428 | 1,462,433,497 | I_kwDOCUB6oc5XKvbZ | 20,428 | Migarate old cache to transformers v4.22.0 | {
"login": "yzGao22",
"id": 104778707,
"node_id": "U_kgDOBj7L0w",
"avatar_url": "https://avatars.githubusercontent.com/u/104778707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzGao22",
"html_url": "https://github.com/yzGao22",
"followers_url": "https://api.github.com/users/yzGao22/foll... | [] | closed | false | null | [] | [
"I am also facing this issue with 4.24",
"Looks like there was a connection problem when the util tried to migrate the cache. If you don't care about the cached models, you can just ignore this, everything will work fine.\r\nTo try again to move an old cache to the new format, you can execute\r\n```\r\nfrom trans... | 1,669 | 1,693 | 1,672 | NONE | null | ### System Info
- `transformers` version: 4.22.0
- Platform: Linux-5.4.0-1089-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20428/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20427/comments | https://api.github.com/repos/huggingface/transformers/issues/20427/events | https://github.com/huggingface/transformers/pull/20427 | 1,462,417,504 | PR_kwDOCUB6oc5DmPhi | 20,427 | Add deprecation warning when image FE instantiated | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Adds a deprecation warning if someone tries to create a vision feature extractor.
## 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://github.com/huggingface/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20427",
"html_url": "https://github.com/huggingface/transformers/pull/20427",
"diff_url": "https://github.com/huggingface/transformers/pull/20427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20427.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20426/comments | https://api.github.com/repos/huggingface/transformers/issues/20426/events | https://github.com/huggingface/transformers/pull/20426 | 1,462,388,132 | PR_kwDOCUB6oc5DmJLx | 20,426 | Pipeline testing - using tiny models on 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._",
"_The documentation is not available anymore as the PR was closed or merged._",
"Gently pining @LysandreJik for review at their convenience. We discussed last time offline the pipeline testing will eventually avoid using metaclass -... | 1,669 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Pipeline testing - using tiny models on Hub.
A few comments:
- This PR moves the tiny model creation from `PipelineTestCaseMeta` (where done dynamically during testing) to `utils/create_dummy_models.py` (where the tiny models are created once and live on the Hub):
- The logic is st... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20426/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20426",
"html_url": "https://github.com/huggingface/transformers/pull/20426",
"diff_url": "https://github.com/huggingface/transformers/pull/20426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20426.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20425/comments | https://api.github.com/repos/huggingface/transformers/issues/20425/events | https://github.com/huggingface/transformers/pull/20425 | 1,462,384,207 | PR_kwDOCUB6oc5DmIUP | 20,425 | Add Donut image processor | {
"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._",
"I'm currently unable to create a PR myself but please note that `DonutImageProcessor.preprocess()` still calls `.pad()` instead of `.pad_image()`, generating a *lot* of logger noise...",
"@pasky Thanks for raising! This should now ... | 1,669 | 1,672 | 1,669 | COLLABORATOR | null | # What does this PR do?
Adds an image processor for Donut.
## 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://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20425/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20425",
"html_url": "https://github.com/huggingface/transformers/pull/20425",
"diff_url": "https://github.com/huggingface/transformers/pull/20425.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20425.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20424/comments | https://api.github.com/repos/huggingface/transformers/issues/20424/events | https://github.com/huggingface/transformers/pull/20424 | 1,462,371,389 | PR_kwDOCUB6oc5DmFc4 | 20,424 | Make `add_special_tokens` more clear | {
"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,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Fix tokenization. The short term goal is to fix #20418 (well, make things more clear)
The long term goal is to be able to have a generic fix for #20401, but the tokenizer thing is somehow complicated, and I can only fix step by step.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20424",
"html_url": "https://github.com/huggingface/transformers/pull/20424",
"diff_url": "https://github.com/huggingface/transformers/pull/20424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20423/comments | https://api.github.com/repos/huggingface/transformers/issues/20423/events | https://github.com/huggingface/transformers/issues/20423 | 1,462,285,251 | I_kwDOCUB6oc5XKLPD | 20,423 | ImportError: tokenizers>=0.11.1,!=0.11.3,<0.14 is required for a normal functioning of this module, but found tokenizers==0.10.3. Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main | {
"login": "Justinfungi",
"id": 79019929,
"node_id": "MDQ6VXNlcjc5MDE5OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/79019929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Justinfungi",
"html_url": "https://github.com/Justinfungi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @Justinfungi,\r\n\r\nCould you share the command you run that generates this error? Possibly the associated python script?\r\n\r\nThe error suggests that you have a version problem in your python environment. How did you install transformers? Did you try to run the recommended command \"Try: `pip install transf... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
I git the newest version
OS ubuntu system
python3
```
ImportError: tokenizers>=0.11.1,!=0.11.3,<0.14 is required for a normal functioning of this module, but found tokenizers==0.10.3.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
```
### Who ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20423/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20422/comments | https://api.github.com/repos/huggingface/transformers/issues/20422/events | https://github.com/huggingface/transformers/issues/20422 | 1,462,244,472 | I_kwDOCUB6oc5XKBR4 | 20,422 | Linguistic words (not word pieces) enter Transformer | {
"login": "fivehills",
"id": 40301946,
"node_id": "MDQ6VXNlcjQwMzAxOTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/40301946?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fivehills",
"html_url": "https://github.com/fivehills",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The model only \"knows\" the tokens present in the tokenizer vocabulary, so you won't be able to pass something else to it.",
"Many thanks! @sgugger\r\n\r\nI am wondering whether a separate third-party tokenizer tool (from existing packages) is able to first split sentences into natural words, and compute align... | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
Linux Debian
Bert
GPT
### Who can help?
@ArthurZucker
@SaulLu
@LysandreJik
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give detai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20422/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20421/comments | https://api.github.com/repos/huggingface/transformers/issues/20421/events | https://github.com/huggingface/transformers/pull/20421 | 1,462,216,162 | PR_kwDOCUB6oc5Dli8D | 20,421 | add in layer gpt2 tokenizer | {
"login": "piEsposito",
"id": 47679710,
"node_id": "MDQ6VXNlcjQ3Njc5NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piEsposito",
"html_url": "https://github.com/piEsposito",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just figured we have to solve some max lengths on the xla_tests. Changing the way we get the shapes broke some stuff. \r\n\r\nTomorrow I'll fix it either on the method or on all the broken tests. Feel free to do it if anyone here is ... | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
- Adds in layer `TFGPT2Tokenizer` to enable serialization and serving it with TF Serving
- Small fixes on Tensorflow generation utils and GPT2 attentions to use `tf.shape` instead of `Tensor.shape` to solve max sequence length; and
- Explicitly unstacking the past key values on TF GPT2 Atte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20421",
"html_url": "https://github.com/huggingface/transformers/pull/20421",
"diff_url": "https://github.com/huggingface/transformers/pull/20421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20421.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20420/comments | https://api.github.com/repos/huggingface/transformers/issues/20420/events | https://github.com/huggingface/transformers/pull/20420 | 1,462,206,497 | PR_kwDOCUB6oc5DlgzR | 20,420 | Add BioGPT | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@younesbelkada \r\nDone changes according to your suggestions.\r\nThanks for the review",
"Thanks @kamalkraj \nLet me give it another round of review and I'll get back to you",
"@sgugger \r\nDone changes according to your suggest... | 1,669 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Adding BioGPT
Original Implementation and weights - https://github.com/microsoft/BioGPT
<!--
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 tit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20420",
"html_url": "https://github.com/huggingface/transformers/pull/20420",
"diff_url": "https://github.com/huggingface/transformers/pull/20420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20420.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20419/comments | https://api.github.com/repos/huggingface/transformers/issues/20419/events | https://github.com/huggingface/transformers/pull/20419 | 1,462,130,006 | PR_kwDOCUB6oc5DlQEQ | 20,419 | Fix device in longformer onnx path | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"gently pinging @sgugger for final approval :)",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Longformer has a custom path in its `_chunk()` method, in order to be tracable (to some extent) + exportable to ONNX. https://github.com/huggingface/transformers/pull/20292 fixed a bug where this special path was always registering a non-general case:
https://github.com/huggingface/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20419",
"html_url": "https://github.com/huggingface/transformers/pull/20419",
"diff_url": "https://github.com/huggingface/transformers/pull/20419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20419.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20418/comments | https://api.github.com/repos/huggingface/transformers/issues/20418/events | https://github.com/huggingface/transformers/issues/20418 | 1,462,108,080 | I_kwDOCUB6oc5XJf-w | 20,418 | `additional_special_tokens` is replaced instead of being updated | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"I also saw this issue, and found it very unintuitive. Should be addressed in V5 imo. Cc @LysandreJik @SaulLu ",
"To share what has been discussed on slack. \r\n\r\nI think the naming is confusing but the current behavior of the method is useful because we need to be able to completely change the list of tokens a... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null |
### Reproduction
```
from transformers import T5Tokenizer
from transformers.tokenization_utils import AddedToken
tokenizer = T5Tokenizer.from_pretrained("t5-small", extra_ids=0, additional_special_tokens=["new_token_1"])
print(tokenizer.additional_special_tokens)
print(tokenizer.added_tokens_encoder)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20417/comments | https://api.github.com/repos/huggingface/transformers/issues/20417/events | https://github.com/huggingface/transformers/pull/20417 | 1,461,950,511 | PR_kwDOCUB6oc5DkpGc | 20,417 | Add FAN Model | {
"login": "kiansierra",
"id": 47116198,
"node_id": "MDQ6VXNlcjQ3MTE2MTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/47116198?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiansierra",
"html_url": "https://github.com/kiansierra",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @sgugger thanks for you're feedback. I'll try to implement the changes soon",
"Implemented suggestions by @sgugger.\r\n\r\nPending the change on the README.md path, since I'm uncertain if I need to change only the README.md path or the actual doc path.\r\n\r\nAlso pending rebase",
"Thanks for working on thi... | 1,669 | 1,675 | 1,675 | 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/20417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20417",
"html_url": "https://github.com/huggingface/transformers/pull/20417",
"diff_url": "https://github.com/huggingface/transformers/pull/20417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20417.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20416/comments | https://api.github.com/repos/huggingface/transformers/issues/20416/events | https://github.com/huggingface/transformers/pull/20416 | 1,461,894,406 | PR_kwDOCUB6oc5DkdFV | 20,416 | Fix ModelOutput instantiation when there is only one tuple | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
This PR fixes a bug discovered by @NielsRogge [here](https://github.com/huggingface/transformers/pull/20407#discussion_r1030465759).
To behave like a dict, `ModelOutput` need to accept a single iterator of key/value pairs as its first argument (otherwise many properties of dictionaries ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20416/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20416",
"html_url": "https://github.com/huggingface/transformers/pull/20416",
"diff_url": "https://github.com/huggingface/transformers/pull/20416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20416.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20415/comments | https://api.github.com/repos/huggingface/transformers/issues/20415/events | https://github.com/huggingface/transformers/issues/20415 | 1,461,867,752 | I_kwDOCUB6oc5XIlTo | 20,415 | GPT2LMHeadModel not working with mps device, RuntimeError: tensors must be 2-D | {
"login": "AlexVialaBellander",
"id": 42417723,
"node_id": "MDQ6VXNlcjQyNDE3NzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/42417723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexVialaBellander",
"html_url": "https://github.com/AlexVialaBellander",
"followers_url": "ht... | [] | closed | false | null | [] | [
"Looks like this comes from an op not implemented in PyTorch. I'd try upgrading PyTorch (even to the nigthlies) as support for MPS is still in progress on their side.",
"Thanks @sgugger, sorry for wasting your time. I had pytorch 1.12.1 and 1.13 worked fine."
] | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: macOS-13.0-arm64-arm-64bit
- Python version: 3.9.13
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20415/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20414/comments | https://api.github.com/repos/huggingface/transformers/issues/20414/events | https://github.com/huggingface/transformers/issues/20414 | 1,461,713,243 | I_kwDOCUB6oc5XH_lb | 20,414 | ASR Pipeline is not super user-friendly | {
"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 | [] | [
"One additional point! We can't pass generation kwargs to the `generate` method:\r\nhttps://github.com/huggingface/transformers/blob/0ee71188ff184ee5f8b70081665858301fe4afb1/src/transformers/pipelines/automatic_speech_recognition.py#L369-L372\r\n\r\nThis means our stdout is bombarded with UserWarnings from the `gen... | 1,669 | 1,682 | 1,682 | CONTRIBUTOR | null | ### Feature request
Firstly, thank you to @Narsil for developing a the speech recognition pipeline - it's incredibly helpful for running the full speech-to-text mapping in one call, pre and post-processing included.
There are a couple of things that currently mean the pipeline is not super compatible with 🤗 Datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20413/comments | https://api.github.com/repos/huggingface/transformers/issues/20413/events | https://github.com/huggingface/transformers/issues/20413 | 1,461,682,667 | I_kwDOCUB6oc5XH4Hr | 20,413 | DeBERTa-v2's build_relative_position method initializes tensor on cpu and costs much time | {
"login": "qq775294390",
"id": 30080441,
"node_id": "MDQ6VXNlcjMwMDgwNDQx",
"avatar_url": "https://avatars.githubusercontent.com/u/30080441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qq775294390",
"html_url": "https://github.com/qq775294390",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"We'd be happy to review a PR if you want to fix this :-)",
"> We'd be happy to review a PR if you want to fix this :-)\r\n\r\nThanks for replying, I've created a PR for this issue :-)"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-4.14.105-1-tlinux3-0013-x86_64-with-glibc2.10
- Python version: 3.8.3
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.10.1+cu113 (True)
- Tensorflow version (GPU?): 2.10.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20413/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20412/comments | https://api.github.com/repos/huggingface/transformers/issues/20412/events | https://github.com/huggingface/transformers/pull/20412 | 1,461,645,630 | PR_kwDOCUB6oc5Djm_k | 20,412 | Add run_mim_no_trainer.py example script | {
"login": "Saad135",
"id": 22683922,
"node_id": "MDQ6VXNlcjIyNjgzOTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/22683922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Saad135",
"html_url": "https://github.com/Saad135",
"followers_url": "https://api.github.com/users/Saad13... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20412). All of your documentation changes will be reflected on that endpoint.",
"@NielsRogge can I get some feedback on the code so far. Thanks :-). Could you also tell me if there are any specific tests that I need to run ... | 1,669 | 1,683 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Adds a no_trainer example script for image pretraining.
Relates to https://github.com/huggingface/transformers/issues/20053
@NielsRogge, It is still incomplete but could you please have a look at the code so far to see if something needs to be changed :-)
<!--
Congratulations! You'v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20412/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20412",
"html_url": "https://github.com/huggingface/transformers/pull/20412",
"diff_url": "https://github.com/huggingface/transformers/pull/20412.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20412.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20411/comments | https://api.github.com/repos/huggingface/transformers/issues/20411/events | https://github.com/huggingface/transformers/pull/20411 | 1,461,637,262 | PR_kwDOCUB6oc5DjlMA | 20,411 | `accelerate` support for `OwlViT` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks everyone! "
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
This PR adds `accelerate` support for `OwlViT` so that any model from this family can be loaded in `8-bit`! Here is a small snippet on how to load and run the model in `8-bit` (based on the snippet from the model card):
```
# pip install accelerate bitsandbytes
import requests
from PIL im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20411/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20411",
"html_url": "https://github.com/huggingface/transformers/pull/20411",
"diff_url": "https://github.com/huggingface/transformers/pull/20411.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20411.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20410/comments | https://api.github.com/repos/huggingface/transformers/issues/20410/events | https://github.com/huggingface/transformers/pull/20410 | 1,461,582,305 | PR_kwDOCUB6oc5DjZBf | 20,410 | [OWL VIT] make daily CI happy | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @ydshieh , just updated the description! \r\nYes without this change, the test would fail on GPU (`accelerate` tests excluded)"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
Fixes a slow test for OWLViT while trying to integrate `accelerate` support for this model!
cc @ydshieh @alaradirik
Slow test that was failing: `tests/models/owlvit/test_modeling_owlvit.py::OwlViTModelIntegrationTest::test_inference_one_shot_object_detection`
all slow tests pass!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20410",
"html_url": "https://github.com/huggingface/transformers/pull/20410",
"diff_url": "https://github.com/huggingface/transformers/pull/20410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20410.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20409/comments | https://api.github.com/repos/huggingface/transformers/issues/20409/events | https://github.com/huggingface/transformers/pull/20409 | 1,461,556,549 | PR_kwDOCUB6oc5DjTK1 | 20,409 | [BNB] Throw `ValueError` when trying to cast or assign | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"What happens if we don't have the changes in this PR and users try to do assign 8-bit loaded models into a new device and/or dtype?",
"Users can face unexpected behaviors such as: https://github.com/huggingface/transformers/issues/... | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
I have seen several piece of code where users try to assign `8-bit` loaded models into a new device and/or `dtype` this PR aims to throw an error to the users that perform this.
Also added a set of slow tests
cc @sgugger @ydshieh
Do not merge before #20408
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20409",
"html_url": "https://github.com/huggingface/transformers/pull/20409",
"diff_url": "https://github.com/huggingface/transformers/pull/20409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20409.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20408/comments | https://api.github.com/repos/huggingface/transformers/issues/20408/events | https://github.com/huggingface/transformers/pull/20408 | 1,461,555,696 | PR_kwDOCUB6oc5DjS-J | 20,408 | [BNB] fix nasty `bnb` bug | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a very nasty bug that can be reproduced with the following script:
```
from transformers import AutoModel
model_16bit = AutoModel.from_pretrained("bigscience/bloom-560m", device_map="auto", load_in_8bit=False)
model_8bit = AutoModel.from_pretrained("bigscience/bloom-560m"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20408",
"html_url": "https://github.com/huggingface/transformers/pull/20408",
"diff_url": "https://github.com/huggingface/transformers/pull/20408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20407/comments | https://api.github.com/repos/huggingface/transformers/issues/20407/events | https://github.com/huggingface/transformers/pull/20407 | 1,461,545,989 | PR_kwDOCUB6oc5DjRCT | 20,407 | [AutoBackbone] Improve API | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Pinging @ydshieh on this PR as I made 2 updates to test_modeling_common.py to support models which output a tuple of tensors as their first output. I've updated `test_determinism` and `test_save_load` to make them more general.",
"... | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
As backbones themselves have hidden states and optional attentions, this PR adds them to the `BackboneOutput`.
This way, frameworks that leverage backbones can return hidden states/attentions of the backbone if the user specifies `output_hidden_states=True` or `output_attentions=True`.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20407",
"html_url": "https://github.com/huggingface/transformers/pull/20407",
"diff_url": "https://github.com/huggingface/transformers/pull/20407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20407.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20406/comments | https://api.github.com/repos/huggingface/transformers/issues/20406/events | https://github.com/huggingface/transformers/pull/20406 | 1,461,501,443 | PR_kwDOCUB6oc5DjHHP | 20,406 | [Image Transformers] to_pil fix float edge cases | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | MEMBER | 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/20406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20406/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20406",
"html_url": "https://github.com/huggingface/transformers/pull/20406",
"diff_url": "https://github.com/huggingface/transformers/pull/20406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20406.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20405/comments | https://api.github.com/repos/huggingface/transformers/issues/20405/events | https://github.com/huggingface/transformers/pull/20405 | 1,461,496,640 | PR_kwDOCUB6oc5DjGCq | 20,405 | Correct rescale | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20405). All of your documentation changes will be reflected on that endpoint."
] | 1,669 | 1,669 | 1,669 | MEMBER | 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/20405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20405",
"html_url": "https://github.com/huggingface/transformers/pull/20405",
"diff_url": "https://github.com/huggingface/transformers/pull/20405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20405.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20404/comments | https://api.github.com/repos/huggingface/transformers/issues/20404/events | https://github.com/huggingface/transformers/issues/20404 | 1,461,468,361 | I_kwDOCUB6oc5XHDzJ | 20,404 | Fail when using FeatureExtractionPipeline for the inference of t5-small | {
"login": "tonifuc3m",
"id": 46200970,
"node_id": "MDQ6VXNlcjQ2MjAwOTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/46200970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonifuc3m",
"html_url": "https://github.com/tonifuc3m",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Do you have `sentencepiece` installed ?\r\n\r\n`pip install sentencepiece` should fix it (as suggests the last line of the error).",
"Thanks for the reply.\r\nInstalling `sentencepiece` could solve the error when loading `google/mt5-small`.\r\nHowever, the error when using the other T5 models (`t5-small` and `go... | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
- transformers version: '4.24.0'
- platform: Ubuntu 20.04.5 LTS
- Python version: 3.8.10
- Huggingface_hub version: '0.10.1'
- torch version: '1.13.0+cu117'
### Who can help?
@patrickvonplaten
@Narsil
### Information
- [ ] The official example scripts
- [X] My own modified scripts
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20404/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20403/comments | https://api.github.com/repos/huggingface/transformers/issues/20403/events | https://github.com/huggingface/transformers/issues/20403 | 1,461,410,143 | I_kwDOCUB6oc5XG1lf | 20,403 | SwiGLU activation function | {
"login": "drAbreu",
"id": 44996651,
"node_id": "MDQ6VXNlcjQ0OTk2NjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/44996651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drAbreu",
"html_url": "https://github.com/drAbreu",
"followers_url": "https://api.github.com/users/drAbre... | [] | closed | false | null | [] | [
"Indeed, I was able to solve the issue with the loading of the SwiGLU layers using the ugly fix of keeping the activation function definition in `EXcellRobertaConfig` as `gelu`, while adding a `swiglu` parameter that, it set to True, overrides activation function. \r\nI am not sure if this is a recommended procedu... | 1,669 | 1,672 | 1,672 | NONE | null | ### Feature request
Since it has been recently used in [PaLM](https://arxiv.org/abs/2204.02311) and several papers report its better performance, it would be good to have access to a [SwiGLU](https://arxiv.org/pdf/2002.05202v1.pdf) implementation as an activation function.
### Motivation
I am building a biomedic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20403/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20402/comments | https://api.github.com/repos/huggingface/transformers/issues/20402/events | https://github.com/huggingface/transformers/issues/20402 | 1,461,345,918 | I_kwDOCUB6oc5XGl5- | 20,402 | Cached model files can't be referred in docker container on AWS Lambda | {
"login": "chenye-814",
"id": 30120334,
"node_id": "MDQ6VXNlcjMwMTIwMzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/30120334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenye-814",
"html_url": "https://github.com/chenye-814",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,669 | 1,669 | 1,669 | NONE | null | ### System Info
{
"errorMessage": "Can't load tokenizer for 'model_name'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'model_name' is the correct path to a directory containing all relevant files for a Bl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20401/comments | https://api.github.com/repos/huggingface/transformers/issues/20401/events | https://github.com/huggingface/transformers/pull/20401 | 1,461,308,201 | PR_kwDOCUB6oc5Dib9n | 20,401 | Use updated attributes when saving tokenizers | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"For the record: running slow tests with the generic fix:\r\n\r\n2 are (By-)T5 issues, other 3 from Bert/RocBert/NLLB\r\n\r\n```bash\r\n=FAILED tests/models/bert/test_tokenization_bert_tf.py::BertTokenizationTest::test_saved_model - V... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Use updated attributes when saving tokenizers.
Fix #20395 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20401",
"html_url": "https://github.com/huggingface/transformers/pull/20401",
"diff_url": "https://github.com/huggingface/transformers/pull/20401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20400/comments | https://api.github.com/repos/huggingface/transformers/issues/20400/events | https://github.com/huggingface/transformers/pull/20400 | 1,461,255,496 | PR_kwDOCUB6oc5DiQf9 | 20,400 | Fix doctest file path issue | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20400). All of your documentation changes will be reflected on that endpoint."
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
Fix doctest file path issue.
(Currently, the whole suite fails from the beginning) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20400",
"html_url": "https://github.com/huggingface/transformers/pull/20400",
"diff_url": "https://github.com/huggingface/transformers/pull/20400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20400.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20399/comments | https://api.github.com/repos/huggingface/transformers/issues/20399/events | https://github.com/huggingface/transformers/issues/20399 | 1,461,170,933 | I_kwDOCUB6oc5XF7L1 | 20,399 | Tokens truncated if exceeded 512 tensor shape | {
"login": "thoufeeq1218",
"id": 86664855,
"node_id": "MDQ6VXNlcjg2NjY0ODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/86664855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thoufeeq1218",
"html_url": "https://github.com/thoufeeq1218",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @thoufeeq1218! That's a lot of apple crumble! cc'ing in the vision specialist @NielsRogge 😎",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow ... | 1,669 | 1,675 | 1,675 | NONE | null | ### System Info
Hi,
Im using Layoutlmv2 pretrained transformer model, if I put "truncation =True" only half of the image were detected remain not

### Who can help?
@sanchit-gandhi @sgugger
### Inf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20399/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20398/comments | https://api.github.com/repos/huggingface/transformers/issues/20398/events | https://github.com/huggingface/transformers/issues/20398 | 1,460,756,683 | I_kwDOCUB6oc5XEWDL | 20,398 | Generating exactly 1 word (instead of token) using autoregressive LMs | {
"login": "joey234",
"id": 12378617,
"node_id": "MDQ6VXNlcjEyMzc4NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/12378617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joey234",
"html_url": "https://github.com/joey234",
"followers_url": "https://api.github.com/users/joey23... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @joey234 👋 \r\n\r\nBy default, we don't directly support that functionality. While generating, the model is unaware of where a word starts and ends -- it exclusively works at a token level. The solution you described is IMO the simplest way to do it, and the engineering effort of a working solu... | 1,669 | 1,672 | 1,669 | NONE | null | ### Feature request
I am not sure if there exists any way to make the autoregressive type of LMs (like GPT) generate exactly 1 next word (may consists of multiple tokens) instead of just 1 token.
e.g. ` Singing is a kind of ____ -> entertain (token), entertainment (word)`
### Motivation
I came across this problem ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20398/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20397/comments | https://api.github.com/repos/huggingface/transformers/issues/20397/events | https://github.com/huggingface/transformers/issues/20397 | 1,460,683,673 | I_kwDOCUB6oc5XEEOZ | 20,397 | [CodeGen] RuntimeError: where expected condition to be a boolean tensor, but got a tensor with dtype Half | {
"login": "jrdzha",
"id": 12738689,
"node_id": "MDQ6VXNlcjEyNzM4Njg5",
"avatar_url": "https://avatars.githubusercontent.com/u/12738689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrdzha",
"html_url": "https://github.com/jrdzha",
"followers_url": "https://api.github.com/users/jrdzha/fo... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Another way to reproduce is to use https://github.com/huggingface/transformers-bloom-inference\r\n\r\nand run:\r\n\r\n```\r\nmake codegen-mono\r\n```",
"Hi @jrdzha \r\nThanks so much for your issue! Unfortunately I did not managed to reproduce your issue. How are you getting this error? C... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
transformers==4.21.2
torch==1.10.2+cu113
HW: 12 cpu, 90gb ram, 1xA100-80g
### 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, ...)
- [x] My o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20397/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20396/comments | https://api.github.com/repos/huggingface/transformers/issues/20396/events | https://github.com/huggingface/transformers/pull/20396 | 1,460,632,850 | PR_kwDOCUB6oc5DgEGl | 20,396 | Add type hints for Whisper models | {
"login": "donelianc",
"id": 7807897,
"node_id": "MDQ6VXNlcjc4MDc4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7807897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/donelianc",
"html_url": "https://github.com/donelianc",
"followers_url": "https://api.github.com/users/do... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @Rocketknight1, can you help me understand failed test? The following [message](https://app.circleci.com/pipelines/github/huggingface/transformers/52274/workflows/ccc607ce-79a5-4b31-a567-22e5e638338b/jobs/626467?invite=true#step-1... | 1,669 | 1,670 | 1,670 | 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/20396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20396/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20396",
"html_url": "https://github.com/huggingface/transformers/pull/20396",
"diff_url": "https://github.com/huggingface/transformers/pull/20396.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20396.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20395/comments | https://api.github.com/repos/huggingface/transformers/issues/20395/events | https://github.com/huggingface/transformers/issues/20395 | 1,460,569,727 | I_kwDOCUB6oc5XDoZ_ | 20,395 | some tokenizer(s) don't save the updated attributes | {
"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 | {
"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... | [
"It turns out that we use\r\nhttps://github.com/huggingface/transformers/blob/0ee71188ff184ee5f8b70081665858301fe4afb1/src/transformers/tokenization_utils_fast.py#L735\r\nwhich is defined\r\nhttps://github.com/huggingface/transformers/blob/0ee71188ff184ee5f8b70081665858301fe4afb1/src/transformers/tokenization_utils... | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | ### System Info
transformers version: 4.25.0.dev0
Torch version: 1.13.0+cpu
Cuda available: False
Cuda version: None
CuDNN version: None
Number of GPUs available: 0
### Description
For `GPT2Tokenizer(Fast)`, Set `tokenizer.model_max_length` to `128` (originally `1024`), save it then reload, will give `tok... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20394/comments | https://api.github.com/repos/huggingface/transformers/issues/20394/events | https://github.com/huggingface/transformers/issues/20394 | 1,460,450,555 | I_kwDOCUB6oc5XDLT7 | 20,394 | Regression in CLIPProcessor from 4.24.0 -> 4.25.0.dev0 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [] | 1,669 | 1,669 | 1,669 | MEMBER | null | ### System Info
- `transformers` version: 4.24.0 / 4.25.0.dev0
- Platform: Linux-5.18.10-76051810-generic-x86_64-with-glibc2.34
- Python version: 3.9.7
- Huggingface_hub version: 0.11.0.dev0
- PyTorch version (GPU?): 1.11.0+cpu (False)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): 0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20394/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20393/comments | https://api.github.com/repos/huggingface/transformers/issues/20393/events | https://github.com/huggingface/transformers/issues/20393 | 1,460,439,119 | I_kwDOCUB6oc5XDIhP | 20,393 | can't from transformers import TFBertModel | {
"login": "minig0lem",
"id": 92259521,
"node_id": "U_kgDOBX_EwQ",
"avatar_url": "https://avatars.githubusercontent.com/u/92259521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minig0lem",
"html_url": "https://github.com/minig0lem",
"followers_url": "https://api.github.com/users/minig0le... | [] | closed | false | null | [] | [
"This is due to the latest release of TensorFlow which broke many things. You need to either install `transformers` from source (this is fixed on the main branch) or downgrade `Tensorflow` to 2.10. :-)",
"This also broke the `evaluate` CI :) Will fix to `<=2.10` for now.",
"This issue has been automatically mar... | 1,669 | 1,672 | 1,672 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.10.8
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.13.0+cpu (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20393/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20392/comments | https://api.github.com/repos/huggingface/transformers/issues/20392/events | https://github.com/huggingface/transformers/issues/20392 | 1,460,311,563 | I_kwDOCUB6oc5XCpYL | 20,392 | Add BART-LS | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [
{
"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 | [] | [
"Any update on this ? @KMFODA I can help please let me know if you want to collaborate on this ?",
"Hey @thakursc1 I'm still waiting on someone from the HF team to confirm if this can be integrated into their codebase if we work on this as this only becomes beneficial for my use case if I can use it in the trans... | 1,669 | 1,678 | null | CONTRIBUTOR | null | ### Model description
BART-LS (Long Bart), presented in this [paper](https://arxiv.org/pdf/2209.10052.pdf), establishes a new SOTA on a number of NLP tasks and long form datasets. It uses pooling-augmented block-wise attention and a novel pre-training strategy to achieve this.
Given my interest in long text summar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20392/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20392/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20391/comments | https://api.github.com/repos/huggingface/transformers/issues/20391/events | https://github.com/huggingface/transformers/pull/20391 | 1,460,263,962 | PR_kwDOCUB6oc5DezVM | 20,391 | Generate: fix plbart generation tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | MEMBER | null | # What does this PR do?
As the title says :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20391/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20391",
"html_url": "https://github.com/huggingface/transformers/pull/20391",
"diff_url": "https://github.com/huggingface/transformers/pull/20391.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20391.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20390/comments | https://api.github.com/repos/huggingface/transformers/issues/20390/events | https://github.com/huggingface/transformers/pull/20390 | 1,460,242,970 | PR_kwDOCUB6oc5DeuvS | 20,390 | [OPT/Galactica] Load large `galactica` models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I am not 100% sure if this is the approach we want to have, despite I can understand the intention. Would like to hear from @sgugger.\r\n\r\nFor reference, `class OPTDecoderLayer` from `galai` does pass `bias` to `OPTAttention`\r\n\r... | 1,669 | 1,670 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a small bug on `OPT`. Before, the `bias` term [was always set to `True`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/opt/modeling_opt.py#L277) - leading to some external implementations to hardcode it if they wanted to train an OPT model without... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20390/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20390",
"html_url": "https://github.com/huggingface/transformers/pull/20390",
"diff_url": "https://github.com/huggingface/transformers/pull/20390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20390.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20389/comments | https://api.github.com/repos/huggingface/transformers/issues/20389/events | https://github.com/huggingface/transformers/pull/20389 | 1,460,159,191 | PR_kwDOCUB6oc5DecUQ | 20,389 | [WIP] Add a `get_token_embeddings_size` to `PreTrainedModel` | {
"login": "damian0815",
"id": 144366,
"node_id": "MDQ6VXNlcjE0NDM2Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/144366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/damian0815",
"html_url": "https://github.com/damian0815",
"followers_url": "https://api.github.com/users/d... | [] | closed | false | null | [] | [
"WIP because missing tests, i guess. I don't have a local environment set up atm, this was a quick edit on github. ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20389). All of your documentation changes will be reflected on that endpoint.",
"This issue has been au... | 1,669 | 1,674 | 1,674 | NONE | null | Adds an intuitive and obvious method, `get_token_embeddings_size()`, to get the size of the current token embeddings on `PreTrainedModel`. This can be used to compute the new size when calling `resize_token_embeddings()`.
### Motivation
Current API design around the `resize_token_embeddings()` method requires doi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20389",
"html_url": "https://github.com/huggingface/transformers/pull/20389",
"diff_url": "https://github.com/huggingface/transformers/pull/20389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20389.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20388/comments | https://api.github.com/repos/huggingface/transformers/issues/20388/events | https://github.com/huggingface/transformers/pull/20388 | 1,460,135,671 | PR_kwDOCUB6oc5DeXK8 | 20,388 | Generate: use `GenerationConfig` as the basis for `.generate()` parametrization | {
"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._",
"Fully agree with @sgugger here. \r\n\r\nTotally ok to just link to the `GenerateConfig` doc page -> think this make the docs online also cleaner actually. \r\nAlso I'd maybe rename `generate_config` to just `config` in generate or do... | 1,669 | 1,672 | 1,671 | MEMBER | null | # What does this PR do?
This PR introduces `generation_config` as the main controller of `.generate()` calls.
In particular:
1. It adds a `from_model_config` class method to `GenerateConfig`, to load a generation config from a (legacy) model config;
2. Adds a `generation_config` argument to `.generate()`. If it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20388/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20388",
"html_url": "https://github.com/huggingface/transformers/pull/20388",
"diff_url": "https://github.com/huggingface/transformers/pull/20388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20388.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20387/comments | https://api.github.com/repos/huggingface/transformers/issues/20387/events | https://github.com/huggingface/transformers/pull/20387 | 1,460,101,400 | PR_kwDOCUB6oc5DePvE | 20,387 | [ESM] fix `accelerate` tests for esmfold | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
FIxes slow tests that were not passing for `ESM`. In fact I was running `RUN_SLOW=1 pytest tests/models/esm/test_modeling_esm.py` and forgot to run `RUN_SLOW=1 pytest tests/models/esm/test_modeling_esmfold.py`
cc @sgugger @Rocketknight1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20387/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20387",
"html_url": "https://github.com/huggingface/transformers/pull/20387",
"diff_url": "https://github.com/huggingface/transformers/pull/20387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20387.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20386/comments | https://api.github.com/repos/huggingface/transformers/issues/20386/events | https://github.com/huggingface/transformers/pull/20386 | 1,459,967,537 | PR_kwDOCUB6oc5DdyaQ | 20,386 | chore: add link to the video cls notebook. | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge I don't have the rights to merge the PR. If you have, could you perform the duties? "
] | 1,669 | 1,669 | 1,669 | MEMBER | null | We recently added a [notebook](https://github.com/huggingface/notebooks/blob/main/examples/video_classification.ipynb) that shows how to fine-tune the VideoMAE model on a custom dataset. This PR adds the notebook link to the model doc.
Cc: @osanseviero | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20386/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/20386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20386",
"html_url": "https://github.com/huggingface/transformers/pull/20386",
"diff_url": "https://github.com/huggingface/transformers/pull/20386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20385/comments | https://api.github.com/repos/huggingface/transformers/issues/20385/events | https://github.com/huggingface/transformers/pull/20385 | 1,459,951,237 | PR_kwDOCUB6oc5Ddu07 | 20,385 | Indicate better minimal version of PyTorch in big model inference | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,669 | 1,669 | 1,669 | COLLABORATOR | null | # What does this PR do?
As pointed out in https://github.com/huggingface/accelerate/issues/880, the minimum version when using a `device_map` is not PyTorch 1.9 but PyTorch 1.11. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20385/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20385",
"html_url": "https://github.com/huggingface/transformers/pull/20385",
"diff_url": "https://github.com/huggingface/transformers/pull/20385.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20385.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.