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/27144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27144/comments | https://api.github.com/repos/huggingface/transformers/issues/27144/events | https://github.com/huggingface/transformers/pull/27144 | 1,968,039,955 | PR_kwDOCUB6oc5eGlow | 27,144 | [`Styling`] stylify using ruff | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,700 | 1,700 | COLLABORATOR | null | # What does this PR do?
Removes our dependency on `black` in favor of rust:
- faster `make style` I'll try to get numbers but that one is pretty obvious
- not need to use doc-builder's black styling as the doc is styled in ruff
- faster overall CI to check the repo quality | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27144/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/27144/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27144",
"html_url": "https://github.com/huggingface/transformers/pull/27144",
"diff_url": "https://github.com/huggingface/transformers/pull/27144.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27144.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27143/comments | https://api.github.com/repos/huggingface/transformers/issues/27143/events | https://github.com/huggingface/transformers/issues/27143 | 1,968,006,488 | I_kwDOCUB6oc51TWVY | 27,143 | RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' | {
"login": "888yyh",
"id": 58061084,
"node_id": "MDQ6VXNlcjU4MDYxMDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/58061084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/888yyh",
"html_url": "https://github.com/888yyh",
"followers_url": "https://api.github.com/users/888yyh/fo... | [] | closed | false | null | [] | [
"Hi @888yyh, thanks for raising this issue! \r\n\r\nSo that we can help you, please make sure to follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) and [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md) as well as filling out... | 1,698 | 1,702 | 1,702 | NONE | null | ### System Info
windows cpu
i can only use gpu,and ran the code below
import torch
from transformers import AutoTokenizer, AutoModel
from modeling_chatglm import ChatGLMForConditionalGeneration
tokenizer = AutoTokenizer.from_pretrained(
"./model", trust_remote_code=True)
model = ChatGLMForConditionalG... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27142/comments | https://api.github.com/repos/huggingface/transformers/issues/27142/events | https://github.com/huggingface/transformers/issues/27142 | 1,967,964,217 | I_kwDOCUB6oc51TMA5 | 27,142 | Inaccurate code example within inline code-documentation | {
"login": "thariq-nugrohotomo",
"id": 87131717,
"node_id": "MDQ6VXNlcjg3MTMxNzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/87131717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thariq-nugrohotomo",
"html_url": "https://github.com/thariq-nugrohotomo",
"followers_url": "ht... | [] | closed | false | null | [] | [
"Hi @thariq-nugrohotomo, thanks for raising this issue! \r\n\r\nIndeed, it seems that the behaviour in the original implementation is different. Would you like to open a PR updating the code examples in modeling_vision_encoder_decoder.py and modeling_trocr.py? This way you get the github contribution. ",
"This is... | 1,698 | 1,702 | 1,702 | NONE | null | I believe this code example contains inaccurate information:
https://github.com/huggingface/transformers/blob/211ad4c9cc1c0882c4a22eaca7b4d7d1e2f264b3/src/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py#L550C15-L550C15
```python
model.config.decoder_start_token_id = processor.tokeni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27141/comments | https://api.github.com/repos/huggingface/transformers/issues/27141/events | https://github.com/huggingface/transformers/pull/27141 | 1,967,898,252 | PR_kwDOCUB6oc5eGG1u | 27,141 | [FEAT] Add Neftune into transformers Trainer | {
"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._",
"Added a test and a relevant documentation section, this PR is ready for final review!"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
As per title
Fixes: https://github.com/huggingface/trl/issues/923
Fixes: https://github.com/huggingface/transformers/issues/26899
This PR adds NEFTune: a new technique for enhancing Supervised fine-tuning results results proposed in: https://arxiv.org/abs/2310.05914
![Screenshot 20... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27141/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27141",
"html_url": "https://github.com/huggingface/transformers/pull/27141",
"diff_url": "https://github.com/huggingface/transformers/pull/27141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27141.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27140/comments | https://api.github.com/repos/huggingface/transformers/issues/27140/events | https://github.com/huggingface/transformers/issues/27140 | 1,967,832,259 | I_kwDOCUB6oc51SrzD | 27,140 | Tokenizer wrongly splits the drug SMILES | {
"login": "Chris-Tang6",
"id": 53926670,
"node_id": "MDQ6VXNlcjUzOTI2Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/53926670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chris-Tang6",
"html_url": "https://github.com/Chris-Tang6",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @Chris-Tang6, thanks for raising this issue! \r\n\r\nI'm not a chemist myself, so want to make sure I've understood the desired behaviour. Could you provide what you would have expected the tokenized sequence to be? Should this also apply to `C0`, `C2` and `C3` as well as `C1`? \r\n\r\nI'm not sure what `vocab_... | 1,698 | 1,699 | 1,699 | NONE | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-5.15.133+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cpu (False)
- Tensorflow versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27139/comments | https://api.github.com/repos/huggingface/transformers/issues/27139/events | https://github.com/huggingface/transformers/issues/27139 | 1,967,766,965 | I_kwDOCUB6oc51Sb21 | 27,139 | Why isn't intermediate_size 4 * hidden_size for Llama as in paper? | {
"login": "sytelus",
"id": 2096835,
"node_id": "MDQ6VXNlcjIwOTY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2096835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sytelus",
"html_url": "https://github.com/sytelus",
"followers_url": "https://api.github.com/users/sytelus/... | [] | closed | false | null | [] | [
"Oops my bad. It's because of SwiGLU.\r\n\r\n```\r\nINTERMEDIATE_SIZE_MAP = {\r\n \"7B\": 11008,\r\n \"13B\": 13824,\r\n \"30B\": 17920,\r\n \"65B\": 22016,\r\n}\r\n```\r\n\r\nThe intermediate_size is calculated as follows:\r\n\r\n```\r\ndef compute_intermediate_size(n):\r\n return int(math.ceil(n * ... | 1,698 | 1,698 | 1,698 | NONE | null | Llama paper uses 4 times hidden size for MLP's intermediate layer. So, for 7B model, `hidden_size=4096` should give us `intermediate_size=16384`. However, Llama config defaults it to `11008`.
https://github.com/huggingface/transformers/blob/722e9364916e527e8d46cbd828a1516bf6aaebd6/src/transformers/models/llama/con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27139/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27138/comments | https://api.github.com/repos/huggingface/transformers/issues/27138/events | https://github.com/huggingface/transformers/issues/27138 | 1,967,404,132 | I_kwDOCUB6oc51RDRk | 27,138 | save_total_limit incorrectly deletes checkpoints | {
"login": "huchinlp",
"id": 40781986,
"node_id": "MDQ6VXNlcjQwNzgxOTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/40781986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huchinlp",
"html_url": "https://github.com/huchinlp",
"followers_url": "https://api.github.com/users/huc... | [] | closed | false | null | [] | [
"FYI in case this is relevant:\r\n- https://github.com/huggingface/transformers/issues/26961",
"cc @muellerz @pacman100 ",
"Hello, please refer to https://github.com/huggingface/transformers/issues/26961#issuecomment-1827691624",
"This issue has been automatically marked as stale because it has not had recent... | 1,698 | 1,704 | 1,704 | NONE | null | ### System Info
transformers==4.34.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27137/comments | https://api.github.com/repos/huggingface/transformers/issues/27137/events | https://github.com/huggingface/transformers/pull/27137 | 1,967,348,954 | PR_kwDOCUB6oc5eEOLc | 27,137 | automatically generated code | {
"login": "yunyicheng",
"id": 55462866,
"node_id": "MDQ6VXNlcjU1NDYyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/55462866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yunyicheng",
"html_url": "https://github.com/yunyicheng",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @yunyicheng ,\r\nThank you for wanting to contribute! I think this model should be provided/used as custom code rather than be added directly into `transformers`.\r\n",
"Hello @clefourrier , thank you for your reply! Even though Massformer is partially built upon Graphormer, it has many differences in archite... | 1,698 | 1,701 | 1,701 | 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/27137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27137/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27137",
"html_url": "https://github.com/huggingface/transformers/pull/27137",
"diff_url": "https://github.com/huggingface/transformers/pull/27137.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27137.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27136/comments | https://api.github.com/repos/huggingface/transformers/issues/27136/events | https://github.com/huggingface/transformers/pull/27136 | 1,967,303,989 | PR_kwDOCUB6oc5eEEan | 27,136 | Removed the redundant SiLUActivation class. | {
"login": "hi-sushanta",
"id": 93595990,
"node_id": "U_kgDOBZQpVg",
"avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hi-sushanta",
"html_url": "https://github.com/hi-sushanta",
"followers_url": "https://api.github.com/users/hi... | [] | closed | false | null | [] | [
"Hi! I first set RUN_SLOW=1 and then ran the PyTest command to verify that all of my tests passed successfully.\r\n",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27136). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | Removed the redundant **SiLUActivation** class and now use **nn.SiLU** directly.
See now what looks like:

## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27136/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27136",
"html_url": "https://github.com/huggingface/transformers/pull/27136",
"diff_url": "https://github.com/huggingface/transformers/pull/27136.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27136.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27135/comments | https://api.github.com/repos/huggingface/transformers/issues/27135/events | https://github.com/huggingface/transformers/issues/27135 | 1,967,166,248 | I_kwDOCUB6oc51QJMo | 27,135 | Failed to import 'Wav2Vec2PhonemeEncoder' from 'transformers' | {
"login": "Suryatejakalapala",
"id": 83916568,
"node_id": "MDQ6VXNlcjgzOTE2NTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/83916568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Suryatejakalapala",
"html_url": "https://github.com/Suryatejakalapala",
"followers_url": "https... | [] | closed | false | null | [] | [
"Hi @Suryatejakalapala, thanks for raising this issue! \r\n\r\nI can't find any reference to the class `Wav2Vec2PhonemeEncoder` [in the library](https://github.com/search?q=repo%3Ahuggingface%2Ftransformers+Wav2Vec2PhonemeEncoder&type=code). Is there a particular example in docs or resources which uses this class? ... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.34.1
- Platform: Windows-10-10.0.23531-SP0
- Python version: 3.11.2
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cpu (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27134/comments | https://api.github.com/repos/huggingface/transformers/issues/27134/events | https://github.com/huggingface/transformers/pull/27134 | 1,967,131,039 | PR_kwDOCUB6oc5eDgGy | 27,134 | 🌐 [i18n-ZH] Translate tflite.md into Chinese | {
"login": "yyLeaves",
"id": 76979429,
"node_id": "MDQ6VXNlcjc2OTc5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/76979429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyLeaves",
"html_url": "https://github.com/yyLeaves",
"followers_url": "https://api.github.com/users/yyL... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27134). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Translate tflite.md into Chinese
part of #20095
## Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27134",
"html_url": "https://github.com/huggingface/transformers/pull/27134",
"diff_url": "https://github.com/huggingface/transformers/pull/27134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27133/comments | https://api.github.com/repos/huggingface/transformers/issues/27133/events | https://github.com/huggingface/transformers/pull/27133 | 1,967,129,482 | PR_kwDOCUB6oc5eDfy4 | 27,133 | Fuyu processing update | {
"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 | [] | [
"@pcuenca Here's the draft PR for updating the image processor. In relation to your PR with the box coordinate transformations, you'll notice that I've removed the `target_height` and `target_width` attributes and have replaced them with the dictionary `size`. This is to reflect the pattern in other image processor... | 1,698 | 1,698 | 1,698 | COLLABORATOR | null | # What does this PR do?
This PR builds upon #27007 - ticking off some elements in the TODO list and bringing the processor and image processor more in-line with expected patterns in the library.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27133/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27133",
"html_url": "https://github.com/huggingface/transformers/pull/27133",
"diff_url": "https://github.com/huggingface/transformers/pull/27133.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27133.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27132/comments | https://api.github.com/repos/huggingface/transformers/issues/27132/events | https://github.com/huggingface/transformers/issues/27132 | 1,966,960,672 | I_kwDOCUB6oc51PXAg | 27,132 | Fast tokenizer breaks added tokens | {
"login": "geronimi73",
"id": 141400217,
"node_id": "U_kgDOCG2YmQ",
"avatar_url": "https://avatars.githubusercontent.com/u/141400217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geronimi73",
"html_url": "https://github.com/geronimi73",
"followers_url": "https://api.github.com/users/ger... | [] | closed | false | null | [] | [
"Hi @geronimi73, thanks for raising an issue! \r\n\r\n@ArthurZucker is off for this week and is the main person who knows and works with the tokenizers, so you might have to wait until then to have an answer. \r\n\r\n@Rocketknight1 any chance you know what's happening? ",
"Hi @geronimi73, I'll wait for @ArthurZuc... | 1,698 | 1,699 | 1,699 | NONE | null | ### System Info
- `transformers` version: 4.35.0.dev0
- Platform: Linux-6.2.0-35-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.25.0.dev0
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tensorflow version (GPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27132/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27131/comments | https://api.github.com/repos/huggingface/transformers/issues/27131/events | https://github.com/huggingface/transformers/pull/27131 | 1,966,903,232 | PR_kwDOCUB6oc5eCzWg | 27,131 | device agnostic trainer testing | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ydshieh ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27131). All of your documentation changes will be reflected on that endpoint.",
"Results on CI runner looks good."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/25654#issuecomment-1783704306
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27131",
"html_url": "https://github.com/huggingface/transformers/pull/27131",
"diff_url": "https://github.com/huggingface/transformers/pull/27131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27131.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27130/comments | https://api.github.com/repos/huggingface/transformers/issues/27130/events | https://github.com/huggingface/transformers/pull/27130 | 1,966,902,710 | PR_kwDOCUB6oc5eCzQW | 27,130 | [Typo fix] flag config in WANDB | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27130). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
<!--
-->
<!-- Remove if not applicable -->
fixes typo in flag for WANDB configuration
`_` was missing in `--report_to_all`
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27130/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27130/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27130",
"html_url": "https://github.com/huggingface/transformers/pull/27130",
"diff_url": "https://github.com/huggingface/transformers/pull/27130.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27130.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27129/comments | https://api.github.com/repos/huggingface/transformers/issues/27129/events | https://github.com/huggingface/transformers/pull/27129 | 1,966,838,622 | PR_kwDOCUB6oc5eCm-q | 27,129 | device agnostic pipelines testing | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"verified with Mac-Studio\r\n\r\n<img width=\"800\" alt=\"image\" src=\"https://github.com/huggingface/transformers/assets/28150734/7ac37e29-26a8-4a60-a3c0-3d6efed1fc22\">\r\n\r\n<img width=\"521\" alt=\"image\" src=\"https://github.com/huggingface/transformers/assets/28150734/e4d31f43-57a3-44d2-986f-688ee39b5999\"... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/25654#issuecomment-1783704306
## 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/huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27129",
"html_url": "https://github.com/huggingface/transformers/pull/27129",
"diff_url": "https://github.com/huggingface/transformers/pull/27129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27129.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27128/comments | https://api.github.com/repos/huggingface/transformers/issues/27128/events | https://github.com/huggingface/transformers/pull/27128 | 1,966,819,166 | PR_kwDOCUB6oc5eCjNH | 27,128 | [docstring] Fix docstring for AltCLIPTextConfig, AltCLIPVisionConfig and AltCLIPConfig | {
"login": "AksharGoyal",
"id": 38995624,
"node_id": "MDQ6VXNlcjM4OTk1NjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/38995624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AksharGoyal",
"html_url": "https://github.com/AksharGoyal",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @amyeroberts I have made the change. Let me know if anything else is needed from my side. For some reason removing AltCLIPVisionConfig is giving errors so I let it stay there. Any tip on resolving it would be helpful.",
"@AksharGoyal Thanks! For the removal of the `AltCLIPVisionConfig` what errors are you get... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
- Fixed docstrings for AltCLIPTextConfig, AltCLIPVisionConfig and AltCLIPConfig
- Cleaned few docstrings
Fixes #26638
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27128",
"html_url": "https://github.com/huggingface/transformers/pull/27128",
"diff_url": "https://github.com/huggingface/transformers/pull/27128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27128.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27127/comments | https://api.github.com/repos/huggingface/transformers/issues/27127/events | https://github.com/huggingface/transformers/issues/27127 | 1,966,816,948 | I_kwDOCUB6oc51Oz60 | 27,127 | [docstring] Fix docstring for AltCLIPVisionConfig, AltCLIPTextConfig and AltCLIPConfig | {
"login": "AksharGoyal",
"id": 38995624,
"node_id": "MDQ6VXNlcjM4OTk1NjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/38995624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AksharGoyal",
"html_url": "https://github.com/AksharGoyal",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,698 | 1,701 | 1,701 | CONTRIBUTOR | null | I will take AltCLIPVisionConfig, AltCLIPTextConfig
_Originally posted by @AksharGoyal in https://github.com/huggingface/transformers/issues/26638#issuecomment-1769186608_
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27125/comments | https://api.github.com/repos/huggingface/transformers/issues/27125/events | https://github.com/huggingface/transformers/pull/27125 | 1,966,701,398 | PR_kwDOCUB6oc5eCMNs | 27,125 | [`FA2`/ `Mistral`] Revert previous behavior with right padding + forward | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Addresses: https://github.com/huggingface/transformers/pull/26912#issuecomment-1783842424
As stated in that comment, https://github.com/huggingface/transformers/pull/27086 has mistakenly reverted https://github.com/huggingface/transformers/pull/26912 - this PR simply reverts it back | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27125",
"html_url": "https://github.com/huggingface/transformers/pull/27125",
"diff_url": "https://github.com/huggingface/transformers/pull/27125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27124/comments | https://api.github.com/repos/huggingface/transformers/issues/27124/events | https://github.com/huggingface/transformers/pull/27124 | 1,966,698,748 | PR_kwDOCUB6oc5eCLs4 | 27,124 | [`core`/ `GC` / `tests`] Stronger GC tests | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"On the commit shared above, this new test led to the same failures:\r\n\r\n```bash\r\nFAILED tests/models/autoformer/test_modeling_autoformer.py::AutoformerModelTest::test_training_gradient_checkpointing - AssertionError: False is not true : model.encoder.value_embedding.value_projection.weight in AutoformerForPre... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
While working on the gradient checkpointing refactor I realized that GC was not strongly battle tested on our models.
I propose a simple way to check if GC has correctly done its effect by simulating a training and checking if all parameters that requires grad have a non-None gradient.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27124",
"html_url": "https://github.com/huggingface/transformers/pull/27124",
"diff_url": "https://github.com/huggingface/transformers/pull/27124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27123/comments | https://api.github.com/repos/huggingface/transformers/issues/27123/events | https://github.com/huggingface/transformers/pull/27123 | 1,966,670,990 | PR_kwDOCUB6oc5eCGOD | 27,123 | Update cookiecutter.json | {
"login": "parakh2204",
"id": 27987971,
"node_id": "MDQ6VXNlcjI3OTg3OTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/27987971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parakh2204",
"html_url": "https://github.com/parakh2204",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @parakh2204 - thanks for opening this PR! Could you provide some more information in the PR description detailing what issue this is addressing? ",
"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 th... | 1,698 | 1,701 | 1,701 | 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/27123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27123",
"html_url": "https://github.com/huggingface/transformers/pull/27123",
"diff_url": "https://github.com/huggingface/transformers/pull/27123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27123.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27122/comments | https://api.github.com/repos/huggingface/transformers/issues/27122/events | https://github.com/huggingface/transformers/pull/27122 | 1,966,667,769 | PR_kwDOCUB6oc5eCFnO | 27,122 | translate traning.md to chinese | {
"login": "jiaqiw09",
"id": 60021713,
"node_id": "MDQ6VXNlcjYwMDIxNzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiaqiw09",
"html_url": "https://github.com/jiaqiw09",
"followers_url": "https://api.github.com/users/jia... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27122). All of your documentation changes will be reflected on that endpoint.",
"@stevhliu I have fixed the _tortree.yml.\r\n\r\nBest"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of #26803
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27122",
"html_url": "https://github.com/huggingface/transformers/pull/27122",
"diff_url": "https://github.com/huggingface/transformers/pull/27122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27121/comments | https://api.github.com/repos/huggingface/transformers/issues/27121/events | https://github.com/huggingface/transformers/issues/27121 | 1,966,539,587 | I_kwDOCUB6oc51NwND | 27,121 | Training CodeLLaMa-7b with FSDP causes loss 0 error | {
"login": "TomasAndersonFang",
"id": 38727343,
"node_id": "MDQ6VXNlcjM4NzI3MzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/38727343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomasAndersonFang",
"html_url": "https://github.com/TomasAndersonFang",
"followers_url": "https... | [] | closed | false | null | [] | [
"cc @pacman100 @muellerz ",
"@amyeroberts I'm sorry I actually solved this problem. This problem is caused by fp16 and a large learning rate. When fine-tuning LLaMA with Lora, it's ok to use them. But with full-parameter fine-tuning, it's necessary to use bf16 and a smaller learning rate (I use 5e-6, although 5e... | 1,698 | 1,699 | 1,699 | NONE | null | ### System Info
```
- `transformers` version: 4.34.0
- Platform: Linux-4.18.0-477.21.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27121/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27120/comments | https://api.github.com/repos/huggingface/transformers/issues/27120/events | https://github.com/huggingface/transformers/pull/27120 | 1,966,482,477 | PR_kwDOCUB6oc5eBhbq | 27,120 | device agnostic fsdp testing | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ydshieh ",
"@statelesshz How these tests happen for multiple npu device? They pass or fail?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27120). All of your documentation changes will be reflected on that endpoint.",
"@ydshieh Only one test case failed due ... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/25654#issuecomment-1783704306
## 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/huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27120",
"html_url": "https://github.com/huggingface/transformers/pull/27120",
"diff_url": "https://github.com/huggingface/transformers/pull/27120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27120.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27119/comments | https://api.github.com/repos/huggingface/transformers/issues/27119/events | https://github.com/huggingface/transformers/pull/27119 | 1,966,440,199 | PR_kwDOCUB6oc5eBY6E | 27,119 | enable Megatron-LM shard for llama2 model | {
"login": "frankdongms",
"id": 117946481,
"node_id": "U_kgDOBwe4cQ",
"avatar_url": "https://avatars.githubusercontent.com/u/117946481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frankdongms",
"html_url": "https://github.com/frankdongms",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @frankdongms, thanks for opening this PR! \r\n\r\nThis is a very cool piece of work - I'll give a full review once all tests are passing. I'm hesitant to bring in such a change as it is implemented at the moment. \r\n\r\nOne of the core ideas guiding design in the transformers library is [one file per model](ht... | 1,698 | 1,703 | 1,703 | NONE | null | # What does this PR do?
Enable Megatron-LM shard for llama2 model, for large models like llama2-70b, we could shard the model into multiple gpus.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27119",
"html_url": "https://github.com/huggingface/transformers/pull/27119",
"diff_url": "https://github.com/huggingface/transformers/pull/27119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27118/comments | https://api.github.com/repos/huggingface/transformers/issues/27118/events | https://github.com/huggingface/transformers/issues/27118 | 1,966,399,506 | I_kwDOCUB6oc51NOAS | 27,118 | nodejs | {
"login": "Goddard",
"id": 231351,
"node_id": "MDQ6VXNlcjIzMTM1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/231351?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Goddard",
"html_url": "https://github.com/Goddard",
"followers_url": "https://api.github.com/users/Goddard/fo... | [] | closed | false | null | [] | [
"cc @xenova ",
"Thanks for the ping @amyeroberts :)\n\n@Goddard This error is because `Headers` (and `fetch`) are not global variables in Node 16. Although you could use a polyfill, we recommend upgrading to Node 18+.\n\nAlso, since Node 16 is EOL, we do not plan on adding backwards compatibility support.",
"> ... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
Using npm i @xenova/transformers and basically just copying and pasting the example at https://huggingface.co/docs/transformers.js/tutorials/node results in this error
@xenova/transformers/src/utils/hub.js:188
const headers = new Headers();
I get some warnings before that [Unable to load... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27117/comments | https://api.github.com/repos/huggingface/transformers/issues/27117/events | https://github.com/huggingface/transformers/pull/27117 | 1,966,337,272 | PR_kwDOCUB6oc5eBC-T | 27,117 | added unsqueeze_dim to apply_rotary_pos_emb | {
"login": "ShashankMosaicML",
"id": 144760128,
"node_id": "U_kgDOCKDdQA",
"avatar_url": "https://avatars.githubusercontent.com/u/144760128?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShashankMosaicML",
"html_url": "https://github.com/ShashankMosaicML",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Thank you @gante for reviewing and providing me the steps to fix the errors! However I still see some errors after following the steps, and on clicking the details for the error, I see the following. Could you please let me know how to fix this error? Thank you!\r\n<img width=\"1386\" alt=\"Screenshot 2023-10-28 a... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # Making the unsqueeze dimension parameterized in the apply_rotary_pos_emb function in modeling_llama.py
This PR introduces a new parameter to the [apply_rotary_pos_emb function](https://github.com/huggingface/transformers/blob/08a2edfc6629a323effd7a85feafed9e6701e2dd/src/transformers/models/llama/modeling_llama.py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27117/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27117",
"html_url": "https://github.com/huggingface/transformers/pull/27117",
"diff_url": "https://github.com/huggingface/transformers/pull/27117.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27117.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27116/comments | https://api.github.com/repos/huggingface/transformers/issues/27116/events | https://github.com/huggingface/transformers/pull/27116 | 1,966,334,618 | PR_kwDOCUB6oc5eBCZ4 | 27,116 | Fix data2vec-audio note about attention mask | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"LGTM as well! Thanks for the much clearer note here!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27116). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25621
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27116",
"html_url": "https://github.com/huggingface/transformers/pull/27116",
"diff_url": "https://github.com/huggingface/transformers/pull/27116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27115/comments | https://api.github.com/repos/huggingface/transformers/issues/27115/events | https://github.com/huggingface/transformers/issues/27115 | 1,966,313,969 | I_kwDOCUB6oc51M5Hx | 27,115 | Stop sequence eliminated for mistral models due to `skip_special_tokens=True` | {
"login": "rolandoam",
"id": 49346,
"node_id": "MDQ6VXNlcjQ5MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/49346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rolandoam",
"html_url": "https://github.com/rolandoam",
"followers_url": "https://api.github.com/users/rolandoam/... | [] | closed | false | null | [] | [
"Hi @rolandoam 👋 \r\n\r\nThe `pipeline` API was designed for ease of use. For full control over text generation and the tokenization process, you have the `generate` API, as commented in your code snippet :) \r\n\r\nSince there is a clear alternative, we are not considering adding support to the functionality you ... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
Having access to the stop sequence when using mistral models (or any model that uses the ChatML prompt template) is really useful because it can be leveraged as a way to know if the model made a full generation or it was cut. Right now, the text_generation pipeline removes the stop token in [postproc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27115/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27114/comments | https://api.github.com/repos/huggingface/transformers/issues/27114/events | https://github.com/huggingface/transformers/pull/27114 | 1,965,828,764 | PR_kwDOCUB6oc5d_UM0 | 27,114 | [`AttentionMaskConverter`] ]Fix-mask-inf | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello! \r\n\r\nWe have pulled this PR from the main branch yesterday. We were having NaN issues with ppo_trainer and llama2-7b-chat. After investigation, we found that the NaN can be reproduced just by generating the 1st token for a ... | 1,698 | 1,702 | 1,699 | COLLABORATOR | null | # What does this PR do?
Fixes the `-inf` appearing in the padding mask from the way we create them. Adds `@dataclass` decorator to `AttentionMaskConverter` as well as en example in the doc.
The pad tokens are still attended to for some specific cases, which produce different outputs for flash attention / non flash... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27114/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/27114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27114",
"html_url": "https://github.com/huggingface/transformers/pull/27114",
"diff_url": "https://github.com/huggingface/transformers/pull/27114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27114.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27112/comments | https://api.github.com/repos/huggingface/transformers/issues/27112/events | https://github.com/huggingface/transformers/pull/27112 | 1,965,745,973 | PR_kwDOCUB6oc5d_CRB | 27,112 | device agnostic extended testing | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"- verified on mac studio m2 with instruction:\r\n ```\r\n RUN_SLOW=1 TRANSFORMERS_BACKEND_DEVICE=\"mps\" TRANSFORMERS_BACKEND_DEVICE_SPEC=\"spec.py\" python -m pytest -v tests/extended\r\n\r\n ```\r\n `spec.py`:\r\n ```\r\n import torch\r\n \r\n DEVICE_NAME = 'mps'\r\n \r\n # Specify device-specific back... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
## 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://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27112/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27112",
"html_url": "https://github.com/huggingface/transformers/pull/27112",
"diff_url": "https://github.com/huggingface/transformers/pull/27112.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27112.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27111/comments | https://api.github.com/repos/huggingface/transformers/issues/27111/events | https://github.com/huggingface/transformers/pull/27111 | 1,965,689,874 | PR_kwDOCUB6oc5d-1_g | 27,111 | Add exllamav2 better | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Since @ArthurZucker is out next week, it would be great if you could review this PR @amyeroberts. I'm trying to have this PR in the next release. In this modified version, I make sure to deprecate `disable_exllama` arg in favor of `u... | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this PR do ?
This PR is a modified version of this [PR](https://github.com/huggingface/transformers/pull/26437) that make `disable_exllama` go through a deprecation cycle.
I also fixed the following test `test_device_and_dtype_assignment` that broke other tests in the CI introduced by this [PR](https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27111",
"html_url": "https://github.com/huggingface/transformers/pull/27111",
"diff_url": "https://github.com/huggingface/transformers/pull/27111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27111.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27110/comments | https://api.github.com/repos/huggingface/transformers/issues/27110/events | https://github.com/huggingface/transformers/issues/27110 | 1,965,621,261 | I_kwDOCUB6oc51KQAN | 27,110 | attributeerror: 'dataset' object has no attribute 'cardinality' | {
"login": "SrikanthChellappa",
"id": 37934673,
"node_id": "MDQ6VXNlcjM3OTM0Njcz",
"avatar_url": "https://avatars.githubusercontent.com/u/37934673?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SrikanthChellappa",
"html_url": "https://github.com/SrikanthChellappa",
"followers_url": "https... | [] | closed | false | null | [] | [
"Hi, I'm sorry, we don't really support `TFTrainer` anymore! We recommend fine-tuning with Keras methods like `model.fit()` instead. Please see our notebooks on [translation](https://github.com/huggingface/notebooks/blob/main/examples/translation-tf.ipynb) or [summarization](https://github.com/huggingface/notebooks... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
Transformers version: 4.34.1
Tensorflow version: 2.14.0
Python version: 3.11.6
My Code snippet
from transformers import TFAutoModelForSeq2SeqLM, AutoTokenizer, GenerationConfig, TFTrainingArguments, TFTrainer
training_args = TFTrainingArguments(
output_dir=output_dir,
learning_rate=1e-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27110/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27109/comments | https://api.github.com/repos/huggingface/transformers/issues/27109/events | https://github.com/huggingface/transformers/pull/27109 | 1,965,540,152 | PR_kwDOCUB6oc5d-VJG | 27,109 | [`Fuyu`] Replace it to `BatchFeature` | {
"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 | [] | [
"THanks !\r\nI just copied over the logic that was in place in BLIP - https://github.com/huggingface/transformers/blob/main/src/transformers/models/blip/processing_blip.py#L129 (the typehint is wrong there BTW, it returns a `BatchFeature`) per my understanding for processors that have both text and image input uses... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Right now users needs to manually loop over `FuyuProcessor`'s output and apply `to` to each element. One should use `BatchFeature` from `image_processing_utils` and call `to` directly to the processed elements
Before this PR users needed to do:
```python
model_inputs = processor(text=t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27109/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27109",
"html_url": "https://github.com/huggingface/transformers/pull/27109",
"diff_url": "https://github.com/huggingface/transformers/pull/27109.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27109.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27108/comments | https://api.github.com/repos/huggingface/transformers/issues/27108/events | https://github.com/huggingface/transformers/issues/27108 | 1,965,501,714 | I_kwDOCUB6oc51Jy0S | 27,108 | Time Series Transformer generate error when input_size = 1 | {
"login": "ricardokleinklein",
"id": 7894859,
"node_id": "MDQ6VXNlcjc4OTQ4NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7894859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ricardokleinklein",
"html_url": "https://github.com/ricardokleinklein",
"followers_url": "https:/... | [] | closed | false | null | [] | [
"thanks ok @ricardokleinklein having a look now",
"Hi! I've been checking the example and my particular case, and seems it was a mistake from my side after all. Closing the issue - thank you!"
] | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
Related to #22827 (@kashif ?). In the solution proposed there as an example, when setting input_size = 1, the model crashes (log below).
```
Traceback (most recent call last):
File "/Users/ricardokleinlein/Desktop/univariate_probabilisticTransformer.py", line 182, in <module>
main()
F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27107/comments | https://api.github.com/repos/huggingface/transformers/issues/27107/events | https://github.com/huggingface/transformers/issues/27107 | 1,965,482,282 | I_kwDOCUB6oc51JuEq | 27,107 | How to export a Marian model in rust ? | {
"login": "flutter-painter",
"id": 14161798,
"node_id": "MDQ6VXNlcjE0MTYxNzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/14161798?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flutter-painter",
"html_url": "https://github.com/flutter-painter",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"They're models from https://github.com/guillaume-be/rust-bert you can probably ask there! cc @guillaume-be for info",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues ... | 1,698 | 1,701 | 1,701 | NONE | null | Most models based on Marian are also available in rust, such as : Helsinki-NLP/opus-mt-en-roa
Is it possible to do this using transformers ?
Did you asssit Helsinki-NLP in exporting the models to Rust ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27107/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27106/comments | https://api.github.com/repos/huggingface/transformers/issues/27106/events | https://github.com/huggingface/transformers/issues/27106 | 1,965,256,305 | I_kwDOCUB6oc51I25x | 27,106 | Torch.compile(model) causes Trainer to drop all columns of the dataset. | {
"login": "filbe1",
"id": 148529987,
"node_id": "U_kgDOCNpjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/148529987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/filbe1",
"html_url": "https://github.com/filbe1",
"followers_url": "https://api.github.com/users/filbe1/follower... | [] | closed | false | null | [] | [
"I am happy to take a look at this issue",
"Hello, the way to use Torch Compile with Trainer is as below. Please let us know if that solves the issue:\r\n\r\n```python\r\ntraqiner_args = TrainerArguments(\r\n torch_compile_backend=\"inductor\", # sets `torch_compile=True` if not passed.\r\n torch_compile_mo... | 1,698 | 1,705 | 1,705 | NONE | null | ### System Info
Hello.
I have a working model and I decided to try to speed up training by using torch.compile(). However when I pass the compiled model to the Trainer it seems like it cannot get the arguments of the forward function, so it promptly drops all columns of the dataset, reducing it's size to zero.
Wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27106/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27105/comments | https://api.github.com/repos/huggingface/transformers/issues/27105/events | https://github.com/huggingface/transformers/pull/27105 | 1,965,139,755 | PR_kwDOCUB6oc5d887p | 27,105 | Provide alternative when warning on use_auth_token | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Simply added 4 words, nothing more :wink: ",
"Well, 3 reviews so I'll merged! :smile: Thanks everyone :)",
"thanks for the prompt response @Wauplin "
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | This PR updates the warning message when a user uses `use_auth_token` instead of `token`. In some cases, the deprecation warning states that `use_auth_token` is deprecated without mentioning `token` as an alternative. This PR fixes this.
Opened this issue after some users got confused they wouldn't be able to authen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27105/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/27105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27105",
"html_url": "https://github.com/huggingface/transformers/pull/27105",
"diff_url": "https://github.com/huggingface/transformers/pull/27105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27105.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27104/comments | https://api.github.com/repos/huggingface/transformers/issues/27104/events | https://github.com/huggingface/transformers/pull/27104 | 1,965,107,650 | PR_kwDOCUB6oc5d81-L | 27,104 | Fix docstring and type hint for resize | {
"login": "daniilgaltsev",
"id": 75201860,
"node_id": "MDQ6VXNlcjc1MjAxODYw",
"avatar_url": "https://avatars.githubusercontent.com/u/75201860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniilgaltsev",
"html_url": "https://github.com/daniilgaltsev",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27104). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Updates the type hint and the docstring for `resize` since the image transformation functions should work with numpy arrays.
Closes #26986
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27104",
"html_url": "https://github.com/huggingface/transformers/pull/27104",
"diff_url": "https://github.com/huggingface/transformers/pull/27104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27104.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27103/comments | https://api.github.com/repos/huggingface/transformers/issues/27103/events | https://github.com/huggingface/transformers/issues/27103 | 1,965,096,536 | I_kwDOCUB6oc51IP5Y | 27,103 | model.generate(**inputs) breaks when inputs are batched on GPU | {
"login": "vitalyshalumov",
"id": 33824221,
"node_id": "MDQ6VXNlcjMzODI0MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/33824221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vitalyshalumov",
"html_url": "https://github.com/vitalyshalumov",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Doesn't seems like the model was put on the device when you did `inputs.to(\"cuda\")` !Did you try setting `model.to(\"cuda\")` as well? ",
"model.to('cuda') resolves the issue. Thanks!"
] | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.34.1
- Platform: Linux-5.15.0-1050-azure-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.18.0
- Safetensors version: 0.4.0
- Accelerate version: 0.24.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27103/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27102/comments | https://api.github.com/repos/huggingface/transformers/issues/27102/events | https://github.com/huggingface/transformers/pull/27102 | 1,965,068,822 | PR_kwDOCUB6oc5d8tmS | 27,102 | Revert "add exllamav2 arg" | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think we can open an issue and can just do a follow up PR no?",
"Let's give @SunMarc some more time not sure if he'll get through this before next week and let's not forget about this! 🤗 ",
"OK sounds great!"
] | 1,698 | 1,698 | 1,698 | COLLABORATOR | null | Reverts huggingface/transformers#26437 in order to have a proper deprecation cycle cc @SunMarc | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27102",
"html_url": "https://github.com/huggingface/transformers/pull/27102",
"diff_url": "https://github.com/huggingface/transformers/pull/27102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27102.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27101/comments | https://api.github.com/repos/huggingface/transformers/issues/27101/events | https://github.com/huggingface/transformers/issues/27101 | 1,965,067,348 | I_kwDOCUB6oc51IIxU | 27,101 | Convert script for llama2 is not correct | {
"login": "fancyerii",
"id": 5372812,
"node_id": "MDQ6VXNlcjUzNzI4MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5372812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fancyerii",
"html_url": "https://github.com/fancyerii",
"followers_url": "https://api.github.com/users/fa... | [] | closed | false | null | [] | [
"Hey, it's not a very serious issue no, the max_position embedding can be changed in the config and all converted checkpoints online are working as expected. Unless you have the need to convert them yourself and don't change it, yes generating after 2k will deteriorate but pretty minimal. \r\n\r\nPlease make sure y... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.34.1
- Platform: Linux-4.15.0-213-generic-x86_64-with-glibc2.27
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.24.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27101/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27100/comments | https://api.github.com/repos/huggingface/transformers/issues/27100/events | https://github.com/huggingface/transformers/issues/27100 | 1,965,022,439 | I_kwDOCUB6oc51H9zn | 27,100 | NotImplementedError when calling AutoTokenizer from ctransformers package | {
"login": "heiko-braun",
"id": 369380,
"node_id": "MDQ6VXNlcjM2OTM4MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/369380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heiko-braun",
"html_url": "https://github.com/heiko-braun",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"It seems to bump off https://github.com/marella/ctransformers/blob/main/ctransformers/transformers.py#L84 into https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils.py#L367, but I don't see where it runs into the NotImplementedError",
"Maybe it's realted to https://github.com/... | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
```
Python 3.10.8
transformers==4.34.1
ctransformers==0.2.27
```
I am tinkering with `TheBloke/Mistral-7B-Instruct-v0.1-GGUF`, but when calling AutoTokenizer, I run into a `NotImplementedError `
### Who can help?
_No response_
### Information
- [X] The official example scrip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27099/comments | https://api.github.com/repos/huggingface/transformers/issues/27099/events | https://github.com/huggingface/transformers/pull/27099 | 1,964,938,241 | PR_kwDOCUB6oc5d8RqX | 27,099 | [`Tokenizer Serialization`] Fix the broken serialisation | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27099). All of your documentation changes will be reflected on that endpoint.",
"Pegasus is the only slow failure I witnessed so checking this now before merging! ",
"Ok, the issue is that when we force the added tokens e... | 1,698 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
Should fix some serialization issues, mostly save_pretrained with all the init kwargs, and from_pretrained with dicts.
fixes #26732
With main:
```python
>>> from transformers import AutoTokenizer
>>> tokenizer = AutoTokenizer.from_pretrained("EleutherAI/Llemma_7b", use_fast=False)
File ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27099",
"html_url": "https://github.com/huggingface/transformers/pull/27099",
"diff_url": "https://github.com/huggingface/transformers/pull/27099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27099.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27098/comments | https://api.github.com/repos/huggingface/transformers/issues/27098/events | https://github.com/huggingface/transformers/pull/27098 | 1,964,933,234 | PR_kwDOCUB6oc5d8Qnz | 27,098 | Translate `en/tasks` folder docs to Japanese 🇯🇵 | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> I'll wrap up the rest of the reviews tomorrow!\r\n\r\ngot it! take your time till then I will also review the documents once more.",
"@stevhliu the error does not make sense to me\r\n\r\n```\r\npostcss-empty: postcss.plugin was deprecated. Migration guide:\r\nhttps://evilmartians.com/chronicles/postcss-8-plugi... | 1,698 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
translating `en` docs to `JP`.
Fixes #27097
Documentation: @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27098",
"html_url": "https://github.com/huggingface/transformers/pull/27098",
"diff_url": "https://github.com/huggingface/transformers/pull/27098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27098.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27097/comments | https://api.github.com/repos/huggingface/transformers/issues/27097/events | https://github.com/huggingface/transformers/issues/27097 | 1,964,927,501 | I_kwDOCUB6oc51HmoN | 27,097 | [i18n-jp] Translating `en/tasks` folder docs to Japanese 🇯🇵 | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"Is anyone working on this? I'm interested in contributing!\r\nIf no one is working on it, I would like to go from A (asr.md) to Z (zero_shot_object_detection.md) :)",
"@Yuki-Imajuku , the PR is already made for this issue, see #27098, \r\n\r\nyou can work on #27392"
] | 1,698 | 1,701 | 1,701 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27097/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27096/comments | https://api.github.com/repos/huggingface/transformers/issues/27096/events | https://github.com/huggingface/transformers/issues/27096 | 1,964,919,742 | I_kwDOCUB6oc51Hku- | 27,096 | Issue with Installing black in Python - needs to install seperately | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Would run `pip install -e \".[quality]\"`, I think you need the styling ",
"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 guidel... | 1,698 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
I am encountering an issue when trying to install "black" after running the following commands:
```bash
pip install -e ".[docs]"
pip install git+https://github.com/huggingface/doc-builder
```
`black` should be installed with the above commands only, every time I need to install it separately... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27095/comments | https://api.github.com/repos/huggingface/transformers/issues/27095/events | https://github.com/huggingface/transformers/issues/27095 | 1,964,905,946 | I_kwDOCUB6oc51HhXa | 27,095 | Packages auto-gptq or optimum mistakenly reported as not available | {
"login": "stwykd",
"id": 5012027,
"node_id": "MDQ6VXNlcjUwMTIwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5012027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stwykd",
"html_url": "https://github.com/stwykd",
"followers_url": "https://api.github.com/users/stwykd/foll... | [] | closed | false | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"hi @stwykd \r\nHmmm with these notebooks I used to face similar issues with `bitsandbytes` and I resolved them by simply deleting the kernel and restarting it. Make sure to put all packages at the first cell. Let me know how that goes",
"Hey. I did already tried restarting the kernel, but the error persisted.\r\... | 1,698 | 1,704 | 1,703 | NONE | null | ### System Info
I'm running on a Kaggle notebook using GPU T4 x2
### Who can help?
@younesbelkada @SunMarc
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27095/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27094/comments | https://api.github.com/repos/huggingface/transformers/issues/27094/events | https://github.com/huggingface/transformers/pull/27094 | 1,964,819,382 | PR_kwDOCUB6oc5d74GF | 27,094 | Create example code problem fixed | {
"login": "Diksha-Binary-Ninja",
"id": 139619268,
"node_id": "U_kgDOCFJrxA",
"avatar_url": "https://avatars.githubusercontent.com/u/139619268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Diksha-Binary-Ninja",
"html_url": "https://github.com/Diksha-Binary-Ninja",
"followers_url": "https... | [] | 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,698 | 1,701 | 1,701 | NONE | null | The error you're encountering is due to the fact that the model you're using, "amazon/MistralLite," doesn't support Flash Attention 2.0. Flash Attention 2.0 is a specific type of attention mechanism, and not all models in the Transformers library are compatible with it.
To resolve this issue, you have a few options:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27094/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27094",
"html_url": "https://github.com/huggingface/transformers/pull/27094",
"diff_url": "https://github.com/huggingface/transformers/pull/27094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27094.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27093/comments | https://api.github.com/repos/huggingface/transformers/issues/27093/events | https://github.com/huggingface/transformers/pull/27093 | 1,964,769,076 | PR_kwDOCUB6oc5d7tXP | 27,093 | Translate index.md to Turkish | {
"login": "mertyyanik",
"id": 32648818,
"node_id": "MDQ6VXNlcjMyNjQ4ODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/32648818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mertyyanik",
"html_url": "https://github.com/mertyyanik",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @mertyyanik ! Thank you for working on translating the doc page into Turkish.\r\nFrom what I see, this is the first time a doc page has been translated into Turkish. As such, you'll need to modify two more files in order to build the docs in a new language - `.github/workflows/build_documentation.yml` and `.git... | 1,698 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
Translated `index.md` to Turkish language.
Part of #27088
## Who can review?
@stevhliu, @MKhalusova, @merveenoyan
<!-- Your PR will be replied to more quickly if you can figure out the right person to tag with @
If you know how to use git blame, that is the easiest way, otherwis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27093",
"html_url": "https://github.com/huggingface/transformers/pull/27093",
"diff_url": "https://github.com/huggingface/transformers/pull/27093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27093.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27092/comments | https://api.github.com/repos/huggingface/transformers/issues/27092/events | https://github.com/huggingface/transformers/issues/27092 | 1,964,346,542 | I_kwDOCUB6oc51FYyu | 27,092 | example code problem | {
"login": "iplayfast",
"id": 751306,
"node_id": "MDQ6VXNlcjc1MTMwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/751306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iplayfast",
"html_url": "https://github.com/iplayfast",
"followers_url": "https://api.github.com/users/ipla... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"This is fixed by #26464 and will be in the next release"
] | 1,698 | 1,698 | null | NONE | null | while trying the example from https://huggingface.co/amazon/MistralLite This is the result.
python examplecode.py
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Traceback (most recent call last):
File "/home/chris/ai/text-generation-webui/a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27092/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27091/comments | https://api.github.com/repos/huggingface/transformers/issues/27091/events | https://github.com/huggingface/transformers/pull/27091 | 1,964,269,938 | PR_kwDOCUB6oc5d6CSi | 27,091 | Added huggingface emoji instead of the markdown format | {
"login": "shettyvarshaa",
"id": 112955692,
"node_id": "U_kgDOBruRLA",
"avatar_url": "https://avatars.githubusercontent.com/u/112955692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shettyvarshaa",
"html_url": "https://github.com/shettyvarshaa",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27091). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | Added huggingface emoji instead of the markdown format as it was not displaying the required emoji in that format
# 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/27091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27091/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27091",
"html_url": "https://github.com/huggingface/transformers/pull/27091",
"diff_url": "https://github.com/huggingface/transformers/pull/27091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27091.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27090/comments | https://api.github.com/repos/huggingface/transformers/issues/27090/events | https://github.com/huggingface/transformers/pull/27090 | 1,964,199,494 | PR_kwDOCUB6oc5d5yv7 | 27,090 | Fix no split modules underlying modules | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this do ?
This PR fixes `_get_no_split_modules` introduced in #26949. Basically, we don't check the children modules if they appear in `_no_split_modules`. By doing that, we can decide to not split a children module (can be a `PretrainedModel`) without having to check if its `_no_split_modules` is set or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27090/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27090",
"html_url": "https://github.com/huggingface/transformers/pull/27090",
"diff_url": "https://github.com/huggingface/transformers/pull/27090.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27090.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27089/comments | https://api.github.com/repos/huggingface/transformers/issues/27089/events | https://github.com/huggingface/transformers/pull/27089 | 1,964,168,734 | PR_kwDOCUB6oc5d5rwe | 27,089 | fix detr device map | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yes, not every `ForObjectDetection` models needs this. For example, the `TableTransformerForObjectDetection` don't modify the weights at initialization. I will add a comment. "
] | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this PR do ?
This PR solves an issue that #26849 introduced. For `DeformableDetrForObjectDetection` and `DetaForObjectDetection`, we can't initialize the model on `meta` device as we modify the weights during the initialization.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27089",
"html_url": "https://github.com/huggingface/transformers/pull/27089",
"diff_url": "https://github.com/huggingface/transformers/pull/27089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27088/comments | https://api.github.com/repos/huggingface/transformers/issues/27088/events | https://github.com/huggingface/transformers/issues/27088 | 1,964,081,611 | I_kwDOCUB6oc51EYHL | 27,088 | [i18n-TR] Translating docs to Turkish | {
"login": "mertyyanik",
"id": 32648818,
"node_id": "MDQ6VXNlcjMyNjQ4ODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/32648818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mertyyanik",
"html_url": "https://github.com/mertyyanik",
"followers_url": "https://api.github.com/use... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"I will work index.md first."
] | 1,698 | 1,701 | null | CONTRIBUTOR | null | Hi!
Let's bring the documentation to all the Turkish-speaking community 🌐
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27088/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27088/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27087/comments | https://api.github.com/repos/huggingface/transformers/issues/27087/events | https://github.com/huggingface/transformers/issues/27087 | 1,963,986,267 | I_kwDOCUB6oc51EA1b | 27,087 | Make it possible to pass `torch_dtype` argument as a string so it's easier to serialize | {
"login": "tokestermw",
"id": 4722119,
"node_id": "MDQ6VXNlcjQ3MjIxMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4722119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tokestermw",
"html_url": "https://github.com/tokestermw",
"followers_url": "https://api.github.com/users... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"I am happy to take a look at this! "
] | 1,698 | 1,707 | 1,707 | CONTRIBUTOR | null | ### Feature request
Hi, it would be nice if we can pass `torch_dtype` as a string.
```python
from transformers import pipeline
# this
m = pipeline('text-generation', 'Mistral-7B-Instruct-v0.1', device=0, low_cpu_mem_usage=True, torch_dtype=torch.float16)
# or that
m = pipeline('text-generation', 'Mistral-7... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27087/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27086/comments | https://api.github.com/repos/huggingface/transformers/issues/27086/events | https://github.com/huggingface/transformers/pull/27086 | 1,963,808,906 | PR_kwDOCUB6oc5d4cd3 | 27,086 | [Attention Mask] Refactor all encoder-decoder attention mask | {
"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._",
"Thanks for the fast reviews everyone! Ran slow tests\r\n```\r\nCUDA_VISIBLE_DEVICES=\"0\" RUN_SLOW=1 pytest ...\r\n```\r\n\r\nfor:\r\n- Mistral\r\n- Falcon\r\n- LLama\r\n- Whisper\r\n- Bart\r\n- LED (exceptional model)\r\n- Bloom (us... | 1,698 | 1,699 | 1,698 | MEMBER | null | # What does this PR do?
This PR refactors the attention mask of all PT Seq2Seq models. While this is a nice improvement of life, it is also necessary to effectively add FA2 and SDPA to PT Seq2Seq models (without having to change 54+ files).
In a follow-up PR it'll be much easier to add FA2 to just Bart and most i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27086/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27086/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27086",
"html_url": "https://github.com/huggingface/transformers/pull/27086",
"diff_url": "https://github.com/huggingface/transformers/pull/27086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27086.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27085/comments | https://api.github.com/repos/huggingface/transformers/issues/27085/events | https://github.com/huggingface/transformers/pull/27085 | 1,963,774,144 | PR_kwDOCUB6oc5d4U2R | 27,085 | [`T5Tokenizer`] Fix fast and extra tokens | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,698 | 1,698 | COLLABORATOR | null | # What does this PR do?
fixes #26951, where the extra ids were checked differently for fast and slow | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27085",
"html_url": "https://github.com/huggingface/transformers/pull/27085",
"diff_url": "https://github.com/huggingface/transformers/pull/27085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27085.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27084/comments | https://api.github.com/repos/huggingface/transformers/issues/27084/events | https://github.com/huggingface/transformers/pull/27084 | 1,963,679,219 | PR_kwDOCUB6oc5d4AFx | 27,084 | MusicGen: Add Stereo Model | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Is the format we gave (interleaving) forced by BC? Otherwise storing in two list or tuples would be better IMO (kind of like how audio are stored no?) \r\nmy only \"complain\" here",
"The original model is designed to predict them ... | 1,698 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
The original MusicGen model generates mono (1-channel) outputs. It does this by predicting a set of 4 codebooks at each generation step:
```
[codebook_1, codebook_2, codebook_3, codebook_4]
```
After generating, the sequence of predicted codebooks is passed through the EnCodec model to ge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27084/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/27084/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27084",
"html_url": "https://github.com/huggingface/transformers/pull/27084",
"diff_url": "https://github.com/huggingface/transformers/pull/27084.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27084.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27083/comments | https://api.github.com/repos/huggingface/transformers/issues/27083/events | https://github.com/huggingface/transformers/pull/27083 | 1,963,651,050 | PR_kwDOCUB6oc5d35-S | 27,083 | Fuyu processor: box coordinates | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27083). All of your documentation changes will be reflected on that endpoint.",
"Can I use AutoModelForCausalLM and AutoProcessor instead of using Fuyu-specific pipelines?",
"Hi @adhikjoshi, yes, you can load both the Fuy... | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
PoC to post-process box coordinates returned by the model. The following should work:
```py
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = FuyuForCausalLM.from_pretrained(model_id, device_map=device, torch_dtype=dtype)
processor = FuyuProcessor(image_processor=FuyuImageProc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27083",
"html_url": "https://github.com/huggingface/transformers/pull/27083",
"diff_url": "https://github.com/huggingface/transformers/pull/27083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27083.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27082/comments | https://api.github.com/repos/huggingface/transformers/issues/27082/events | https://github.com/huggingface/transformers/issues/27082 | 1,963,631,944 | I_kwDOCUB6oc51CqVI | 27,082 | accelerate training confusion | {
"login": "zwhus",
"id": 121282623,
"node_id": "U_kgDOBzqgPw",
"avatar_url": "https://avatars.githubusercontent.com/u/121282623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zwhus",
"html_url": "https://github.com/zwhus",
"followers_url": "https://api.github.com/users/zwhus/followers",
... | [] | closed | false | null | [] | [
"Hey, pretty sure you can still launch with `accelerate launch` so what is the issue you are having? ",
"ALso would be relevant to use the latest version of transformers! ",
"I would like to know whether the model is using FSDP for training after I start accelerate launch normally and configure FSDP under trans... | 1,698 | 1,701 | 1,701 | NONE | null | I have some questions about training with accelerate.
When I use transformers==4.28.0.dev0 and configure accelerate, the specific configuration is as follows:
```
- `Accelerate` version: 0.23.0
- Platform: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.13
- Numpy version: 1.22.4
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27081/comments | https://api.github.com/repos/huggingface/transformers/issues/27081/events | https://github.com/huggingface/transformers/pull/27081 | 1,963,265,557 | PR_kwDOCUB6oc5d2j14 | 27,081 | make tests of pytorch_example device agnostic | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27081). All of your documentation changes will be reflected on that endpoint.",
"@amyeroberts This is a continuation of (the merged) #25870. There might be more such PRs in the future."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/25654
## 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/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27081/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27081",
"html_url": "https://github.com/huggingface/transformers/pull/27081",
"diff_url": "https://github.com/huggingface/transformers/pull/27081.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27081.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27080/comments | https://api.github.com/repos/huggingface/transformers/issues/27080/events | https://github.com/huggingface/transformers/pull/27080 | 1,963,113,970 | PR_kwDOCUB6oc5d2CjF | 27,080 | Remove unneeded prints in modeling_gpt_neox.py | {
"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_27080). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
As per title
cc @ArthurZucker
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27080",
"html_url": "https://github.com/huggingface/transformers/pull/27080",
"diff_url": "https://github.com/huggingface/transformers/pull/27080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27080.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27079/comments | https://api.github.com/repos/huggingface/transformers/issues/27079/events | https://github.com/huggingface/transformers/pull/27079 | 1,963,021,126 | PR_kwDOCUB6oc5d1uXs | 27,079 | Bump`flash_attn` version to `2.1` | {
"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,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
FA-2.0 seems to cause several issues such as https://github.com/huggingface/transformers/issues/26697 / https://github.com/huggingface/transformers/issues/27056
As discussed offline, I propose to bump the FA-2 version to at least 2.1 to overcome these issues in the future
cc @ArthurZuc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27079/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27079",
"html_url": "https://github.com/huggingface/transformers/pull/27079",
"diff_url": "https://github.com/huggingface/transformers/pull/27079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27079.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27078/comments | https://api.github.com/repos/huggingface/transformers/issues/27078/events | https://github.com/huggingface/transformers/issues/27078 | 1,962,816,859 | I_kwDOCUB6oc50_jVb | 27,078 | 'LlamaTokenizerFast' object has no attribute 'apply_chat_template' | {
"login": "Manaschauhan28",
"id": 107470066,
"node_id": "U_kgDOBmfc8g",
"avatar_url": "https://avatars.githubusercontent.com/u/107470066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Manaschauhan28",
"html_url": "https://github.com/Manaschauhan28",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey, can you make sure you are using the latest release of `transformers`? And if upgrading to the latest version does not work share the output of `transformers-cli env`",
"\r... | 1,698 | 1,705 | 1,698 | NONE | null | ### System Info
I have tried the same code available on the huggingface hub but for me it is showing the error [Check here](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/app.py)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27078/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/27078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27077/comments | https://api.github.com/repos/huggingface/transformers/issues/27077/events | https://github.com/huggingface/transformers/pull/27077 | 1,962,791,984 | PR_kwDOCUB6oc5d08to | 27,077 | Added Telugu [te] translation for README.md in main | {
"login": "hakunamatata1997",
"id": 24734119,
"node_id": "MDQ6VXNlcjI0NzM0MTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/24734119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hakunamatata1997",
"html_url": "https://github.com/hakunamatata1997",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27077). All of your documentation changes will be reflected on that endpoint.",
"@stevhliu can you review this?"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27077/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27077",
"html_url": "https://github.com/huggingface/transformers/pull/27077",
"diff_url": "https://github.com/huggingface/transformers/pull/27077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27077.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27076/comments | https://api.github.com/repos/huggingface/transformers/issues/27076/events | https://github.com/huggingface/transformers/pull/27076 | 1,962,688,601 | PR_kwDOCUB6oc5d0mdr | 27,076 | 🌐 [i18n-ZH] Translate serialization.md into Chinese | {
"login": "yyLeaves",
"id": 76979429,
"node_id": "MDQ6VXNlcjc2OTc5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/76979429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyLeaves",
"html_url": "https://github.com/yyLeaves",
"followers_url": "https://api.github.com/users/yyL... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27076). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Translate serialization.md into Chinese
part of #20095
## Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27076/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/27076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27076",
"html_url": "https://github.com/huggingface/transformers/pull/27076",
"diff_url": "https://github.com/huggingface/transformers/pull/27076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27076.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27075/comments | https://api.github.com/repos/huggingface/transformers/issues/27075/events | https://github.com/huggingface/transformers/issues/27075 | 1,962,598,000 | I_kwDOCUB6oc50-t5w | 27,075 | Rating on NVIDIA A30 GPU is lower than RTX2080 and equal to GTX1070 | {
"login": "ThangPetros",
"id": 77918304,
"node_id": "MDQ6VXNlcjc3OTE4MzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/77918304?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThangPetros",
"html_url": "https://github.com/ThangPetros",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey, the model you are using seems to be using `SourceFileLoader` , and custom code.\r\nFirst I would recommend you to use `trust_remote_code = True` and properly register your model to avoid using `model = SourceFileLoader(\"model\", cached_path(hf_bucket_url(model_name,filename=\"model_handling.py\"))).load_modu... | 1,698 | 1,701 | 1,701 | NONE | null | ### Model description
Currently I'm evaluating a model on HuggingFace, it's called model_name = 'nguyenvulebinh/wav2vec2-base-vi'
When running on GTX1070, I evaluated the average result between audio track time and text conversion time and the result was 63x
With RTX2080 it is 130x
As for the A30, it is 68x
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27074/comments | https://api.github.com/repos/huggingface/transformers/issues/27074/events | https://github.com/huggingface/transformers/pull/27074 | 1,962,287,240 | PR_kwDOCUB6oc5dzOgz | 27,074 | [Llama FA2] Re-add _expand_attention_mask and clean a couple things | {
"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 | [] | [
"@ArthurZucker could you give this a quick review? It'd make the Bart FA PR much easier to continue and should also fix the better transformers problem with optimum",
"_The documentation is not available anymore as the PR was closed or merged._",
"Of course! "
] | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
This PR cleans the attention mask converter a bit more, corrects some docstrings and removes outdated comments and deprecates `_expand_attention_mask` to fix optimum. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27074/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27074",
"html_url": "https://github.com/huggingface/transformers/pull/27074",
"diff_url": "https://github.com/huggingface/transformers/pull/27074.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27074.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27073/comments | https://api.github.com/repos/huggingface/transformers/issues/27073/events | https://github.com/huggingface/transformers/pull/27073 | 1,961,993,199 | PR_kwDOCUB6oc5dyO5U | 27,073 | [`core`/ `gradient_checkpointing`] Refactor GC - part 2 | {
"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._",
"@ArthurZucker @LysandreJik - as discussed offline now this PR reverts back the previous behaviour (i.e. if a user sets `module.gradient_checkpointing = True` in a module that supports it, everthing should work fine) + I have set `gra... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Extends https://github.com/huggingface/transformers/pull/27020 by further simplifying the GC enable / disable mechanism. We can simply iterate over all submodules of the `PreTrainedModel` and check for the attribute `gradient_checkpointing`.
Some models had `supports_gradient_checkpointin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27073",
"html_url": "https://github.com/huggingface/transformers/pull/27073",
"diff_url": "https://github.com/huggingface/transformers/pull/27073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27072/comments | https://api.github.com/repos/huggingface/transformers/issues/27072/events | https://github.com/huggingface/transformers/pull/27072 | 1,961,985,315 | PR_kwDOCUB6oc5dyNOv | 27,072 | Bump werkzeug from 2.2.3 to 3.0.1 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.3 to 3.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/werkzeug/releases">werkzeug's releases</a>.</em></p>
<blockquote>
<h2>3.0.1</h2>
<p>This is a security release for the 3.0.x feature branch.</p>
<... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27072/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27072",
"html_url": "https://github.com/huggingface/transformers/pull/27072",
"diff_url": "https://github.com/huggingface/transformers/pull/27072.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27072.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27071/comments | https://api.github.com/repos/huggingface/transformers/issues/27071/events | https://github.com/huggingface/transformers/pull/27071 | 1,961,686,791 | PR_kwDOCUB6oc5dxM0Q | 27,071 | [docstring] fix incorrect llama docstring: encoder -> decoder | {
"login": "ztjhz",
"id": 59118459,
"node_id": "MDQ6VXNlcjU5MTE4NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/59118459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ztjhz",
"html_url": "https://github.com/ztjhz",
"followers_url": "https://api.github.com/users/ztjhz/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27071). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Fixes the erroneous reference from "encoder" to "decoder" in the llama docstring.
<!--
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 f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27071/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27071",
"html_url": "https://github.com/huggingface/transformers/pull/27071",
"diff_url": "https://github.com/huggingface/transformers/pull/27071.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27071.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27070/comments | https://api.github.com/repos/huggingface/transformers/issues/27070/events | https://github.com/huggingface/transformers/issues/27070 | 1,961,665,595 | I_kwDOCUB6oc507KQ7 | 27,070 | [Maintenance] Unused dependency in Pytorch translation example | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"Hey! Thanks for opening an issue 🤗 \r\nI understand your frustration, seems like this was added in #10971 to allow usage of certain datasets, which for me should be left to the user. \r\nBut I am not sure I understand why this should be changed in transformers and not the repo who use transformers 😅 \r\nLet's tr... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | ### System Info
```
`transformers` version: 4.34.1
Platform: macOS-13.4.1-arm64-arm-64bit
Python version: 3.10.10
Huggingface_hub version: 0.17.3
Safetensors version: 0.4.0
Accelerate version: 0.23.0
Accelerate config: not found
PyTorch version (GPU?): 2.1.0 (False)
Tensorflow version (GPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27069/comments | https://api.github.com/repos/huggingface/transformers/issues/27069/events | https://github.com/huggingface/transformers/pull/27069 | 1,961,515,893 | PR_kwDOCUB6oc5dwnRX | 27,069 | Handle unsharded Llama2 model types in conversion script | {
"login": "coreyhu",
"id": 4167654,
"node_id": "MDQ6VXNlcjQxNjc2NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4167654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coreyhu",
"html_url": "https://github.com/coreyhu",
"followers_url": "https://api.github.com/users/coreyhu/... | [] | closed | false | null | [] | [
"There's currently two options for unsharded `model_size`, 7B and 7Bf (which I assume represents 7B-chat). While we could alternatively remove the *-Bf options for `model_size`, it seems it's kept for backwards compatibility (line 23). Instead, this PR allows for both 7B and 7B-chat to be treated as unsharded.",
... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Fixes the unsharded condition to check previously looked-up `num_shards` instead of model type. This is important because multiple model types are uncharded (7B and 7BF)
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to ap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27069",
"html_url": "https://github.com/huggingface/transformers/pull/27069",
"diff_url": "https://github.com/huggingface/transformers/pull/27069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27068/comments | https://api.github.com/repos/huggingface/transformers/issues/27068/events | https://github.com/huggingface/transformers/pull/27068 | 1,961,466,778 | PR_kwDOCUB6oc5dwck3 | 27,068 | [`Trainer` / `GC`] Add `gradient_checkpointing_kwargs` in trainer and training arguments | {
"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._",
"Also why does it *partially* fix the issue",
"It partially fixes the issue because I need https://github.com/huggingface/peft/pull/1036 to be merged to fix the bug with respect to PEFT models"
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Partially fixes: https://github.com/huggingface/trl/pull/912
Following https://github.com/huggingface/transformers/pull/27020 it is important to propagate `gradient_checkpointing_kwargs` in `Trainer` as well
cc @ArthurZucker
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27068",
"html_url": "https://github.com/huggingface/transformers/pull/27068",
"diff_url": "https://github.com/huggingface/transformers/pull/27068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27068.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27067/comments | https://api.github.com/repos/huggingface/transformers/issues/27067/events | https://github.com/huggingface/transformers/pull/27067 | 1,961,409,242 | PR_kwDOCUB6oc5dwQPY | 27,067 | Created SECURITY.md | {
"login": "shettyvarshaa",
"id": 112955692,
"node_id": "U_kgDOBruRLA",
"avatar_url": "https://avatars.githubusercontent.com/u/112955692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shettyvarshaa",
"html_url": "https://github.com/shettyvarshaa",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Yes, I thought of adding handling bug into security policy which is also mentioned in contributing.md, but also, creating security doc will complete your community profile to meet the standards defined for a Repo\r\n\r\n[Screenshot of this repo's current community profile](https://github.com/huggingface/transforme... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | Created a Security Policy to enhance community profile of the repository and to prevent potential vulnerabilities
# 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/27067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27067",
"html_url": "https://github.com/huggingface/transformers/pull/27067",
"diff_url": "https://github.com/huggingface/transformers/pull/27067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27066/comments | https://api.github.com/repos/huggingface/transformers/issues/27066/events | https://github.com/huggingface/transformers/pull/27066 | 1,961,216,750 | PR_kwDOCUB6oc5dvlyp | 27,066 | docs: add addition library install | {
"login": "pphuc25",
"id": 81808312,
"node_id": "MDQ6VXNlcjgxODA4MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pphuc25",
"html_url": "https://github.com/pphuc25",
"followers_url": "https://api.github.com/users/pphuc2... | [] | closed | false | null | [] | [
"Hey @pphuc25 - our convention with the `examples` files is that we assume that the user has the latest version of Transformers through an [editable install](https://huggingface.co/docs/transformers/installation#editable-install). The `requirements.txt` files then specify the **additional** requirements needed to r... | 1,698 | 1,700 | 1,700 | CONTRIBUTOR | null | Hi,
Following the tutorial instructions, I discovered that the `requirements.txt` file is missing some libraries, such as `transformers`, and contains an incorrect version for `tokenizer`. Consequently, I added the missing library to the list.
I would like to cc @sanchit-gandhi to review my PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27066",
"html_url": "https://github.com/huggingface/transformers/pull/27066",
"diff_url": "https://github.com/huggingface/transformers/pull/27066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27066.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27065/comments | https://api.github.com/repos/huggingface/transformers/issues/27065/events | https://github.com/huggingface/transformers/pull/27065 | 1,961,166,665 | PR_kwDOCUB6oc5dvbAs | 27,065 | 🌐 [i18n-ZH] Translate custom_models.md into Chinese | {
"login": "yyLeaves",
"id": 76979429,
"node_id": "MDQ6VXNlcjc2OTc5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/76979429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yyLeaves",
"html_url": "https://github.com/yyLeaves",
"followers_url": "https://api.github.com/users/yyL... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27065). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Translate custom_models.md into Chinese
part of #20095
## Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27065",
"html_url": "https://github.com/huggingface/transformers/pull/27065",
"diff_url": "https://github.com/huggingface/transformers/pull/27065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27065.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27064/comments | https://api.github.com/repos/huggingface/transformers/issues/27064/events | https://github.com/huggingface/transformers/pull/27064 | 1,961,001,299 | PR_kwDOCUB6oc5du3FL | 27,064 | Safetensors serialization by default | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Narsil, this is what is currently supported and not supported:\r\n\r\n- TF -TF - Supported, tested here: https://github.com/huggingface/transformers/blob/a79600fc26d57a9262ce069434e3bc0ea6b8ef47/tests/test_modeling_tf_utils.py#L501-... | 1,698 | 1,698 | 1,698 | MEMBER | null | This PR aims to do one thing but is larger than expected. I'm happy to break it down into smaller PRs if it helps for reviewing.
This PR aims to switch safe serialization to `True` by default for `torch` models. In doing so, it revealed a few bugs in the existing implementation and `safetensors` support that this PR... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27064",
"html_url": "https://github.com/huggingface/transformers/pull/27064",
"diff_url": "https://github.com/huggingface/transformers/pull/27064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27064.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27063/comments | https://api.github.com/repos/huggingface/transformers/issues/27063/events | https://github.com/huggingface/transformers/pull/27063 | 1,960,995,163 | PR_kwDOCUB6oc5du1t1 | 27,063 | [`docs`] Add `MaskGenerationPipeline` in docs | {
"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,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
As requested on the Hub here: https://huggingface.co/facebook/sam-vit-base/discussions/3#65389abb67325b6218f92719 currently there is no documentation about `MaskGenerationPipeline` for SAM model
`MaskGenerationPipeline` was also missing on the main init.
cc @ArthurZucker | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27063",
"html_url": "https://github.com/huggingface/transformers/pull/27063",
"diff_url": "https://github.com/huggingface/transformers/pull/27063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27062/comments | https://api.github.com/repos/huggingface/transformers/issues/27062/events | https://github.com/huggingface/transformers/pull/27062 | 1,960,841,981 | PR_kwDOCUB6oc5duUdX | 27,062 | Skip-test | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27062). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | COLLABORATOR | null | # What does this PR do?
Skip plbart test. Seems to start failing after #26752 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27062",
"html_url": "https://github.com/huggingface/transformers/pull/27062",
"diff_url": "https://github.com/huggingface/transformers/pull/27062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27061/comments | https://api.github.com/repos/huggingface/transformers/issues/27061/events | https://github.com/huggingface/transformers/issues/27061 | 1,960,833,644 | I_kwDOCUB6oc503_Js | 27,061 | ImportError: cannot import name 'SeamlessM4TModel' from 'transformers' | {
"login": "mwzkhalil",
"id": 77918472,
"node_id": "MDQ6VXNlcjc3OTE4NDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/77918472?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mwzkhalil",
"html_url": "https://github.com/mwzkhalil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"\r\n",
"A duplicate of #27036, please make sure you install form source 🤗 "
] | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
I encountered an ImportError when trying to import 'SeamlessM4TModel' from the 'transformers' library,
Code:
`from transformers import AutoProcessor, SeamlessM4TModel
processor = AutoProcessor.from_pretrained("facebook/hf-seamless-m4t-large")
model = SeamlessM4TModel.from_pretrained("facebook/hf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27060/comments | https://api.github.com/repos/huggingface/transformers/issues/27060/events | https://github.com/huggingface/transformers/pull/27060 | 1,960,815,824 | PR_kwDOCUB6oc5duOrz | 27,060 | Remove-auth-token | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,698 | 1,699 | 1,699 | COLLABORATOR | null | # What does this PR do?
Replaces internal uses of the `use_auth_token` argument to `token`. Will remove the warning we get in most of the tests push to hub so that's removing pollution here and otherwise external warnings.
fixes #27049 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27060",
"html_url": "https://github.com/huggingface/transformers/pull/27060",
"diff_url": "https://github.com/huggingface/transformers/pull/27060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27060.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27059/comments | https://api.github.com/repos/huggingface/transformers/issues/27059/events | https://github.com/huggingface/transformers/issues/27059 | 1,960,796,926 | I_kwDOCUB6oc5032L- | 27,059 | Tracking full integration for fill-in-middle (FIM) | {
"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/... | [
{
"id": 6126880899,
"node_id": "LA_kwDOCUB6oc8AAAABbTDIgw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/contributions-welcome",
"name": "contributions-welcome",
"color": "F99E09",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @sayakpaul, I would like to work on this issue!",
"Awesome!\r\n\r\nPinging @ArthurZucker to check if we should start with pipeline or the example. ",
"Both are independent, not sure which one will be the easiest ",
"I will start with the example resource!\r\nDo you recommend I check out any existing resou... | 1,698 | 1,707 | null | MEMBER | null | Given that most code LLMs are trained using the FIM objective [1], I think it makes a lot of sense to work on:
* A training example just like how we have it here: https://github.com/huggingface/transformers/tree/main/examples/pytorch. This can also be turned into a task guide later (example: https://huggingface.co/d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27059/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27058/comments | https://api.github.com/repos/huggingface/transformers/issues/27058/events | https://github.com/huggingface/transformers/issues/27058 | 1,960,701,677 | I_kwDOCUB6oc503e7t | 27,058 | Add persistent_workers parameter to Dataloader | {
"login": "Sorrow321",
"id": 20703486,
"node_id": "MDQ6VXNlcjIwNzAzNDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/20703486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sorrow321",
"html_url": "https://github.com/Sorrow321",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @muellerzr ",
"A PR for this would be great @Sorrow321! :) ",
"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](ht... | 1,698 | 1,701 | 1,701 | CONTRIBUTOR | null | ### Feature request
**persistent_workers** is a parameter that can be passed to Dataloader. It's set to **False** by default. What it does ([quote](https://discuss.pytorch.org/t/what-are-the-dis-advantages-of-persistent-workers/102110/2)):
> With this option to false, every time your code hits a line line for sam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27057/comments | https://api.github.com/repos/huggingface/transformers/issues/27057/events | https://github.com/huggingface/transformers/issues/27057 | 1,960,502,763 | I_kwDOCUB6oc502uXr | 27,057 | Cross Entropy Loss Ignore Index in BARTForConditionalGeneration | {
"login": "dipta007",
"id": 13894030,
"node_id": "MDQ6VXNlcjEzODk0MDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/13894030?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dipta007",
"html_url": "https://github.com/dipta007",
"followers_url": "https://api.github.com/users/dip... | [] | closed | false | null | [] | [
"Hello, the default ignore index of the cross entropy loss is `-100` which is what we use. \r\nIf you follow the docstring, the labels are supposed to be given by the user:\r\n\r\n> labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size,)`, `optional`):\r\n> Labels for computing the sequence ... | 1,698 | 1,701 | 1,701 | NONE | null | ### System Info
This bug doesn't depend on the environment.
### Who can help?
@ArthurZucker @younesbelkada
In the [code](https://github.com/huggingface/transformers/blob/6cbc1369a330860c128a1ba365f246751382c9e5/src/transformers/models/bart/modeling_bart.py#L1412), BARTForConditionalGeneration used the defa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27057/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27056/comments | https://api.github.com/repos/huggingface/transformers/issues/27056/events | https://github.com/huggingface/transformers/issues/27056 | 1,960,499,933 | I_kwDOCUB6oc502trd | 27,056 | Output from LLAMA FlashAttention2 is different from that without FlashAttention2 | {
"login": "jeannefukumaru",
"id": 26344607,
"node_id": "MDQ6VXNlcjI2MzQ0NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/26344607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeannefukumaru",
"html_url": "https://github.com/jeannefukumaru",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Seems like a duplicate of #27056 and #26697",
"Thanks for the reply @ArthurZucker . Upgrading the flash attention version worked! ",
"Closing issue for now"
] | 1,698 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.3
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27056/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27055/comments | https://api.github.com/repos/huggingface/transformers/issues/27055/events | https://github.com/huggingface/transformers/pull/27055 | 1,960,463,059 | PR_kwDOCUB6oc5dtCJB | 27,055 | Fix typo in warning message | {
"login": "liuxueyang",
"id": 3584877,
"node_id": "MDQ6VXNlcjM1ODQ4Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3584877?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liuxueyang",
"html_url": "https://github.com/liuxueyang",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"It's not a typo. I guess this is a missing change in the PR #18492 ",
"Already rebased and CI passed.",
"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 ... | 1,698 | 1,700 | 1,700 | CONTRIBUTOR | null | Fix a typo in the warning message. The value of `default_cache_path` is `~/.cache/huggingface/hub` not `~/.cache/huggingface/transformers`.
v4.22.0 is the earlist version that contains those changes in PR https://github.com/huggingface/transformers/pull/18492
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27055",
"html_url": "https://github.com/huggingface/transformers/pull/27055",
"diff_url": "https://github.com/huggingface/transformers/pull/27055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27055.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27054/comments | https://api.github.com/repos/huggingface/transformers/issues/27054/events | https://github.com/huggingface/transformers/issues/27054 | 1,960,448,576 | I_kwDOCUB6oc502hJA | 27,054 | /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found when install transformers using conda | {
"login": "liumilan",
"id": 5533901,
"node_id": "MDQ6VXNlcjU1MzM5MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5533901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liumilan",
"html_url": "https://github.com/liumilan",
"followers_url": "https://api.github.com/users/liumi... | [] | closed | false | null | [] | [] | 1,698 | 1,698 | 1,698 | NONE | null | conda create -n transformer python=3.8.0
conda activate transformer
conda install -c huggingface transformers
conda install PyTorch=1.10
conda install -c anaconda openssl
and when i run from from transformers import pipeline ,it will report
/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27053/comments | https://api.github.com/repos/huggingface/transformers/issues/27053/events | https://github.com/huggingface/transformers/issues/27053 | 1,960,339,689 | I_kwDOCUB6oc502Gjp | 27,053 | Number of tokens mismatch for Codellama-34b-hf | {
"login": "irenedea",
"id": 14367635,
"node_id": "MDQ6VXNlcjE0MzY3NjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/14367635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/irenedea",
"html_url": "https://github.com/irenedea",
"followers_url": "https://api.github.com/users/ire... | [] | closed | false | null | [] | [
"Hey @ArthurZucker , would you be able to help with this? I don't think https://github.com/huggingface/transformers/issues/26156 was fully resolved. Thank you!",
"Hey, yes for sure! ",
"Hey @ArthurZucker any ETA on when this might be resolved?",
"@dakinggg Arthur is off for a week. If someone in the communit... | 1,698 | 1,702 | 1,702 | NONE | null | ### System Info
transformers 4.34.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27052/comments | https://api.github.com/repos/huggingface/transformers/issues/27052/events | https://github.com/huggingface/transformers/pull/27052 | 1,960,315,590 | PR_kwDOCUB6oc5dsjty | 27,052 | Persimmon fa2 attention4d | {
"login": "jeromeku",
"id": 2455711,
"node_id": "MDQ6VXNlcjI0NTU3MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2455711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeromeku",
"html_url": "https://github.com/jeromeku",
"followers_url": "https://api.github.com/users/jerom... | [] | closed | false | null | [] | [
"@younesbelkada \r\n\r\nlmk if my implementation of 4d attention mask (#26792) + FA2 needs tweaking.\r\n\r\nRegarding previous [comment](https://github.com/huggingface/transformers/issues/26350?utm_source=tldrai#issuecomment-1745613947), I'd like to understand HF's current strategy for integrating third-party / OSS... | 1,698 | 1,703 | 1,703 | NONE | null | # What does this PR do?
Adds Flash Attention 2 for Persimmon per #26350
Adds 2d->4d attention mask per #26792
## Who can review?
@younesbelkada
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27052/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27052",
"html_url": "https://github.com/huggingface/transformers/pull/27052",
"diff_url": "https://github.com/huggingface/transformers/pull/27052.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27052.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27051/comments | https://api.github.com/repos/huggingface/transformers/issues/27051/events | https://github.com/huggingface/transformers/pull/27051 | 1,960,248,672 | PR_kwDOCUB6oc5dsWcq | 27,051 | Bugfix / ffmpeg input device (mic) not working on Windows | {
"login": "Teapack1",
"id": 104318527,
"node_id": "U_kgDOBjfGPw",
"avatar_url": "https://avatars.githubusercontent.com/u/104318527?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Teapack1",
"html_url": "https://github.com/Teapack1",
"followers_url": "https://api.github.com/users/Teapack1/... | [] | closed | false | null | [] | [
"Hello , I wanted to kindly check in on the status of this PR review. Any feedback or alternative suggestions of the microphone issue are greatly appreciated. Thank you.\n@sanchit-gandhi\n@Narsil",
"@sanchit-gandhi Im using this patch on Windows 10 desktop with external mic and Windows 10 laptop with integrated m... | 1,698 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
According to issue #25183 and personal experience, the `ffmpeg_microphone()` (`ffmpeg_microphone_live()`) function of the `audio_utils.py` pipeline, responsible for streaming raw microphone data, does not run propperly on Windows machines.
It does not crash, the issue manifests by code passin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27051",
"html_url": "https://github.com/huggingface/transformers/pull/27051",
"diff_url": "https://github.com/huggingface/transformers/pull/27051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27050/comments | https://api.github.com/repos/huggingface/transformers/issues/27050/events | https://github.com/huggingface/transformers/issues/27050 | 1,960,195,010 | I_kwDOCUB6oc501jPC | 27,050 | Difference in LlamaAttention & LlamaFlashAttention2 attn_output | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"Hey, I think this is related to flash attention version, could you have a look at #26697? ",
"We are currently using `flash-attn==2.3.2`. There was a minor version release of flash attention literally yesterday.\r\n\r\nThe problem persists with `flash-attn==2.3.3`.\r\n\r\nAre you able to reproduce on your end wi... | 1,698 | 1,704 | null | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.1
- Platform: Linux-5.15.0-86-generic-x86_64-with-glibc2.31
- Python version: 3.11.5
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27050/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/27050/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27049/comments | https://api.github.com/repos/huggingface/transformers/issues/27049/events | https://github.com/huggingface/transformers/issues/27049 | 1,960,125,156 | I_kwDOCUB6oc501SLk | 27,049 | deprecation warning from transformers itself | {
"login": "pseudotensor",
"id": 2249614,
"node_id": "MDQ6VXNlcjIyNDk2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2249614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pseudotensor",
"html_url": "https://github.com/pseudotensor",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Yep, a CTRL + F in transformers indicates that this is also the case for some peft calls here and there. I'll open a pr for a fix, thanks for reporting!"
] | 1,698 | 1,699 | 1,699 | NONE | null | ### System Info
https://github.com/huggingface/transformers/blob/6cbc1369a330860c128a1ba365f246751382c9e5/src/transformers/generation/configuration_utils.py#L717
This is using use_auth_token even though it's deprecated, so always showing warning despite no user mishandling.
### Who can help?
@gante
### Informat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27048/comments | https://api.github.com/repos/huggingface/transformers/issues/27048/events | https://github.com/huggingface/transformers/pull/27048 | 1,959,947,146 | PR_kwDOCUB6oc5drV6Q | 27,048 | [DOCS] minor fixes in README.md | {
"login": "Akash190104",
"id": 112017800,
"node_id": "U_kgDOBq1BiA",
"avatar_url": "https://avatars.githubusercontent.com/u/112017800?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Akash190104",
"html_url": "https://github.com/Akash190104",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27048). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | minor fixes
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27048/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27048",
"html_url": "https://github.com/huggingface/transformers/pull/27048",
"diff_url": "https://github.com/huggingface/transformers/pull/27048.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27048.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27047/comments | https://api.github.com/repos/huggingface/transformers/issues/27047/events | https://github.com/huggingface/transformers/pull/27047 | 1,959,676,474 | PR_kwDOCUB6oc5dqcLW | 27,047 | Correct docstrings and a typo in comments | {
"login": "lewis-yeung",
"id": 83903009,
"node_id": "MDQ6VXNlcjgzOTAzMDA5",
"avatar_url": "https://avatars.githubusercontent.com/u/83903009?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewis-yeung",
"html_url": "https://github.com/lewis-yeung",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27047). All of your documentation changes will be reflected on that endpoint."
] | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | ## What does this PR do?
Correct docstrings of the following methods:
- `TrainingArguments.set_save`
- `TrainingArguments.set_logging`
## Who can review?
@stevhliu
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27047/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27047",
"html_url": "https://github.com/huggingface/transformers/pull/27047",
"diff_url": "https://github.com/huggingface/transformers/pull/27047.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27047.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27046/comments | https://api.github.com/repos/huggingface/transformers/issues/27046/events | https://github.com/huggingface/transformers/pull/27046 | 1,959,648,086 | PR_kwDOCUB6oc5dqWDt | 27,046 | translate transformers_agents.md to Chinese | {
"login": "jiaqiw09",
"id": 60021713,
"node_id": "MDQ6VXNlcjYwMDIxNzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiaqiw09",
"html_url": "https://github.com/jiaqiw09",
"followers_url": "https://api.github.com/users/jia... | [] | closed | false | null | [] | [
"Hi @stevhliu\r\n\r\nI think it's a very interesting doc, although a little hard to translater as it's more like a introductory article than a technical one. 😀\r\n\r\nAnd I think if more docs are translated, it may attract more people to do some contribution. So just do it !\r\n\r\nBesides, I find it's hard to mak... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Part of #26803
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27046/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/27046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27046",
"html_url": "https://github.com/huggingface/transformers/pull/27046",
"diff_url": "https://github.com/huggingface/transformers/pull/27046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27045/comments | https://api.github.com/repos/huggingface/transformers/issues/27045/events | https://github.com/huggingface/transformers/pull/27045 | 1,959,599,536 | PR_kwDOCUB6oc5dqLZ6 | 27,045 | [`core` / `Quantization` ] AWQ integration | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This is super exciting to see! The original repository does not support TheBloke’s quants, they were made with AutoAWQ - perhaps an argument to route to AutoAWQ for compatibility. ",
"Thanks @amyeroberts for your review! I have rep... | 1,698 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
As per title, this PR adds the AWQ inference support in transformers.
- Original paper: https://arxiv.org/abs/2306.00978
- Original LLM-AWQ repository: https://github.com/mit-han-lab/llm-awq/
- Auto-AWQ repository: https://github.com/casper-hansen/AutoAWQ
![Screenshot 2023-10-24 at ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27045/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 5,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27045",
"html_url": "https://github.com/huggingface/transformers/pull/27045",
"diff_url": "https://github.com/huggingface/transformers/pull/27045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27044/comments | https://api.github.com/repos/huggingface/transformers/issues/27044/events | https://github.com/huggingface/transformers/issues/27044 | 1,959,555,993 | I_kwDOCUB6oc50zHOZ | 27,044 | Pruning/Compressing heads in attention blocks | {
"login": "NamburiSrinath",
"id": 40389487,
"node_id": "MDQ6VXNlcjQwMzg5NDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/40389487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NamburiSrinath",
"html_url": "https://github.com/NamburiSrinath",
"followers_url": "https://api.gi... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Hey! Would recommend you to have a look at the source code [here](https://github.com/ArthurZucker/transformers/blob/536e339b74b494615086b4286a3d14b98b42ac21/src/transformers/models/bert/modeling_bert.py#L399). The pruning logic is already implemented, and looking at the operations performed in the attention layers... | 1,698 | 1,702 | null | NONE | null | ### Feature request
I've a conceptual question
BERT-base has a dimension of 768 for query, key and value and 12 heads (Hidden dimension=768, number of heads=12). The same is conveyed if we see the BERT-base architecture
```
(self): BertSelfAttention(
(query): Linear(in_features=768, out_features=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27044/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27043/comments | https://api.github.com/repos/huggingface/transformers/issues/27043/events | https://github.com/huggingface/transformers/pull/27043 | 1,959,546,473 | PR_kwDOCUB6oc5dp_9Z | 27,043 | Fix config silent copy in from_pretrained | {
"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._",
"> Thanks, was there an issue related to this somewhere? 🤗\r\n\r\nYeah in bart flash attention"
] | 1,698 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
Some model's copy the config in the __init__ . We need to make sure that after we init the model we're still using the correct config. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27043",
"html_url": "https://github.com/huggingface/transformers/pull/27043",
"diff_url": "https://github.com/huggingface/transformers/pull/27043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27043.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.