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/18174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18174/comments | https://api.github.com/repos/huggingface/transformers/issues/18174/events | https://github.com/huggingface/transformers/issues/18174 | 1,307,626,599 | I_kwDOCUB6oc5N8Mxn | 18,174 | NLLB model file for the 600M model | {
"login": "Olubayode",
"id": 76165310,
"node_id": "MDQ6VXNlcjc2MTY1MzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/76165310?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Olubayode",
"html_url": "https://github.com/Olubayode",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThe 600 million parameter model can be found here: https://huggingface.co/facebook/nllb-200-distilled-600M.\r\n\r\nThe weights of the model can be found in the \"files and versions\" tab (check the \"pytorch_model.bin\" file): https://huggingface.co/facebook/nllb-200-distilled-600M/tree/main.",
"Closi... | 1,658 | 1,658 | 1,658 | NONE | null | 1. Please where can I locate the MODEL_FILE i.e the Path to python file containing the model architecture. I believe the model architecture file will contain only one class definition extended from torch.nn.modules.
2. Please where can I locate the Handler file that can be use for TorchServe inference logic.
Pl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18174/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18173/comments | https://api.github.com/repos/huggingface/transformers/issues/18173/events | https://github.com/huggingface/transformers/issues/18173 | 1,307,559,837 | I_kwDOCUB6oc5N78ed | 18,173 | Can't Run UL2 | {
"login": "cliangyu",
"id": 45140242,
"node_id": "MDQ6VXNlcjQ1MTQwMjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/45140242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cliangyu",
"html_url": "https://github.com/cliangyu",
"followers_url": "https://api.github.com/users/cli... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Looks like lm_head.weight is causing the problem. But I thought this item was in _keys_to_ignore_on_load_missing of T5ForConditionalGeneration. How could this happen?",
"google/ul2 · Splitting the model of multiple GPU's\r\nhttps://huggingface.co/google/ul2/discussions/4\r\n"
] | 1,658 | 1,658 | 1,658 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.0-81-generic-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18173/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18172/comments | https://api.github.com/repos/huggingface/transformers/issues/18172/events | https://github.com/huggingface/transformers/pull/18172 | 1,307,373,912 | PR_kwDOCUB6oc47iZjJ | 18,172 | FIX: set save state in EarlyStoppingCallback | {
"login": "Richar-Du",
"id": 55051961,
"node_id": "MDQ6VXNlcjU1MDUxOTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/55051961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Richar-Du",
"html_url": "https://github.com/Richar-Du",
"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_18172). All of your documentation changes will be reflected on that endpoint.",
"As mentioned in the issue you link to, this is not the right fix. This callback is not responsible for saving, only for interrupting training.... | 1,658 | 1,661 | 1,661 | 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/18172/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18172/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18172",
"html_url": "https://github.com/huggingface/transformers/pull/18172",
"diff_url": "https://github.com/huggingface/transformers/pull/18172.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18172.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18171/comments | https://api.github.com/repos/huggingface/transformers/issues/18171/events | https://github.com/huggingface/transformers/pull/18171 | 1,307,344,725 | PR_kwDOCUB6oc47iTJy | 18,171 | add ONNX support for swin transformer | {
"login": "bibhabasumohapatra",
"id": 68384968,
"node_id": "MDQ6VXNlcjY4Mzg0OTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/68384968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bibhabasumohapatra",
"html_url": "https://github.com/bibhabasumohapatra",
"followers_url": "ht... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18171). All of your documentation changes will be reflected on that endpoint.",
"Hey, @bibhabasumohapatra, Thanks for contributing to ONNX Config support. The PR looks almost good.\r\n\r\nCould you run `make fix-copies` to ... | 1,658 | 1,665 | 1,665 | 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 great contribution.
Then, please replace this wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18171/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/18171/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18171",
"html_url": "https://github.com/huggingface/transformers/pull/18171",
"diff_url": "https://github.com/huggingface/transformers/pull/18171.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18171.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18170/comments | https://api.github.com/repos/huggingface/transformers/issues/18170/events | https://github.com/huggingface/transformers/pull/18170 | 1,307,336,441 | PR_kwDOCUB6oc47iRVj | 18,170 | Allow loading pretrained shared Pytorch checkpoints into flax models | {
"login": "Sea-Snell",
"id": 6655321,
"node_id": "MDQ6VXNlcjY2NTUzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6655321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sea-Snell",
"html_url": "https://github.com/Sea-Snell",
"followers_url": "https://api.github.com/users/Se... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18170). All of your documentation changes will be reflected on that endpoint.",
"Oops! Thanks, just added that import.",
"Now you'll need to run `make style` to fix the formatting issues :-)",
"done!",
"This issue has... | 1,658 | 1,661 | 1,661 | NONE | null | Motivation: Sharded pytorch checkpoints cannot currently be loaded into flax models; this may be desirable in some cases (e.g. "google/ul2").
Changes: I added an few lines to `modeling_flax_utils.py` to support this behavior. The behavior of the added code exactly matches how sharded checkpoints are loaded in `modelin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18170/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18170",
"html_url": "https://github.com/huggingface/transformers/pull/18170",
"diff_url": "https://github.com/huggingface/transformers/pull/18170.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18170.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18169/comments | https://api.github.com/repos/huggingface/transformers/issues/18169/events | https://github.com/huggingface/transformers/pull/18169 | 1,307,334,790 | PR_kwDOCUB6oc47iRAH | 18,169 | Update translation.mdx | {
"login": "gorkemozkaya",
"id": 6454229,
"node_id": "MDQ6VXNlcjY0NTQyMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6454229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gorkemozkaya",
"html_url": "https://github.com/gorkemozkaya",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,658 | 1,658 | 1,658 | 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/18169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18169/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18169",
"html_url": "https://github.com/huggingface/transformers/pull/18169",
"diff_url": "https://github.com/huggingface/transformers/pull/18169.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18169.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18168/comments | https://api.github.com/repos/huggingface/transformers/issues/18168/events | https://github.com/huggingface/transformers/pull/18168 | 1,307,314,360 | PR_kwDOCUB6oc47iMny | 18,168 | [DRAFT] Update group_texts in run_clm.py | {
"login": "spanglies",
"id": 6833217,
"node_id": "MDQ6VXNlcjY4MzMyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6833217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spanglies",
"html_url": "https://github.com/spanglies",
"followers_url": "https://api.github.com/users/sp... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,658 | 1,658 | 1,658 | NONE | null | Had to make this change to prevent error's when fine-tuning on SageMaker. Without this change, there would be text groups that were too short.
# What does this PR do?
I made a small change to run_clm.py that fixed an error I received on amazon sagemaker during finetuning.
<!--
Congratulations! You've made it this... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18168/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18168",
"html_url": "https://github.com/huggingface/transformers/pull/18168",
"diff_url": "https://github.com/huggingface/transformers/pull/18168.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18168.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18167/comments | https://api.github.com/repos/huggingface/transformers/issues/18167/events | https://github.com/huggingface/transformers/issues/18167 | 1,307,306,699 | I_kwDOCUB6oc5N6-rL | 18,167 | Group_texts in run_clm.py will add shorter than block_size groups on intermediately sized training sets. | {
"login": "spanglies",
"id": 6833217,
"node_id": "MDQ6VXNlcjY4MzMyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6833217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spanglies",
"html_url": "https://github.com/spanglies",
"followers_url": "https://api.github.com/users/sp... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"If you remove that line, you will get no training at all, since there is going to be 0 batches left. It is there to ensure a small dataset yields exactly one batch.",
"It looks like I must have hit some sort of an edge case. I think what happened was that it got to the end of my file and no longer had 1000 examp... | 1,658 | 1,662 | 1,662 | NONE | null | ### System Info
SageMaker using transformers 4.17 and attempting to fine-tune GPT2 and GPT-Neo.
### Who can help?
@sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ..... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18167/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18166/comments | https://api.github.com/repos/huggingface/transformers/issues/18166/events | https://github.com/huggingface/transformers/issues/18166 | 1,307,217,783 | I_kwDOCUB6oc5N6o93 | 18,166 | Getting error following the official docs for T5 translation fine-tuning: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'new_zeros' | {
"login": "gorkemozkaya",
"id": 6454229,
"node_id": "MDQ6VXNlcjY0NTQyMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6454229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gorkemozkaya",
"html_url": "https://github.com/gorkemozkaya",
"followers_url": "https://api.github.com... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I noticed the issue is due to using the PT model instead of the TF, but the documentation still needs to be fixed, because it is using the `model` for creating the `data_collator` before the model is actually loaded, for both TF and PT. ",
"This issue has been automatically marked as stale because it has not ha... | 1,658 | 1,660 | 1,660 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18166/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18165/comments | https://api.github.com/repos/huggingface/transformers/issues/18165/events | https://github.com/huggingface/transformers/pull/18165 | 1,307,161,684 | PR_kwDOCUB6oc47htXn | 18,165 | Fix beam search computing wrong `next_indices` | {
"login": "m43",
"id": 17498813,
"node_id": "MDQ6VXNlcjE3NDk4ODEz",
"avatar_url": "https://avatars.githubusercontent.com/u/17498813?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m43",
"html_url": "https://github.com/m43",
"followers_url": "https://api.github.com/users/m43/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18165). All of your documentation changes will be reflected on that endpoint."
] | 1,658 | 1,658 | 1,658 | NONE | null | # What does this PR do?
Beam search used `next_indices = (next_tokens / vocab_size).long()` to compute the indices of the best beams. This, however, uses [torch.true_divide](https://pytorch.org/docs/stable/generated/torch.true_divide.html#torch-true-divide) which would lead to numerical errors and make the following... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18165/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18165",
"html_url": "https://github.com/huggingface/transformers/pull/18165",
"diff_url": "https://github.com/huggingface/transformers/pull/18165.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18165.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18164/comments | https://api.github.com/repos/huggingface/transformers/issues/18164/events | https://github.com/huggingface/transformers/issues/18164 | 1,307,102,980 | I_kwDOCUB6oc5N6M8E | 18,164 | Cannot save TFSwinForImageClassification as SavedModel | {
"login": "ahmedlone127",
"id": 66001253,
"node_id": "MDQ6VXNlcjY2MDAxMjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/66001253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedlone127",
"html_url": "https://github.com/ahmedlone127",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @gante and @amyeroberts ",
"@amyeroberts is this related to what you've been investigating? If not, I can have a go at it :)",
"@gante Yep - I believe so. I've opened a PR here: https://github.com/huggingface/transformers/pull/18153",
"Hey @amyeroberts I updated my transformer code locally with the change... | 1,658 | 1,658 | 1,658 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18164/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18163/comments | https://api.github.com/repos/huggingface/transformers/issues/18163/events | https://github.com/huggingface/transformers/issues/18163 | 1,307,034,447 | I_kwDOCUB6oc5N58NP | 18,163 | Fine tune TrOCR for persian language | {
"login": "PersianSpock",
"id": 16386426,
"node_id": "MDQ6VXNlcjE2Mzg2NDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/16386426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PersianSpock",
"html_url": "https://github.com/PersianSpock",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nI explain how to train TrOCR on a different language here: https://github.com/huggingface/transformers/issues/14195#issuecomment-1039204836",
"Hi Niels! Thank you for your response. the thing is that I use:\r\n ```\r\nfrom transformers import VisionEncoderDecoderModel\r\n\r\n device = torch.... | 1,658 | 1,706 | 1,666 | NONE | null | ### Model description
Hello!
I'm a newbie and I am trying to use TrOCR for recognizing Persian digital text(like PDF) from image. I don't know what will be the requirements if I want to fine tune pre-trained TrOCR model but with decoder of multilingual cased. I've followed this post https://github.com/huggingface/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18163/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18162/comments | https://api.github.com/repos/huggingface/transformers/issues/18162/events | https://github.com/huggingface/transformers/issues/18162 | 1,306,910,673 | I_kwDOCUB6oc5N5d_R | 18,162 | longt5 error in step 13 when torch.distributed.launch | {
"login": "whaleloops",
"id": 31370581,
"node_id": "MDQ6VXNlcjMxMzcwNTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/31370581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whaleloops",
"html_url": "https://github.com/whaleloops",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | 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,658 | 1,661 | 1,661 | NONE | null | ### System Info
Hardware:
6 Quadro RTX 6000 and 2 A100-40GB gpus, but I only used 2 A100-40GB gpus for this task.
Env:
transformers==4.20.1
torch==1.11.0+cu113
### Who can help?
@patrickvonplaten @stancld
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18162/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18161/comments | https://api.github.com/repos/huggingface/transformers/issues/18161/events | https://github.com/huggingface/transformers/pull/18161 | 1,306,896,228 | PR_kwDOCUB6oc47g86Q | 18,161 | Fix incorrect type hint for lang in run_summarization.py | {
"login": "JohnGiorgi",
"id": 8917831,
"node_id": "MDQ6VXNlcjg5MTc4MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnGiorgi",
"html_url": "https://github.com/JohnGiorgi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,658 | 1,658 | 1,658 | 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/18161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18161/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18161",
"html_url": "https://github.com/huggingface/transformers/pull/18161",
"diff_url": "https://github.com/huggingface/transformers/pull/18161.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18161.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18160/comments | https://api.github.com/repos/huggingface/transformers/issues/18160/events | https://github.com/huggingface/transformers/issues/18160 | 1,306,822,835 | I_kwDOCUB6oc5N5Iiz | 18,160 | Stride in BERT fast tokenizer doesn't work as I expected | {
"login": "mjeensung",
"id": 44629366,
"node_id": "MDQ6VXNlcjQ0NjI5MzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/44629366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mjeensung",
"html_url": "https://github.com/mjeensung",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @mjeensung,\r\n\r\nFrom my point of view, the result returned by the tokenizer is the one expected given the arguments you specified to the tokenizer, and the stride is of length 128.\r\n\r\n In your example, the tokenized example is composed of a text pair:\r\n- text: 'Big Little Lies (TV series)'\r\n- text pa... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
Hi,
I'm using 'bert-base-cased' and 'fast tokenizer'.
I set the stride value as 128, but I found that the stride from tokenized results wasn't 128. In the following reproduction script, the stride between two windows was only 54. Is this a bug or intentional?
### Who can help?
@LysandreJ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18160/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18159/comments | https://api.github.com/repos/huggingface/transformers/issues/18159/events | https://github.com/huggingface/transformers/issues/18159 | 1,306,799,230 | I_kwDOCUB6oc5N5Cx- | 18,159 | pretrain longT5 | {
"login": "Arij-Aladel",
"id": 68355048,
"node_id": "MDQ6VXNlcjY4MzU1MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arij-Aladel",
"html_url": "https://github.com/Arij-Aladel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"https://arxiv.org/pdf/2112.07916.pdf\r\n\r\nAll the requested information is on the paper. I would recommend sending questions over to https://github.com/google-research/longt5 since the authors will be far more able to answer specific questions.",
"@reelmath thanks alot! I already know that but the steps are ... | 1,657 | 1,661 | 1,661 | NONE | null | Could you please provide us with the steps of pretraining the longT5 on both MLM and PSG objectives?
Denoising rates and other details and steps? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18159/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18158/comments | https://api.github.com/repos/huggingface/transformers/issues/18158/events | https://github.com/huggingface/transformers/issues/18158 | 1,306,772,068 | I_kwDOCUB6oc5N48Jk | 18,158 | LongT5 Summarization Example Not Working | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"update transformer to 4.20.0+ should solve this issue.\r\n\r\nAlso I don't think you need --source_prefix \"summarize: \" according to the paper.",
"@whaleloops It works, thanks."
] | 1,657 | 1,658 | 1,658 | NONE | null | ### System Info
- OS: Ubuntu 20.04.4 LTS focal
- Conda: 4.12.0
- Python: 3.7.14
- Pip: 22.1.2
- Torch: 1.12.0
- Transfromers: 4.16.2
- NVIDIA-SMI: 510.73.05
- Nvcc -V: cuda V11.3.109
### Who can help?
@patrickvonplaten, @ydshieh, @sgugger
### Information
- [X] The official example scripts
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18158/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18157/comments | https://api.github.com/repos/huggingface/transformers/issues/18157/events | https://github.com/huggingface/transformers/issues/18157 | 1,306,743,974 | I_kwDOCUB6oc5N41Sm | 18,157 | MaskFormer documentation - `is_thing_map` | {
"login": "morrisalp",
"id": 8263996,
"node_id": "MDQ6VXNlcjgyNjM5OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8263996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/morrisalp",
"html_url": "https://github.com/morrisalp",
"followers_url": "https://api.github.com/users/mo... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"@LysandreJik @NielsRogge I updated the MaskFormer docs to reflect the current code and added a [PR](https://github.com/huggingface/transformers/pull/18423)\r\n\r\n",
"I merged the PR, closing this issue!"
] | 1,657 | 1,659 | 1,659 | NONE | null | The MaskFormer documentation states: "Both tasks can be solved using [MaskFormerForInstanceSegmentation](https://huggingface.co/docs/transformers/v4.20.1/en/model_doc/maskformer#transformers.MaskFormerForInstanceSegmentation) output, the latter needs an additional is_thing_map to know which instances must be merged tog... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18157/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18156/comments | https://api.github.com/repos/huggingface/transformers/issues/18156/events | https://github.com/huggingface/transformers/pull/18156 | 1,306,673,741 | PR_kwDOCUB6oc47gTN6 | 18,156 | FIX: Typo | {
"login": "ayansengupta17",
"id": 14333284,
"node_id": "MDQ6VXNlcjE0MzMzMjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/14333284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayansengupta17",
"html_url": "https://github.com/ayansengupta17",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,658 | 1,658 | 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/18156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18156/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18156",
"html_url": "https://github.com/huggingface/transformers/pull/18156",
"diff_url": "https://github.com/huggingface/transformers/pull/18156.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18156.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18155/comments | https://api.github.com/repos/huggingface/transformers/issues/18155/events | https://github.com/huggingface/transformers/pull/18155 | 1,306,658,812 | PR_kwDOCUB6oc47gQU9 | 18,155 | Fix check for falsey inputs in run_summarization | {
"login": "JohnGiorgi",
"id": 8917831,
"node_id": "MDQ6VXNlcjg5MTc4MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnGiorgi",
"html_url": "https://github.com/JohnGiorgi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,658 | 1,658 | 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/18155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18155/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18155",
"html_url": "https://github.com/huggingface/transformers/pull/18155",
"diff_url": "https://github.com/huggingface/transformers/pull/18155.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18155.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18154/comments | https://api.github.com/repos/huggingface/transformers/issues/18154/events | https://github.com/huggingface/transformers/pull/18154 | 1,306,405,721 | PR_kwDOCUB6oc47fY8I | 18,154 | add ONNX support for LeViT | {
"login": "gcheron",
"id": 12097018,
"node_id": "MDQ6VXNlcjEyMDk3MDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/12097018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gcheron",
"html_url": "https://github.com/gcheron",
"followers_url": "https://api.github.com/users/gchero... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Pinging @lewtun and @sgugger for approval.\r\nOne CI test failed but it doesn't seem to be related to this PR.",
"You are welcome, thank you for your work!\r\nYes, following the doc I have already run this command and it passed all... | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
This PR adds ONNX support for LeViT. Linked to [#16308](https://github.com/huggingface/transformers/issues/16308).
## 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](ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18154/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/18154/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18154",
"html_url": "https://github.com/huggingface/transformers/pull/18154",
"diff_url": "https://github.com/huggingface/transformers/pull/18154.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18154.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18153/comments | https://api.github.com/repos/huggingface/transformers/issues/18153/events | https://github.com/huggingface/transformers/pull/18153 | 1,306,377,202 | PR_kwDOCUB6oc47fS6Y | 18,153 | Update serving code to enable `saved_model=True` | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts thank you for digging into this one. An important one albeit. \r\n\r\n> We can't hard code the channel dimensions as e.g. 3 as we want to support both RGB and greyscale images (although testing this locally does work).\r... | 1,657 | 1,658 | 1,658 | COLLABORATOR | null | # What does this PR do?
Fixes and adds any missing`serving` and `serving_output` code to our TF models to enable
`model.save_pretrained(path, saved_model=True)`
I've added comments throughout the code to explain any areas where the TF refactor might no be obvious.
I'm aware the diff of this PR is quite big,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18153/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18153",
"html_url": "https://github.com/huggingface/transformers/pull/18153",
"diff_url": "https://github.com/huggingface/transformers/pull/18153.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18153.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18152/comments | https://api.github.com/repos/huggingface/transformers/issues/18152/events | https://github.com/huggingface/transformers/pull/18152 | 1,306,347,261 | PR_kwDOCUB6oc47fMdd | 18,152 | dalle mega | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"@patil-suraj - I can take over the PR if you want :-)",
"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://githu... | 1,657 | 1,664 | null | MEMBER | null | # What does this PR do?
This PR adds the DalleMega model from [dalle-mini](https://github.com/borisdayma/dalle-mini) for text-2-image generation.
The VQGAN model required for converting the tokens to image is in this PR #18150
- [ ] override the `sample` method for classifier-free guidance.
- [ ] port and uplo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18152/reactions",
"total_count": 9,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 4,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18152/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18152",
"html_url": "https://github.com/huggingface/transformers/pull/18152",
"diff_url": "https://github.com/huggingface/transformers/pull/18152.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18152.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18151/comments | https://api.github.com/repos/huggingface/transformers/issues/18151/events | https://github.com/huggingface/transformers/issues/18151 | 1,306,156,425 | I_kwDOCUB6oc5N2l2J | 18,151 | Confusing documentation for argument class_labels in MaskFormerForInstanceSegmentation.forward() | {
"login": "morrisalp",
"id": 8263996,
"node_id": "MDQ6VXNlcjgyNjM5OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8263996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/morrisalp",
"html_url": "https://github.com/morrisalp",
"followers_url": "https://api.github.com/users/mo... | [] | 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,657 | 1,661 | 1,661 | NONE | null | I'm trying to fine-tune MaskFormer for an instance segmentation problem. The documentation for MaskFormerForInstanceSegmentation.forward() lists the following optional parameters:
* mask_labels (List[torch.Tensor], optional) — List of mask labels of shape (num_labels, height, width) to be fed to a model
* class_lab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18151/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18150/comments | https://api.github.com/repos/huggingface/transformers/issues/18150/events | https://github.com/huggingface/transformers/pull/18150 | 1,306,121,684 | PR_kwDOCUB6oc47ebet | 18,150 | Add VQGAN | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"@patil-suraj note that you can use the current main version of diffusers as a reference of how the code should look like and you can use the conversion script to covert the official weights",
"Taking over this PR "
] | 1,657 | 1,664 | null | MEMBER | null | # What does this PR do?
Adds the VQGAN model, first step for adding the Dallemega model in transformers.
- This model is different from most the models available in `Transformers`, it's an U-Net like encoder-decoder architecture with vector quantizer bottleneck.
- This is only the generator part of the GAN, in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18150/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18150/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18150",
"html_url": "https://github.com/huggingface/transformers/pull/18150",
"diff_url": "https://github.com/huggingface/transformers/pull/18150.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18150.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18149/comments | https://api.github.com/repos/huggingface/transformers/issues/18149/events | https://github.com/huggingface/transformers/issues/18149 | 1,305,999,181 | I_kwDOCUB6oc5N1_dN | 18,149 | Inference for TFMarianMTModel (en to Romance language translation) is slow and inaccurate | {
"login": "danielenricocahall",
"id": 33044223,
"node_id": "MDQ6VXNlcjMzMDQ0MjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/33044223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielenricocahall",
"html_url": "https://github.com/danielenricocahall",
"followers_url": "ht... | [
{
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"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,657 | 1,675 | 1,675 | NONE | null | ### System Info
**System**
macOS Monterey 12.2.1
```
transformers==4.20.1
tensorflow==2.9.1
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ..... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18149/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18148/comments | https://api.github.com/repos/huggingface/transformers/issues/18148/events | https://github.com/huggingface/transformers/issues/18148 | 1,305,802,143 | I_kwDOCUB6oc5N1PWf | 18,148 | core dumped | {
"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 | [] | [
"I find that my problem is produced by cuda version. It seems that GTX 3090 is not compatible with cuda 10 and torch installed by pip has the default cuda version (10). So I re-install pytorch with cuda 11 and solve the problem."
] | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
centos7
transformers==4.17.0
datasets==1.17.0
pytorch==1.6.0
GPUs==4*GTX 3090
```
### 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 datas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18148/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18147/comments | https://api.github.com/repos/huggingface/transformers/issues/18147/events | https://github.com/huggingface/transformers/pull/18147 | 1,305,787,315 | PR_kwDOCUB6oc47dTs2 | 18,147 | [HPO] update to sigopt new experiment api | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@kding1 @yao-matrix @sgugger please have a review",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sywangyi, thanks for your contribution 🤗.\r\n\r\nThe current changes introduce a significant breaking change and we tend to limit them as much as possible.\r\nStill, we thou... | 1,657 | 1,666 | 1,658 | CONTRIBUTOR | null | * follow https://docs.sigopt.com/experiments
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
# 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 grea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18147/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18147",
"html_url": "https://github.com/huggingface/transformers/pull/18147",
"diff_url": "https://github.com/huggingface/transformers/pull/18147.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18147.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18146/comments | https://api.github.com/repos/huggingface/transformers/issues/18146/events | https://github.com/huggingface/transformers/issues/18146 | 1,305,786,327 | I_kwDOCUB6oc5N1LfX | 18,146 | MLflow fails to log to a tracking server | {
"login": "juliensimon",
"id": 3436143,
"node_id": "MDQ6VXNlcjM0MzYxNDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3436143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juliensimon",
"html_url": "https://github.com/juliensimon",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @sgugger ",
"I'm not the one who wrote or supports the ML Flow callback :-)",
"@noise-field wrote the integration two years ago, do you have an idea of why it doesn't seem to work anymore @noise-field?",
"@juliensimon, I had an error message similar (I think). I found that the issue was related to values ... | 1,657 | 1,662 | 1,662 | NONE | null | ### System Info
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:56:21)
print(transformers.__version__)
4.20.1
print(mlflow.__version__)
1.27.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18146/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18145/comments | https://api.github.com/repos/huggingface/transformers/issues/18145/events | https://github.com/huggingface/transformers/issues/18145 | 1,305,771,904 | I_kwDOCUB6oc5N1H-A | 18,145 | the Sigopt api is outdated in transformers trainer.py, the old api could not work | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.8.0-43-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.0 (cpu)
- Jax v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18145/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18144/comments | https://api.github.com/repos/huggingface/transformers/issues/18144/events | https://github.com/huggingface/transformers/pull/18144 | 1,305,575,877 | PR_kwDOCUB6oc47cmwD | 18,144 | Fix typo in pipelines/base.py | {
"login": "SeonbeomKim",
"id": 12165303,
"node_id": "MDQ6VXNlcjEyMTY1MzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/12165303?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeonbeomKim",
"html_url": "https://github.com/SeonbeomKim",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | NONE | null | dictionnary -> dictionary
# 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.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18144/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18144",
"html_url": "https://github.com/huggingface/transformers/pull/18144",
"diff_url": "https://github.com/huggingface/transformers/pull/18144.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18144.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18143/comments | https://api.github.com/repos/huggingface/transformers/issues/18143/events | https://github.com/huggingface/transformers/issues/18143 | 1,305,570,917 | I_kwDOCUB6oc5N0W5l | 18,143 | DeBERTa for MaskedLM appears to be producing random results | {
"login": "alexdauenhauer",
"id": 11903445,
"node_id": "MDQ6VXNlcjExOTAzNDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/11903445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexdauenhauer",
"html_url": "https://github.com/alexdauenhauer",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @alexdauenhauer ,\r\n\r\nI think there's also at least one issue in the upstream repo:\r\n\r\nhttps://github.com/microsoft/DeBERTa/issues/74\r\n\r\nHowever - this is not a rant - but the DeBERTa guys are not really responsive and e.g. pretraining code of v3 is still not available after months (but that's anothe... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
@LysandreJik when I run the sample code in the docs for `DeBERTaV2ForMaskedLM` it appears to be returning random predictions
```python
from transformers import DebertaV2Tokenizer, DebertaV2ForMaskedLM
import torch
tokenizer = DebertaV2Tokenizer.from_pretrained("microsoft/deberta-v3-base")
mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18142/comments | https://api.github.com/repos/huggingface/transformers/issues/18142/events | https://github.com/huggingface/transformers/issues/18142 | 1,305,543,148 | I_kwDOCUB6oc5N0QHs | 18,142 | Question for implementation of resize in image-classification examples. | {
"login": "DataLama",
"id": 38907104,
"node_id": "MDQ6VXNlcjM4OTA3MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/38907104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DataLama",
"html_url": "https://github.com/DataLama",
"followers_url": "https://api.github.com/users/Dat... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @NielsRogge and @nateraw ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transfo... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-4.15.0-175-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18141/comments | https://api.github.com/repos/huggingface/transformers/issues/18141/events | https://github.com/huggingface/transformers/pull/18141 | 1,305,413,758 | PR_kwDOCUB6oc47cFQ8 | 18,141 | [Bloom] Remove unused position_ids, improve modeling code (lm head, alibi, attention multiplication) | {
"login": "thomasw21",
"id": 24695242,
"node_id": "MDQ6VXNlcjI0Njk1MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasw21",
"html_url": "https://github.com/thomasw21",
"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_18141). All of your documentation changes will be reflected on that endpoint.",
"First of all, thanks for the quick review!\r\n\r\nConcerning the change in default behaviour, I'd advocate that this fixes a bug where we see ... | 1,657 | 1,661 | 1,661 | CONTRIBUTOR | null | Notable changes:
- Remove `attention_mask` sum trick, and instead use `torch.masked_fill`
- Simplify the causal attention creation
- Move back to `baddbmm` instead of `bmm`. It was unclear why the change was necessary.
- ~Remove~ Deprecate `position_ids` as they don't make sense in BLOOM.
- Introduce a fp32 c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18141",
"html_url": "https://github.com/huggingface/transformers/pull/18141",
"diff_url": "https://github.com/huggingface/transformers/pull/18141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18141.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18140/comments | https://api.github.com/repos/huggingface/transformers/issues/18140/events | https://github.com/huggingface/transformers/issues/18140 | 1,305,397,725 | I_kwDOCUB6oc5Nzsnd | 18,140 | [TRACKER] Add alibi tests on BLOOM | {
"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... | [
{
"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"... | [] | 1,657 | 1,657 | null | CONTRIBUTOR | null | ### Feature request
Add ALiBi tests on BLOOM !
We should add several tests to simply to test if alibi has been created correctly
- test padding
- test expected output
@Narsil
### Motivation
Build stronger CI tests
### Your contribution
Design and build the tests mentioned above | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18140/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18139/comments | https://api.github.com/repos/huggingface/transformers/issues/18139/events | https://github.com/huggingface/transformers/pull/18139 | 1,305,370,150 | PR_kwDOCUB6oc47b-q4 | 18,139 | Fix BLOOM DeepSpeed inference issue | {
"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 | [] | [
"@RezaYazdaniAminabadi did you tried to infer by removing the elementwise multiplication after the softmax as proposed in the PR?\r\nWhen trying to infer on 8xA100 80GB I did obtained the same generations using the old code vs the new one with batch_size=1",
"> @RezaYazdaniAminabadi did you tried to infer by remo... | 1,657 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
This PR tries to address a strange behaviour observed when inferring bloom-176 model using DeepSpeed!
My intuitions are:
- In the previous code we used `-10000` for the attention mask filling value whereas we should use `fp32.min` as it is written in the original cuda kernel of [`FusedScale... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18139/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/18139/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18139",
"html_url": "https://github.com/huggingface/transformers/pull/18139",
"diff_url": "https://github.com/huggingface/transformers/pull/18139.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18139.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18138/comments | https://api.github.com/repos/huggingface/transformers/issues/18138/events | https://github.com/huggingface/transformers/issues/18138 | 1,305,098,387 | I_kwDOCUB6oc5NyjiT | 18,138 | Please Add a Fast Flaubert_tokenizer class as well to leverage fast_tokenizer methods | {
"login": "datatales-with-pankaj",
"id": 78647606,
"node_id": "MDQ6VXNlcjc4NjQ3NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/78647606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datatales-with-pankaj",
"html_url": "https://github.com/datatales-with-pankaj",
"followers_... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | 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,657 | 1,661 | 1,661 | NONE | null | ### System Info
transformers version: 4.20.1
GPU: Nvidia Titan T4
### Who can help?
@LysandreJik I feel that you can help best since Flaubert Tokenizer class is directly inherited from XLM's Tokenizer which also does not have a fast tokenizer class too!
### Information
- [x] My own modified scripts
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18137/comments | https://api.github.com/repos/huggingface/transformers/issues/18137/events | https://github.com/huggingface/transformers/issues/18137 | 1,305,031,159 | I_kwDOCUB6oc5NyTH3 | 18,137 | ViT modeling file is missing drop path present in PyTorch image models | {
"login": "muqeeth",
"id": 25932561,
"node_id": "MDQ6VXNlcjI1OTMyNTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/25932561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muqeeth",
"html_url": "https://github.com/muqeeth",
"followers_url": "https://api.github.com/users/muqeet... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | 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,657 | 1,663 | 1,663 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.0-109-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.10.1+cu113 (True)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18136/comments | https://api.github.com/repos/huggingface/transformers/issues/18136/events | https://github.com/huggingface/transformers/issues/18136 | 1,304,763,955 | I_kwDOCUB6oc5NxR4z | 18,136 | 如何将xlnet作为嵌入层置于其他模型前 | {
"login": "yangbin-Neil",
"id": 75511989,
"node_id": "MDQ6VXNlcjc1NTExOTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/75511989?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangbin-Neil",
"html_url": "https://github.com/yangbin-Neil",
"followers_url": "https://api.github.c... | [] | 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,657 | 1,661 | 1,661 | NONE | null | ### Feature request
我想将预训练模型xlnet作为嵌入层添加到bilstm-CRF前,如何作为一个嵌入层加入到模型的构建当中。比如说,我现在用bert4keras框架搭建好了bert-Bilstm-Crf模型,我想将bert替换为xlnet,将xlnet作为模型的嵌入层,这样可不可以???
-------------------------
def bert_bilstm_crf(config_path,checkpoint_path,latm_units,drop_rate,learning_rate): # 构建模型的结构
---------------------... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18136/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18135/comments | https://api.github.com/repos/huggingface/transformers/issues/18135/events | https://github.com/huggingface/transformers/pull/18135 | 1,304,746,790 | PR_kwDOCUB6oc47Z4op | 18,135 | [bugfix] perceiverIO`PerceiverBasicDecoder` error when appending preprocessed inputs to decoder queries | {
"login": "orgoro",
"id": 20637412,
"node_id": "MDQ6VXNlcjIwNjM3NDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/20637412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orgoro",
"html_url": "https://github.com/orgoro",
"followers_url": "https://api.github.com/users/orgoro/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@julien-c @sgugger Let me know if I'm missing something 🙏 "
] | 1,657 | 1,658 | 1,658 | 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/18135/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/18135/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18135",
"html_url": "https://github.com/huggingface/transformers/pull/18135",
"diff_url": "https://github.com/huggingface/transformers/pull/18135.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18135.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18134/comments | https://api.github.com/repos/huggingface/transformers/issues/18134/events | https://github.com/huggingface/transformers/pull/18134 | 1,304,714,763 | PR_kwDOCUB6oc47ZxtG | 18,134 | FSDP integration enhancements and fixes | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes #17681 and https://github.com/pytorch/pytorch/issues/79605
2. integrates new features of FSDP to auto wrap transformer blocks and support for mixed precision
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18134",
"html_url": "https://github.com/huggingface/transformers/pull/18134",
"diff_url": "https://github.com/huggingface/transformers/pull/18134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18133/comments | https://api.github.com/repos/huggingface/transformers/issues/18133/events | https://github.com/huggingface/transformers/issues/18133 | 1,304,687,656 | I_kwDOCUB6oc5Nw_Qo | 18,133 | Expected behaviour for MBartTokenizer as target tokenizer | {
"login": "FelipeAlb94",
"id": 48952831,
"node_id": "MDQ6VXNlcjQ4OTUyODMx",
"avatar_url": "https://avatars.githubusercontent.com/u/48952831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FelipeAlb94",
"html_url": "https://github.com/FelipeAlb94",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"I won't have time to look into this anytime soon. @ArthurZucker could you take a look here? ",
"Hey! Really sorry for the long delay! 🤗 \r\nFrom what I understand based on the tests, this behaviour is actually intended : once the `labels` are passed to the `MBartForConditionalGeneration`, they are shifted using... | 1,657 | 1,671 | 1,671 | NONE | null | Hello,
I'm trying to fine-tune a MBart model with a multilingual dataset, but I'm facing some issues. The generated texts during training are really strange (mainly others languages not present in the dataset), then I noticed that the input_ids from target text does not follows the format [tgt_lang_code] [text toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18132/comments | https://api.github.com/repos/huggingface/transformers/issues/18132/events | https://github.com/huggingface/transformers/issues/18132 | 1,304,404,442 | I_kwDOCUB6oc5Nv6Ha | 18,132 | model does not work after loss change | {
"login": "NaamaBerman",
"id": 46111254,
"node_id": "MDQ6VXNlcjQ2MTExMjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/46111254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NaamaBerman",
"html_url": "https://github.com/NaamaBerman",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this stil... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
```shell
hello
My model finetunes bert (specifically Roberta) using a lst fully connected layer of a binary text classification task. I was using cross entropy loss and the code worked well. However when I changed the loss the model stopped learning and predicted 0 for all the examples and did not lea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18132/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18131/comments | https://api.github.com/repos/huggingface/transformers/issues/18131/events | https://github.com/huggingface/transformers/pull/18131 | 1,304,384,471 | PR_kwDOCUB6oc47YrXJ | 18,131 | Fixing a hard to trigger bug for `text-generation` pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
This PR readds sending `attention_mask` to the `generate` function.
In order to trigger the bug ones would need:
- To use the pipeline in `batch_size>1` mode.
- Use a model that did not configure `pad_token_id`. (if it is configured, than generate just recovers the attention mask gracefu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18131",
"html_url": "https://github.com/huggingface/transformers/pull/18131",
"diff_url": "https://github.com/huggingface/transformers/pull/18131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18131.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18130/comments | https://api.github.com/repos/huggingface/transformers/issues/18130/events | https://github.com/huggingface/transformers/issues/18130 | 1,304,233,696 | I_kwDOCUB6oc5NvQbg | 18,130 | model.generate doesn't validate kwargs | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"cc @gante as well",
"Hi @stas00 👋 -- we do have a plan for it. The rough sketch is [here](https://github.com/huggingface/transformers/pull/17196#issuecomment-1155002093), and I will pick it up after the last wrinkles related to TF generate have been ironed out (which should be very soon!)",
"excellent. Thank... | 1,657 | 1,660 | 1,660 | CONTRIBUTOR | null | ### Feature request
I made a mistake in a script:
```
model.generate(**tokens, in_length=num_tokens)
```
missing `m` in `min_length` and I was puzzling over why I was getting unexpected results (as it was using the default value which was quite different from mine)
Would it be possible to have `generate` vali... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18130/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18129/comments | https://api.github.com/repos/huggingface/transformers/issues/18129/events | https://github.com/huggingface/transformers/issues/18129 | 1,304,180,721 | I_kwDOCUB6oc5NvDfx | 18,129 | DeltaLM | {
"login": "jcmc00",
"id": 35983171,
"node_id": "MDQ6VXNlcjM1OTgzMTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/35983171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcmc00",
"html_url": "https://github.com/jcmc00",
"followers_url": "https://api.github.com/users/jcmc00/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Any progress on this?",
"Hi,\r\n\r\nI've noticed there are some DeltaLM available in the Hub:\r\n- https://huggingface.co/IDEA-CCNL/Randeng-Deltalm-362M-En-Zh\r\n- https://huggingface.co/IDEA-CCNL/Randeng-Deltalm-362M-Zh-En\r\n\r\nThe code they use seems to be here: https://github.com/IDEA-CCNL/Fengshenbang-LM/t... | 1,657 | 1,700 | null | CONTRIBUTOR | null | ### Model description
DeltaLM is a multilingual encoder-decoder architecture that regards the decoder as the task layer of off-the-shelf pre-trained encoders. This architecture introduces an interleaved decoder, which has a more consistent structure with the encoder. Weights from pre-trained multilingual encoders ar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18129/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/18129/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18128/comments | https://api.github.com/repos/huggingface/transformers/issues/18128/events | https://github.com/huggingface/transformers/pull/18128 | 1,303,805,446 | PR_kwDOCUB6oc47WxsA | 18,128 | Gradual types | {
"login": "migeed-z",
"id": 10407760,
"node_id": "MDQ6VXNlcjEwNDA3NzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/10407760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/migeed-z",
"html_url": "https://github.com/migeed-z",
"followers_url": "https://api.github.com/users/mig... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | NONE | null | Test XGLM Model with gradual types. We annotate the second dimension of the model, trace using constraints and also generate constraints to migrate the first annotation of the model after tracing is complete. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18128",
"html_url": "https://github.com/huggingface/transformers/pull/18128",
"diff_url": "https://github.com/huggingface/transformers/pull/18128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18128.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18127/comments | https://api.github.com/repos/huggingface/transformers/issues/18127/events | https://github.com/huggingface/transformers/issues/18127 | 1,303,675,328 | I_kwDOCUB6oc5NtIHA | 18,127 | todo: enable CI to run torchdynamo/tensorrt tests | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Hi, @stas00 \r\n\r\nSure! It sounds that you have already some tests written, and we just want to run them with CI, right? Let me know how you would like to proceed (discussion or PR review etc.).",
"Hi @stas00 Let me know if we should proceed :-)",
"Yes, please. Please let me know how I can help.\r\n\r\nThank... | 1,657 | 1,665 | 1,665 | CONTRIBUTOR | null | @ydshieh, let's talk about instrumenting one of the jobs to run tests for torchdynamo/tensorrt
It's quite a handful of things to build, the instructions are in the OP:
https://github.com/huggingface/transformers/pull/17765
I installed the environment locally, the tests work. I didn't want to get in the way of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18126/comments | https://api.github.com/repos/huggingface/transformers/issues/18126/events | https://github.com/huggingface/transformers/pull/18126 | 1,303,636,321 | PR_kwDOCUB6oc47WNKf | 18,126 | NLLB tokenizer | {
"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 | [] | [
"All models are now public, feel free to try it out @stefan-it. The generation seems good, have not tried fine-tuning yet.",
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't know of a better place to post (issue?), so I'll do it here :)\r\n\r\n @LysandreJik Thank you so m... | 1,657 | 1,679 | 1,658 | MEMBER | null | Adds the NLLB tokenizer. In order to run:
```py
>>> from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
>>> model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M")
>>> tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
>>> translator = ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18126/reactions",
"total_count": 13,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 10,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18126/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18126",
"html_url": "https://github.com/huggingface/transformers/pull/18126",
"diff_url": "https://github.com/huggingface/transformers/pull/18126.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18126.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18125/comments | https://api.github.com/repos/huggingface/transformers/issues/18125/events | https://github.com/huggingface/transformers/pull/18125 | 1,303,562,126 | PR_kwDOCUB6oc47V9Fx | 18,125 | Make sharded checkpoints work in offline mode | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
This PR make sharded checkpoint work in offline mode and add more information to an error we return.
The crux of the issue is that the `from_pretrained` method of the various models will catch `EntryNotFoundError` on the regular model weights file, but we return a `FileNotFoundError` in offl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18125/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/18125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18125",
"html_url": "https://github.com/huggingface/transformers/pull/18125",
"diff_url": "https://github.com/huggingface/transformers/pull/18125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18124/comments | https://api.github.com/repos/huggingface/transformers/issues/18124/events | https://github.com/huggingface/transformers/issues/18124 | 1,303,402,230 | I_kwDOCUB6oc5NsFb2 | 18,124 | Bloom-6b3 not utilizing much from GPU | {
"login": "farzanehnakhaee70",
"id": 30573681,
"node_id": "MDQ6VXNlcjMwNTczNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/30573681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/farzanehnakhaee70",
"html_url": "https://github.com/farzanehnakhaee70",
"followers_url": "https... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @farzanehnakhaee70 !\r\nThanks a lot for your message!\r\nCould you give us the output of `nvidia-smi` when running your script? Also could you share with us the version of `accelerate` you are using?",
"Hi @younesbelkada \r\nThanks for your support.\r\nnvidia-smi:\r\n```\r\n+---------------------------------... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
GPU: Nvidia V100
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
Us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18124/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18123/comments | https://api.github.com/repos/huggingface/transformers/issues/18123/events | https://github.com/huggingface/transformers/pull/18123 | 1,303,324,523 | PR_kwDOCUB6oc47VJeh | 18,123 | Adding OPTForSeqClassification class | {
"login": "oneraghavan",
"id": 3041890,
"node_id": "MDQ6VXNlcjMwNDE4OTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3041890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oneraghavan",
"html_url": "https://github.com/oneraghavan",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Not sure how to make these failing test pass. Need help",
"The following three test are failing :\r\n\r\nFAILED tests/models/opt/test_modeling_opt.py::OPTModelTest::test_load_with_mismatched_shapes - AssertionError: RuntimeError no... | 1,657 | 1,660 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
It add the class for OPTForSequenceClassification based on OPT model
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18123",
"html_url": "https://github.com/huggingface/transformers/pull/18123",
"diff_url": "https://github.com/huggingface/transformers/pull/18123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18123.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18122/comments | https://api.github.com/repos/huggingface/transformers/issues/18122/events | https://github.com/huggingface/transformers/issues/18122 | 1,303,145,422 | I_kwDOCUB6oc5NrGvO | 18,122 | TypeError: TextInputSequence must be str | {
"login": "choshiho",
"id": 17508435,
"node_id": "MDQ6VXNlcjE3NTA4NDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/17508435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/choshiho",
"html_url": "https://github.com/choshiho",
"followers_url": "https://api.github.com/users/cho... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"What is contained in your CSV files? Would you have a reproducible code example we can run in colab?",
"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 fol... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.7
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu102 (True)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18122/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18121/comments | https://api.github.com/repos/huggingface/transformers/issues/18121/events | https://github.com/huggingface/transformers/issues/18121 | 1,303,039,519 | I_kwDOCUB6oc5Nqs4f | 18,121 | how to frozen TFGPT2LMHeadModel Embedding matrix? | {
"login": "Orient12",
"id": 39329359,
"node_id": "MDQ6VXNlcjM5MzI5MzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/39329359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Orient12",
"html_url": "https://github.com/Orient12",
"followers_url": "https://api.github.com/users/Ori... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @Orient12 👋 As per our [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md), we reserve GitHub issues for bugs in the repository and/or feature requests. For any other matters, we'd like to invite you to use our [forum](https://discuss.huggingface.co/) 🤗\r\n\r\n(You can set the... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
when i use the TFGPT2LMHeadModel structure to train, i want to frozen the embedding matrix, how can i do it?@patil-suraj
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18121/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18120/comments | https://api.github.com/repos/huggingface/transformers/issues/18120/events | https://github.com/huggingface/transformers/issues/18120 | 1,302,809,944 | I_kwDOCUB6oc5Np01Y | 18,120 | Pipelines returns inconsistent results when using non-default model | {
"login": "sjgiorgi",
"id": 4297839,
"node_id": "MDQ6VXNlcjQyOTc4Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4297839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjgiorgi",
"html_url": "https://github.com/sjgiorgi",
"followers_url": "https://api.github.com/users/sjgio... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @sjgiorgi ,\r\n\r\nDid you disable the logs somehow ?\r\nWhen running your code you can see:\r\n\r\n```\r\nSome weights of the model checkpoint at bert-base-uncased were not used when initializing BertForSequenceClassification: ['cls.predictions.transform.dense.weight', 'cls.predictions.transform.LayerNorm.weig... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
Transformers version 4.19.2
Python 3.7.13
Ubuntu 16.04.6 LTS
### Who can help?
@Narsil
I've noticed that `pipeline` returns inconsistent results, after re-instantiating it, when supplying a non-standard model. See code below.
- What is being returned and why does it change?
- What exactly d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18120/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18119/comments | https://api.github.com/repos/huggingface/transformers/issues/18119/events | https://github.com/huggingface/transformers/pull/18119 | 1,302,801,259 | PR_kwDOCUB6oc47TaSU | 18,119 | Better messaging and fix for incorrect shape when collating data. | {
"login": "CakeCrusher",
"id": 37946988,
"node_id": "MDQ6VXNlcjM3OTQ2OTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CakeCrusher",
"html_url": "https://github.com/CakeCrusher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
I ran into an error related to an incorrect shape of inputs when using DataCollatorForSeq2Seq. I learned it had to do with having excessively nested inputs for my features. The error message was not particularly useful.
This PR adds an assertion checking for incorrectly shaped inputs to b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18119",
"html_url": "https://github.com/huggingface/transformers/pull/18119",
"diff_url": "https://github.com/huggingface/transformers/pull/18119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18118/comments | https://api.github.com/repos/huggingface/transformers/issues/18118/events | https://github.com/huggingface/transformers/issues/18118 | 1,302,799,354 | I_kwDOCUB6oc5NpyP6 | 18,118 | Model parallelism for m2m100 | {
"login": "elricwan",
"id": 33402371,
"node_id": "MDQ6VXNlcjMzNDAyMzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/33402371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elricwan",
"html_url": "https://github.com/elricwan",
"followers_url": "https://api.github.com/users/elr... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"We recommend using accelerate to achieve parallelisation now: https://github.com/huggingface/accelerate"
] | 1,657 | 1,658 | null | NONE | null | ### Model description
The translation model m2m100 proposed by Facebook is too huge to train using DDP, is there any open solution for model parallelism of m2m100, just like GPT2? Thank you.
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18118/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18117/comments | https://api.github.com/repos/huggingface/transformers/issues/18117/events | https://github.com/huggingface/transformers/pull/18117 | 1,302,789,905 | PR_kwDOCUB6oc47TX7Z | 18,117 | Add summarization name mapping for MultiNews | {
"login": "JohnGiorgi",
"id": 8917831,
"node_id": "MDQ6VXNlcjg5MTc4MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnGiorgi",
"html_url": "https://github.com/JohnGiorgi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | 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/18117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18117/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18117",
"html_url": "https://github.com/huggingface/transformers/pull/18117",
"diff_url": "https://github.com/huggingface/transformers/pull/18117.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18117.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18116/comments | https://api.github.com/repos/huggingface/transformers/issues/18116/events | https://github.com/huggingface/transformers/pull/18116 | 1,302,740,283 | PR_kwDOCUB6oc47TN8s | 18,116 | supported python versions reference | {
"login": "CakeCrusher",
"id": 37946988,
"node_id": "MDQ6VXNlcjM3OTQ2OTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CakeCrusher",
"html_url": "https://github.com/CakeCrusher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger another thing to consider is that we are only referencing the line number so the moment the file is updated, and the lines shift it will link to something else. Any fixes come to mind? Or will that do for the time being?"
] | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Provides a reference to the supported python versions to get a development environment working.
Fixes #18112
## 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](htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18116",
"html_url": "https://github.com/huggingface/transformers/pull/18116",
"diff_url": "https://github.com/huggingface/transformers/pull/18116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18115/comments | https://api.github.com/repos/huggingface/transformers/issues/18115/events | https://github.com/huggingface/transformers/pull/18115 | 1,302,680,746 | PR_kwDOCUB6oc47TBro | 18,115 | Add custom config to quicktour | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Oops, sorry about all the changes! How about we keep the custom config section here and rollback all the other changes, which we can discuss in a separate issue?",
"Yes please!"
] | 1,657 | 1,658 | 1,658 | MEMBER | null | This PR updates the quicktour to include a section for building custom configurations that creates a randomly initialized model. Other changes include:
- Added a brief section for `Trainer`.
- Switched back to the code switcher (instead of code blocks) for some code examples which showed essentially the same thing ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18115",
"html_url": "https://github.com/huggingface/transformers/pull/18115",
"diff_url": "https://github.com/huggingface/transformers/pull/18115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18115.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18114/comments | https://api.github.com/repos/huggingface/transformers/issues/18114/events | https://github.com/huggingface/transformers/pull/18114 | 1,302,554,172 | PR_kwDOCUB6oc47SmEN | 18,114 | Added a varification step for to the development contribution guide | {
"login": "CakeCrusher",
"id": 37946988,
"node_id": "MDQ6VXNlcjM3OTQ2OTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CakeCrusher",
"html_url": "https://github.com/CakeCrusher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"closing due to unrelated code"
] | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Informs the user to have the proper python version to ensure they can get a development environment working.
Fixes #18112
## 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 gui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18114",
"html_url": "https://github.com/huggingface/transformers/pull/18114",
"diff_url": "https://github.com/huggingface/transformers/pull/18114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18114.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18113/comments | https://api.github.com/repos/huggingface/transformers/issues/18113/events | https://github.com/huggingface/transformers/issues/18113 | 1,302,553,289 | I_kwDOCUB6oc5No2LJ | 18,113 | LayoutLMv3 image preparation code snippet does not work with PDFs | {
"login": "joehoover",
"id": 11277670,
"node_id": "MDQ6VXNlcjExMjc3Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/11277670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joehoover",
"html_url": "https://github.com/joehoover",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @NielsRogge ",
"Yes, feel free to improve the docs as was done for LayoutLMv2 in #15293",
"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 ... | 1,657 | 1,662 | 1,662 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18113/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18112/comments | https://api.github.com/repos/huggingface/transformers/issues/18112/events | https://github.com/huggingface/transformers/issues/18112 | 1,302,480,256 | I_kwDOCUB6oc5NokWA | 18,112 | Cannot set up development environment on Python 3.10 | {
"login": "CakeCrusher",
"id": 37946988,
"node_id": "MDQ6VXNlcjM3OTQ2OTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CakeCrusher",
"html_url": "https://github.com/CakeCrusher",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"As the error clearly mentions, this is because the ray package does not offer a distribution for Python 3.10, so I would open the issue there :-)",
"As a matter of GitHub etiquette, pinging random people ain't cool.",
"@sgugger yeah i forgot to mention that to resolve it you need to downgrade as mentioned in t... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Windows-10-10.0.19043-SP0
- Python version: 3.10.2
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18111/comments | https://api.github.com/repos/huggingface/transformers/issues/18111/events | https://github.com/huggingface/transformers/issues/18111 | 1,302,258,827 | I_kwDOCUB6oc5NnuSL | 18,111 | Word offsets of some fast tokenizers are not compatible with token classification pipeline label aggregation | {
"login": "davidbenton",
"id": 1603279,
"node_id": "MDQ6VXNlcjE2MDMyNzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1603279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidbenton",
"html_url": "https://github.com/davidbenton",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thank you very much for the detailed issue, that's a good point! \r\n\r\n> I know a lot of the default configuration matches reference implementations or published research, so I'm not sure where inconsistencies between tokenizers are desired behavior. I did notice, for example, that some sentencepiece tokenizers ... | 1,657 | 1,659 | 1,659 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: macOS-12.4-x86_64-i386-64bit
- Python version: 3.9.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.2 (cpu)
- Jax version: 0.3.6
- JaxLib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18111/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18110/comments | https://api.github.com/repos/huggingface/transformers/issues/18110/events | https://github.com/huggingface/transformers/pull/18110 | 1,302,221,163 | PR_kwDOCUB6oc47Rcvr | 18,110 | TF: `unpack_inputs` decorator independent from `main_input_name` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | MEMBER | null | # What does this PR do?
As the title indicates -- the `unpack_inputs` decorator becomes independent from `main_input_name` in this PR.
The old `input_processing` included some checks for `input_ids`, which somewhat transitioned into the `unpack_inputs` decorator (the `input_ids` input was obtained there from the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18110",
"html_url": "https://github.com/huggingface/transformers/pull/18110",
"diff_url": "https://github.com/huggingface/transformers/pull/18110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18109/comments | https://api.github.com/repos/huggingface/transformers/issues/18109/events | https://github.com/huggingface/transformers/issues/18109 | 1,302,174,715 | I_kwDOCUB6oc5NnZv7 | 18,109 | "ValueError: initial_value must be specified." error when compiling bert for text classification | {
"login": "djellalmohamedaniss",
"id": 24865594,
"node_id": "MDQ6VXNlcjI0ODY1NTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/24865594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/djellalmohamedaniss",
"html_url": "https://github.com/djellalmohamedaniss",
"followers_url": ... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @Rocketknight1 @gante ",
"Hi @djellalmohamedaniss, your version of TF is quite old - our support for TF 2.3 is very shaky, and we prefer TF >= 2.4, and TF 2.8 or 2.9 are even better!\r\n\r\nCan you check with a more recent version of TF and let us know if the problem still exists?",
"This issue has been aut... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
I'm following the hugging face tutorial for the sequence classification and while trying to fine-tune 'distilbert-base-multilingual-cased' I'm having the following error when running the model.compile() method.
I'm having the same error when using bert-uncased.
```
ValueError ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18108/comments | https://api.github.com/repos/huggingface/transformers/issues/18108/events | https://github.com/huggingface/transformers/pull/18108 | 1,301,903,228 | PR_kwDOCUB6oc47QX9J | 18,108 | CLI: reenable `pt_to_tf` test | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | MEMBER | null | # What does this PR do?
Reenables the `pt_to_tf` CLI test that was disabled a few days ago.
⚠️ Before this PR is merged, [this](https://huggingface.co/hf-internal-testing/tiny-random-gptj/discussions/1) hub PR must be merged, and CI must be rerun. This test model is also used in `tests/deepspeed/test_model_zoo.py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18108/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18108",
"html_url": "https://github.com/huggingface/transformers/pull/18108",
"diff_url": "https://github.com/huggingface/transformers/pull/18108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18108.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18107/comments | https://api.github.com/repos/huggingface/transformers/issues/18107/events | https://github.com/huggingface/transformers/issues/18107 | 1,301,764,556 | I_kwDOCUB6oc5Nl1nM | 18,107 | 求教:load BERT 模型报错 | {
"login": "aaronzhangTechGeek",
"id": 109060333,
"node_id": "U_kgDOBoAg7Q",
"avatar_url": "https://avatars.githubusercontent.com/u/109060333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaronzhangTechGeek",
"html_url": "https://github.com/aaronzhangTechGeek",
"followers_url": "https://... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"please help guys! thanks so much in advance!",
"what is your transformers version?",
"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 [contrib... | 1,657 | 1,661 | 1,661 | NONE | null | ### System Info
OS: Windows-10-10.0.19041-SP0
Python: 3.8.3
PyTorch: 1.12.0+cpu
TensorFlow: 2.6.0
HanLP: 2.1.0-beta.36
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18107/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18106/comments | https://api.github.com/repos/huggingface/transformers/issues/18106/events | https://github.com/huggingface/transformers/pull/18106 | 1,301,484,986 | PR_kwDOCUB6oc47O_kk | 18,106 | speed up Nezha model tests | {
"login": "sijunhe",
"id": 11987277,
"node_id": "MDQ6VXNlcjExOTg3Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11987277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sijunhe",
"html_url": "https://github.com/sijunhe",
"followers_url": "https://api.github.com/users/sijunh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @sijunhe, I can confirm that this does significantly speed up the tests:\r\n\r\n```\r\nslowest durations\r\n5.00s call tests/models/nezha/test_modeling_nezha.py::NezhaModelTest::test_torch_fx_output_loss\r\n4.70s call ... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
This PR speeds up Nezha tests, which was pointed out by @sgugger to be slow. On my machine, this change speeds up the test by about 80% (~160s -> ~20s). I think we should merge this instead of #18103.
<!-- Remove if not applicable -->
Fixes #18103
## Before submitting
- [ ] This PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18106",
"html_url": "https://github.com/huggingface/transformers/pull/18106",
"diff_url": "https://github.com/huggingface/transformers/pull/18106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18105/comments | https://api.github.com/repos/huggingface/transformers/issues/18105/events | https://github.com/huggingface/transformers/pull/18105 | 1,301,382,482 | PR_kwDOCUB6oc47OqXX | 18,105 | Add support for Sagemaker Model Parallel >= 1.10 new checkpoint API | {
"login": "viclzhu",
"id": 20961977,
"node_id": "MDQ6VXNlcjIwOTYxOTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/20961977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/viclzhu",
"html_url": "https://github.com/viclzhu",
"followers_url": "https://api.github.com/users/viclzh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for iterating on this PR! It looks like a lot of CI failures are fixed on the mian branch. Could you do a quick rebase so we can make sure this PR does not break anything?",
"It looks like GitHub did not like this rebase as ... | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
This PR adds support for Sagemaker Model Parallel >= 1.10's new checkpoint API as well as keeping SMP < 1.10 functionality.
* Support loading checkpoints saved with SMP < 1.10 in SMP < 1.10 and SMP >= 1.10
* Support loading checkpoints saved with SMP >= 1.10 in SMP >= 1.10
## Before su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18105",
"html_url": "https://github.com/huggingface/transformers/pull/18105",
"diff_url": "https://github.com/huggingface/transformers/pull/18105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18105.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18104/comments | https://api.github.com/repos/huggingface/transformers/issues/18104/events | https://github.com/huggingface/transformers/issues/18104 | 1,301,377,146 | I_kwDOCUB6oc5NkXB6 | 18,104 | gpt2 results with past_key_values not the same as when computed from scratch | {
"login": "IanMagnusson",
"id": 40903802,
"node_id": "MDQ6VXNlcjQwOTAzODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/40903802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IanMagnusson",
"html_url": "https://github.com/IanMagnusson",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"On further inspection, I believe the source of the difference is the `position_ids`. When the batched and padded `past_key_values` are used, the default `position_ids` are computed by [this code](https://github.com/huggingface/transformers/blob/d0acc9537829e7d067edbb791473bbceb2ecf056/src/transformers/models/gpt2/... | 1,657 | 1,678 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.0-89-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (False)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18104/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18104/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18103/comments | https://api.github.com/repos/huggingface/transformers/issues/18103/events | https://github.com/huggingface/transformers/pull/18103 | 1,300,966,618 | PR_kwDOCUB6oc47NQVQ | 18,103 | Make Nezha tests slow | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18103). All of your documentation changes will be reflected on that endpoint.",
"Hi @sgugger. I am not sure why the Nezha tests are slow. The tests that you listed here are not the integration test with the full model, but ... | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
The Nezha model tests are fairly slow (see below) so this PR marks them as such. @sijunhe if you have an idea on how to make them faster, it's more than welcome!
Current times on main:
```
46.62s call tests/models/longt5/test_modeling_longt5.py::LongT5TGlobalModelTest::test_export_to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18103",
"html_url": "https://github.com/huggingface/transformers/pull/18103",
"diff_url": "https://github.com/huggingface/transformers/pull/18103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18103.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18102/comments | https://api.github.com/repos/huggingface/transformers/issues/18102/events | https://github.com/huggingface/transformers/pull/18102 | 1,300,959,850 | PR_kwDOCUB6oc47NO60 | 18,102 | TF: remove graph mode distinction when processing boolean options | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM! All code of this type should be removed imo - it's an artifact of TF 1.x. Modern TF code is compiled by tracing and recompiled if Python flags are changed and can handle all kinds of weird Python flow control as a result."
] | 1,657 | 1,657 | 1,657 | MEMBER | null | # What does this PR do?
Removes a very old `if` branch related to boolean options, as TF graph mode can handle both branches with no issues -- it passes core tests for the models I tried.
It also unblocks @sayakpaul in the demo he's building for the TF SegFormer (#17910), which requires setting `output_hidden_sta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18102/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/18102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18102",
"html_url": "https://github.com/huggingface/transformers/pull/18102",
"diff_url": "https://github.com/huggingface/transformers/pull/18102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18102.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18101/comments | https://api.github.com/repos/huggingface/transformers/issues/18101/events | https://github.com/huggingface/transformers/issues/18101 | 1,300,958,183 | I_kwDOCUB6oc5Niwvn | 18,101 | OOM error when training with trainer | {
"login": "zunlongzhou",
"id": 42513377,
"node_id": "MDQ6VXNlcjQyNTEzMzc3",
"avatar_url": "https://avatars.githubusercontent.com/u/42513377?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zunlongzhou",
"html_url": "https://github.com/zunlongzhou",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | 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,657 | 1,660 | 1,660 | NONE | null | ### System Info
transformers: 4.19.2
When I use trainer to do mlm training on deberta-v3-large, there is out of memory problem.
And the GPU occupancy continues to grow over time, eventually out of memory.and throws OOM error every time at fixed position
By searching forums and issues, I tried to modify the sour... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18101/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18100/comments | https://api.github.com/repos/huggingface/transformers/issues/18100/events | https://github.com/huggingface/transformers/pull/18100 | 1,300,943,663 | PR_kwDOCUB6oc47NLcR | 18,100 | Fix image segmentation and object detection pipeline tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
The recent release of timm has broken two pipeline tests, this PR fixes them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18100/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18100",
"html_url": "https://github.com/huggingface/transformers/pull/18100",
"diff_url": "https://github.com/huggingface/transformers/pull/18100.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18100.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18099/comments | https://api.github.com/repos/huggingface/transformers/issues/18099/events | https://github.com/huggingface/transformers/pull/18099 | 1,300,928,479 | PR_kwDOCUB6oc47NIKF | 18,099 | Add filename to info displayed when downloading things in from_pretrained | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you so much, Sylvain!"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
The progress bar used in `http_get` has a description saying "Downloading". When we download multiple files (for instance for a sharded chackpoint) that's not necessarily super informative, so this PR adds the name of the file being downloaded to the description.
cc @stas00 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18099/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/18099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18099",
"html_url": "https://github.com/huggingface/transformers/pull/18099",
"diff_url": "https://github.com/huggingface/transformers/pull/18099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18099.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18098/comments | https://api.github.com/repos/huggingface/transformers/issues/18098/events | https://github.com/huggingface/transformers/pull/18098 | 1,300,912,117 | PR_kwDOCUB6oc47NEoW | 18,098 | [ create_a_model.mdx ] translate to pt | {
"login": "Fellip15",
"id": 81062614,
"node_id": "MDQ6VXNlcjgxMDYyNjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/81062614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fellip15",
"html_url": "https://github.com/Fellip15",
"followers_url": "https://api.github.com/users/Fel... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Obrigado @Fellip15! Thank you for your translation, and sorry for my late review. \r\n\r\nThe text looks good to me, but the tests seem to have a weird loop. I can not find the reason, WDYT @sgugger?"
] | 1,657 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
Creates a new file called create_a_model.mdx in docs/source/pt
Translates all the content of the base create_a_model to pt-br
Fixes issue #16824
## 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 r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18098",
"html_url": "https://github.com/huggingface/transformers/pull/18098",
"diff_url": "https://github.com/huggingface/transformers/pull/18098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18098.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18097/comments | https://api.github.com/repos/huggingface/transformers/issues/18097/events | https://github.com/huggingface/transformers/pull/18097 | 1,300,876,365 | PR_kwDOCUB6oc47M88P | 18,097 | TF: use the correct config with `(...)EncoderDecoder` models | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I believe they are -- going to give it a go afterwards if @ydshieh also agrees :)",
"I have limited connection at this moment in the mountain, so feel free to merge if you prefer. Regarding the common mixin, good for me. I see ther... | 1,657 | 1,658 | 1,658 | MEMBER | null | # What does this PR do?
Fixes #18071
Modifies `unpack_inputs` to ignore the config file for `(...)EncoderDecoder` models, mimicking the behavior in PT. If we don't ignore it, then unset options will get set with the config's default (`False` for most of them), causing the inner models to ignore their own config ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18097",
"html_url": "https://github.com/huggingface/transformers/pull/18097",
"diff_url": "https://github.com/huggingface/transformers/pull/18097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18097.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18096/comments | https://api.github.com/repos/huggingface/transformers/issues/18096/events | https://github.com/huggingface/transformers/issues/18096 | 1,300,860,058 | I_kwDOCUB6oc5NiYya | 18,096 | TFWav2Vec2ForCTC breaks when not run eagerly | {
"login": "Sreyan88",
"id": 36225987,
"node_id": "MDQ6VXNlcjM2MjI1OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sreyan88",
"html_url": "https://github.com/Sreyan88",
"followers_url": "https://api.github.com/users/Sre... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @Sreyan88 👋 \r\n\r\nThat is a big reproduction script 😅 To ensure we can provide quality support, a short reproduction script goes a long way.\r\n\r\nI haven't run the code, but my suspicion goes to the line where the model is defined (`model = TFWav2Vec2ForCTC.from_pretrained(MODEL_CHECKPOINT,vocab_size=len... | 1,657 | 1,661 | 1,661 | CONTRIBUTOR | null | ### System Info
`transformers` version: 4.21.0.dev0
- Platform: Linux-5.13.0-48-generic-x86_64-with-glibc2.31
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18095/comments | https://api.github.com/repos/huggingface/transformers/issues/18095/events | https://github.com/huggingface/transformers/pull/18095 | 1,300,621,996 | PR_kwDOCUB6oc47MGC3 | 18,095 | Report value for a step instead of epoch. | {
"login": "zhawe01",
"id": 15643982,
"node_id": "MDQ6VXNlcjE1NjQzOTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/15643982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhawe01",
"html_url": "https://github.com/zhawe01",
"followers_url": "https://api.github.com/users/zhawe0... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Looks good, thanks for fixing!\r\n> \r\n> Can you just run `make style` on your branch to make sure the formatting check passes?\r\n\r\nDone. @sgugger ",
"Thanks a lot! (test failure is already fixed on main, so merging)"
] | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Report an objective function value for a step instead of epoch to optuna.
## I made this modification for the following reason:
If "eval_steps" is less than steps per epoch, there maybe warnings: `optuna/trial/_trial.py:592: UserWarning: The reported value is ignored because this ‘step’ 0 i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18095/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18095",
"html_url": "https://github.com/huggingface/transformers/pull/18095",
"diff_url": "https://github.com/huggingface/transformers/pull/18095.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18095.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18094/comments | https://api.github.com/repos/huggingface/transformers/issues/18094/events | https://github.com/huggingface/transformers/pull/18094 | 1,300,481,439 | PR_kwDOCUB6oc47Lnfv | 18,094 | Good difficult issue override for the stalebot | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,658 | 1,658 | MEMBER | null | Ignores issue with the `Good difficult issue` label with the stalebot, as otherwise these get closed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18094/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18094",
"html_url": "https://github.com/huggingface/transformers/pull/18094",
"diff_url": "https://github.com/huggingface/transformers/pull/18094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18094.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18093/comments | https://api.github.com/repos/huggingface/transformers/issues/18093/events | https://github.com/huggingface/transformers/issues/18093 | 1,300,480,859 | I_kwDOCUB6oc5Ng8Nb | 18,093 | [logging] Turn off loss logging, while keeping progress bar and logging to third-party application | {
"login": "antonioloison",
"id": 48316195,
"node_id": "MDQ6VXNlcjQ4MzE2MTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/48316195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonioloison",
"html_url": "https://github.com/antonioloison",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"You should be able to disable logging while keeping progress bars active. Have you tried setting the log level manually?\r\n\r\n```python\r\nfrom transformers.utils.logging import set_verbosity_error\r\n\r\nset_verbosity_error()\r\n```",
"Yes, I've tried that, but this makes my progress bar disappear and keeps t... | 1,657 | 1,703 | 1,660 | NONE | null | ### Feature request
I would like to add a training argument to the `TrainingArguments` class to turn off the loss logging to stdout while keeping the progress bar and logging to a third-party application like Weights and Biases.
### Motivation
I am working on a project that trains a model with the Trainer clas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18093/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/18093/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18092/comments | https://api.github.com/repos/huggingface/transformers/issues/18092/events | https://github.com/huggingface/transformers/issues/18092 | 1,300,456,571 | I_kwDOCUB6oc5Ng2R7 | 18,092 | Can't convert Flax T5 model to PyTorch | {
"login": "Beau-xu",
"id": 78057213,
"node_id": "MDQ6VXNlcjc4MDU3MjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/78057213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Beau-xu",
"html_url": "https://github.com/Beau-xu",
"followers_url": "https://api.github.com/users/Beau-x... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Sorry, I made a mistake. \r\nActually the missing weights of above the above PyTorch model converted from Flax can be correctly initialized by accepting the Flax model's weight, `fx_model.params['shared']['embedding']`."
] | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
- `transformers` version: 4.18.0
- Platform: Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
- Python version: 3.6.13
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.10.2 (False)
- Tensorflow version (GPU?): 2.6.2 (False)
- Flax version (CPU?/GPU?/TPU?): 0.3.5 (cpu)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18092/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18091/comments | https://api.github.com/repos/huggingface/transformers/issues/18091/events | https://github.com/huggingface/transformers/issues/18091 | 1,300,417,665 | I_kwDOCUB6oc5NgsyB | 18,091 | LayoutLMv2ForRelationExtraction is missing in transformers | {
"login": "binkjakub",
"id": 24194342,
"node_id": "MDQ6VXNlcjI0MTk0MzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24194342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/binkjakub",
"html_url": "https://github.com/binkjakub",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"+1 to this",
"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/tran... | 1,657 | 1,660 | 1,660 | NONE | null | ### Feature request
Microsoft's [unilim repository](https://github.com/microsoft/unilm/tree/db1095a693aa0d6d15bb9312cccb7f8af42b0aeb/layoutlmft/layoutlmft), which originally implements all `LayoutLM` models, contains implementation of the model for relation extraction with Biaffine Attention Classifier, namely [`Layou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18091/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/18091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18090/comments | https://api.github.com/repos/huggingface/transformers/issues/18090/events | https://github.com/huggingface/transformers/issues/18090 | 1,300,415,357 | I_kwDOCUB6oc5NgsN9 | 18,090 | TypeError: to_json_file() got an unexpected keyword argument 'use_diff' | {
"login": "ADaBenxiong",
"id": 37175235,
"node_id": "MDQ6VXNlcjM3MTc1MjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/37175235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ADaBenxiong",
"html_url": "https://github.com/ADaBenxiong",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Maybe @muellerzr or @sgugger have an idea?",
"Very strange. Can you tell us a bit more about your system? Specifically the python version you are using and the accelerate version? (Might not be relevant, but so we can know everything)",
"This is not linked to Accelerate at all, just the internals of `save_pret... | 1,657 | 1,675 | 1,660 | NONE | null | ### System Info
transformers/modeling_utils.py
model_to_save.config.save_pretrained(save_directory)
transformers/configuration_utils.py
self.to_json_file(output_config_file, use_diff=True) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18089/comments | https://api.github.com/repos/huggingface/transformers/issues/18089/events | https://github.com/huggingface/transformers/pull/18089 | 1,300,299,064 | PR_kwDOCUB6oc47LAyR | 18,089 | support no gpt_j_residual for gpt-neox | {
"login": "TopIdiot",
"id": 19198645,
"node_id": "MDQ6VXNlcjE5MTk4NjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/19198645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TopIdiot",
"html_url": "https://github.com/TopIdiot",
"followers_url": "https://api.github.com/users/Top... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18089). All of your documentation changes will be reflected on that endpoint.",
"@TopIdiot, would existing checkpoints (i.e., https://huggingface.co/EleutherAI/gpt-neox-20b) be usable with this configuration option, or woul... | 1,657 | 1,660 | 1,660 | NONE | null | # What does this PR do?
Support "gpt_j_residual == False" for gpt-neox, which implement "else" branch in https://github.com/EleutherAI/gpt-neox/blob/main/megatron/model/transformer.py#L627
## Who can review?
Anyone in the community is free to review the PR.
@sgugger @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18089",
"html_url": "https://github.com/huggingface/transformers/pull/18089",
"diff_url": "https://github.com/huggingface/transformers/pull/18089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18088/comments | https://api.github.com/repos/huggingface/transformers/issues/18088/events | https://github.com/huggingface/transformers/issues/18088 | 1,300,076,310 | I_kwDOCUB6oc5NfZcW | 18,088 | RuntimeError - invalid multinomial distribution (with replacement=False, not enough non-negative category to sample) | {
"login": "zeke-john",
"id": 67245013,
"node_id": "MDQ6VXNlcjY3MjQ1MDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/67245013?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zeke-john",
"html_url": "https://github.com/zeke-john",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"is also get this warning: `UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_m... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
whenever i set `do_sample=True`, i get the error: `RuntimeError('invalid multinomial distribution (with replacement=False, not enough non-negative category to sample)')`, i don't know why it is happening, but i want to use `do_sample=True` because it gives out more relevant results. Im using the Bart... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18087/comments | https://api.github.com/repos/huggingface/transformers/issues/18087/events | https://github.com/huggingface/transformers/pull/18087 | 1,299,955,749 | PR_kwDOCUB6oc47J5hs | 18,087 | [bloom] fix alibi device placement | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for the fix !",
"btw, we also discussed to change the alibi creation logic.\r\n\r\nit should create it once in init with a largish length (say 1k) and not change it again unless the input is longer. \r\n\r\nthen the d... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | This PR fixes alibi device placement - currently it's the default device which breaks things at times - it has to be set explicitly to the correct device.
The problem emerged when trying to get DeepSpeed-Inference working.
Kudos to @RezaYazdaniAminabadi for discovering the problem.
cc: @younesbelkada
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18087/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18087",
"html_url": "https://github.com/huggingface/transformers/pull/18087",
"diff_url": "https://github.com/huggingface/transformers/pull/18087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18087.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18086/comments | https://api.github.com/repos/huggingface/transformers/issues/18086/events | https://github.com/huggingface/transformers/issues/18086 | 1,299,913,126 | I_kwDOCUB6oc5Nexmm | 18,086 | AttributeError: 'TrainingArguments' object has no attribute 'generation_max_length' | {
"login": "CaffreyR",
"id": 84232793,
"node_id": "MDQ6VXNlcjg0MjMyNzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/84232793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaffreyR",
"html_url": "https://github.com/CaffreyR",
"followers_url": "https://api.github.com/users/Caf... | [] | closed | false | null | [] | [
"You need to use `Seq2SeqTrainingArguments` to go with `Seq2SeqTrainer`.",
"> You need to use `Seq2SeqTrainingArguments` to go with `Seq2SeqTrainer`.\r\nWell the thing is when I try to use `Seq2SeqTrainingArguments`, and the dataset value is tensor, it can train. However when I tried to use `TrainingArguments`, a... | 1,657 | 1,674 | 1,657 | NONE | null | ### System Info
```shell
transformers :4.20.1
platform: Colab
python : 3.7
```
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give detail... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18085/comments | https://api.github.com/repos/huggingface/transformers/issues/18085/events | https://github.com/huggingface/transformers/issues/18085 | 1,299,901,174 | I_kwDOCUB6oc5Neur2 | 18,085 | Adding TF Implementation of BEiT | {
"login": "MadElf1337",
"id": 34575523,
"node_id": "MDQ6VXNlcjM0NTc1NTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/34575523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MadElf1337",
"html_url": "https://github.com/MadElf1337",
"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 | [] | [
"cc @NielsRogge @amyeroberts ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transfo... | 1,657 | 1,662 | null | NONE | null | ### Feature request
Addition of TF implementation of BEiT
### Motivation
I have always seen that there is a discrepancy in the availability of models for PyTorch and the models available in TensorFlow, and want to have models for usage in both backends.
### Your contribution
I will add the implementation of BEiT ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18085/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/18085/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18084/comments | https://api.github.com/repos/huggingface/transformers/issues/18084/events | https://github.com/huggingface/transformers/pull/18084 | 1,299,715,424 | PR_kwDOCUB6oc47JMJf | 18,084 | Making Roformer models compatible with pre-trained Roformer v2 models | {
"login": "sijunhe",
"id": 11987277,
"node_id": "MDQ6VXNlcjExOTg3Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11987277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sijunhe",
"html_url": "https://github.com/sijunhe",
"followers_url": "https://api.github.com/users/sijunh... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18084). All of your documentation changes will be reflected on that endpoint.",
"Thanks a lot for your PR, @sijunhe!\r\n\r\nIn this situation, we would favor adding a new model architecture instead of editing the existing o... | 1,657 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
RoFormer v2 is a more recent and lightweight version of RoFormer. The differences between the two models are:
- RoFormer v2 removed the bias term from all the attention modules
- RoFormer v2 used a simple RMS norm instead of LayerNorm
Currently, loading a pre-trained RoFormer v2 model su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18084/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18084",
"html_url": "https://github.com/huggingface/transformers/pull/18084",
"diff_url": "https://github.com/huggingface/transformers/pull/18084.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18084.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18083/comments | https://api.github.com/repos/huggingface/transformers/issues/18083/events | https://github.com/huggingface/transformers/issues/18083 | 1,299,678,282 | I_kwDOCUB6oc5Nd4RK | 18,083 | dictionary update sequence element #5 has length 1; 2 is required | {
"login": "skye95git",
"id": 41561936,
"node_id": "MDQ6VXNlcjQxNTYxOTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/41561936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skye95git",
"html_url": "https://github.com/skye95git",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Are you sure you pasted the exact command you ran? I have no error when trying it on my side and the config is successfully updated. To use distributed training, just use the pytorch launcher instead of `python` to run your script, see [here](https://huggingface.co/docs/transformers/run_scripts#distributed-trainin... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.4.0-66-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18083/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18082/comments | https://api.github.com/repos/huggingface/transformers/issues/18082/events | https://github.com/huggingface/transformers/issues/18082 | 1,299,638,463 | I_kwDOCUB6oc5Ndui_ | 18,082 | Export bert to onnx failed | {
"login": "nonstopfor",
"id": 47969037,
"node_id": "MDQ6VXNlcjQ3OTY5MDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47969037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nonstopfor",
"html_url": "https://github.com/nonstopfor",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@[nonstopfor](https://github.com/nonstopfor), you can change dynamic_axes to fixed shape with onnx python API like the following:\r\n```\r\n import onnx\r\n model = onnx.load(\"input.onnx\")\r\n for tensor in model.graph.input:\r\n for dim_proto in tensor.type.tensor... | 1,657 | 1,667 | 1,660 | NONE | null | ### System Info
- `transformers` version: 4.17.0
- Platform: Linux-4.15.0-167-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- Onnx version: 1.12.0
- PyTorch version (GPU?): 1.10.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18081/comments | https://api.github.com/repos/huggingface/transformers/issues/18081/events | https://github.com/huggingface/transformers/pull/18081 | 1,299,629,775 | PR_kwDOCUB6oc47I7O6 | 18,081 | Added the timeout variable in training args to avoid socket timeouts in DDP calls | {
"login": "dvlshah",
"id": 16095226,
"node_id": "MDQ6VXNlcjE2MDk1MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/16095226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dvlshah",
"html_url": "https://github.com/dvlshah",
"followers_url": "https://api.github.com/users/dvlsha... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18081). All of your documentation changes will be reflected on that endpoint.",
"Hey @dvlshah, thank you for your PR! Would this parameter need to be used on https://github.com/huggingface/transformers/blob/ac98a88fbc6377f9... | 1,657 | 1,661 | 1,661 | NONE | null | Overriding the default timeout defined by PyTorch in **torch.distributed.init_process_group** calls by introducing a timeout argument and prevents Socket Timeouts
Added a custom timeout argument in **src/transformers/training_args.py**. It can be used to override the timeout argument in the **init_process_group** fu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18081/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18081",
"html_url": "https://github.com/huggingface/transformers/pull/18081",
"diff_url": "https://github.com/huggingface/transformers/pull/18081.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18081.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18080/comments | https://api.github.com/repos/huggingface/transformers/issues/18080/events | https://github.com/huggingface/transformers/issues/18080 | 1,299,580,180 | I_kwDOCUB6oc5NdgUU | 18,080 | attention_mask bug when training Wav2Vec2ForCTC with DeepSpeed | {
"login": "ddobokki",
"id": 44228269,
"node_id": "MDQ6VXNlcjQ0MjI4MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/44228269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ddobokki",
"html_url": "https://github.com/ddobokki",
"followers_url": "https://api.github.com/users/ddo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | 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,657 | 1,665 | 1,665 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.19.2
- Platform: Linux-4.15.0-144-generic-x86_64-with-glibc2.27
- Python version: 3.8.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18080/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18079/comments | https://api.github.com/repos/huggingface/transformers/issues/18079/events | https://github.com/huggingface/transformers/pull/18079 | 1,299,461,889 | PR_kwDOCUB6oc47IZDw | 18,079 | Custom pipeline | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger what is your opinion on using attrs for validation with the representation of the pipeline task? I think it would be nice if it has a validation step here. (this means introducing `attrs` as a transformers' dependency).",
... | 1,657 | 1,658 | 1,658 | COLLABORATOR | null | # What does this PR do?
This PR adds the ability to support custom pipelines on the Hub and share it with everyone else. Like the code in the Hub feature for models, tokenizers etc., the user has to add `trust_remote_code=True` when they want to use it. Apart from this, the best way to get familiar with the feature ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18079/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18079/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18079",
"html_url": "https://github.com/huggingface/transformers/pull/18079",
"diff_url": "https://github.com/huggingface/transformers/pull/18079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18079.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18078/comments | https://api.github.com/repos/huggingface/transformers/issues/18078/events | https://github.com/huggingface/transformers/pull/18078 | 1,299,400,063 | PR_kwDOCUB6oc47IL0r | 18,078 | Make predict() close progress bars after finishing (#17952) | {
"login": "neverix",
"id": 46641404,
"node_id": "MDQ6VXNlcjQ2NjQxNDA0",
"avatar_url": "https://avatars.githubusercontent.com/u/46641404?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neverix",
"html_url": "https://github.com/neverix",
"followers_url": "https://api.github.com/users/neveri... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Not sure about the tests, should they be there for notebooks too? I'll go with this for now",
"I just triggered all them by pushing a copy of your branch in the main fork of the repo, circleCI is very finnicky. Let's check everythi... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | Fixes #17952 by adding an `on_predict` callback.
## Who can review?
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18078/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18078",
"html_url": "https://github.com/huggingface/transformers/pull/18078",
"diff_url": "https://github.com/huggingface/transformers/pull/18078.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18078.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18077/comments | https://api.github.com/repos/huggingface/transformers/issues/18077/events | https://github.com/huggingface/transformers/pull/18077 | 1,299,098,903 | PR_kwDOCUB6oc47HK4P | 18,077 | Fix slow CI by pinning resampy | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
The recent release of resampy (0.3.1) seems to suddenly make a lot of things (even unrelated to speech) very slow and the CI has several jobs timing out. This PR fixes that by pinning resampy to any previous version. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18077/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18077/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18077",
"html_url": "https://github.com/huggingface/transformers/pull/18077",
"diff_url": "https://github.com/huggingface/transformers/pull/18077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18077.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18076/comments | https://api.github.com/repos/huggingface/transformers/issues/18076/events | https://github.com/huggingface/transformers/pull/18076 | 1,299,050,021 | PR_kwDOCUB6oc47HARe | 18,076 | [Do not merge] debug Circleci | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,662 | 1,661 | COLLABORATOR | 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/18076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18076",
"html_url": "https://github.com/huggingface/transformers/pull/18076",
"diff_url": "https://github.com/huggingface/transformers/pull/18076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18076.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18075/comments | https://api.github.com/repos/huggingface/transformers/issues/18075/events | https://github.com/huggingface/transformers/issues/18075 | 1,298,913,499 | I_kwDOCUB6oc5Na9jb | 18,075 | Have 'Random Crop' option for truncation_side for Tokenizer | {
"login": "SantoshGuptaML",
"id": 57730245,
"node_id": "MDQ6VXNlcjU3NzMwMjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/57730245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SantoshGuptaML",
"html_url": "https://github.com/SantoshGuptaML",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@SantoshGuptaML Where would you want this to happen?\r\n\r\nOne option you have is to write a custom slow (non-fast) tokenizer. You can follow this example where the tokenizer is able to make random variations in output tokens: https://github.com/huggingface/transformers/pull/11149/files\r\nafaik rust is used for ... | 1,657 | 1,661 | 1,661 | NONE | null | ### Feature request
Currently for the tokenizer, there's only two options for truncation_side, 'right' and 'left'.
I would like an option for 'random_crop' so that it takes a sequence of max length anywhere from the sequence.
### Motivation
As a way for data augmentation, some people might want a random cro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18075/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.